lumina-node-wasm 0.8.3 → 0.8.5
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/lumina_node_wasm.d.ts +2 -1
- package/lumina_node_wasm_bg.js +54 -46
- package/lumina_node_wasm_bg.wasm +0 -0
- package/package.json +1 -1
package/lumina_node_wasm.d.ts
CHANGED
|
@@ -135,6 +135,7 @@ export interface ProtoAny {
|
|
|
135
135
|
export interface TxConfig {
|
|
136
136
|
gasLimit?: bigint; // utia
|
|
137
137
|
gasPrice?: number;
|
|
138
|
+
memo?: string;
|
|
138
139
|
}
|
|
139
140
|
|
|
140
141
|
|
|
@@ -1063,7 +1064,7 @@ export class TxClient {
|
|
|
1063
1064
|
* const blob = new Blob(ns, data, AppVersion.latest());
|
|
1064
1065
|
*
|
|
1065
1066
|
* const txInfo = await txClient.submitBlobs([blob]);
|
|
1066
|
-
* await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02 });
|
|
1067
|
+
* await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02, memo: "foo" });
|
|
1067
1068
|
* ```
|
|
1068
1069
|
*
|
|
1069
1070
|
* # Note
|
package/lumina_node_wasm_bg.js
CHANGED
|
@@ -291,11 +291,11 @@ export function protoEncodeSignDoc(sign_doc) {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
function __wbg_adapter_64(arg0, arg1, arg2) {
|
|
294
|
-
wasm.
|
|
294
|
+
wasm.closure516_externref_shim(arg0, arg1, arg2);
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
function __wbg_adapter_67(arg0, arg1, arg2) {
|
|
298
|
-
wasm.
|
|
298
|
+
wasm.closure520_externref_shim(arg0, arg1, arg2);
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
function __wbg_adapter_70(arg0, arg1) {
|
|
@@ -303,11 +303,11 @@ function __wbg_adapter_70(arg0, arg1) {
|
|
|
303
303
|
}
|
|
304
304
|
|
|
305
305
|
function __wbg_adapter_73(arg0, arg1, arg2) {
|
|
306
|
-
wasm.
|
|
306
|
+
wasm.closure1631_externref_shim(arg0, arg1, arg2);
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
function __wbg_adapter_80(arg0, arg1, arg2) {
|
|
310
|
-
wasm.
|
|
310
|
+
wasm.closure2148_externref_shim(arg0, arg1, arg2);
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
function __wbg_adapter_83(arg0, arg1) {
|
|
@@ -315,11 +315,11 @@ function __wbg_adapter_83(arg0, arg1) {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
function __wbg_adapter_86(arg0, arg1, arg2) {
|
|
318
|
-
wasm.
|
|
318
|
+
wasm.closure2817_externref_shim(arg0, arg1, arg2);
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
function __wbg_adapter_682(arg0, arg1, arg2, arg3) {
|
|
322
|
-
wasm.
|
|
322
|
+
wasm.closure2835_externref_shim(arg0, arg1, arg2, arg3);
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
/**
|
|
@@ -2621,7 +2621,7 @@ export class TxClient {
|
|
|
2621
2621
|
* const blob = new Blob(ns, data, AppVersion.latest());
|
|
2622
2622
|
*
|
|
2623
2623
|
* const txInfo = await txClient.submitBlobs([blob]);
|
|
2624
|
-
* await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02 });
|
|
2624
|
+
* await txClient.submitBlobs([blob], { gasLimit: 100000n, gasPrice: 0.02, memo: "foo" });
|
|
2625
2625
|
* ```
|
|
2626
2626
|
*
|
|
2627
2627
|
* # Note
|
|
@@ -2796,7 +2796,7 @@ export function __wbg_abort_99fc644e2c79c9fb() { return handleError(function (ar
|
|
|
2796
2796
|
arg0.abort();
|
|
2797
2797
|
}, arguments) };
|
|
2798
2798
|
|
|
2799
|
-
export function
|
|
2799
|
+
export function __wbg_accountNumber_532b936b90254f7f(arg0) {
|
|
2800
2800
|
const ret = arg0.accountNumber;
|
|
2801
2801
|
return ret;
|
|
2802
2802
|
};
|
|
@@ -2824,7 +2824,7 @@ export function __wbg_apply_eb9e9b97497f91e4() { return handleError(function (ar
|
|
|
2824
2824
|
return ret;
|
|
2825
2825
|
}, arguments) };
|
|
2826
2826
|
|
|
2827
|
-
export function
|
|
2827
|
+
export function __wbg_authInfoBytes_64f2c81856ae3325(arg0, arg1) {
|
|
2828
2828
|
const ret = arg1.authInfoBytes;
|
|
2829
2829
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
2830
2830
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -2852,7 +2852,7 @@ export function __wbg_blockrange_unwrap(arg0) {
|
|
|
2852
2852
|
return ret;
|
|
2853
2853
|
};
|
|
2854
2854
|
|
|
2855
|
-
export function
|
|
2855
|
+
export function __wbg_bodyBytes_a1bf9981c73497dd(arg0, arg1) {
|
|
2856
2856
|
const ret = arg1.bodyBytes;
|
|
2857
2857
|
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
2858
2858
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -2920,7 +2920,7 @@ export function __wbg_cause_9940c4e8dfcd5129(arg0) {
|
|
|
2920
2920
|
return ret;
|
|
2921
2921
|
};
|
|
2922
2922
|
|
|
2923
|
-
export function
|
|
2923
|
+
export function __wbg_chainId_e68a9c35347d6073(arg0, arg1) {
|
|
2924
2924
|
const ret = arg1.chainId;
|
|
2925
2925
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2926
2926
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -3135,7 +3135,7 @@ export function __wbg_fetch_3079ee47bab2b144(arg0, arg1) {
|
|
|
3135
3135
|
return ret;
|
|
3136
3136
|
};
|
|
3137
3137
|
|
|
3138
|
-
export function
|
|
3138
|
+
export function __wbg_fetch_35aca5870885b07f(arg0) {
|
|
3139
3139
|
const ret = fetch(arg0);
|
|
3140
3140
|
return ret;
|
|
3141
3141
|
};
|
|
@@ -3145,13 +3145,13 @@ export function __wbg_from_2a5d3e218e67aa85(arg0) {
|
|
|
3145
3145
|
return ret;
|
|
3146
3146
|
};
|
|
3147
3147
|
|
|
3148
|
-
export function
|
|
3148
|
+
export function __wbg_gasLimit_a8de1ecf933bbf2e(arg0, arg1) {
|
|
3149
3149
|
const ret = arg1.gasLimit;
|
|
3150
3150
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
3151
3151
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
3152
3152
|
};
|
|
3153
3153
|
|
|
3154
|
-
export function
|
|
3154
|
+
export function __wbg_gasPrice_a8a38c446607e325(arg0, arg1) {
|
|
3155
3155
|
const ret = arg1.gasPrice;
|
|
3156
3156
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
3157
3157
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
@@ -3531,6 +3531,14 @@ export function __wbg_length_e2d2a49132c1b256(arg0) {
|
|
|
3531
3531
|
return ret;
|
|
3532
3532
|
};
|
|
3533
3533
|
|
|
3534
|
+
export function __wbg_memo_607def33dfc8ed95(arg0, arg1) {
|
|
3535
|
+
const ret = arg1.memo;
|
|
3536
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3537
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3538
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3539
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3540
|
+
};
|
|
3541
|
+
|
|
3534
3542
|
export function __wbg_message_97a2af9b89d693a3(arg0) {
|
|
3535
3543
|
const ret = arg0.message;
|
|
3536
3544
|
return ret;
|
|
@@ -3765,15 +3773,15 @@ export function __wbg_ports_b00492ca2866b691(arg0) {
|
|
|
3765
3773
|
return ret;
|
|
3766
3774
|
};
|
|
3767
3775
|
|
|
3768
|
-
export function
|
|
3769
|
-
arg0.postMessage(arg1);
|
|
3776
|
+
export function __wbg_postMessage_5d3d973f0c089917() { return handleError(function (arg0, arg1, arg2) {
|
|
3777
|
+
arg0.postMessage(arg1, arg2);
|
|
3770
3778
|
}, arguments) };
|
|
3771
3779
|
|
|
3772
|
-
export function
|
|
3773
|
-
arg0.postMessage(arg1
|
|
3780
|
+
export function __wbg_postMessage_bb72e89e7ba80355() { return handleError(function (arg0, arg1) {
|
|
3781
|
+
arg0.postMessage(arg1);
|
|
3774
3782
|
}, arguments) };
|
|
3775
3783
|
|
|
3776
|
-
export function
|
|
3784
|
+
export function __wbg_postMessage_e8b1bd2b3cd196b9() { return handleError(function (arg0, arg1) {
|
|
3777
3785
|
arg0.postMessage(arg1);
|
|
3778
3786
|
}, arguments) };
|
|
3779
3787
|
|
|
@@ -4139,7 +4147,7 @@ export function __wbg_txclient_new(arg0) {
|
|
|
4139
4147
|
return ret;
|
|
4140
4148
|
};
|
|
4141
4149
|
|
|
4142
|
-
export function
|
|
4150
|
+
export function __wbg_typeUrl_505a400e6120396f(arg0, arg1) {
|
|
4143
4151
|
const ret = arg1.typeUrl;
|
|
4144
4152
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
4145
4153
|
const len1 = WASM_VECTOR_LEN;
|
|
@@ -4168,6 +4176,14 @@ export function __wbg_userAgent_d036e8722fea0cde() { return handleError(function
|
|
|
4168
4176
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4169
4177
|
}, arguments) };
|
|
4170
4178
|
|
|
4179
|
+
export function __wbg_value_1c6f68daa36cdb21(arg0, arg1) {
|
|
4180
|
+
const ret = arg1.value;
|
|
4181
|
+
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
4182
|
+
const len1 = WASM_VECTOR_LEN;
|
|
4183
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4184
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4185
|
+
};
|
|
4186
|
+
|
|
4171
4187
|
export function __wbg_value_68c4e9a54bb7fd5e() { return handleError(function (arg0) {
|
|
4172
4188
|
const ret = arg0.value;
|
|
4173
4189
|
return ret;
|
|
@@ -4178,14 +4194,6 @@ export function __wbg_value_cd1ffa7b1ab794f1(arg0) {
|
|
|
4178
4194
|
return ret;
|
|
4179
4195
|
};
|
|
4180
4196
|
|
|
4181
|
-
export function __wbg_value_fa953a5d0dd5c17e(arg0, arg1) {
|
|
4182
|
-
const ret = arg1.value;
|
|
4183
|
-
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
4184
|
-
const len1 = WASM_VECTOR_LEN;
|
|
4185
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4186
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4187
|
-
};
|
|
4188
|
-
|
|
4189
4197
|
export function __wbg_versions_c71aa1626a93e0a1(arg0) {
|
|
4190
4198
|
const ret = arg0.versions;
|
|
4191
4199
|
return ret;
|
|
@@ -4257,48 +4265,48 @@ export function __wbindgen_cb_drop(arg0) {
|
|
|
4257
4265
|
return ret;
|
|
4258
4266
|
};
|
|
4259
4267
|
|
|
4260
|
-
export function
|
|
4261
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4268
|
+
export function __wbindgen_closure_wrapper1539(arg0, arg1, arg2) {
|
|
4269
|
+
const ret = makeMutClosure(arg0, arg1, 517, __wbg_adapter_64);
|
|
4262
4270
|
return ret;
|
|
4263
4271
|
};
|
|
4264
4272
|
|
|
4265
|
-
export function
|
|
4266
|
-
const ret = makeClosure(arg0, arg1,
|
|
4273
|
+
export function __wbindgen_closure_wrapper1541(arg0, arg1, arg2) {
|
|
4274
|
+
const ret = makeClosure(arg0, arg1, 517, __wbg_adapter_67);
|
|
4267
4275
|
return ret;
|
|
4268
4276
|
};
|
|
4269
4277
|
|
|
4270
|
-
export function
|
|
4271
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4278
|
+
export function __wbindgen_closure_wrapper4435(arg0, arg1, arg2) {
|
|
4279
|
+
const ret = makeMutClosure(arg0, arg1, 1492, __wbg_adapter_70);
|
|
4272
4280
|
return ret;
|
|
4273
4281
|
};
|
|
4274
4282
|
|
|
4275
|
-
export function
|
|
4276
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4283
|
+
export function __wbindgen_closure_wrapper4740(arg0, arg1, arg2) {
|
|
4284
|
+
const ret = makeMutClosure(arg0, arg1, 1632, __wbg_adapter_73);
|
|
4277
4285
|
return ret;
|
|
4278
4286
|
};
|
|
4279
4287
|
|
|
4280
|
-
export function
|
|
4281
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4288
|
+
export function __wbindgen_closure_wrapper4741(arg0, arg1, arg2) {
|
|
4289
|
+
const ret = makeMutClosure(arg0, arg1, 1632, __wbg_adapter_73);
|
|
4282
4290
|
return ret;
|
|
4283
4291
|
};
|
|
4284
4292
|
|
|
4285
|
-
export function
|
|
4286
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4293
|
+
export function __wbindgen_closure_wrapper4742(arg0, arg1, arg2) {
|
|
4294
|
+
const ret = makeMutClosure(arg0, arg1, 1632, __wbg_adapter_73);
|
|
4287
4295
|
return ret;
|
|
4288
4296
|
};
|
|
4289
4297
|
|
|
4290
|
-
export function
|
|
4291
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4298
|
+
export function __wbindgen_closure_wrapper6214(arg0, arg1, arg2) {
|
|
4299
|
+
const ret = makeMutClosure(arg0, arg1, 2149, __wbg_adapter_80);
|
|
4292
4300
|
return ret;
|
|
4293
4301
|
};
|
|
4294
4302
|
|
|
4295
|
-
export function
|
|
4296
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4303
|
+
export function __wbindgen_closure_wrapper6323(arg0, arg1, arg2) {
|
|
4304
|
+
const ret = makeMutClosure(arg0, arg1, 2206, __wbg_adapter_83);
|
|
4297
4305
|
return ret;
|
|
4298
4306
|
};
|
|
4299
4307
|
|
|
4300
|
-
export function
|
|
4301
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
4308
|
+
export function __wbindgen_closure_wrapper8096(arg0, arg1, arg2) {
|
|
4309
|
+
const ret = makeMutClosure(arg0, arg1, 2818, __wbg_adapter_86);
|
|
4302
4310
|
return ret;
|
|
4303
4311
|
};
|
|
4304
4312
|
|
package/lumina_node_wasm_bg.wasm
CHANGED
|
Binary file
|