@net-mesh/browser 0.44.0 → 0.44.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.
- package/dist/net_leaf.d.ts +10 -10
- package/dist/net_leaf.js +35 -35
- package/dist/net_leaf_bg.wasm +0 -0
- package/dist/net_leaf_bg.wasm.d.ts +10 -10
- package/package.json +1 -1
package/dist/net_leaf.d.ts
CHANGED
|
@@ -1451,16 +1451,16 @@ export interface InitOutput {
|
|
|
1451
1451
|
readonly proxystream_send: (a: number, b: number) => number;
|
|
1452
1452
|
readonly proxystream_stream_id_hex: (a: number, b: number) => void;
|
|
1453
1453
|
readonly start: () => void;
|
|
1454
|
-
readonly
|
|
1455
|
-
readonly
|
|
1456
|
-
readonly
|
|
1457
|
-
readonly
|
|
1458
|
-
readonly
|
|
1459
|
-
readonly
|
|
1460
|
-
readonly
|
|
1461
|
-
readonly
|
|
1462
|
-
readonly
|
|
1463
|
-
readonly
|
|
1454
|
+
readonly __wasm_bindgen_func_elem_6535: (a: number, b: number, c: number, d: number) => void;
|
|
1455
|
+
readonly __wasm_bindgen_func_elem_6537: (a: number, b: number, c: number, d: number) => void;
|
|
1456
|
+
readonly __wasm_bindgen_func_elem_2375: (a: number, b: number, c: number) => number;
|
|
1457
|
+
readonly __wasm_bindgen_func_elem_2376: (a: number, b: number, c: number) => void;
|
|
1458
|
+
readonly __wasm_bindgen_func_elem_2376_112: (a: number, b: number, c: number) => void;
|
|
1459
|
+
readonly __wasm_bindgen_func_elem_2376_113: (a: number, b: number, c: number) => void;
|
|
1460
|
+
readonly __wasm_bindgen_func_elem_2376_114: (a: number, b: number, c: number) => void;
|
|
1461
|
+
readonly __wasm_bindgen_func_elem_2376_115: (a: number, b: number, c: number) => void;
|
|
1462
|
+
readonly __wasm_bindgen_func_elem_2376_116: (a: number, b: number, c: number) => void;
|
|
1463
|
+
readonly __wasm_bindgen_func_elem_2376_117: (a: number, b: number, c: number) => void;
|
|
1464
1464
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
1465
1465
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
1466
1466
|
readonly __wbindgen_export3: (a: number) => void;
|
package/dist/net_leaf.js
CHANGED
|
@@ -2716,13 +2716,13 @@ function __wbg_get_imports() {
|
|
|
2716
2716
|
const ret = getObject(arg0).error;
|
|
2717
2717
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2718
2718
|
},
|
|
2719
|
+
__wbg_error_5f3dc2db8f851959: function(arg0, arg1) {
|
|
2720
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
2721
|
+
},
|
|
2719
2722
|
__wbg_error_6a23b57453026a47: function() { return handleError(function (arg0) {
|
|
2720
2723
|
const ret = getObject(arg0).error;
|
|
2721
2724
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
2722
2725
|
}, arguments); },
|
|
2723
|
-
__wbg_error_def25afd803510fb: function(arg0, arg1) {
|
|
2724
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
2725
|
-
},
|
|
2726
2726
|
__wbg_fetch_4178962c570137ca: function(arg0, arg1, arg2) {
|
|
2727
2727
|
const ret = getObject(arg0).fetch(getStringFromWasm0(arg1, arg2));
|
|
2728
2728
|
return addHeapObject(ret);
|
|
@@ -2912,7 +2912,7 @@ function __wbg_get_imports() {
|
|
|
2912
2912
|
const a = state0.a;
|
|
2913
2913
|
state0.a = 0;
|
|
2914
2914
|
try {
|
|
2915
|
-
return
|
|
2915
|
+
return __wasm_bindgen_func_elem_6537(a, state0.b, arg0, arg1);
|
|
2916
2916
|
} finally {
|
|
2917
2917
|
state0.a = a;
|
|
2918
2918
|
}
|
|
@@ -2954,7 +2954,7 @@ function __wbg_get_imports() {
|
|
|
2954
2954
|
const a = state0.a;
|
|
2955
2955
|
state0.a = 0;
|
|
2956
2956
|
try {
|
|
2957
|
-
return
|
|
2957
|
+
return __wasm_bindgen_func_elem_6537(a, state0.b, arg0, arg1);
|
|
2958
2958
|
} finally {
|
|
2959
2959
|
state0.a = a;
|
|
2960
2960
|
}
|
|
@@ -3264,47 +3264,47 @@ function __wbg_get_imports() {
|
|
|
3264
3264
|
},
|
|
3265
3265
|
__wbindgen_generic_0000000000000001: function(arg0, arg1) {
|
|
3266
3266
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 34, ret: Externref, inner_ret: Some(Externref) }, mutable: true }) -> Externref`.
|
|
3267
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3267
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2375);
|
|
3268
3268
|
return addHeapObject(ret);
|
|
3269
3269
|
},
|
|
3270
3270
|
__wbindgen_generic_0000000000000002: function(arg0, arg1) {
|
|
3271
3271
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3272
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3272
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2376);
|
|
3273
3273
|
return addHeapObject(ret);
|
|
3274
3274
|
},
|
|
3275
3275
|
__wbindgen_generic_0000000000000003: function(arg0, arg1) {
|
|
3276
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
3277
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3276
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 865, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3277
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_6535);
|
|
3278
3278
|
return addHeapObject(ret);
|
|
3279
3279
|
},
|
|
3280
3280
|
__wbindgen_generic_0000000000000004: function(arg0, arg1) {
|
|
3281
3281
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3282
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3282
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2376_112);
|
|
3283
3283
|
return addHeapObject(ret);
|
|
3284
3284
|
},
|
|
3285
3285
|
__wbindgen_generic_0000000000000005: function(arg0, arg1) {
|
|
3286
3286
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3287
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3287
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2376_113);
|
|
3288
3288
|
return addHeapObject(ret);
|
|
3289
3289
|
},
|
|
3290
3290
|
__wbindgen_generic_0000000000000006: function(arg0, arg1) {
|
|
3291
3291
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3292
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3292
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2376_114);
|
|
3293
3293
|
return addHeapObject(ret);
|
|
3294
3294
|
},
|
|
3295
3295
|
__wbindgen_generic_0000000000000007: function(arg0, arg1) {
|
|
3296
3296
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("RTCDataChannelEvent")], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3297
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3297
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2376_115);
|
|
3298
3298
|
return addHeapObject(ret);
|
|
3299
3299
|
},
|
|
3300
3300
|
__wbindgen_generic_0000000000000008: function(arg0, arg1) {
|
|
3301
3301
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceErrorEvent")], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3302
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3302
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2376_116);
|
|
3303
3303
|
return addHeapObject(ret);
|
|
3304
3304
|
},
|
|
3305
3305
|
__wbindgen_generic_0000000000000009: function(arg0, arg1) {
|
|
3306
3306
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx: 35, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3307
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3307
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2376_117);
|
|
3308
3308
|
return addHeapObject(ret);
|
|
3309
3309
|
},
|
|
3310
3310
|
__wbindgen_generic_000000000000000a: function(arg0) {
|
|
@@ -3331,47 +3331,47 @@ function __wbg_get_imports() {
|
|
|
3331
3331
|
};
|
|
3332
3332
|
}
|
|
3333
3333
|
|
|
3334
|
-
function
|
|
3335
|
-
wasm.
|
|
3334
|
+
function __wasm_bindgen_func_elem_2376(arg0, arg1, arg2) {
|
|
3335
|
+
wasm.__wasm_bindgen_func_elem_2376(arg0, arg1, addHeapObject(arg2));
|
|
3336
3336
|
}
|
|
3337
3337
|
|
|
3338
|
-
function
|
|
3339
|
-
wasm.
|
|
3338
|
+
function __wasm_bindgen_func_elem_2376_112(arg0, arg1, arg2) {
|
|
3339
|
+
wasm.__wasm_bindgen_func_elem_2376_112(arg0, arg1, addHeapObject(arg2));
|
|
3340
3340
|
}
|
|
3341
3341
|
|
|
3342
|
-
function
|
|
3343
|
-
wasm.
|
|
3342
|
+
function __wasm_bindgen_func_elem_2376_113(arg0, arg1, arg2) {
|
|
3343
|
+
wasm.__wasm_bindgen_func_elem_2376_113(arg0, arg1, addHeapObject(arg2));
|
|
3344
3344
|
}
|
|
3345
3345
|
|
|
3346
|
-
function
|
|
3347
|
-
wasm.
|
|
3346
|
+
function __wasm_bindgen_func_elem_2376_114(arg0, arg1, arg2) {
|
|
3347
|
+
wasm.__wasm_bindgen_func_elem_2376_114(arg0, arg1, addHeapObject(arg2));
|
|
3348
3348
|
}
|
|
3349
3349
|
|
|
3350
|
-
function
|
|
3351
|
-
wasm.
|
|
3350
|
+
function __wasm_bindgen_func_elem_2376_115(arg0, arg1, arg2) {
|
|
3351
|
+
wasm.__wasm_bindgen_func_elem_2376_115(arg0, arg1, addHeapObject(arg2));
|
|
3352
3352
|
}
|
|
3353
3353
|
|
|
3354
|
-
function
|
|
3355
|
-
wasm.
|
|
3354
|
+
function __wasm_bindgen_func_elem_2376_116(arg0, arg1, arg2) {
|
|
3355
|
+
wasm.__wasm_bindgen_func_elem_2376_116(arg0, arg1, addHeapObject(arg2));
|
|
3356
3356
|
}
|
|
3357
3357
|
|
|
3358
|
-
function
|
|
3359
|
-
wasm.
|
|
3358
|
+
function __wasm_bindgen_func_elem_2376_117(arg0, arg1, arg2) {
|
|
3359
|
+
wasm.__wasm_bindgen_func_elem_2376_117(arg0, arg1, addHeapObject(arg2));
|
|
3360
3360
|
}
|
|
3361
3361
|
|
|
3362
|
-
function
|
|
3363
|
-
const ret = wasm.
|
|
3362
|
+
function __wasm_bindgen_func_elem_2375(arg0, arg1, arg2) {
|
|
3363
|
+
const ret = wasm.__wasm_bindgen_func_elem_2375(arg0, arg1, addHeapObject(arg2));
|
|
3364
3364
|
return takeObject(ret);
|
|
3365
3365
|
}
|
|
3366
3366
|
|
|
3367
|
-
function
|
|
3368
|
-
wasm.
|
|
3367
|
+
function __wasm_bindgen_func_elem_6537(arg0, arg1, arg2, arg3) {
|
|
3368
|
+
wasm.__wasm_bindgen_func_elem_6537(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
3369
3369
|
}
|
|
3370
3370
|
|
|
3371
|
-
function
|
|
3371
|
+
function __wasm_bindgen_func_elem_6535(arg0, arg1, arg2) {
|
|
3372
3372
|
try {
|
|
3373
3373
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
3374
|
-
wasm.
|
|
3374
|
+
wasm.__wasm_bindgen_func_elem_6535(retptr, arg0, arg1, addHeapObject(arg2));
|
|
3375
3375
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
3376
3376
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
3377
3377
|
if (r1) {
|
package/dist/net_leaf_bg.wasm
CHANGED
|
Binary file
|
|
@@ -119,16 +119,16 @@ export const proxystream_peer_node_hex: (a: number, b: number) => void;
|
|
|
119
119
|
export const proxystream_send: (a: number, b: number) => number;
|
|
120
120
|
export const proxystream_stream_id_hex: (a: number, b: number) => void;
|
|
121
121
|
export const start: () => void;
|
|
122
|
-
export const
|
|
123
|
-
export const
|
|
124
|
-
export const
|
|
125
|
-
export const
|
|
126
|
-
export const
|
|
127
|
-
export const
|
|
128
|
-
export const
|
|
129
|
-
export const
|
|
130
|
-
export const
|
|
131
|
-
export const
|
|
122
|
+
export const __wasm_bindgen_func_elem_6535: (a: number, b: number, c: number, d: number) => void;
|
|
123
|
+
export const __wasm_bindgen_func_elem_6537: (a: number, b: number, c: number, d: number) => void;
|
|
124
|
+
export const __wasm_bindgen_func_elem_2375: (a: number, b: number, c: number) => number;
|
|
125
|
+
export const __wasm_bindgen_func_elem_2376: (a: number, b: number, c: number) => void;
|
|
126
|
+
export const __wasm_bindgen_func_elem_2376_112: (a: number, b: number, c: number) => void;
|
|
127
|
+
export const __wasm_bindgen_func_elem_2376_113: (a: number, b: number, c: number) => void;
|
|
128
|
+
export const __wasm_bindgen_func_elem_2376_114: (a: number, b: number, c: number) => void;
|
|
129
|
+
export const __wasm_bindgen_func_elem_2376_115: (a: number, b: number, c: number) => void;
|
|
130
|
+
export const __wasm_bindgen_func_elem_2376_116: (a: number, b: number, c: number) => void;
|
|
131
|
+
export const __wasm_bindgen_func_elem_2376_117: (a: number, b: number, c: number) => void;
|
|
132
132
|
export const __wbindgen_export: (a: number, b: number) => number;
|
|
133
133
|
export const __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
134
134
|
export const __wbindgen_export3: (a: number) => void;
|