@wgb5445/aptos-intent-npm 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
  };