@wgb5445/aptos-intent-npm 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
package/entry.js CHANGED
@@ -1,5 +1,5 @@
1
+ import * as wasm from "../pkg/aptos_dynamic_transaction_composer_bg.wasm";
1
2
  export * from "../pkg/aptos_dynamic_transaction_composer.js";
2
-
3
- export async function set_wasm (){
4
- return (await import("../pkg/aptos_dynamic_transaction_composer_bg.wasm")).default()
3
+ export async function create_wasm (){
4
+ return await wasm.default();
5
5
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "Aptos Labs <opensource@aptoslabs.com>"
5
5
  ],
6
6
  "description": "Generating Move Script from intent",
7
- "version": "0.1.3",
7
+ "version": "0.1.5",
8
8
  "type": "module",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
package/rollup.config.mjs CHANGED
@@ -13,6 +13,6 @@ export default {
13
13
  }
14
14
  ],
15
15
  plugins: [wasm({
16
- maxFileSize: 10000000
16
+ targetEnv:"auto-inline"
17
17
  })]
18
18
  };