@synonymdev/pubky 0.4.2 → 0.5.0-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.
- package/README.md +1 -1
- package/index.cjs +54 -12
- package/index.js +66 -17
- package/package.json +2 -2
- package/pubky_bg.wasm +0 -0
package/README.md
CHANGED
package/index.cjs
CHANGED
|
@@ -285,12 +285,20 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
285
285
|
wasm.__externref_drop_slice(ptr, len);
|
|
286
286
|
return result;
|
|
287
287
|
}
|
|
288
|
-
function __wbg_adapter_30(arg0, arg1
|
|
289
|
-
wasm.
|
|
288
|
+
function __wbg_adapter_30(arg0, arg1) {
|
|
289
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h65148d1329d3fd27(arg0, arg1);
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
-
function
|
|
293
|
-
wasm.
|
|
292
|
+
function __wbg_adapter_33(arg0, arg1) {
|
|
293
|
+
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hc42965ff6d9cbff1(arg0, arg1);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
function __wbg_adapter_36(arg0, arg1, arg2) {
|
|
297
|
+
wasm.closure511_externref_shim(arg0, arg1, arg2);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
function __wbg_adapter_177(arg0, arg1, arg2, arg3) {
|
|
301
|
+
wasm.closure578_externref_shim(arg0, arg1, arg2, arg3);
|
|
294
302
|
}
|
|
295
303
|
|
|
296
304
|
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
@@ -734,6 +742,10 @@ class Session {
|
|
|
734
742
|
}
|
|
735
743
|
module.exports.Session = Session;
|
|
736
744
|
|
|
745
|
+
module.exports.__wbg_abort_410ec47a64ac6117 = function(arg0, arg1) {
|
|
746
|
+
arg0.abort(arg1);
|
|
747
|
+
};
|
|
748
|
+
|
|
737
749
|
module.exports.__wbg_abort_775ef1d17fc65868 = function(arg0) {
|
|
738
750
|
arg0.abort();
|
|
739
751
|
};
|
|
@@ -767,6 +779,16 @@ module.exports.__wbg_call_7cccdd69e0791ae2 = function() { return handleError(fun
|
|
|
767
779
|
return ret;
|
|
768
780
|
}, arguments) };
|
|
769
781
|
|
|
782
|
+
module.exports.__wbg_clearTimeout_5a54f8841c30079a = function(arg0) {
|
|
783
|
+
const ret = clearTimeout(arg0);
|
|
784
|
+
return ret;
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
module.exports.__wbg_clearTimeout_86721db0036bea98 = function(arg0) {
|
|
788
|
+
const ret = clearTimeout(arg0);
|
|
789
|
+
return ret;
|
|
790
|
+
};
|
|
791
|
+
|
|
770
792
|
module.exports.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
|
|
771
793
|
const ret = arg0.crypto;
|
|
772
794
|
return ret;
|
|
@@ -785,17 +807,17 @@ module.exports.__wbg_error_80de38b3f7cc3c3c = function(arg0, arg1, arg2, arg3) {
|
|
|
785
807
|
console.error(arg0, arg1, arg2, arg3);
|
|
786
808
|
};
|
|
787
809
|
|
|
788
|
-
module.exports.
|
|
789
|
-
const ret = fetch(
|
|
810
|
+
module.exports.__wbg_fetch_509096533071c657 = function(arg0, arg1) {
|
|
811
|
+
const ret = arg0.fetch(arg1);
|
|
790
812
|
return ret;
|
|
791
813
|
};
|
|
792
814
|
|
|
793
|
-
module.exports.
|
|
794
|
-
const ret =
|
|
815
|
+
module.exports.__wbg_fetch_d36a73832f0a45e8 = function(arg0) {
|
|
816
|
+
const ret = fetch(arg0);
|
|
795
817
|
return ret;
|
|
796
818
|
};
|
|
797
819
|
|
|
798
|
-
module.exports.
|
|
820
|
+
module.exports.__wbg_fetch_e9ba2f53fcaeab31 = function(arg0) {
|
|
799
821
|
const ret = fetch(arg0);
|
|
800
822
|
return ret;
|
|
801
823
|
};
|
|
@@ -885,7 +907,7 @@ module.exports.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
|
885
907
|
const a = state0.a;
|
|
886
908
|
state0.a = 0;
|
|
887
909
|
try {
|
|
888
|
-
return
|
|
910
|
+
return __wbg_adapter_177(a, state0.b, arg0, arg1);
|
|
889
911
|
} finally {
|
|
890
912
|
state0.a = a;
|
|
891
913
|
}
|
|
@@ -1000,6 +1022,16 @@ module.exports.__wbg_session_new = function(arg0) {
|
|
|
1000
1022
|
return ret;
|
|
1001
1023
|
};
|
|
1002
1024
|
|
|
1025
|
+
module.exports.__wbg_setTimeout_2e707715f8cc9497 = function(arg0, arg1) {
|
|
1026
|
+
const ret = setTimeout(arg0, arg1);
|
|
1027
|
+
return ret;
|
|
1028
|
+
};
|
|
1029
|
+
|
|
1030
|
+
module.exports.__wbg_setTimeout_db2dbaeefb6f39c7 = function() { return handleError(function (arg0, arg1) {
|
|
1031
|
+
const ret = setTimeout(arg0, arg1);
|
|
1032
|
+
return ret;
|
|
1033
|
+
}, arguments) };
|
|
1034
|
+
|
|
1003
1035
|
module.exports.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
1004
1036
|
arg0.set(arg1, arg2 >>> 0);
|
|
1005
1037
|
};
|
|
@@ -1115,8 +1147,18 @@ module.exports.__wbindgen_cb_drop = function(arg0) {
|
|
|
1115
1147
|
return ret;
|
|
1116
1148
|
};
|
|
1117
1149
|
|
|
1118
|
-
module.exports.
|
|
1119
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
1150
|
+
module.exports.__wbindgen_closure_wrapper1238 = function(arg0, arg1, arg2) {
|
|
1151
|
+
const ret = makeMutClosure(arg0, arg1, 311, __wbg_adapter_30);
|
|
1152
|
+
return ret;
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
module.exports.__wbindgen_closure_wrapper2549 = function(arg0, arg1, arg2) {
|
|
1156
|
+
const ret = makeMutClosure(arg0, arg1, 498, __wbg_adapter_33);
|
|
1157
|
+
return ret;
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
module.exports.__wbindgen_closure_wrapper2811 = function(arg0, arg1, arg2) {
|
|
1161
|
+
const ret = makeMutClosure(arg0, arg1, 512, __wbg_adapter_36);
|
|
1120
1162
|
return ret;
|
|
1121
1163
|
};
|
|
1122
1164
|
|