0.0.38 • Published 2 years ago

@btq-js/falcon-wasm v0.0.38

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

falcon-wasm

Web assembly version of @btq-js/falcon-js. It has the same interface so we can use it the same way as we use falcon-js

How to replace default falcon dependency?

falcon-js is the default dependency for other packages under @btq-js, such @btq-js/tx and @btq-js/simple-wallet.

If we want to swap the underlying falcon from javascript to webassembly, we can simply define overrides in package.json like this:

{
  "overrides": {
    "@btq-js/falcon-js": "npm:@btq-js/falcon-wasm@0.0.33"
  },
  "dependencies": {
    // Usually we don't import falcon-js directly, we use these libs that depend on falcon-js. By using "overrides" we can chagne falcon implementation from javascript to webassembly without any code chagnes
    "@btq-js/simple-wallet": "0.0.33",
    "@btq-js/tx": "0.0.33",
    "@btq-js/web3-provider": "0.0.33"
  }
}
0.0.35

2 years ago

0.0.36

2 years ago

0.0.37

2 years ago

0.0.38

2 years ago

0.0.34

2 years ago

0.0.33

2 years ago

0.0.32

2 years ago

0.0.31

2 years ago

0.0.30

2 years ago

0.0.29

2 years ago