phirepass-channel 0.1.188 → 0.1.190
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/package.json
CHANGED
package/phirepass-channel.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export class Channel {
|
|
|
31
31
|
|
|
32
32
|
export enum ErrorType {
|
|
33
33
|
Generic = 0,
|
|
34
|
+
Authentication = 10,
|
|
34
35
|
RequiresUsername = 100,
|
|
35
36
|
RequiresPassword = 110,
|
|
36
37
|
}
|
|
@@ -74,7 +75,7 @@ export interface InitOutput {
|
|
|
74
75
|
readonly __wasm_bindgen_func_elem_37: (a: number, b: number, c: number) => void;
|
|
75
76
|
readonly __wasm_bindgen_func_elem_37_1: (a: number, b: number, c: number) => void;
|
|
76
77
|
readonly __wasm_bindgen_func_elem_37_2: (a: number, b: number, c: number) => void;
|
|
77
|
-
readonly
|
|
78
|
+
readonly __wasm_bindgen_func_elem_40: (a: number, b: number) => void;
|
|
78
79
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
79
80
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|
|
80
81
|
readonly __wbindgen_export3: (a: number) => void;
|
package/phirepass-channel.js
CHANGED
|
@@ -249,10 +249,11 @@ export class Channel {
|
|
|
249
249
|
if (Symbol.dispose) Channel.prototype[Symbol.dispose] = Channel.prototype.free;
|
|
250
250
|
|
|
251
251
|
/**
|
|
252
|
-
* @enum {0 | 100 | 110}
|
|
252
|
+
* @enum {0 | 10 | 100 | 110}
|
|
253
253
|
*/
|
|
254
254
|
export const ErrorType = Object.freeze({
|
|
255
255
|
Generic: 0, "0": "Generic",
|
|
256
|
+
Authentication: 10, "10": "Authentication",
|
|
256
257
|
RequiresUsername: 100, "100": "RequiresUsername",
|
|
257
258
|
RequiresPassword: 110, "110": "RequiresPassword",
|
|
258
259
|
});
|
|
@@ -408,7 +409,7 @@ function __wbg_get_imports() {
|
|
|
408
409
|
__wbg_set_onopen_7ffeb01f8a628209: function(arg0, arg1) {
|
|
409
410
|
getObject(arg0).onopen = getObject(arg1);
|
|
410
411
|
},
|
|
411
|
-
|
|
412
|
+
__wbg_warn_f7afec5deac836cf: function(arg0, arg1) {
|
|
412
413
|
console.warn(getStringFromWasm0(arg0, arg1));
|
|
413
414
|
},
|
|
414
415
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
@@ -427,8 +428,8 @@ function __wbg_get_imports() {
|
|
|
427
428
|
return addHeapObject(ret);
|
|
428
429
|
},
|
|
429
430
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
430
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
431
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
431
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 4, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
432
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_40);
|
|
432
433
|
return addHeapObject(ret);
|
|
433
434
|
},
|
|
434
435
|
__wbindgen_cast_0000000000000005: function(arg0) {
|
|
@@ -465,8 +466,8 @@ function __wbg_get_imports() {
|
|
|
465
466
|
};
|
|
466
467
|
}
|
|
467
468
|
|
|
468
|
-
function
|
|
469
|
-
wasm.
|
|
469
|
+
function __wasm_bindgen_func_elem_40(arg0, arg1) {
|
|
470
|
+
wasm.__wasm_bindgen_func_elem_40(arg0, arg1);
|
|
470
471
|
}
|
|
471
472
|
|
|
472
473
|
function __wasm_bindgen_func_elem_37(arg0, arg1, arg2) {
|
|
Binary file
|