@wgb5445/aptos-intent-npm 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/entry.js
CHANGED
@@ -330,25 +330,6 @@ class BatchArgument {
|
|
330
330
|
const ptr = this.__destroy_into_raw();
|
331
331
|
wasm.__wbg_batchargument_free(ptr);
|
332
332
|
}
|
333
|
-
}
|
334
|
-
|
335
|
-
const BatchArgumentWASMFinalization = (typeof FinalizationRegistry === 'undefined')
|
336
|
-
? { register: () => {}, unregister: () => {} }
|
337
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_batchargumentwasm_free(ptr >>> 0));
|
338
|
-
|
339
|
-
class BatchArgumentWASM {
|
340
|
-
|
341
|
-
__destroy_into_raw() {
|
342
|
-
const ptr = this.__wbg_ptr;
|
343
|
-
this.__wbg_ptr = 0;
|
344
|
-
BatchArgumentWASMFinalization.unregister(this);
|
345
|
-
return ptr;
|
346
|
-
}
|
347
|
-
|
348
|
-
free() {
|
349
|
-
const ptr = this.__destroy_into_raw();
|
350
|
-
wasm.__wbg_batchargumentwasm_free(ptr);
|
351
|
-
}
|
352
333
|
/**
|
353
334
|
* @param {Uint8Array} bytes
|
354
335
|
* @returns {BatchArgument}
|
@@ -356,7 +337,7 @@ class BatchArgumentWASM {
|
|
356
337
|
static new_bytes(bytes) {
|
357
338
|
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
358
339
|
const len0 = WASM_VECTOR_LEN;
|
359
|
-
const ret = wasm.
|
340
|
+
const ret = wasm.batchargument_new_bytes(ptr0, len0);
|
360
341
|
return BatchArgument.__wrap(ret);
|
361
342
|
}
|
362
343
|
/**
|
@@ -364,7 +345,7 @@ class BatchArgumentWASM {
|
|
364
345
|
* @returns {BatchArgument}
|
365
346
|
*/
|
366
347
|
static new_signer(signer_idx) {
|
367
|
-
const ret = wasm.
|
348
|
+
const ret = wasm.batchargument_new_signer(signer_idx);
|
368
349
|
return BatchArgument.__wrap(ret);
|
369
350
|
}
|
370
351
|
/**
|
@@ -373,7 +354,7 @@ class BatchArgumentWASM {
|
|
373
354
|
borrow() {
|
374
355
|
try {
|
375
356
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
376
|
-
wasm.
|
357
|
+
wasm.batchargument_borrow(retptr, this.__wbg_ptr);
|
377
358
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
378
359
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
379
360
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
@@ -391,7 +372,7 @@ class BatchArgumentWASM {
|
|
391
372
|
borrow_mut() {
|
392
373
|
try {
|
393
374
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
394
|
-
wasm.
|
375
|
+
wasm.batchargument_borrow_mut(retptr, this.__wbg_ptr);
|
395
376
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
396
377
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
397
378
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
@@ -409,7 +390,7 @@ class BatchArgumentWASM {
|
|
409
390
|
copy() {
|
410
391
|
try {
|
411
392
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
412
|
-
wasm.
|
393
|
+
wasm.batchargument_copy(retptr, this.__wbg_ptr);
|
413
394
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
414
395
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
415
396
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
@@ -842,7 +823,7 @@ function initSync(module) {
|
|
842
823
|
}
|
843
824
|
|
844
825
|
async function get_wasm (){
|
845
|
-
return (await import('./aptos_intent_bg-
|
826
|
+
return (await import('./aptos_intent_bg-CX0REmIg.js')).default()
|
846
827
|
}
|
847
828
|
|
848
|
-
export { BatchArgument, BatchArgumentType,
|
829
|
+
export { BatchArgument, BatchArgumentType, BatchedFunctionCall, BatchedFunctionCallBuilder, generate_intent_payload_wasm, get_wasm, initSync };
|