Comments (4)
Fixed in v2.1.1
Both require and import can be used, and webpack etc. will use ESM for the browser.
from tiny-secp256k1.
ts-node, jest, and a loooooot of tooling is not supporting ESM yet... perhaps going pure ESM was a mistake...
I have successfully made a hybrid project with https://github.com/bitcoinjs/uint8array-tools
Perhaps I can do something similar with this project.
from tiny-secp256k1.
Guess the solution for now is to stay on v1 of tiny-secp256k1 if we don't want to run this issue. Doesn't seem to cause any issues for the bip32 package but still missing out on the bug fixes in v2 of tiny-secp256k1.
from tiny-secp256k1.
#63 will fix this.
from tiny-secp256k1.
Related Issues (20)
- Buffer is not defined HOT 1
- There are 2 test vectors for pointCompress which are not correct HOT 2
- Secp256k1 signature issue with messages > curve_order HOT 2
- Is there a fallback build instead of wasm? HOT 4
- Does this implement deterministic k generation HOT 2
- remove dependancy from `window` object on browser
- no such file or directory node_modules/tiny-secp256k1/lib/secp256k1.wasm HOT 7
- Uncaught TypeError: Cannot read properties of undefined (reading 'buffer') HOT 2
- [NOTE] Regarding packaging trust
- Issue following the examples in a react app HOT 8
- Unable to build tiny-secp256k1 HOT 1
- I want to use this in react-native app but it failed with this error HOT 12
- Can't run React example HOT 3
- Vue引入后引用 报fs.readFileSync is not function 或者exports is not defined HOT 1
- Cannot run react-app example HOT 2
- After bumping ReactNative project from 1.1.6 to 2.0.0 builds for Android fail HOT 6
- Wrong path when bundling tiny-secp256k1 with Electron HOT 1
- tiny-secp compilation in swift and java HOT 2
- Bug when using browserify HOT 3
- Pure-js backport of `xOnlyPointFromPoint()`..? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiny-secp256k1.