MetaMask / providers

An Ethereum Provider that connects over a stream, as injected into websites by MetaMask
MIT License
217 stars 123 forks source link

fix: ts-bridge import json error #340

Open Innei opened 6 days ago

Innei commented 6 days ago

ts-bridge converts json imports to .json.cjs or .json.mjs after compilation, which is incorrect behavior.

Fixes https://github.com/MetaMask/providers/issues/339

Mrtenz commented 5 days ago

Good catch, that's definitely not intended in ts-bridge. I will fix this upstream next week.