@synonymdev/pubky 0.10.0 → 0.12.0
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 +4 -4
- package/index.cjs +72 -44
- package/index.js +73 -45
- package/package.json +2 -2
- package/pubky.d.ts +23 -13
- package/pubky_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Pubky
|
|
2
2
|
|
|
3
|
-
JS/WASM SDK for [Pubky](https://github.com/pubky/pubky-
|
|
3
|
+
JS/WASM SDK for [Pubky](https://github.com/pubky/pubky-homeserver).
|
|
4
4
|
|
|
5
5
|
Works in browsers and Node 20+.
|
|
6
6
|
|
|
@@ -56,7 +56,7 @@ const addr = `${userPk}/pub/my-cool-app/hello.json`;
|
|
|
56
56
|
const json = await pubky.publicStorage.getJson(addr); // -> { hello: "world" }
|
|
57
57
|
```
|
|
58
58
|
|
|
59
|
-
Find here [**ready-to-run examples**](https://github.com/pubky/pubky-
|
|
59
|
+
Find here [**ready-to-run examples**](https://github.com/pubky/pubky-homeserver/tree/main/examples).
|
|
60
60
|
|
|
61
61
|
### Key formats (display vs transport)
|
|
62
62
|
|
|
@@ -417,7 +417,7 @@ Path rules:
|
|
|
417
417
|
|
|
418
418
|
**Convention:** put your app’s public data under a domain-like folder in `/pub`, e.g. `/pub/my-new-app/`.
|
|
419
419
|
|
|
420
|
-
See [Private Storage](https://github.com/pubky/pubky-
|
|
420
|
+
See [Private Storage](https://github.com/pubky/pubky-homeserver/blob/main/docs/PRIVATE_STORAGE.md) for `/priv/` access and events.
|
|
421
421
|
|
|
422
422
|
---
|
|
423
423
|
|
|
@@ -467,7 +467,7 @@ import { resolvePubky } from "@synonymdev/pubky";
|
|
|
467
467
|
const identifier =
|
|
468
468
|
"pubkyoperrr8wsbpr3ue9d4qj41ge1kcc6r7fdiy6o3ugjrrhi4y77rdo/pub/pubky.app/posts/0033X02JAN0SG";
|
|
469
469
|
const url = resolvePubky(identifier);
|
|
470
|
-
// -> "https://_pubky.operrr8wsbpr3ue9d4qj41ge1kcc6r7fdiy6o3ugjrrhi4y77rdo/pub/pubky.app/posts/0033X02JAN0SG"
|
|
470
|
+
// -> "https://_pubky.operrr8wsbpr3ue9d4qj41ge1kcc6r7fdiy6o3ugjrrhi4y77rdo/storage/operrr8wsbpr3ue9d4qj41ge1kcc6r7fdiy6o3ugjrrhi4y77rdo/pub/pubky.app/posts/0033X02JAN0SG"
|
|
471
471
|
```
|
|
472
472
|
|
|
473
473
|
Both `pubky<pk>/…` (preferred) and `pubky://<pk>/…` resolve to the same HTTPS endpoint.
|
package/index.cjs
CHANGED
|
@@ -559,6 +559,8 @@ class AuthFlow {
|
|
|
559
559
|
* @returns {AuthFlow} A flow reconnected to the original relay channel.
|
|
560
560
|
* @throws {PubkyError}
|
|
561
561
|
* - `{ name: "AuthenticationError" }` if the URL is invalid or not a signin/signup link
|
|
562
|
+
*
|
|
563
|
+
* @deprecated Use `GrantAuthFlow.resume(...)` instead.
|
|
562
564
|
* @param {string} authorization_url
|
|
563
565
|
* @returns {AuthFlow}
|
|
564
566
|
*/
|
|
@@ -978,7 +980,7 @@ class Client {
|
|
|
978
980
|
*
|
|
979
981
|
* @example
|
|
980
982
|
* const client = pubky.client;
|
|
981
|
-
* const res = await client.fetch(`https://_pubky.${user}/pub/app/file.txt`, { method: "PUT", body: "hi", credentials: "include" });
|
|
983
|
+
* const res = await client.fetch(`https://_pubky.${user}/storage/${user}/pub/app/file.txt`, { method: "PUT", body: "hi", credentials: "include" });
|
|
982
984
|
* @param {string} url
|
|
983
985
|
* @param {RequestInit | null} [init]
|
|
984
986
|
* @returns {Promise<Response>}
|
|
@@ -1055,8 +1057,9 @@ exports.Client = Client;
|
|
|
1055
1057
|
/**
|
|
1056
1058
|
* Cookie-only view over a cookie-backed `Session`.
|
|
1057
1059
|
*
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
+
* New applications should use `session.grant` and `GrantSession`.
|
|
1061
|
+
*
|
|
1062
|
+
* @deprecated Use `GrantSession` instead.
|
|
1060
1063
|
*/
|
|
1061
1064
|
class CookieSession {
|
|
1062
1065
|
static __wrap(ptr) {
|
|
@@ -1083,6 +1086,7 @@ class CookieSession {
|
|
|
1083
1086
|
* still hold the HTTP-only cookie.
|
|
1084
1087
|
*
|
|
1085
1088
|
* @returns {string}
|
|
1089
|
+
* @deprecated Use `GrantSession.exportLocalSecret()` instead.
|
|
1086
1090
|
* @returns {string}
|
|
1087
1091
|
*/
|
|
1088
1092
|
export() {
|
|
@@ -1110,6 +1114,7 @@ class CookieSession {
|
|
|
1110
1114
|
* Node.js. Browser sessions cannot read HTTP-only Set-Cookie values.
|
|
1111
1115
|
*
|
|
1112
1116
|
* @returns {Promise<string>}
|
|
1117
|
+
* @deprecated Use `GrantSession.exportLocalSecret()` instead.
|
|
1113
1118
|
* @returns {Promise<string>}
|
|
1114
1119
|
*/
|
|
1115
1120
|
exportSecret() {
|
|
@@ -1197,7 +1202,10 @@ class DirectSignupDeepLink {
|
|
|
1197
1202
|
*/
|
|
1198
1203
|
get xCallback() {
|
|
1199
1204
|
const ret = wasm.directsignupdeeplink_xCallback(this.__wbg_ptr);
|
|
1200
|
-
|
|
1205
|
+
if (ret[2]) {
|
|
1206
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
1207
|
+
}
|
|
1208
|
+
return takeFromExternrefTable0(ret[0]);
|
|
1201
1209
|
}
|
|
1202
1210
|
}
|
|
1203
1211
|
if (Symbol.dispose) DirectSignupDeepLink.prototype[Symbol.dispose] = DirectSignupDeepLink.prototype.free;
|
|
@@ -2617,6 +2625,8 @@ class Pubky {
|
|
|
2617
2625
|
* sessionStorage.removeItem("pubky-auth-url");
|
|
2618
2626
|
* }
|
|
2619
2627
|
* }
|
|
2628
|
+
*
|
|
2629
|
+
* @deprecated Use `resumeGrantAuthFlow(...)` instead.
|
|
2620
2630
|
* @param {string} authorization_url
|
|
2621
2631
|
* @returns {AuthFlow}
|
|
2622
2632
|
*/
|
|
@@ -2715,6 +2725,8 @@ class Pubky {
|
|
|
2715
2725
|
* const flow = pubky.startCookieAuthFlow("/pub/my-cool-app/:rw");
|
|
2716
2726
|
* renderQr(flow.authorizationUrl);
|
|
2717
2727
|
* const session = await flow.awaitApproval();
|
|
2728
|
+
*
|
|
2729
|
+
* @deprecated Use `startGrantAuthFlow(...)` instead.
|
|
2718
2730
|
* @param {Capabilities} capabilities
|
|
2719
2731
|
* @param {AuthFlowKind} kind
|
|
2720
2732
|
* @param {string | null} [relay]
|
|
@@ -3208,7 +3220,10 @@ class SeedExportDeepLink {
|
|
|
3208
3220
|
*/
|
|
3209
3221
|
get xCallback() {
|
|
3210
3222
|
const ret = wasm.seedexportdeeplink_xCallback(this.__wbg_ptr);
|
|
3211
|
-
|
|
3223
|
+
if (ret[2]) {
|
|
3224
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3225
|
+
}
|
|
3226
|
+
return takeFromExternrefTable0(ret[0]);
|
|
3212
3227
|
}
|
|
3213
3228
|
}
|
|
3214
3229
|
if (Symbol.dispose) SeedExportDeepLink.prototype[Symbol.dispose] = SeedExportDeepLink.prototype.free;
|
|
@@ -3243,6 +3258,7 @@ class Session {
|
|
|
3243
3258
|
* Grant-backed sessions return `undefined`.
|
|
3244
3259
|
*
|
|
3245
3260
|
* @returns {CookieSession|undefined}
|
|
3261
|
+
* @deprecated Use `session.grant` and `GrantSession` instead.
|
|
3246
3262
|
* @returns {CookieSession | undefined}
|
|
3247
3263
|
*/
|
|
3248
3264
|
get cookie() {
|
|
@@ -3258,7 +3274,7 @@ class Session {
|
|
|
3258
3274
|
* @returns {string}
|
|
3259
3275
|
* A base64 string to store (e.g. in `localStorage`).
|
|
3260
3276
|
*
|
|
3261
|
-
* @deprecated
|
|
3277
|
+
* @deprecated Use `GrantSession.exportLocalSecret()` instead.
|
|
3262
3278
|
* @returns {string}
|
|
3263
3279
|
*/
|
|
3264
3280
|
export() {
|
|
@@ -3326,7 +3342,7 @@ class Session {
|
|
|
3326
3342
|
* Optional client to reuse transport configuration.
|
|
3327
3343
|
* @returns {Promise<Session>}
|
|
3328
3344
|
*
|
|
3329
|
-
* @deprecated
|
|
3345
|
+
* @deprecated Use `Pubky.restoreSession(...)` with a grant secret.
|
|
3330
3346
|
* @param {string} exported
|
|
3331
3347
|
* @param {Client | null} [client]
|
|
3332
3348
|
* @returns {Promise<Session>}
|
|
@@ -3896,7 +3912,10 @@ class SigninDeepLink {
|
|
|
3896
3912
|
*/
|
|
3897
3913
|
get xCallback() {
|
|
3898
3914
|
const ret = wasm.signindeeplink_xCallback(this.__wbg_ptr);
|
|
3899
|
-
|
|
3915
|
+
if (ret[2]) {
|
|
3916
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
3917
|
+
}
|
|
3918
|
+
return takeFromExternrefTable0(ret[0]);
|
|
3900
3919
|
}
|
|
3901
3920
|
}
|
|
3902
3921
|
if (Symbol.dispose) SigninDeepLink.prototype[Symbol.dispose] = SigninDeepLink.prototype.free;
|
|
@@ -4044,7 +4063,10 @@ class SigninGrantDeepLink {
|
|
|
4044
4063
|
*/
|
|
4045
4064
|
get xCallback() {
|
|
4046
4065
|
const ret = wasm.signingrantdeeplink_xCallback(this.__wbg_ptr);
|
|
4047
|
-
|
|
4066
|
+
if (ret[2]) {
|
|
4067
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
4068
|
+
}
|
|
4069
|
+
return takeFromExternrefTable0(ret[0]);
|
|
4048
4070
|
}
|
|
4049
4071
|
}
|
|
4050
4072
|
if (Symbol.dispose) SigninGrantDeepLink.prototype[Symbol.dispose] = SigninGrantDeepLink.prototype.free;
|
|
@@ -4158,7 +4180,10 @@ class SignupDeepLink {
|
|
|
4158
4180
|
*/
|
|
4159
4181
|
get xCallback() {
|
|
4160
4182
|
const ret = wasm.signupdeeplink_xCallback(this.__wbg_ptr);
|
|
4161
|
-
|
|
4183
|
+
if (ret[2]) {
|
|
4184
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
4185
|
+
}
|
|
4186
|
+
return takeFromExternrefTable0(ret[0]);
|
|
4162
4187
|
}
|
|
4163
4188
|
}
|
|
4164
4189
|
if (Symbol.dispose) SignupDeepLink.prototype[Symbol.dispose] = SignupDeepLink.prototype.free;
|
|
@@ -4331,7 +4356,10 @@ class SignupGrantDeepLink {
|
|
|
4331
4356
|
*/
|
|
4332
4357
|
get xCallback() {
|
|
4333
4358
|
const ret = wasm.signupgrantdeeplink_xCallback(this.__wbg_ptr);
|
|
4334
|
-
|
|
4359
|
+
if (ret[2]) {
|
|
4360
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
4361
|
+
}
|
|
4362
|
+
return takeFromExternrefTable0(ret[0]);
|
|
4335
4363
|
}
|
|
4336
4364
|
}
|
|
4337
4365
|
if (Symbol.dispose) SignupGrantDeepLink.prototype[Symbol.dispose] = SignupGrantDeepLink.prototype.free;
|
|
@@ -4488,7 +4516,7 @@ exports.StoredSessionInfo = StoredSessionInfo;
|
|
|
4488
4516
|
* Resolve a `pubky://` or `pubky<pk>/…` identifier into the homeserver transport URL.
|
|
4489
4517
|
*
|
|
4490
4518
|
* @param {string} identifier Either `pubky<pk>/...` (preferred) or `pubky://<pk>/...`.
|
|
4491
|
-
* @returns {string} HTTPS URL in the form `https://_pubky.<pk>/...`.
|
|
4519
|
+
* @returns {string} HTTPS URL in the form `https://_pubky.<pk>/storage/<pk>/...`.
|
|
4492
4520
|
* @param {string} identifier
|
|
4493
4521
|
* @returns {string}
|
|
4494
4522
|
*/
|
|
@@ -4654,7 +4682,7 @@ function __wbg_get_imports() {
|
|
|
4654
4682
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
4655
4683
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
4656
4684
|
},
|
|
4657
|
-
|
|
4685
|
+
__wbg___pubkyGrantDelegatedSign_87e16b32eae17a22: function(arg0, arg1, arg2, arg3) {
|
|
4658
4686
|
let deferred0_0;
|
|
4659
4687
|
let deferred0_1;
|
|
4660
4688
|
let deferred1_0;
|
|
@@ -4671,7 +4699,7 @@ function __wbg_get_imports() {
|
|
|
4671
4699
|
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
4672
4700
|
}
|
|
4673
4701
|
},
|
|
4674
|
-
|
|
4702
|
+
__wbg___pubkyGrantDeleteDelegatedKey_7d7da7cd71dce615: function(arg0, arg1) {
|
|
4675
4703
|
let deferred0_0;
|
|
4676
4704
|
let deferred0_1;
|
|
4677
4705
|
try {
|
|
@@ -4683,7 +4711,7 @@ function __wbg_get_imports() {
|
|
|
4683
4711
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
4684
4712
|
}
|
|
4685
4713
|
},
|
|
4686
|
-
|
|
4714
|
+
__wbg___pubkyGrantEnsureDelegatedKey_34881f231299cc4a: function(arg0, arg1) {
|
|
4687
4715
|
let v0;
|
|
4688
4716
|
if (arg0 !== 0) {
|
|
4689
4717
|
v0 = getStringFromWasm0(arg0, arg1).slice();
|
|
@@ -4692,7 +4720,7 @@ function __wbg_get_imports() {
|
|
|
4692
4720
|
const ret = __pubkyGrantEnsureDelegatedKey(v0);
|
|
4693
4721
|
return ret;
|
|
4694
4722
|
},
|
|
4695
|
-
|
|
4723
|
+
__wbg___pubkyGrantLoadDelegatedPublicKey_16f016956b406b8c: function(arg0, arg1) {
|
|
4696
4724
|
let deferred0_0;
|
|
4697
4725
|
let deferred0_1;
|
|
4698
4726
|
try {
|
|
@@ -4704,7 +4732,7 @@ function __wbg_get_imports() {
|
|
|
4704
4732
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
4705
4733
|
}
|
|
4706
4734
|
},
|
|
4707
|
-
|
|
4735
|
+
__wbg___pubkySessionStoreDelete_2e61bae48f1d8ad3: function(arg0, arg1) {
|
|
4708
4736
|
let deferred0_0;
|
|
4709
4737
|
let deferred0_1;
|
|
4710
4738
|
try {
|
|
@@ -4716,7 +4744,7 @@ function __wbg_get_imports() {
|
|
|
4716
4744
|
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
4717
4745
|
}
|
|
4718
4746
|
},
|
|
4719
|
-
|
|
4747
|
+
__wbg___pubkySessionStoreGet_407c7588524a0336: function(arg0, arg1) {
|
|
4720
4748
|
let deferred0_0;
|
|
4721
4749
|
let deferred0_1;
|
|
4722
4750
|
try {
|
|
@@ -4903,7 +4931,7 @@ function __wbg_get_imports() {
|
|
|
4903
4931
|
const ret = arg0.fetch(arg1);
|
|
4904
4932
|
return ret;
|
|
4905
4933
|
},
|
|
4906
|
-
|
|
4934
|
+
__wbg_fetch_95c377e5d416f01c: function(arg0) {
|
|
4907
4935
|
const ret = fetch(arg0);
|
|
4908
4936
|
return ret;
|
|
4909
4937
|
},
|
|
@@ -4911,12 +4939,12 @@ function __wbg_get_imports() {
|
|
|
4911
4939
|
const ret = Array.from(arg0);
|
|
4912
4940
|
return ret;
|
|
4913
4941
|
},
|
|
4914
|
-
__wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
|
|
4915
|
-
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4916
|
-
}, arguments); },
|
|
4917
4942
|
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
4918
4943
|
arg0.getRandomValues(arg1);
|
|
4919
4944
|
}, arguments); },
|
|
4945
|
+
__wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
|
|
4946
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
4947
|
+
}, arguments); },
|
|
4920
4948
|
__wbg_getReader_9facd4f899beac89: function() { return handleError(function (arg0) {
|
|
4921
4949
|
const ret = arg0.getReader();
|
|
4922
4950
|
return ret;
|
|
@@ -5098,7 +5126,7 @@ function __wbg_get_imports() {
|
|
|
5098
5126
|
const a = state0.a;
|
|
5099
5127
|
state0.a = 0;
|
|
5100
5128
|
try {
|
|
5101
|
-
return
|
|
5129
|
+
return wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___js_sys_c85ed8012f263b9d___Function_fn_wasm_bindgen_48024d4b44a05752___JsValue_____wasm_bindgen_48024d4b44a05752___sys__Undefined___js_sys_c85ed8012f263b9d___Function_fn_wasm_bindgen_48024d4b44a05752___JsValue_____wasm_bindgen_48024d4b44a05752___sys__Undefined_______true_(a, state0.b, arg0, arg1);
|
|
5102
5130
|
} finally {
|
|
5103
5131
|
state0.a = a;
|
|
5104
5132
|
}
|
|
@@ -5335,18 +5363,18 @@ function __wbg_get_imports() {
|
|
|
5335
5363
|
console.warn(arg0, arg1, arg2, arg3);
|
|
5336
5364
|
},
|
|
5337
5365
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
5338
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
5339
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5366
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 132, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
5367
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___wasm_bindgen_48024d4b44a05752___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_48024d4b44a05752___JsError___true_);
|
|
5340
5368
|
return ret;
|
|
5341
5369
|
},
|
|
5342
5370
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
5343
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
5344
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5371
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 272, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5372
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___wasm_bindgen_48024d4b44a05752___JsValue______true_);
|
|
5345
5373
|
return ret;
|
|
5346
5374
|
},
|
|
5347
5375
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
5348
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx:
|
|
5349
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
5376
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 270, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
5377
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen_48024d4b44a05752___convert__closures_____invoke_______true_);
|
|
5350
5378
|
return ret;
|
|
5351
5379
|
},
|
|
5352
5380
|
__wbindgen_cast_0000000000000004: function(arg0) {
|
|
@@ -5408,33 +5436,33 @@ function __wbg_get_imports() {
|
|
|
5408
5436
|
return {
|
|
5409
5437
|
__proto__: null,
|
|
5410
5438
|
"./pubky_bg.js": import0,
|
|
5411
|
-
"./snippets/pubky-wasm-
|
|
5412
|
-
"./snippets/pubky-wasm-
|
|
5413
|
-
"./snippets/pubky-wasm-
|
|
5414
|
-
"./snippets/pubky-wasm-
|
|
5415
|
-
"./snippets/pubky-wasm-
|
|
5416
|
-
"./snippets/pubky-wasm-
|
|
5417
|
-
"./snippets/pubky-wasm-
|
|
5439
|
+
"./snippets/pubky-wasm-25477c7ca91d0b66/inline1.js": import1,
|
|
5440
|
+
"./snippets/pubky-wasm-25477c7ca91d0b66/inline0.js": import2,
|
|
5441
|
+
"./snippets/pubky-wasm-25477c7ca91d0b66/inline0.js": import3,
|
|
5442
|
+
"./snippets/pubky-wasm-25477c7ca91d0b66/inline0.js": import4,
|
|
5443
|
+
"./snippets/pubky-wasm-25477c7ca91d0b66/inline0.js": import5,
|
|
5444
|
+
"./snippets/pubky-wasm-25477c7ca91d0b66/inline0.js": import6,
|
|
5445
|
+
"./snippets/pubky-wasm-25477c7ca91d0b66/inline1.js": import7,
|
|
5418
5446
|
};
|
|
5419
5447
|
}
|
|
5420
5448
|
|
|
5421
|
-
function
|
|
5422
|
-
wasm.
|
|
5449
|
+
function wasm_bindgen_48024d4b44a05752___convert__closures_____invoke_______true_(arg0, arg1) {
|
|
5450
|
+
wasm.wasm_bindgen_48024d4b44a05752___convert__closures_____invoke_______true_(arg0, arg1);
|
|
5423
5451
|
}
|
|
5424
5452
|
|
|
5425
|
-
function
|
|
5426
|
-
wasm.
|
|
5453
|
+
function wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___wasm_bindgen_48024d4b44a05752___JsValue______true_(arg0, arg1, arg2) {
|
|
5454
|
+
wasm.wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___wasm_bindgen_48024d4b44a05752___JsValue______true_(arg0, arg1, arg2);
|
|
5427
5455
|
}
|
|
5428
5456
|
|
|
5429
|
-
function
|
|
5430
|
-
const ret = wasm.
|
|
5457
|
+
function wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___wasm_bindgen_48024d4b44a05752___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_48024d4b44a05752___JsError___true_(arg0, arg1, arg2) {
|
|
5458
|
+
const ret = wasm.wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___wasm_bindgen_48024d4b44a05752___JsValue__core_ed718c3d60ebd546___result__Result_____wasm_bindgen_48024d4b44a05752___JsError___true_(arg0, arg1, arg2);
|
|
5431
5459
|
if (ret[1]) {
|
|
5432
5460
|
throw takeFromExternrefTable0(ret[0]);
|
|
5433
5461
|
}
|
|
5434
5462
|
}
|
|
5435
5463
|
|
|
5436
|
-
function
|
|
5437
|
-
wasm.
|
|
5464
|
+
function wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___js_sys_c85ed8012f263b9d___Function_fn_wasm_bindgen_48024d4b44a05752___JsValue_____wasm_bindgen_48024d4b44a05752___sys__Undefined___js_sys_c85ed8012f263b9d___Function_fn_wasm_bindgen_48024d4b44a05752___JsValue_____wasm_bindgen_48024d4b44a05752___sys__Undefined_______true_(arg0, arg1, arg2, arg3) {
|
|
5465
|
+
wasm.wasm_bindgen_48024d4b44a05752___convert__closures_____invoke___js_sys_c85ed8012f263b9d___Function_fn_wasm_bindgen_48024d4b44a05752___JsValue_____wasm_bindgen_48024d4b44a05752___sys__Undefined___js_sys_c85ed8012f263b9d___Function_fn_wasm_bindgen_48024d4b44a05752___JsValue_____wasm_bindgen_48024d4b44a05752___sys__Undefined_______true_(arg0, arg1, arg2, arg3);
|
|
5438
5466
|
}
|
|
5439
5467
|
|
|
5440
5468
|
|