@wgb5445/aptos-intent-npm 0.0.4 → 0.0.6
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/dist/aptos_intent.d.ts +14 -12
- package/dist/cjs/{aptos_intent_bg-C1GQufHE.js → aptos_intent_bg-DG0JV4lY.js} +1 -1
- package/dist/cjs/aptos_intent_bg-DUElQ7EK.js +42 -0
- package/dist/cjs/entry.js +4 -4
- package/dist/esm/aptos_intent_bg-5HKQ9euF.js +40 -0
- package/dist/esm/{aptos_intent_bg-BhFZXsdI.js → aptos_intent_bg-BNAl9sFX.js} +1 -1
- package/dist/esm/entry.js +4 -4
- package/entry.js +5 -0
- package/package.json +11 -2
- package/rollup.config.mjs +18 -0
package/dist/cjs/entry.js
CHANGED
@@ -503,12 +503,12 @@ class BatchedFunctionCallBuilder {
|
|
503
503
|
}
|
504
504
|
}
|
505
505
|
/**
|
506
|
-
* @param {string}
|
506
|
+
* @param {string} api_url
|
507
507
|
* @param {string} module_name
|
508
508
|
* @returns {Promise<void>}
|
509
509
|
*/
|
510
|
-
load_module(
|
511
|
-
const ptr0 = passStringToWasm0(
|
510
|
+
load_module(api_url, module_name) {
|
511
|
+
const ptr0 = passStringToWasm0(api_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
512
512
|
const len0 = WASM_VECTOR_LEN;
|
513
513
|
const ptr1 = passStringToWasm0(module_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
514
514
|
const len1 = WASM_VECTOR_LEN;
|
@@ -812,7 +812,7 @@ function initSync(module) {
|
|
812
812
|
}
|
813
813
|
|
814
814
|
async function get_wasm (){
|
815
|
-
return (await Promise.resolve().then(function () { return require('./aptos_intent_bg-
|
815
|
+
return (await Promise.resolve().then(function () { return require('./aptos_intent_bg-DUElQ7EK.js'); })).default()
|
816
816
|
}
|
817
817
|
|
818
818
|
exports.ArgumentOperation = ArgumentOperation;
|