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
+3 -2
View File
@@ -2,8 +2,9 @@
Integration tests for the transaction.js library.
*/
const assert = require('chai').assert
const BCHJS = require('../../src/bch-js')
import chai from 'chai'
import BCHJS from '../../src/bch-js.js'
const { assert } = chai
const bchjs = new BCHJS()
describe('#Transaction', () => {