pshenmic-dpp 1.0.21 → 1.0.22-rc.1
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.
|
@@ -1277,12 +1277,12 @@ export class IdentityCreditWithdrawalTransitionWASM {
|
|
|
1277
1277
|
* @param {bigint} amount
|
|
1278
1278
|
* @param {number} core_fee_per_byte
|
|
1279
1279
|
* @param {any} js_pooling
|
|
1280
|
-
* @param {
|
|
1280
|
+
* @param {any} js_output_script
|
|
1281
1281
|
* @param {bigint} nonce
|
|
1282
1282
|
* @param {number} user_fee_increase
|
|
1283
1283
|
* @returns {IdentityCreditWithdrawalTransitionWASM}
|
|
1284
1284
|
*/
|
|
1285
|
-
constructor(js_identity_id: any, amount: bigint, core_fee_per_byte: number, js_pooling: any,
|
|
1285
|
+
constructor(js_identity_id: any, amount: bigint, core_fee_per_byte: number, js_pooling: any, js_output_script: any, nonce?: bigint | null, user_fee_increase?: number | null);
|
|
1286
1286
|
/** @returns {string[]} */
|
|
1287
1287
|
getPurposeRequirement(): string[];
|
|
1288
1288
|
/** @returns {IdentifierWASM[]} */
|
|
@@ -8253,15 +8253,14 @@ export class IdentityCreditWithdrawalTransitionWASM {
|
|
|
8253
8253
|
* @param {bigint} amount
|
|
8254
8254
|
* @param {number} core_fee_per_byte
|
|
8255
8255
|
* @param {any} js_pooling
|
|
8256
|
-
* @param {
|
|
8256
|
+
* @param {any} js_output_script
|
|
8257
8257
|
* @param {bigint | null} [nonce]
|
|
8258
8258
|
* @param {number | null} [user_fee_increase]
|
|
8259
8259
|
*/
|
|
8260
|
-
constructor(js_identity_id, amount, core_fee_per_byte, js_pooling,
|
|
8260
|
+
constructor(js_identity_id, amount, core_fee_per_byte, js_pooling, js_output_script, nonce, user_fee_increase) {
|
|
8261
8261
|
try {
|
|
8262
8262
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
8263
|
-
|
|
8264
|
-
wasm.identitycreditwithdrawaltransitionwasm_new(retptr, addHeapObject(js_identity_id), amount, core_fee_per_byte, addHeapObject(js_pooling), output_script.__wbg_ptr, !isLikeNone(nonce), isLikeNone(nonce) ? BigInt(0) : nonce, isLikeNone(user_fee_increase) ? 0xFFFFFF : user_fee_increase);
|
|
8263
|
+
wasm.identitycreditwithdrawaltransitionwasm_new(retptr, addHeapObject(js_identity_id), amount, core_fee_per_byte, addHeapObject(js_pooling), addBorrowedObject(js_output_script), !isLikeNone(nonce), isLikeNone(nonce) ? BigInt(0) : nonce, isLikeNone(user_fee_increase) ? 0xFFFFFF : user_fee_increase);
|
|
8265
8264
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
8266
8265
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
8267
8266
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -8273,6 +8272,7 @@ export class IdentityCreditWithdrawalTransitionWASM {
|
|
|
8273
8272
|
return this;
|
|
8274
8273
|
} finally {
|
|
8275
8274
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
8275
|
+
heap[stack_pointer++] = undefined;
|
|
8276
8276
|
}
|
|
8277
8277
|
}
|
|
8278
8278
|
/**
|