fix buffer import and use rollup for transpiling the package.

This commit is contained in:
fiatjaf
2021-12-11 07:53:44 -03:00
parent cc2ced1558
commit 625b3bb3ba
6 changed files with 32 additions and 3 deletions

View File

@@ -1,3 +1,4 @@
import {Buffer} from 'buffer'
import * as secp256k1 from '@noble/secp256k1'
import {sha256} from './utils'