@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/cjs/entry.js
CHANGED
@@ -332,25 +332,6 @@ class BatchArgument {
|
|
332
332
|
const ptr = this.__destroy_into_raw();
|
333
333
|
wasm.__wbg_batchargument_free(ptr);
|
334
334
|
}
|
335
|
-
}
|
336
|
-
|
337
|
-
const BatchArgumentWASMFinalization = (typeof FinalizationRegistry === 'undefined')
|
338
|
-
? { register: () => {}, unregister: () => {} }
|
339
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_batchargumentwasm_free(ptr >>> 0));
|
340
|
-
|
341
|
-
class BatchArgumentWASM {
|
342
|
-
|
343
|
-
__destroy_into_raw() {
|
344
|
-
const ptr = this.__wbg_ptr;
|
345
|
-
this.__wbg_ptr = 0;
|
346
|
-
BatchArgumentWASMFinalization.unregister(this);
|
347
|
-
return ptr;
|
348
|
-
}
|
349
|
-
|
350
|
-
free() {
|
351
|
-
const ptr = this.__destroy_into_raw();
|
352
|
-
wasm.__wbg_batchargumentwasm_free(ptr);
|
353
|
-
}
|
354
335
|
/**
|
355
336
|
* @param {Uint8Array} bytes
|
356
337
|
* @returns {BatchArgument}
|
@@ -358,7 +339,7 @@ class BatchArgumentWASM {
|
|
358
339
|
static new_bytes(bytes) {
|
359
340
|
const ptr0 = passArray8ToWasm0(bytes, wasm.__wbindgen_malloc);
|
360
341
|
const len0 = WASM_VECTOR_LEN;
|
361
|
-
const ret = wasm.
|
342
|
+
const ret = wasm.batchargument_new_bytes(ptr0, len0);
|
362
343
|
return BatchArgument.__wrap(ret);
|
363
344
|
}
|
364
345
|
/**
|
@@ -366,7 +347,7 @@ class BatchArgumentWASM {
|
|
366
347
|
* @returns {BatchArgument}
|
367
348
|
*/
|
368
349
|
static new_signer(signer_idx) {
|
369
|
-
const ret = wasm.
|
350
|
+
const ret = wasm.batchargument_new_signer(signer_idx);
|
370
351
|
return BatchArgument.__wrap(ret);
|
371
352
|
}
|
372
353
|
/**
|
@@ -375,7 +356,7 @@ class BatchArgumentWASM {
|
|
375
356
|
borrow() {
|
376
357
|
try {
|
377
358
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
378
|
-
wasm.
|
359
|
+
wasm.batchargument_borrow(retptr, this.__wbg_ptr);
|
379
360
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
380
361
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
381
362
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
@@ -393,7 +374,7 @@ class BatchArgumentWASM {
|
|
393
374
|
borrow_mut() {
|
394
375
|
try {
|
395
376
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
396
|
-
wasm.
|
377
|
+
wasm.batchargument_borrow_mut(retptr, this.__wbg_ptr);
|
397
378
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
398
379
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
399
380
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
@@ -411,7 +392,7 @@ class BatchArgumentWASM {
|
|
411
392
|
copy() {
|
412
393
|
try {
|
413
394
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
414
|
-
wasm.
|
395
|
+
wasm.batchargument_copy(retptr, this.__wbg_ptr);
|
415
396
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
416
397
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
417
398
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
@@ -844,12 +825,11 @@ function initSync(module) {
|
|
844
825
|
}
|
845
826
|
|
846
827
|
async function get_wasm (){
|
847
|
-
return (await Promise.resolve().then(function () { return require('./aptos_intent_bg-
|
828
|
+
return (await Promise.resolve().then(function () { return require('./aptos_intent_bg-A1npHFCR.js'); })).default()
|
848
829
|
}
|
849
830
|
|
850
831
|
exports.BatchArgument = BatchArgument;
|
851
832
|
exports.BatchArgumentType = BatchArgumentType;
|
852
|
-
exports.BatchArgumentWASM = BatchArgumentWASM;
|
853
833
|
exports.BatchedFunctionCall = BatchedFunctionCall;
|
854
834
|
exports.BatchedFunctionCallBuilder = BatchedFunctionCallBuilder;
|
855
835
|
exports.generate_intent_payload_wasm = generate_intent_payload_wasm;
|