feat(ESM): Converted code base to ESM format, away from CommonJS

This commit is contained in:
Chris Troutner
2025-11-16 13:37:04 -08:00
parent 76442208a2
commit 8e3fa6dcf1
109 changed files with 1012 additions and 456 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
const chai = require('chai')
const assert = chai.assert
const sinon = require('sinon')
import chai from 'chai'
import sinon from 'sinon'
const BCHJS = require('../../src/bch-js')
import BCHJS from '../../src/bch-js.js'
const assert = chai.assert
const bchjs = new BCHJS()
describe('#ElectrumX', () => {