@wgb5445/aptos-intent-npm 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/entry.js CHANGED
@@ -501,12 +501,12 @@ class BatchedFunctionCallBuilder {
501
501
  }
502
502
  }
503
503
  /**
504
- * @param {string} network
504
+ * @param {string} api_url
505
505
  * @param {string} module_name
506
506
  * @returns {Promise<void>}
507
507
  */
508
- load_module(network, module_name) {
509
- const ptr0 = passStringToWasm0(network, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
508
+ load_module(api_url, module_name) {
509
+ const ptr0 = passStringToWasm0(api_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
510
510
  const len0 = WASM_VECTOR_LEN;
511
511
  const ptr1 = passStringToWasm0(module_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
512
512
  const len1 = WASM_VECTOR_LEN;
@@ -810,7 +810,7 @@ function initSync(module) {
810
810
  }
811
811
 
812
812
  async function get_wasm (){
813
- return (await import('./aptos_intent_bg-BhFZXsdI.js')).default()
813
+ return (await import('./aptos_intent_bg-5HKQ9euF.js')).default()
814
814
  }
815
815
 
816
816
  export { ArgumentOperation, BatchArgument, BatchArgumentType, BatchedFunctionCall, BatchedFunctionCallBuilder, PreviousResult, get_wasm, initSync };
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.0.5",
7
+ "version": "0.0.6",
8
8
  "type": "module",
9
9
  "license": "Apache-2.0",
10
10
  "repository": {
package/rollup.config.mjs CHANGED
@@ -1,6 +1,4 @@
1
1
  import { wasm } from '@rollup/plugin-wasm';
2
- import typescript from '@rollup/plugin-typescript';
3
- import { format } from 'path';
4
2
  export default {
5
3
  input: 'entry.js',
6
4
  output: [