@organigram/passkey-wallet 0.1.6

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.
Files changed (79) hide show
  1. package/.organigram-docs-cache/passkey-wallet/api-extractor.json +35 -0
  2. package/.organigram-docs-cache/passkey-wallet/api-model/passkey-wallet.api.json +3166 -0
  3. package/.organigram-docs-cache/passkey-wallet/entry/index.d.ts +9 -0
  4. package/.organigram-docs-cache/passkey-wallet/tmp/node-compile-cache/v24.12.0-arm64-cf738c9d-501/05732508 +0 -0
  5. package/.organigram-docs-cache/passkey-wallet/tmp/node-compile-cache/v24.12.0-arm64-cf738c9d-501/166b6dbf +0 -0
  6. package/.organigram-docs-cache/passkey-wallet/tmp/node-compile-cache/v24.12.0-arm64-cf738c9d-501/41c20e23 +0 -0
  7. package/.organigram-docs-cache/passkey-wallet/tmp/node-compile-cache/v24.12.0-arm64-cf738c9d-501/7111ea58 +0 -0
  8. package/.organigram-docs-cache/passkey-wallet/tmp/tsx-501/17844-1822dfbab9819e9f6a93485fe3da5dbf3745311c +1 -0
  9. package/.organigram-docs-cache/passkey-wallet/tmp/tsx-501/17844-45a65cfdc7a50c53817c1dad3954ae3d2d2c35fb +1 -0
  10. package/.organigram-docs-cache/passkey-wallet/tmp/tsx-501/17844-fee5290b05398fe9e3b878deefd22383744f1526 +1 -0
  11. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/createorganigrampasskeywalletinput.yml +17 -0
  12. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/identitypasskeycapabilities.yml +16 -0
  13. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/organigrampasskeycapabilities.yml +18 -0
  14. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/organigrampasskeyprovider.yml +16 -0
  15. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/organigrampasskeyprovideractions.yml +20 -0
  16. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeyprfunavailableerror.yml +28 -0
  17. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeyproviderevent.yml +11 -0
  18. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeyproviderlistener.yml +11 -0
  19. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeyregistrationresult.yml +15 -0
  20. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeyvaultdecrypterror.yml +28 -0
  21. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeyvaultenvelopedata.yml +18 -0
  22. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeyvaultenvelopeinput.yml +19 -0
  23. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeywalletapiclient.yml +33 -0
  24. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeywalletcapabilities.yml +11 -0
  25. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeywalletlogincapabilities.yml +14 -0
  26. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeywalletregistrationcapabilities.yml +18 -0
  27. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/passkeywalletvaultpayload.yml +18 -0
  28. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet/unlockedpasskeywallet.yml +21 -0
  29. package/.organigram-docs-cache/passkey-wallet/yaml/passkey-wallet.yml +870 -0
  30. package/.organigram-docs-cache/passkey-wallet/yaml/toc.yml +43 -0
  31. package/.turbo/turbo-build.log +6 -0
  32. package/.turbo/turbo-docs$colon$generate.log +118 -0
  33. package/.turbo/turbo-lint.log +13 -0
  34. package/.turbo/turbo-test.log +152 -0
  35. package/.turbo/turbo-typecheck.log +5 -0
  36. package/CHANGELOG.md +8 -0
  37. package/LICENSE.md +21 -0
  38. package/README.md +427 -0
  39. package/__mocks__/organigram-js.ts +19 -0
  40. package/__mocks__/wagmi.ts +1 -0
  41. package/dist/crypto.d.ts +39 -0
  42. package/dist/crypto.js +95 -0
  43. package/dist/eip1193.d.ts +24 -0
  44. package/dist/eip1193.js +103 -0
  45. package/dist/errors.d.ts +7 -0
  46. package/dist/errors.js +13 -0
  47. package/dist/index.d.ts +4 -0
  48. package/dist/index.js +4 -0
  49. package/dist/rainbowkit.d.ts +14 -0
  50. package/dist/rainbowkit.js +128 -0
  51. package/dist/types.d.ts +45 -0
  52. package/dist/types.js +17 -0
  53. package/dist/vault.d.ts +10 -0
  54. package/dist/vault.js +41 -0
  55. package/dist/wallet.d.ts +15 -0
  56. package/dist/wallet.js +30 -0
  57. package/dist/webauthn-client.d.ts +73 -0
  58. package/dist/webauthn-client.js +234 -0
  59. package/dist/webauthn-server.d.ts +62 -0
  60. package/dist/webauthn-server.js +133 -0
  61. package/jest.config.ts +32 -0
  62. package/package.json +61 -0
  63. package/src/crypto.test.ts +69 -0
  64. package/src/crypto.ts +193 -0
  65. package/src/eip1193.ts +169 -0
  66. package/src/errors.ts +16 -0
  67. package/src/index.ts +4 -0
  68. package/src/rainbowkit.test.ts +42 -0
  69. package/src/rainbowkit.ts +171 -0
  70. package/src/types.ts +82 -0
  71. package/src/vault.test.ts +23 -0
  72. package/src/vault.ts +77 -0
  73. package/src/wallet.ts +61 -0
  74. package/src/webauthn-client.test.ts +103 -0
  75. package/src/webauthn-client.ts +430 -0
  76. package/src/webauthn-server.test.ts +43 -0
  77. package/src/webauthn-server.ts +258 -0
  78. package/tsconfig.build.json +15 -0
  79. package/tsconfig.json +27 -0
@@ -0,0 +1,3166 @@
1
+ {
2
+ "metadata": {
3
+ "toolPackage": "@microsoft/api-extractor",
4
+ "toolVersion": "7.57.7",
5
+ "schemaVersion": 1011,
6
+ "oldestForwardsCompatibleVersion": 1001,
7
+ "tsdocConfig": {
8
+ "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
+ "noStandardTags": true,
10
+ "tagDefinitions": [
11
+ {
12
+ "tagName": "@alpha",
13
+ "syntaxKind": "modifier"
14
+ },
15
+ {
16
+ "tagName": "@beta",
17
+ "syntaxKind": "modifier"
18
+ },
19
+ {
20
+ "tagName": "@defaultValue",
21
+ "syntaxKind": "block"
22
+ },
23
+ {
24
+ "tagName": "@decorator",
25
+ "syntaxKind": "block",
26
+ "allowMultiple": true
27
+ },
28
+ {
29
+ "tagName": "@deprecated",
30
+ "syntaxKind": "block"
31
+ },
32
+ {
33
+ "tagName": "@eventProperty",
34
+ "syntaxKind": "modifier"
35
+ },
36
+ {
37
+ "tagName": "@example",
38
+ "syntaxKind": "block",
39
+ "allowMultiple": true
40
+ },
41
+ {
42
+ "tagName": "@experimental",
43
+ "syntaxKind": "modifier"
44
+ },
45
+ {
46
+ "tagName": "@inheritDoc",
47
+ "syntaxKind": "inline"
48
+ },
49
+ {
50
+ "tagName": "@internal",
51
+ "syntaxKind": "modifier"
52
+ },
53
+ {
54
+ "tagName": "@label",
55
+ "syntaxKind": "inline"
56
+ },
57
+ {
58
+ "tagName": "@link",
59
+ "syntaxKind": "inline",
60
+ "allowMultiple": true
61
+ },
62
+ {
63
+ "tagName": "@override",
64
+ "syntaxKind": "modifier"
65
+ },
66
+ {
67
+ "tagName": "@packageDocumentation",
68
+ "syntaxKind": "modifier"
69
+ },
70
+ {
71
+ "tagName": "@param",
72
+ "syntaxKind": "block",
73
+ "allowMultiple": true
74
+ },
75
+ {
76
+ "tagName": "@privateRemarks",
77
+ "syntaxKind": "block"
78
+ },
79
+ {
80
+ "tagName": "@public",
81
+ "syntaxKind": "modifier"
82
+ },
83
+ {
84
+ "tagName": "@readonly",
85
+ "syntaxKind": "modifier"
86
+ },
87
+ {
88
+ "tagName": "@remarks",
89
+ "syntaxKind": "block"
90
+ },
91
+ {
92
+ "tagName": "@returns",
93
+ "syntaxKind": "block"
94
+ },
95
+ {
96
+ "tagName": "@sealed",
97
+ "syntaxKind": "modifier"
98
+ },
99
+ {
100
+ "tagName": "@see",
101
+ "syntaxKind": "block"
102
+ },
103
+ {
104
+ "tagName": "@throws",
105
+ "syntaxKind": "block",
106
+ "allowMultiple": true
107
+ },
108
+ {
109
+ "tagName": "@typeParam",
110
+ "syntaxKind": "block",
111
+ "allowMultiple": true
112
+ },
113
+ {
114
+ "tagName": "@virtual",
115
+ "syntaxKind": "modifier"
116
+ },
117
+ {
118
+ "tagName": "@jsx",
119
+ "syntaxKind": "block"
120
+ },
121
+ {
122
+ "tagName": "@jsxRuntime",
123
+ "syntaxKind": "block"
124
+ },
125
+ {
126
+ "tagName": "@jsxFrag",
127
+ "syntaxKind": "block"
128
+ },
129
+ {
130
+ "tagName": "@jsxImportSource",
131
+ "syntaxKind": "block"
132
+ },
133
+ {
134
+ "tagName": "@betaDocumentation",
135
+ "syntaxKind": "modifier"
136
+ },
137
+ {
138
+ "tagName": "@internalRemarks",
139
+ "syntaxKind": "block"
140
+ },
141
+ {
142
+ "tagName": "@preapproved",
143
+ "syntaxKind": "modifier"
144
+ }
145
+ ],
146
+ "supportForTags": {
147
+ "@alpha": true,
148
+ "@beta": true,
149
+ "@defaultValue": true,
150
+ "@decorator": true,
151
+ "@deprecated": true,
152
+ "@eventProperty": true,
153
+ "@example": true,
154
+ "@experimental": true,
155
+ "@inheritDoc": true,
156
+ "@internal": true,
157
+ "@label": true,
158
+ "@link": true,
159
+ "@override": true,
160
+ "@packageDocumentation": true,
161
+ "@param": true,
162
+ "@privateRemarks": true,
163
+ "@public": true,
164
+ "@readonly": true,
165
+ "@remarks": true,
166
+ "@returns": true,
167
+ "@sealed": true,
168
+ "@see": true,
169
+ "@throws": true,
170
+ "@typeParam": true,
171
+ "@virtual": true,
172
+ "@betaDocumentation": true,
173
+ "@internalRemarks": true,
174
+ "@preapproved": true
175
+ },
176
+ "reportUnsupportedHtmlElements": false
177
+ }
178
+ },
179
+ "kind": "Package",
180
+ "canonicalReference": "@organigram/passkey-wallet!",
181
+ "docComment": "",
182
+ "name": "@organigram/passkey-wallet",
183
+ "preserveMemberOrder": false,
184
+ "members": [
185
+ {
186
+ "kind": "EntryPoint",
187
+ "canonicalReference": "@organigram/passkey-wallet!",
188
+ "name": "",
189
+ "preserveMemberOrder": false,
190
+ "members": [
191
+ {
192
+ "kind": "Function",
193
+ "canonicalReference": "@organigram/passkey-wallet!base64UrlToBytes:function(1)",
194
+ "docComment": "",
195
+ "excerptTokens": [
196
+ {
197
+ "kind": "Content",
198
+ "text": "base64UrlToBytes: (value: "
199
+ },
200
+ {
201
+ "kind": "Content",
202
+ "text": "string"
203
+ },
204
+ {
205
+ "kind": "Content",
206
+ "text": ") => "
207
+ },
208
+ {
209
+ "kind": "Reference",
210
+ "text": "Uint8Array",
211
+ "canonicalReference": "!Uint8Array:interface"
212
+ }
213
+ ],
214
+ "fileUrlPath": "dist/crypto.d.ts",
215
+ "returnTypeTokenRange": {
216
+ "startIndex": 3,
217
+ "endIndex": 4
218
+ },
219
+ "releaseTag": "Public",
220
+ "overloadIndex": 1,
221
+ "parameters": [
222
+ {
223
+ "parameterName": "value",
224
+ "parameterTypeTokenRange": {
225
+ "startIndex": 1,
226
+ "endIndex": 2
227
+ },
228
+ "isOptional": false
229
+ }
230
+ ],
231
+ "name": "base64UrlToBytes"
232
+ },
233
+ {
234
+ "kind": "Function",
235
+ "canonicalReference": "@organigram/passkey-wallet!buildEmailPasskeyCapabilities:function(1)",
236
+ "docComment": "",
237
+ "excerptTokens": [
238
+ {
239
+ "kind": "Content",
240
+ "text": "buildEmailPasskeyCapabilities: (email: "
241
+ },
242
+ {
243
+ "kind": "Content",
244
+ "text": "string"
245
+ },
246
+ {
247
+ "kind": "Content",
248
+ "text": ") => "
249
+ },
250
+ {
251
+ "kind": "Reference",
252
+ "text": "IdentityPasskeyCapabilities",
253
+ "canonicalReference": "@organigram/passkey-wallet!IdentityPasskeyCapabilities:type"
254
+ }
255
+ ],
256
+ "fileUrlPath": "dist/types.d.ts",
257
+ "returnTypeTokenRange": {
258
+ "startIndex": 3,
259
+ "endIndex": 4
260
+ },
261
+ "releaseTag": "Public",
262
+ "overloadIndex": 1,
263
+ "parameters": [
264
+ {
265
+ "parameterName": "email",
266
+ "parameterTypeTokenRange": {
267
+ "startIndex": 1,
268
+ "endIndex": 2
269
+ },
270
+ "isOptional": false
271
+ }
272
+ ],
273
+ "name": "buildEmailPasskeyCapabilities"
274
+ },
275
+ {
276
+ "kind": "Function",
277
+ "canonicalReference": "@organigram/passkey-wallet!buildIdentityPasskeyCapabilities:function(1)",
278
+ "docComment": "",
279
+ "excerptTokens": [
280
+ {
281
+ "kind": "Content",
282
+ "text": "buildIdentityPasskeyCapabilities: (email: "
283
+ },
284
+ {
285
+ "kind": "Content",
286
+ "text": "string"
287
+ },
288
+ {
289
+ "kind": "Content",
290
+ "text": ") => "
291
+ },
292
+ {
293
+ "kind": "Reference",
294
+ "text": "IdentityPasskeyCapabilities",
295
+ "canonicalReference": "@organigram/passkey-wallet!IdentityPasskeyCapabilities:type"
296
+ }
297
+ ],
298
+ "fileUrlPath": "dist/types.d.ts",
299
+ "returnTypeTokenRange": {
300
+ "startIndex": 3,
301
+ "endIndex": 4
302
+ },
303
+ "releaseTag": "Public",
304
+ "overloadIndex": 1,
305
+ "parameters": [
306
+ {
307
+ "parameterName": "email",
308
+ "parameterTypeTokenRange": {
309
+ "startIndex": 1,
310
+ "endIndex": 2
311
+ },
312
+ "isOptional": false
313
+ }
314
+ ],
315
+ "name": "buildIdentityPasskeyCapabilities"
316
+ },
317
+ {
318
+ "kind": "Function",
319
+ "canonicalReference": "@organigram/passkey-wallet!buildPasskeyWalletCapabilities:function(1)",
320
+ "docComment": "",
321
+ "excerptTokens": [
322
+ {
323
+ "kind": "Content",
324
+ "text": "buildPasskeyWalletCapabilities: () => "
325
+ },
326
+ {
327
+ "kind": "Reference",
328
+ "text": "PasskeyWalletCapabilities",
329
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletCapabilities:type"
330
+ }
331
+ ],
332
+ "fileUrlPath": "dist/types.d.ts",
333
+ "returnTypeTokenRange": {
334
+ "startIndex": 1,
335
+ "endIndex": 2
336
+ },
337
+ "releaseTag": "Public",
338
+ "overloadIndex": 1,
339
+ "parameters": [],
340
+ "name": "buildPasskeyWalletCapabilities"
341
+ },
342
+ {
343
+ "kind": "Function",
344
+ "canonicalReference": "@organigram/passkey-wallet!bytesToBase64Url:function(1)",
345
+ "docComment": "",
346
+ "excerptTokens": [
347
+ {
348
+ "kind": "Content",
349
+ "text": "bytesToBase64Url: (bytes: "
350
+ },
351
+ {
352
+ "kind": "Reference",
353
+ "text": "Uint8Array",
354
+ "canonicalReference": "!Uint8Array:interface"
355
+ },
356
+ {
357
+ "kind": "Content",
358
+ "text": ") => "
359
+ },
360
+ {
361
+ "kind": "Content",
362
+ "text": "string"
363
+ }
364
+ ],
365
+ "fileUrlPath": "dist/crypto.d.ts",
366
+ "returnTypeTokenRange": {
367
+ "startIndex": 3,
368
+ "endIndex": 4
369
+ },
370
+ "releaseTag": "Public",
371
+ "overloadIndex": 1,
372
+ "parameters": [
373
+ {
374
+ "parameterName": "bytes",
375
+ "parameterTypeTokenRange": {
376
+ "startIndex": 1,
377
+ "endIndex": 2
378
+ },
379
+ "isOptional": false
380
+ }
381
+ ],
382
+ "name": "bytesToBase64Url"
383
+ },
384
+ {
385
+ "kind": "Function",
386
+ "canonicalReference": "@organigram/passkey-wallet!createFetchPasskeyWalletApiClient:function(1)",
387
+ "docComment": "",
388
+ "excerptTokens": [
389
+ {
390
+ "kind": "Content",
391
+ "text": "createFetchPasskeyWalletApiClient: (basePath?: "
392
+ },
393
+ {
394
+ "kind": "Content",
395
+ "text": "string"
396
+ },
397
+ {
398
+ "kind": "Content",
399
+ "text": ") => "
400
+ },
401
+ {
402
+ "kind": "Reference",
403
+ "text": "PasskeyWalletApiClient",
404
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type"
405
+ }
406
+ ],
407
+ "fileUrlPath": "dist/webauthn-client.d.ts",
408
+ "returnTypeTokenRange": {
409
+ "startIndex": 3,
410
+ "endIndex": 4
411
+ },
412
+ "releaseTag": "Public",
413
+ "overloadIndex": 1,
414
+ "parameters": [
415
+ {
416
+ "parameterName": "basePath",
417
+ "parameterTypeTokenRange": {
418
+ "startIndex": 1,
419
+ "endIndex": 2
420
+ },
421
+ "isOptional": true
422
+ }
423
+ ],
424
+ "name": "createFetchPasskeyWalletApiClient"
425
+ },
426
+ {
427
+ "kind": "Function",
428
+ "canonicalReference": "@organigram/passkey-wallet!createNewPasskeyWalletVault:function(1)",
429
+ "docComment": "",
430
+ "excerptTokens": [
431
+ {
432
+ "kind": "Content",
433
+ "text": "createNewPasskeyWalletVault: (input: "
434
+ },
435
+ {
436
+ "kind": "Content",
437
+ "text": "{\n capabilities: "
438
+ },
439
+ {
440
+ "kind": "Reference",
441
+ "text": "OrganigramPasskeyCapabilities",
442
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyCapabilities:type"
443
+ },
444
+ {
445
+ "kind": "Content",
446
+ "text": ";\n}"
447
+ },
448
+ {
449
+ "kind": "Content",
450
+ "text": ") => "
451
+ },
452
+ {
453
+ "kind": "Reference",
454
+ "text": "Promise",
455
+ "canonicalReference": "!Promise:interface"
456
+ },
457
+ {
458
+ "kind": "Content",
459
+ "text": "<{\n address: `0x${string}`;\n vaultPayload: "
460
+ },
461
+ {
462
+ "kind": "Reference",
463
+ "text": "PasskeyWalletVaultPayload",
464
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletVaultPayload:type"
465
+ },
466
+ {
467
+ "kind": "Content",
468
+ "text": ";\n}>"
469
+ }
470
+ ],
471
+ "fileUrlPath": "dist/wallet.d.ts",
472
+ "returnTypeTokenRange": {
473
+ "startIndex": 5,
474
+ "endIndex": 9
475
+ },
476
+ "releaseTag": "Public",
477
+ "overloadIndex": 1,
478
+ "parameters": [
479
+ {
480
+ "parameterName": "{ capabilities }",
481
+ "parameterTypeTokenRange": {
482
+ "startIndex": 0,
483
+ "endIndex": 0
484
+ },
485
+ "isOptional": false
486
+ },
487
+ {
488
+ "parameterName": "input",
489
+ "parameterTypeTokenRange": {
490
+ "startIndex": 1,
491
+ "endIndex": 4
492
+ },
493
+ "isOptional": false
494
+ }
495
+ ],
496
+ "name": "createNewPasskeyWalletVault"
497
+ },
498
+ {
499
+ "kind": "Function",
500
+ "canonicalReference": "@organigram/passkey-wallet!createOrganigramPasskeyWallet:function(1)",
501
+ "docComment": "",
502
+ "excerptTokens": [
503
+ {
504
+ "kind": "Content",
505
+ "text": "createOrganigramPasskeyWallet: (input: "
506
+ },
507
+ {
508
+ "kind": "Reference",
509
+ "text": "CreateOrganigramPasskeyWalletInput",
510
+ "canonicalReference": "@organigram/passkey-wallet!CreateOrganigramPasskeyWalletInput:type"
511
+ },
512
+ {
513
+ "kind": "Content",
514
+ "text": ") => "
515
+ },
516
+ {
517
+ "kind": "Reference",
518
+ "text": "Wallet",
519
+ "canonicalReference": "@rainbow-me/rainbowkit!Wallet:type"
520
+ }
521
+ ],
522
+ "fileUrlPath": "dist/rainbowkit.d.ts",
523
+ "returnTypeTokenRange": {
524
+ "startIndex": 3,
525
+ "endIndex": 4
526
+ },
527
+ "releaseTag": "Public",
528
+ "overloadIndex": 1,
529
+ "parameters": [
530
+ {
531
+ "parameterName": "{ unlockOrCreatePasskeyWallet, registerAdditionalPasskeyCredential, exportPasskeyWalletRecoveryPhrase }",
532
+ "parameterTypeTokenRange": {
533
+ "startIndex": 0,
534
+ "endIndex": 0
535
+ },
536
+ "isOptional": false
537
+ },
538
+ {
539
+ "parameterName": "input",
540
+ "parameterTypeTokenRange": {
541
+ "startIndex": 1,
542
+ "endIndex": 2
543
+ },
544
+ "isOptional": false
545
+ }
546
+ ],
547
+ "name": "createOrganigramPasskeyWallet"
548
+ },
549
+ {
550
+ "kind": "TypeAlias",
551
+ "canonicalReference": "@organigram/passkey-wallet!CreateOrganigramPasskeyWalletInput:type",
552
+ "docComment": "",
553
+ "excerptTokens": [
554
+ {
555
+ "kind": "Content",
556
+ "text": "export type CreateOrganigramPasskeyWalletInput = "
557
+ },
558
+ {
559
+ "kind": "Reference",
560
+ "text": "OrganigramPasskeyProviderActions",
561
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyProviderActions:type"
562
+ },
563
+ {
564
+ "kind": "Content",
565
+ "text": " & {\n unlockOrCreatePasskeyWallet: (input: {\n capabilities: "
566
+ },
567
+ {
568
+ "kind": "Reference",
569
+ "text": "OrganigramPasskeyCapabilities",
570
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyCapabilities:type"
571
+ },
572
+ {
573
+ "kind": "Content",
574
+ "text": ";\n targetChainId: number;\n }) => "
575
+ },
576
+ {
577
+ "kind": "Reference",
578
+ "text": "Promise",
579
+ "canonicalReference": "!Promise:interface"
580
+ },
581
+ {
582
+ "kind": "Content",
583
+ "text": "<"
584
+ },
585
+ {
586
+ "kind": "Reference",
587
+ "text": "UnlockedPasskeyWallet",
588
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
589
+ },
590
+ {
591
+ "kind": "Content",
592
+ "text": ">;\n}"
593
+ },
594
+ {
595
+ "kind": "Content",
596
+ "text": ";"
597
+ }
598
+ ],
599
+ "fileUrlPath": "dist/rainbowkit.d.ts",
600
+ "releaseTag": "Public",
601
+ "name": "CreateOrganigramPasskeyWalletInput",
602
+ "typeTokenRange": {
603
+ "startIndex": 1,
604
+ "endIndex": 9
605
+ }
606
+ },
607
+ {
608
+ "kind": "Function",
609
+ "canonicalReference": "@organigram/passkey-wallet!createPasskeyAuthenticationOptions:function(1)",
610
+ "docComment": "",
611
+ "excerptTokens": [
612
+ {
613
+ "kind": "Content",
614
+ "text": "createPasskeyAuthenticationOptions: (input: "
615
+ },
616
+ {
617
+ "kind": "Content",
618
+ "text": "{\n rpId: string;\n credentials?: "
619
+ },
620
+ {
621
+ "kind": "Reference",
622
+ "text": "Array",
623
+ "canonicalReference": "!Array:interface"
624
+ },
625
+ {
626
+ "kind": "Content",
627
+ "text": "<{\n credentialId: string;\n transports: string[];\n }>;\n}"
628
+ },
629
+ {
630
+ "kind": "Content",
631
+ "text": ") => "
632
+ },
633
+ {
634
+ "kind": "Reference",
635
+ "text": "Promise",
636
+ "canonicalReference": "!Promise:interface"
637
+ },
638
+ {
639
+ "kind": "Content",
640
+ "text": "<import(\"@simplewebauthn/server\")."
641
+ },
642
+ {
643
+ "kind": "Reference",
644
+ "text": "PublicKeyCredentialRequestOptionsJSON",
645
+ "canonicalReference": "@simplewebauthn/server!PublicKeyCredentialRequestOptionsJSON:interface"
646
+ },
647
+ {
648
+ "kind": "Content",
649
+ "text": ">"
650
+ }
651
+ ],
652
+ "fileUrlPath": "dist/webauthn-server.d.ts",
653
+ "returnTypeTokenRange": {
654
+ "startIndex": 5,
655
+ "endIndex": 9
656
+ },
657
+ "releaseTag": "Public",
658
+ "overloadIndex": 1,
659
+ "parameters": [
660
+ {
661
+ "parameterName": "{ rpId, credentials }",
662
+ "parameterTypeTokenRange": {
663
+ "startIndex": 0,
664
+ "endIndex": 0
665
+ },
666
+ "isOptional": false
667
+ },
668
+ {
669
+ "parameterName": "input",
670
+ "parameterTypeTokenRange": {
671
+ "startIndex": 1,
672
+ "endIndex": 4
673
+ },
674
+ "isOptional": false
675
+ }
676
+ ],
677
+ "name": "createPasskeyAuthenticationOptions"
678
+ },
679
+ {
680
+ "kind": "Function",
681
+ "canonicalReference": "@organigram/passkey-wallet!createPasskeyChallengeExpiry:function(1)",
682
+ "docComment": "",
683
+ "excerptTokens": [
684
+ {
685
+ "kind": "Content",
686
+ "text": "createPasskeyChallengeExpiry: () => "
687
+ },
688
+ {
689
+ "kind": "Reference",
690
+ "text": "Date",
691
+ "canonicalReference": "!Date:interface"
692
+ }
693
+ ],
694
+ "fileUrlPath": "dist/webauthn-server.d.ts",
695
+ "returnTypeTokenRange": {
696
+ "startIndex": 1,
697
+ "endIndex": 2
698
+ },
699
+ "releaseTag": "Public",
700
+ "overloadIndex": 1,
701
+ "parameters": [],
702
+ "name": "createPasskeyChallengeExpiry"
703
+ },
704
+ {
705
+ "kind": "Function",
706
+ "canonicalReference": "@organigram/passkey-wallet!createPasskeyRegistrationOptions:function(1)",
707
+ "docComment": "",
708
+ "excerptTokens": [
709
+ {
710
+ "kind": "Content",
711
+ "text": "createPasskeyRegistrationOptions: (input: "
712
+ },
713
+ {
714
+ "kind": "Content",
715
+ "text": "{\n rpId: string;\n userAddress?: string | null;\n email?: string | null;\n}"
716
+ },
717
+ {
718
+ "kind": "Content",
719
+ "text": ") => "
720
+ },
721
+ {
722
+ "kind": "Reference",
723
+ "text": "Promise",
724
+ "canonicalReference": "!Promise:interface"
725
+ },
726
+ {
727
+ "kind": "Content",
728
+ "text": "<import(\"@simplewebauthn/server\")."
729
+ },
730
+ {
731
+ "kind": "Reference",
732
+ "text": "PublicKeyCredentialCreationOptionsJSON",
733
+ "canonicalReference": "@simplewebauthn/server!PublicKeyCredentialCreationOptionsJSON:interface"
734
+ },
735
+ {
736
+ "kind": "Content",
737
+ "text": ">"
738
+ }
739
+ ],
740
+ "fileUrlPath": "dist/webauthn-server.d.ts",
741
+ "returnTypeTokenRange": {
742
+ "startIndex": 3,
743
+ "endIndex": 7
744
+ },
745
+ "releaseTag": "Public",
746
+ "overloadIndex": 1,
747
+ "parameters": [
748
+ {
749
+ "parameterName": "{ rpId, userAddress, email }",
750
+ "parameterTypeTokenRange": {
751
+ "startIndex": 0,
752
+ "endIndex": 0
753
+ },
754
+ "isOptional": false
755
+ },
756
+ {
757
+ "parameterName": "input",
758
+ "parameterTypeTokenRange": {
759
+ "startIndex": 1,
760
+ "endIndex": 2
761
+ },
762
+ "isOptional": false
763
+ }
764
+ ],
765
+ "name": "createPasskeyRegistrationOptions"
766
+ },
767
+ {
768
+ "kind": "Function",
769
+ "canonicalReference": "@organigram/passkey-wallet!createPasskeyWalletProvider:function(1)",
770
+ "docComment": "",
771
+ "excerptTokens": [
772
+ {
773
+ "kind": "Content",
774
+ "text": "createPasskeyWalletProvider: (input: "
775
+ },
776
+ {
777
+ "kind": "Content",
778
+ "text": "{\n wallet: "
779
+ },
780
+ {
781
+ "kind": "Reference",
782
+ "text": "UnlockedPasskeyWallet",
783
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
784
+ },
785
+ {
786
+ "kind": "Content",
787
+ "text": ";\n chain: "
788
+ },
789
+ {
790
+ "kind": "Reference",
791
+ "text": "Chain",
792
+ "canonicalReference": "viem!Chain:type"
793
+ },
794
+ {
795
+ "kind": "Content",
796
+ "text": ";\n rpcUrl: string;\n switchChain: (chainId: number) => "
797
+ },
798
+ {
799
+ "kind": "Reference",
800
+ "text": "Chain",
801
+ "canonicalReference": "viem!Chain:type"
802
+ },
803
+ {
804
+ "kind": "Content",
805
+ "text": ";\n actions: "
806
+ },
807
+ {
808
+ "kind": "Reference",
809
+ "text": "OrganigramPasskeyProviderActions",
810
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyProviderActions:type"
811
+ },
812
+ {
813
+ "kind": "Content",
814
+ "text": ";\n}"
815
+ },
816
+ {
817
+ "kind": "Content",
818
+ "text": ") => "
819
+ },
820
+ {
821
+ "kind": "Reference",
822
+ "text": "OrganigramPasskeyProvider",
823
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyProvider:type"
824
+ }
825
+ ],
826
+ "fileUrlPath": "dist/eip1193.d.ts",
827
+ "returnTypeTokenRange": {
828
+ "startIndex": 11,
829
+ "endIndex": 12
830
+ },
831
+ "releaseTag": "Public",
832
+ "overloadIndex": 1,
833
+ "parameters": [
834
+ {
835
+ "parameterName": "{ wallet, chain, rpcUrl, switchChain, actions }",
836
+ "parameterTypeTokenRange": {
837
+ "startIndex": 0,
838
+ "endIndex": 0
839
+ },
840
+ "isOptional": false
841
+ },
842
+ {
843
+ "parameterName": "input",
844
+ "parameterTypeTokenRange": {
845
+ "startIndex": 1,
846
+ "endIndex": 10
847
+ },
848
+ "isOptional": false
849
+ }
850
+ ],
851
+ "name": "createPasskeyWalletProvider"
852
+ },
853
+ {
854
+ "kind": "Function",
855
+ "canonicalReference": "@organigram/passkey-wallet!createPasskeyWalletVaultPayload:function(1)",
856
+ "docComment": "",
857
+ "excerptTokens": [
858
+ {
859
+ "kind": "Content",
860
+ "text": "createPasskeyWalletVaultPayload: (recoveryPhrase: "
861
+ },
862
+ {
863
+ "kind": "Content",
864
+ "text": "string"
865
+ },
866
+ {
867
+ "kind": "Content",
868
+ "text": ") => "
869
+ },
870
+ {
871
+ "kind": "Reference",
872
+ "text": "Promise",
873
+ "canonicalReference": "!Promise:interface"
874
+ },
875
+ {
876
+ "kind": "Content",
877
+ "text": "<"
878
+ },
879
+ {
880
+ "kind": "Reference",
881
+ "text": "PasskeyWalletVaultPayload",
882
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletVaultPayload:type"
883
+ },
884
+ {
885
+ "kind": "Content",
886
+ "text": ">"
887
+ }
888
+ ],
889
+ "fileUrlPath": "dist/vault.d.ts",
890
+ "returnTypeTokenRange": {
891
+ "startIndex": 3,
892
+ "endIndex": 7
893
+ },
894
+ "releaseTag": "Public",
895
+ "overloadIndex": 1,
896
+ "parameters": [
897
+ {
898
+ "parameterName": "recoveryPhrase",
899
+ "parameterTypeTokenRange": {
900
+ "startIndex": 1,
901
+ "endIndex": 2
902
+ },
903
+ "isOptional": false
904
+ }
905
+ ],
906
+ "name": "createPasskeyWalletVaultPayload"
907
+ },
908
+ {
909
+ "kind": "Function",
910
+ "canonicalReference": "@organigram/passkey-wallet!createUnlockedPasskeyWallet:function(1)",
911
+ "docComment": "",
912
+ "excerptTokens": [
913
+ {
914
+ "kind": "Content",
915
+ "text": "createUnlockedPasskeyWallet: (input: "
916
+ },
917
+ {
918
+ "kind": "Content",
919
+ "text": "{\n address: `0x${string}`;\n credentialId: string;\n vaultPayload: "
920
+ },
921
+ {
922
+ "kind": "Reference",
923
+ "text": "PasskeyWalletVaultPayload",
924
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletVaultPayload:type"
925
+ },
926
+ {
927
+ "kind": "Content",
928
+ "text": ";\n now?: number;\n}"
929
+ },
930
+ {
931
+ "kind": "Content",
932
+ "text": ") => "
933
+ },
934
+ {
935
+ "kind": "Reference",
936
+ "text": "UnlockedPasskeyWallet",
937
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
938
+ }
939
+ ],
940
+ "fileUrlPath": "dist/wallet.d.ts",
941
+ "returnTypeTokenRange": {
942
+ "startIndex": 5,
943
+ "endIndex": 6
944
+ },
945
+ "releaseTag": "Public",
946
+ "overloadIndex": 1,
947
+ "parameters": [
948
+ {
949
+ "parameterName": "{ address, credentialId, vaultPayload, now }",
950
+ "parameterTypeTokenRange": {
951
+ "startIndex": 0,
952
+ "endIndex": 0
953
+ },
954
+ "isOptional": false
955
+ },
956
+ {
957
+ "parameterName": "input",
958
+ "parameterTypeTokenRange": {
959
+ "startIndex": 1,
960
+ "endIndex": 4
961
+ },
962
+ "isOptional": false
963
+ }
964
+ ],
965
+ "name": "createUnlockedPasskeyWallet"
966
+ },
967
+ {
968
+ "kind": "Function",
969
+ "canonicalReference": "@organigram/passkey-wallet!decryptPasskeyVaultSecret:function(1)",
970
+ "docComment": "",
971
+ "excerptTokens": [
972
+ {
973
+ "kind": "Content",
974
+ "text": "decryptPasskeyVaultSecret: (input: "
975
+ },
976
+ {
977
+ "kind": "Reference",
978
+ "text": "DecryptPasskeyVaultSecretInput",
979
+ "canonicalReference": "@organigram/passkey-wallet!~DecryptPasskeyVaultSecretInput:type"
980
+ },
981
+ {
982
+ "kind": "Content",
983
+ "text": ") => "
984
+ },
985
+ {
986
+ "kind": "Reference",
987
+ "text": "Promise",
988
+ "canonicalReference": "!Promise:interface"
989
+ },
990
+ {
991
+ "kind": "Content",
992
+ "text": "<string>"
993
+ }
994
+ ],
995
+ "fileUrlPath": "dist/crypto.d.ts",
996
+ "returnTypeTokenRange": {
997
+ "startIndex": 3,
998
+ "endIndex": 5
999
+ },
1000
+ "releaseTag": "Public",
1001
+ "overloadIndex": 1,
1002
+ "parameters": [
1003
+ {
1004
+ "parameterName": "{ envelope, key }",
1005
+ "parameterTypeTokenRange": {
1006
+ "startIndex": 0,
1007
+ "endIndex": 0
1008
+ },
1009
+ "isOptional": false
1010
+ },
1011
+ {
1012
+ "parameterName": "input",
1013
+ "parameterTypeTokenRange": {
1014
+ "startIndex": 1,
1015
+ "endIndex": 2
1016
+ },
1017
+ "isOptional": false
1018
+ }
1019
+ ],
1020
+ "name": "decryptPasskeyVaultSecret"
1021
+ },
1022
+ {
1023
+ "kind": "Function",
1024
+ "canonicalReference": "@organigram/passkey-wallet!derivePasskeyVaultKey:function(1)",
1025
+ "docComment": "",
1026
+ "excerptTokens": [
1027
+ {
1028
+ "kind": "Content",
1029
+ "text": "derivePasskeyVaultKey: (input: "
1030
+ },
1031
+ {
1032
+ "kind": "Reference",
1033
+ "text": "DerivePasskeyVaultKeyInput",
1034
+ "canonicalReference": "@organigram/passkey-wallet!~DerivePasskeyVaultKeyInput:type"
1035
+ },
1036
+ {
1037
+ "kind": "Content",
1038
+ "text": ") => "
1039
+ },
1040
+ {
1041
+ "kind": "Reference",
1042
+ "text": "Promise",
1043
+ "canonicalReference": "!Promise:interface"
1044
+ },
1045
+ {
1046
+ "kind": "Content",
1047
+ "text": "<"
1048
+ },
1049
+ {
1050
+ "kind": "Reference",
1051
+ "text": "CryptoKey",
1052
+ "canonicalReference": "!CryptoKey:interface"
1053
+ },
1054
+ {
1055
+ "kind": "Content",
1056
+ "text": ">"
1057
+ }
1058
+ ],
1059
+ "fileUrlPath": "dist/crypto.d.ts",
1060
+ "returnTypeTokenRange": {
1061
+ "startIndex": 3,
1062
+ "endIndex": 7
1063
+ },
1064
+ "releaseTag": "Public",
1065
+ "overloadIndex": 1,
1066
+ "parameters": [
1067
+ {
1068
+ "parameterName": "{ prfOutput, salt }",
1069
+ "parameterTypeTokenRange": {
1070
+ "startIndex": 0,
1071
+ "endIndex": 0
1072
+ },
1073
+ "isOptional": false
1074
+ },
1075
+ {
1076
+ "parameterName": "input",
1077
+ "parameterTypeTokenRange": {
1078
+ "startIndex": 1,
1079
+ "endIndex": 2
1080
+ },
1081
+ "isOptional": false
1082
+ }
1083
+ ],
1084
+ "name": "derivePasskeyVaultKey"
1085
+ },
1086
+ {
1087
+ "kind": "Function",
1088
+ "canonicalReference": "@organigram/passkey-wallet!encryptPasskeyVaultSecret:function(1)",
1089
+ "docComment": "",
1090
+ "excerptTokens": [
1091
+ {
1092
+ "kind": "Content",
1093
+ "text": "encryptPasskeyVaultSecret: (input: "
1094
+ },
1095
+ {
1096
+ "kind": "Reference",
1097
+ "text": "EncryptPasskeyVaultSecretInput",
1098
+ "canonicalReference": "@organigram/passkey-wallet!~EncryptPasskeyVaultSecretInput:type"
1099
+ },
1100
+ {
1101
+ "kind": "Content",
1102
+ "text": ") => "
1103
+ },
1104
+ {
1105
+ "kind": "Reference",
1106
+ "text": "Promise",
1107
+ "canonicalReference": "!Promise:interface"
1108
+ },
1109
+ {
1110
+ "kind": "Content",
1111
+ "text": "<"
1112
+ },
1113
+ {
1114
+ "kind": "Reference",
1115
+ "text": "PasskeyVaultEnvelopeData",
1116
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeData:type"
1117
+ },
1118
+ {
1119
+ "kind": "Content",
1120
+ "text": ">"
1121
+ }
1122
+ ],
1123
+ "fileUrlPath": "dist/crypto.d.ts",
1124
+ "returnTypeTokenRange": {
1125
+ "startIndex": 3,
1126
+ "endIndex": 7
1127
+ },
1128
+ "releaseTag": "Public",
1129
+ "overloadIndex": 1,
1130
+ "parameters": [
1131
+ {
1132
+ "parameterName": "{ plaintext, key, salt, nonce }",
1133
+ "parameterTypeTokenRange": {
1134
+ "startIndex": 0,
1135
+ "endIndex": 0
1136
+ },
1137
+ "isOptional": false
1138
+ },
1139
+ {
1140
+ "parameterName": "input",
1141
+ "parameterTypeTokenRange": {
1142
+ "startIndex": 1,
1143
+ "endIndex": 2
1144
+ },
1145
+ "isOptional": false
1146
+ }
1147
+ ],
1148
+ "name": "encryptPasskeyVaultSecret"
1149
+ },
1150
+ {
1151
+ "kind": "Function",
1152
+ "canonicalReference": "@organigram/passkey-wallet!exportPasskeyWalletRecoveryPhrase:function(1)",
1153
+ "docComment": "",
1154
+ "excerptTokens": [
1155
+ {
1156
+ "kind": "Content",
1157
+ "text": "exportPasskeyWalletRecoveryPhrase: (input: "
1158
+ },
1159
+ {
1160
+ "kind": "Content",
1161
+ "text": "{\n api: "
1162
+ },
1163
+ {
1164
+ "kind": "Reference",
1165
+ "text": "PasskeyWalletApiClient",
1166
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type"
1167
+ },
1168
+ {
1169
+ "kind": "Content",
1170
+ "text": ";\n expectedAddress: `0x${string}`;\n}"
1171
+ },
1172
+ {
1173
+ "kind": "Content",
1174
+ "text": ") => "
1175
+ },
1176
+ {
1177
+ "kind": "Reference",
1178
+ "text": "Promise",
1179
+ "canonicalReference": "!Promise:interface"
1180
+ },
1181
+ {
1182
+ "kind": "Content",
1183
+ "text": "<string>"
1184
+ }
1185
+ ],
1186
+ "fileUrlPath": "dist/webauthn-client.d.ts",
1187
+ "returnTypeTokenRange": {
1188
+ "startIndex": 5,
1189
+ "endIndex": 7
1190
+ },
1191
+ "releaseTag": "Public",
1192
+ "overloadIndex": 1,
1193
+ "parameters": [
1194
+ {
1195
+ "parameterName": "{ api, expectedAddress }",
1196
+ "parameterTypeTokenRange": {
1197
+ "startIndex": 0,
1198
+ "endIndex": 0
1199
+ },
1200
+ "isOptional": false
1201
+ },
1202
+ {
1203
+ "parameterName": "input",
1204
+ "parameterTypeTokenRange": {
1205
+ "startIndex": 1,
1206
+ "endIndex": 4
1207
+ },
1208
+ "isOptional": false
1209
+ }
1210
+ ],
1211
+ "name": "exportPasskeyWalletRecoveryPhrase"
1212
+ },
1213
+ {
1214
+ "kind": "Function",
1215
+ "canonicalReference": "@organigram/passkey-wallet!getWebAuthnClientDataChallenge:function(1)",
1216
+ "docComment": "",
1217
+ "excerptTokens": [
1218
+ {
1219
+ "kind": "Content",
1220
+ "text": "getWebAuthnClientDataChallenge: (response: "
1221
+ },
1222
+ {
1223
+ "kind": "Content",
1224
+ "text": "unknown"
1225
+ },
1226
+ {
1227
+ "kind": "Content",
1228
+ "text": ") => "
1229
+ },
1230
+ {
1231
+ "kind": "Content",
1232
+ "text": "string"
1233
+ }
1234
+ ],
1235
+ "fileUrlPath": "dist/webauthn-server.d.ts",
1236
+ "returnTypeTokenRange": {
1237
+ "startIndex": 3,
1238
+ "endIndex": 4
1239
+ },
1240
+ "releaseTag": "Public",
1241
+ "overloadIndex": 1,
1242
+ "parameters": [
1243
+ {
1244
+ "parameterName": "response",
1245
+ "parameterTypeTokenRange": {
1246
+ "startIndex": 1,
1247
+ "endIndex": 2
1248
+ },
1249
+ "isOptional": false
1250
+ }
1251
+ ],
1252
+ "name": "getWebAuthnClientDataChallenge"
1253
+ },
1254
+ {
1255
+ "kind": "Function",
1256
+ "canonicalReference": "@organigram/passkey-wallet!hydratePasskeyPrfOptions:function(1)",
1257
+ "docComment": "",
1258
+ "excerptTokens": [
1259
+ {
1260
+ "kind": "Content",
1261
+ "text": "hydratePasskeyPrfOptions: <T extends "
1262
+ },
1263
+ {
1264
+ "kind": "Content",
1265
+ "text": "{\n extensions?: unknown;\n}"
1266
+ },
1267
+ {
1268
+ "kind": "Content",
1269
+ "text": ">(options: "
1270
+ },
1271
+ {
1272
+ "kind": "Content",
1273
+ "text": "T"
1274
+ },
1275
+ {
1276
+ "kind": "Content",
1277
+ "text": ") => "
1278
+ },
1279
+ {
1280
+ "kind": "Content",
1281
+ "text": "T"
1282
+ }
1283
+ ],
1284
+ "fileUrlPath": "dist/webauthn-client.d.ts",
1285
+ "returnTypeTokenRange": {
1286
+ "startIndex": 5,
1287
+ "endIndex": 6
1288
+ },
1289
+ "releaseTag": "Public",
1290
+ "overloadIndex": 1,
1291
+ "parameters": [
1292
+ {
1293
+ "parameterName": "options",
1294
+ "parameterTypeTokenRange": {
1295
+ "startIndex": 3,
1296
+ "endIndex": 4
1297
+ },
1298
+ "isOptional": false
1299
+ }
1300
+ ],
1301
+ "typeParameters": [
1302
+ {
1303
+ "typeParameterName": "T",
1304
+ "constraintTokenRange": {
1305
+ "startIndex": 1,
1306
+ "endIndex": 2
1307
+ },
1308
+ "defaultTypeTokenRange": {
1309
+ "startIndex": 0,
1310
+ "endIndex": 0
1311
+ }
1312
+ }
1313
+ ],
1314
+ "name": "hydratePasskeyPrfOptions"
1315
+ },
1316
+ {
1317
+ "kind": "TypeAlias",
1318
+ "canonicalReference": "@organigram/passkey-wallet!IdentityPasskeyCapabilities:type",
1319
+ "docComment": "",
1320
+ "excerptTokens": [
1321
+ {
1322
+ "kind": "Content",
1323
+ "text": "export type IdentityPasskeyCapabilities = "
1324
+ },
1325
+ {
1326
+ "kind": "Reference",
1327
+ "text": "PasskeyWalletRegistrationCapabilities",
1328
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletRegistrationCapabilities:type"
1329
+ },
1330
+ {
1331
+ "kind": "Content",
1332
+ "text": " & {\n identity: {\n email: string;\n };\n}"
1333
+ },
1334
+ {
1335
+ "kind": "Content",
1336
+ "text": ";"
1337
+ }
1338
+ ],
1339
+ "fileUrlPath": "dist/types.d.ts",
1340
+ "releaseTag": "Public",
1341
+ "name": "IdentityPasskeyCapabilities",
1342
+ "typeTokenRange": {
1343
+ "startIndex": 1,
1344
+ "endIndex": 3
1345
+ }
1346
+ },
1347
+ {
1348
+ "kind": "Function",
1349
+ "canonicalReference": "@organigram/passkey-wallet!isOrganigramPasskeyConnector:function(1)",
1350
+ "docComment": "",
1351
+ "excerptTokens": [
1352
+ {
1353
+ "kind": "Content",
1354
+ "text": "isOrganigramPasskeyConnector: (input: "
1355
+ },
1356
+ {
1357
+ "kind": "Content",
1358
+ "text": "{\n id: string;\n}"
1359
+ },
1360
+ {
1361
+ "kind": "Content",
1362
+ "text": ") => "
1363
+ },
1364
+ {
1365
+ "kind": "Content",
1366
+ "text": "boolean"
1367
+ }
1368
+ ],
1369
+ "fileUrlPath": "dist/rainbowkit.d.ts",
1370
+ "returnTypeTokenRange": {
1371
+ "startIndex": 3,
1372
+ "endIndex": 4
1373
+ },
1374
+ "releaseTag": "Public",
1375
+ "overloadIndex": 1,
1376
+ "parameters": [
1377
+ {
1378
+ "parameterName": "{ id }",
1379
+ "parameterTypeTokenRange": {
1380
+ "startIndex": 0,
1381
+ "endIndex": 0
1382
+ },
1383
+ "isOptional": false
1384
+ },
1385
+ {
1386
+ "parameterName": "input",
1387
+ "parameterTypeTokenRange": {
1388
+ "startIndex": 1,
1389
+ "endIndex": 2
1390
+ },
1391
+ "isOptional": false
1392
+ }
1393
+ ],
1394
+ "name": "isOrganigramPasskeyConnector"
1395
+ },
1396
+ {
1397
+ "kind": "Function",
1398
+ "canonicalReference": "@organigram/passkey-wallet!isPasskeyPrfSupported:function(1)",
1399
+ "docComment": "",
1400
+ "excerptTokens": [
1401
+ {
1402
+ "kind": "Content",
1403
+ "text": "isPasskeyPrfSupported: (input: "
1404
+ },
1405
+ {
1406
+ "kind": "Content",
1407
+ "text": "{\n credential: "
1408
+ },
1409
+ {
1410
+ "kind": "Reference",
1411
+ "text": "PrfSupportCredential",
1412
+ "canonicalReference": "@organigram/passkey-wallet!~PrfSupportCredential:type"
1413
+ },
1414
+ {
1415
+ "kind": "Content",
1416
+ "text": " | null;\n}"
1417
+ },
1418
+ {
1419
+ "kind": "Content",
1420
+ "text": ") => "
1421
+ },
1422
+ {
1423
+ "kind": "Reference",
1424
+ "text": "Promise",
1425
+ "canonicalReference": "!Promise:interface"
1426
+ },
1427
+ {
1428
+ "kind": "Content",
1429
+ "text": "<boolean>"
1430
+ }
1431
+ ],
1432
+ "fileUrlPath": "dist/crypto.d.ts",
1433
+ "returnTypeTokenRange": {
1434
+ "startIndex": 5,
1435
+ "endIndex": 7
1436
+ },
1437
+ "releaseTag": "Public",
1438
+ "overloadIndex": 1,
1439
+ "parameters": [
1440
+ {
1441
+ "parameterName": "{ credential }",
1442
+ "parameterTypeTokenRange": {
1443
+ "startIndex": 0,
1444
+ "endIndex": 0
1445
+ },
1446
+ "isOptional": false
1447
+ },
1448
+ {
1449
+ "parameterName": "input",
1450
+ "parameterTypeTokenRange": {
1451
+ "startIndex": 1,
1452
+ "endIndex": 4
1453
+ },
1454
+ "isOptional": false
1455
+ }
1456
+ ],
1457
+ "name": "isPasskeyPrfSupported"
1458
+ },
1459
+ {
1460
+ "kind": "Function",
1461
+ "canonicalReference": "@organigram/passkey-wallet!normalizePasskeyWalletAddress:function(1)",
1462
+ "docComment": "",
1463
+ "excerptTokens": [
1464
+ {
1465
+ "kind": "Content",
1466
+ "text": "normalizePasskeyWalletAddress: (address: "
1467
+ },
1468
+ {
1469
+ "kind": "Content",
1470
+ "text": "`0x${string}`"
1471
+ },
1472
+ {
1473
+ "kind": "Content",
1474
+ "text": ") => "
1475
+ },
1476
+ {
1477
+ "kind": "Content",
1478
+ "text": "`0x${string}`"
1479
+ }
1480
+ ],
1481
+ "fileUrlPath": "dist/eip1193.d.ts",
1482
+ "returnTypeTokenRange": {
1483
+ "startIndex": 3,
1484
+ "endIndex": 4
1485
+ },
1486
+ "releaseTag": "Public",
1487
+ "overloadIndex": 1,
1488
+ "parameters": [
1489
+ {
1490
+ "parameterName": "address",
1491
+ "parameterTypeTokenRange": {
1492
+ "startIndex": 1,
1493
+ "endIndex": 2
1494
+ },
1495
+ "isOptional": false
1496
+ }
1497
+ ],
1498
+ "name": "normalizePasskeyWalletAddress"
1499
+ },
1500
+ {
1501
+ "kind": "TypeAlias",
1502
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyCapabilities:type",
1503
+ "docComment": "",
1504
+ "excerptTokens": [
1505
+ {
1506
+ "kind": "Content",
1507
+ "text": "export type OrganigramPasskeyCapabilities = "
1508
+ },
1509
+ {
1510
+ "kind": "Content",
1511
+ "text": "{\n method?: 'login' | 'register';\n name?: string;\n identity?: {\n email: string;\n };\n}"
1512
+ },
1513
+ {
1514
+ "kind": "Content",
1515
+ "text": ";"
1516
+ }
1517
+ ],
1518
+ "fileUrlPath": "dist/types.d.ts",
1519
+ "releaseTag": "Public",
1520
+ "name": "OrganigramPasskeyCapabilities",
1521
+ "typeTokenRange": {
1522
+ "startIndex": 1,
1523
+ "endIndex": 2
1524
+ }
1525
+ },
1526
+ {
1527
+ "kind": "TypeAlias",
1528
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyProvider:type",
1529
+ "docComment": "",
1530
+ "excerptTokens": [
1531
+ {
1532
+ "kind": "Content",
1533
+ "text": "export type OrganigramPasskeyProvider = "
1534
+ },
1535
+ {
1536
+ "kind": "Content",
1537
+ "text": "{\n request: "
1538
+ },
1539
+ {
1540
+ "kind": "Reference",
1541
+ "text": "EIP1193RequestFn",
1542
+ "canonicalReference": "viem!EIP1193RequestFn:type"
1543
+ },
1544
+ {
1545
+ "kind": "Content",
1546
+ "text": ";\n on: (event: "
1547
+ },
1548
+ {
1549
+ "kind": "Reference",
1550
+ "text": "PasskeyProviderEvent",
1551
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyProviderEvent:type"
1552
+ },
1553
+ {
1554
+ "kind": "Content",
1555
+ "text": ", listener: "
1556
+ },
1557
+ {
1558
+ "kind": "Reference",
1559
+ "text": "PasskeyProviderListener",
1560
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyProviderListener:type"
1561
+ },
1562
+ {
1563
+ "kind": "Content",
1564
+ "text": ") => void;\n removeListener: (event: "
1565
+ },
1566
+ {
1567
+ "kind": "Reference",
1568
+ "text": "PasskeyProviderEvent",
1569
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyProviderEvent:type"
1570
+ },
1571
+ {
1572
+ "kind": "Content",
1573
+ "text": ", listener: "
1574
+ },
1575
+ {
1576
+ "kind": "Reference",
1577
+ "text": "PasskeyProviderListener",
1578
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyProviderListener:type"
1579
+ },
1580
+ {
1581
+ "kind": "Content",
1582
+ "text": ") => void;\n}"
1583
+ },
1584
+ {
1585
+ "kind": "Content",
1586
+ "text": ";"
1587
+ }
1588
+ ],
1589
+ "fileUrlPath": "dist/eip1193.d.ts",
1590
+ "releaseTag": "Public",
1591
+ "name": "OrganigramPasskeyProvider",
1592
+ "typeTokenRange": {
1593
+ "startIndex": 1,
1594
+ "endIndex": 12
1595
+ }
1596
+ },
1597
+ {
1598
+ "kind": "TypeAlias",
1599
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyProviderActions:type",
1600
+ "docComment": "",
1601
+ "excerptTokens": [
1602
+ {
1603
+ "kind": "Content",
1604
+ "text": "export type OrganigramPasskeyProviderActions = "
1605
+ },
1606
+ {
1607
+ "kind": "Content",
1608
+ "text": "{\n registerAdditionalPasskeyCredential: (input: {\n wallet: "
1609
+ },
1610
+ {
1611
+ "kind": "Reference",
1612
+ "text": "UnlockedPasskeyWallet",
1613
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
1614
+ },
1615
+ {
1616
+ "kind": "Content",
1617
+ "text": ";\n name?: string;\n }) => "
1618
+ },
1619
+ {
1620
+ "kind": "Reference",
1621
+ "text": "Promise",
1622
+ "canonicalReference": "!Promise:interface"
1623
+ },
1624
+ {
1625
+ "kind": "Content",
1626
+ "text": "<"
1627
+ },
1628
+ {
1629
+ "kind": "Reference",
1630
+ "text": "PasskeyRegistrationResult",
1631
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyRegistrationResult:type"
1632
+ },
1633
+ {
1634
+ "kind": "Content",
1635
+ "text": ">;\n exportPasskeyWalletRecoveryPhrase: (input: {\n expectedAddress: `0x${string}`;\n }) => "
1636
+ },
1637
+ {
1638
+ "kind": "Reference",
1639
+ "text": "Promise",
1640
+ "canonicalReference": "!Promise:interface"
1641
+ },
1642
+ {
1643
+ "kind": "Content",
1644
+ "text": "<string>;\n}"
1645
+ },
1646
+ {
1647
+ "kind": "Content",
1648
+ "text": ";"
1649
+ }
1650
+ ],
1651
+ "fileUrlPath": "dist/eip1193.d.ts",
1652
+ "releaseTag": "Public",
1653
+ "name": "OrganigramPasskeyProviderActions",
1654
+ "typeTokenRange": {
1655
+ "startIndex": 1,
1656
+ "endIndex": 10
1657
+ }
1658
+ },
1659
+ {
1660
+ "kind": "Variable",
1661
+ "canonicalReference": "@organigram/passkey-wallet!organigramPasskeyWalletIcon:var",
1662
+ "docComment": "",
1663
+ "excerptTokens": [
1664
+ {
1665
+ "kind": "Content",
1666
+ "text": "organigramPasskeyWalletIcon = "
1667
+ },
1668
+ {
1669
+ "kind": "Content",
1670
+ "text": "\"/png/logo-gradient.png\""
1671
+ }
1672
+ ],
1673
+ "fileUrlPath": "dist/types.d.ts",
1674
+ "initializerTokenRange": {
1675
+ "startIndex": 1,
1676
+ "endIndex": 2
1677
+ },
1678
+ "isReadonly": true,
1679
+ "releaseTag": "Public",
1680
+ "name": "organigramPasskeyWalletIcon",
1681
+ "variableTypeTokenRange": {
1682
+ "startIndex": 0,
1683
+ "endIndex": 0
1684
+ }
1685
+ },
1686
+ {
1687
+ "kind": "Variable",
1688
+ "canonicalReference": "@organigram/passkey-wallet!organigramPasskeyWalletId:var",
1689
+ "docComment": "",
1690
+ "excerptTokens": [
1691
+ {
1692
+ "kind": "Content",
1693
+ "text": "organigramPasskeyWalletId = "
1694
+ },
1695
+ {
1696
+ "kind": "Content",
1697
+ "text": "\"organigram-passkeys\""
1698
+ }
1699
+ ],
1700
+ "fileUrlPath": "dist/types.d.ts",
1701
+ "initializerTokenRange": {
1702
+ "startIndex": 1,
1703
+ "endIndex": 2
1704
+ },
1705
+ "isReadonly": true,
1706
+ "releaseTag": "Public",
1707
+ "name": "organigramPasskeyWalletId",
1708
+ "variableTypeTokenRange": {
1709
+ "startIndex": 0,
1710
+ "endIndex": 0
1711
+ }
1712
+ },
1713
+ {
1714
+ "kind": "Function",
1715
+ "canonicalReference": "@organigram/passkey-wallet!parsePasskeyWalletVaultPayload:function(1)",
1716
+ "docComment": "",
1717
+ "excerptTokens": [
1718
+ {
1719
+ "kind": "Content",
1720
+ "text": "parsePasskeyWalletVaultPayload: (plaintext: "
1721
+ },
1722
+ {
1723
+ "kind": "Content",
1724
+ "text": "string"
1725
+ },
1726
+ {
1727
+ "kind": "Content",
1728
+ "text": ") => "
1729
+ },
1730
+ {
1731
+ "kind": "Reference",
1732
+ "text": "PasskeyWalletVaultPayload",
1733
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletVaultPayload:type"
1734
+ }
1735
+ ],
1736
+ "fileUrlPath": "dist/vault.d.ts",
1737
+ "returnTypeTokenRange": {
1738
+ "startIndex": 3,
1739
+ "endIndex": 4
1740
+ },
1741
+ "releaseTag": "Public",
1742
+ "overloadIndex": 1,
1743
+ "parameters": [
1744
+ {
1745
+ "parameterName": "plaintext",
1746
+ "parameterTypeTokenRange": {
1747
+ "startIndex": 1,
1748
+ "endIndex": 2
1749
+ },
1750
+ "isOptional": false
1751
+ }
1752
+ ],
1753
+ "name": "parsePasskeyWalletVaultPayload"
1754
+ },
1755
+ {
1756
+ "kind": "Variable",
1757
+ "canonicalReference": "@organigram/passkey-wallet!passkeyChallengeTtlMs:var",
1758
+ "docComment": "",
1759
+ "excerptTokens": [
1760
+ {
1761
+ "kind": "Content",
1762
+ "text": "passkeyChallengeTtlMs: "
1763
+ },
1764
+ {
1765
+ "kind": "Content",
1766
+ "text": "number"
1767
+ }
1768
+ ],
1769
+ "fileUrlPath": "dist/webauthn-server.d.ts",
1770
+ "isReadonly": true,
1771
+ "releaseTag": "Public",
1772
+ "name": "passkeyChallengeTtlMs",
1773
+ "variableTypeTokenRange": {
1774
+ "startIndex": 1,
1775
+ "endIndex": 2
1776
+ }
1777
+ },
1778
+ {
1779
+ "kind": "Class",
1780
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyPrfUnavailableError:class",
1781
+ "docComment": "",
1782
+ "excerptTokens": [
1783
+ {
1784
+ "kind": "Content",
1785
+ "text": "export declare class PasskeyPrfUnavailableError extends "
1786
+ },
1787
+ {
1788
+ "kind": "Reference",
1789
+ "text": "Error",
1790
+ "canonicalReference": "!Error:interface"
1791
+ },
1792
+ {
1793
+ "kind": "Content",
1794
+ "text": " "
1795
+ }
1796
+ ],
1797
+ "fileUrlPath": "dist/errors.d.ts",
1798
+ "releaseTag": "Public",
1799
+ "isAbstract": false,
1800
+ "name": "PasskeyPrfUnavailableError",
1801
+ "preserveMemberOrder": false,
1802
+ "members": [
1803
+ {
1804
+ "kind": "Constructor",
1805
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyPrfUnavailableError:constructor(1)",
1806
+ "docComment": "/**\n * Constructs a new instance of the `PasskeyPrfUnavailableError` class\n */\n",
1807
+ "excerptTokens": [
1808
+ {
1809
+ "kind": "Content",
1810
+ "text": "constructor(message?: "
1811
+ },
1812
+ {
1813
+ "kind": "Content",
1814
+ "text": "string"
1815
+ },
1816
+ {
1817
+ "kind": "Content",
1818
+ "text": ");"
1819
+ }
1820
+ ],
1821
+ "releaseTag": "Public",
1822
+ "isProtected": false,
1823
+ "overloadIndex": 1,
1824
+ "parameters": [
1825
+ {
1826
+ "parameterName": "message",
1827
+ "parameterTypeTokenRange": {
1828
+ "startIndex": 1,
1829
+ "endIndex": 2
1830
+ },
1831
+ "isOptional": true
1832
+ }
1833
+ ]
1834
+ }
1835
+ ],
1836
+ "extendsTokenRange": {
1837
+ "startIndex": 1,
1838
+ "endIndex": 2
1839
+ },
1840
+ "implementsTokenRanges": []
1841
+ },
1842
+ {
1843
+ "kind": "Variable",
1844
+ "canonicalReference": "@organigram/passkey-wallet!passkeyPrfUnavailableErrorMessage:var",
1845
+ "docComment": "",
1846
+ "excerptTokens": [
1847
+ {
1848
+ "kind": "Content",
1849
+ "text": "passkeyPrfUnavailableErrorMessage = "
1850
+ },
1851
+ {
1852
+ "kind": "Content",
1853
+ "text": "\"This password manager is not compatible with Organigram's passkey wallet. Please use a different password manager to unlock your wallet.\""
1854
+ }
1855
+ ],
1856
+ "fileUrlPath": "dist/errors.d.ts",
1857
+ "initializerTokenRange": {
1858
+ "startIndex": 1,
1859
+ "endIndex": 2
1860
+ },
1861
+ "isReadonly": true,
1862
+ "releaseTag": "Public",
1863
+ "name": "passkeyPrfUnavailableErrorMessage",
1864
+ "variableTypeTokenRange": {
1865
+ "startIndex": 0,
1866
+ "endIndex": 0
1867
+ }
1868
+ },
1869
+ {
1870
+ "kind": "TypeAlias",
1871
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyProviderEvent:type",
1872
+ "docComment": "",
1873
+ "excerptTokens": [
1874
+ {
1875
+ "kind": "Content",
1876
+ "text": "export type PasskeyProviderEvent = "
1877
+ },
1878
+ {
1879
+ "kind": "Content",
1880
+ "text": "'accountsChanged' | 'chainChanged' | 'disconnect'"
1881
+ },
1882
+ {
1883
+ "kind": "Content",
1884
+ "text": ";"
1885
+ }
1886
+ ],
1887
+ "fileUrlPath": "dist/types.d.ts",
1888
+ "releaseTag": "Public",
1889
+ "name": "PasskeyProviderEvent",
1890
+ "typeTokenRange": {
1891
+ "startIndex": 1,
1892
+ "endIndex": 2
1893
+ }
1894
+ },
1895
+ {
1896
+ "kind": "TypeAlias",
1897
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyProviderListener:type",
1898
+ "docComment": "",
1899
+ "excerptTokens": [
1900
+ {
1901
+ "kind": "Content",
1902
+ "text": "export type PasskeyProviderListener = "
1903
+ },
1904
+ {
1905
+ "kind": "Content",
1906
+ "text": "(...args: unknown[]) => void"
1907
+ },
1908
+ {
1909
+ "kind": "Content",
1910
+ "text": ";"
1911
+ }
1912
+ ],
1913
+ "fileUrlPath": "dist/types.d.ts",
1914
+ "releaseTag": "Public",
1915
+ "name": "PasskeyProviderListener",
1916
+ "typeTokenRange": {
1917
+ "startIndex": 1,
1918
+ "endIndex": 2
1919
+ }
1920
+ },
1921
+ {
1922
+ "kind": "TypeAlias",
1923
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyRegistrationResult:type",
1924
+ "docComment": "",
1925
+ "excerptTokens": [
1926
+ {
1927
+ "kind": "Content",
1928
+ "text": "export type PasskeyRegistrationResult = "
1929
+ },
1930
+ {
1931
+ "kind": "Content",
1932
+ "text": "{\n address: `0x${string}`;\n credentialId: string;\n}"
1933
+ },
1934
+ {
1935
+ "kind": "Content",
1936
+ "text": ";"
1937
+ }
1938
+ ],
1939
+ "fileUrlPath": "dist/types.d.ts",
1940
+ "releaseTag": "Public",
1941
+ "name": "PasskeyRegistrationResult",
1942
+ "typeTokenRange": {
1943
+ "startIndex": 1,
1944
+ "endIndex": 2
1945
+ }
1946
+ },
1947
+ {
1948
+ "kind": "Variable",
1949
+ "canonicalReference": "@organigram/passkey-wallet!passkeyVaultAlgorithm:var",
1950
+ "docComment": "",
1951
+ "excerptTokens": [
1952
+ {
1953
+ "kind": "Content",
1954
+ "text": "passkeyVaultAlgorithm = "
1955
+ },
1956
+ {
1957
+ "kind": "Content",
1958
+ "text": "\"AES-GCM-HKDF-SHA-256\""
1959
+ }
1960
+ ],
1961
+ "fileUrlPath": "dist/crypto.d.ts",
1962
+ "initializerTokenRange": {
1963
+ "startIndex": 1,
1964
+ "endIndex": 2
1965
+ },
1966
+ "isReadonly": true,
1967
+ "releaseTag": "Public",
1968
+ "name": "passkeyVaultAlgorithm",
1969
+ "variableTypeTokenRange": {
1970
+ "startIndex": 0,
1971
+ "endIndex": 0
1972
+ }
1973
+ },
1974
+ {
1975
+ "kind": "Class",
1976
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultDecryptError:class",
1977
+ "docComment": "",
1978
+ "excerptTokens": [
1979
+ {
1980
+ "kind": "Content",
1981
+ "text": "export declare class PasskeyVaultDecryptError extends "
1982
+ },
1983
+ {
1984
+ "kind": "Reference",
1985
+ "text": "Error",
1986
+ "canonicalReference": "!Error:interface"
1987
+ },
1988
+ {
1989
+ "kind": "Content",
1990
+ "text": " "
1991
+ }
1992
+ ],
1993
+ "fileUrlPath": "dist/errors.d.ts",
1994
+ "releaseTag": "Public",
1995
+ "isAbstract": false,
1996
+ "name": "PasskeyVaultDecryptError",
1997
+ "preserveMemberOrder": false,
1998
+ "members": [
1999
+ {
2000
+ "kind": "Constructor",
2001
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultDecryptError:constructor(1)",
2002
+ "docComment": "/**\n * Constructs a new instance of the `PasskeyVaultDecryptError` class\n */\n",
2003
+ "excerptTokens": [
2004
+ {
2005
+ "kind": "Content",
2006
+ "text": "constructor(message?: "
2007
+ },
2008
+ {
2009
+ "kind": "Content",
2010
+ "text": "string"
2011
+ },
2012
+ {
2013
+ "kind": "Content",
2014
+ "text": ");"
2015
+ }
2016
+ ],
2017
+ "releaseTag": "Public",
2018
+ "isProtected": false,
2019
+ "overloadIndex": 1,
2020
+ "parameters": [
2021
+ {
2022
+ "parameterName": "message",
2023
+ "parameterTypeTokenRange": {
2024
+ "startIndex": 1,
2025
+ "endIndex": 2
2026
+ },
2027
+ "isOptional": true
2028
+ }
2029
+ ]
2030
+ }
2031
+ ],
2032
+ "extendsTokenRange": {
2033
+ "startIndex": 1,
2034
+ "endIndex": 2
2035
+ },
2036
+ "implementsTokenRanges": []
2037
+ },
2038
+ {
2039
+ "kind": "TypeAlias",
2040
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeData:type",
2041
+ "docComment": "",
2042
+ "excerptTokens": [
2043
+ {
2044
+ "kind": "Content",
2045
+ "text": "export type PasskeyVaultEnvelopeData = "
2046
+ },
2047
+ {
2048
+ "kind": "Content",
2049
+ "text": "{\n algorithm: typeof "
2050
+ },
2051
+ {
2052
+ "kind": "Reference",
2053
+ "text": "passkeyVaultAlgorithm",
2054
+ "canonicalReference": "@organigram/passkey-wallet!passkeyVaultAlgorithm:var"
2055
+ },
2056
+ {
2057
+ "kind": "Content",
2058
+ "text": ";\n keyVersion: typeof "
2059
+ },
2060
+ {
2061
+ "kind": "Reference",
2062
+ "text": "passkeyVaultKeyVersion",
2063
+ "canonicalReference": "@organigram/passkey-wallet!passkeyVaultKeyVersion:var"
2064
+ },
2065
+ {
2066
+ "kind": "Content",
2067
+ "text": ";\n ciphertext: string;\n salt: string;\n nonce: string;\n}"
2068
+ },
2069
+ {
2070
+ "kind": "Content",
2071
+ "text": ";"
2072
+ }
2073
+ ],
2074
+ "fileUrlPath": "dist/crypto.d.ts",
2075
+ "releaseTag": "Public",
2076
+ "name": "PasskeyVaultEnvelopeData",
2077
+ "typeTokenRange": {
2078
+ "startIndex": 1,
2079
+ "endIndex": 6
2080
+ }
2081
+ },
2082
+ {
2083
+ "kind": "TypeAlias",
2084
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeInput:type",
2085
+ "docComment": "",
2086
+ "excerptTokens": [
2087
+ {
2088
+ "kind": "Content",
2089
+ "text": "export type PasskeyVaultEnvelopeInput = "
2090
+ },
2091
+ {
2092
+ "kind": "Content",
2093
+ "text": "{\n address: string;\n encryptedMnemonic: string;\n salt: string;\n nonce: string;\n algorithm: string;\n keyVersion: number;\n}"
2094
+ },
2095
+ {
2096
+ "kind": "Content",
2097
+ "text": ";"
2098
+ }
2099
+ ],
2100
+ "fileUrlPath": "dist/webauthn-server.d.ts",
2101
+ "releaseTag": "Public",
2102
+ "name": "PasskeyVaultEnvelopeInput",
2103
+ "typeTokenRange": {
2104
+ "startIndex": 1,
2105
+ "endIndex": 2
2106
+ }
2107
+ },
2108
+ {
2109
+ "kind": "Variable",
2110
+ "canonicalReference": "@organigram/passkey-wallet!passkeyVaultKeyVersion:var",
2111
+ "docComment": "",
2112
+ "excerptTokens": [
2113
+ {
2114
+ "kind": "Content",
2115
+ "text": "passkeyVaultKeyVersion = "
2116
+ },
2117
+ {
2118
+ "kind": "Content",
2119
+ "text": "1"
2120
+ }
2121
+ ],
2122
+ "fileUrlPath": "dist/crypto.d.ts",
2123
+ "initializerTokenRange": {
2124
+ "startIndex": 1,
2125
+ "endIndex": 2
2126
+ },
2127
+ "isReadonly": true,
2128
+ "releaseTag": "Public",
2129
+ "name": "passkeyVaultKeyVersion",
2130
+ "variableTypeTokenRange": {
2131
+ "startIndex": 0,
2132
+ "endIndex": 0
2133
+ }
2134
+ },
2135
+ {
2136
+ "kind": "TypeAlias",
2137
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type",
2138
+ "docComment": "",
2139
+ "excerptTokens": [
2140
+ {
2141
+ "kind": "Content",
2142
+ "text": "export type PasskeyWalletApiClient = "
2143
+ },
2144
+ {
2145
+ "kind": "Content",
2146
+ "text": "{\n registerOptions: (input: {\n address: `0x${string}`;\n email?: string | null;\n name?: string | null;\n }) => "
2147
+ },
2148
+ {
2149
+ "kind": "Reference",
2150
+ "text": "Promise",
2151
+ "canonicalReference": "!Promise:interface"
2152
+ },
2153
+ {
2154
+ "kind": "Content",
2155
+ "text": "<"
2156
+ },
2157
+ {
2158
+ "kind": "Reference",
2159
+ "text": "PasskeyRegisterOptionsResponse",
2160
+ "canonicalReference": "@organigram/passkey-wallet!~PasskeyRegisterOptionsResponse:type"
2161
+ },
2162
+ {
2163
+ "kind": "Content",
2164
+ "text": ">;\n registerVerify: (input: {\n response: unknown;\n envelope: {\n address: `0x${string}`;\n encryptedMnemonic: string;\n salt: string;\n nonce: string;\n algorithm: string;\n keyVersion: number;\n };\n }) => "
2165
+ },
2166
+ {
2167
+ "kind": "Reference",
2168
+ "text": "Promise",
2169
+ "canonicalReference": "!Promise:interface"
2170
+ },
2171
+ {
2172
+ "kind": "Content",
2173
+ "text": "<"
2174
+ },
2175
+ {
2176
+ "kind": "Reference",
2177
+ "text": "PasskeyRegistrationResult",
2178
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyRegistrationResult:type"
2179
+ },
2180
+ {
2181
+ "kind": "Content",
2182
+ "text": ">;\n unlockOptions: () => "
2183
+ },
2184
+ {
2185
+ "kind": "Reference",
2186
+ "text": "Promise",
2187
+ "canonicalReference": "!Promise:interface"
2188
+ },
2189
+ {
2190
+ "kind": "Content",
2191
+ "text": "<"
2192
+ },
2193
+ {
2194
+ "kind": "Reference",
2195
+ "text": "PasskeyUnlockOptionsResponse",
2196
+ "canonicalReference": "@organigram/passkey-wallet!~PasskeyUnlockOptionsResponse:type"
2197
+ },
2198
+ {
2199
+ "kind": "Content",
2200
+ "text": ">;\n unlockVerify: (input: {\n response: unknown;\n }) => "
2201
+ },
2202
+ {
2203
+ "kind": "Reference",
2204
+ "text": "Promise",
2205
+ "canonicalReference": "!Promise:interface"
2206
+ },
2207
+ {
2208
+ "kind": "Content",
2209
+ "text": "<"
2210
+ },
2211
+ {
2212
+ "kind": "Reference",
2213
+ "text": "PasskeyUnlockVerifyResponse",
2214
+ "canonicalReference": "@organigram/passkey-wallet!~PasskeyUnlockVerifyResponse:type"
2215
+ },
2216
+ {
2217
+ "kind": "Content",
2218
+ "text": ">;\n}"
2219
+ },
2220
+ {
2221
+ "kind": "Content",
2222
+ "text": ";"
2223
+ }
2224
+ ],
2225
+ "fileUrlPath": "dist/webauthn-client.d.ts",
2226
+ "releaseTag": "Public",
2227
+ "name": "PasskeyWalletApiClient",
2228
+ "typeTokenRange": {
2229
+ "startIndex": 1,
2230
+ "endIndex": 18
2231
+ }
2232
+ },
2233
+ {
2234
+ "kind": "TypeAlias",
2235
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletCapabilities:type",
2236
+ "docComment": "",
2237
+ "excerptTokens": [
2238
+ {
2239
+ "kind": "Content",
2240
+ "text": "export type PasskeyWalletCapabilities = "
2241
+ },
2242
+ {
2243
+ "kind": "Reference",
2244
+ "text": "PasskeyWalletLoginCapabilities",
2245
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletLoginCapabilities:type"
2246
+ },
2247
+ {
2248
+ "kind": "Content",
2249
+ "text": " | "
2250
+ },
2251
+ {
2252
+ "kind": "Reference",
2253
+ "text": "PasskeyWalletRegistrationCapabilities",
2254
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletRegistrationCapabilities:type"
2255
+ },
2256
+ {
2257
+ "kind": "Content",
2258
+ "text": ";"
2259
+ }
2260
+ ],
2261
+ "fileUrlPath": "dist/types.d.ts",
2262
+ "releaseTag": "Public",
2263
+ "name": "PasskeyWalletCapabilities",
2264
+ "typeTokenRange": {
2265
+ "startIndex": 1,
2266
+ "endIndex": 4
2267
+ }
2268
+ },
2269
+ {
2270
+ "kind": "TypeAlias",
2271
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletLoginCapabilities:type",
2272
+ "docComment": "",
2273
+ "excerptTokens": [
2274
+ {
2275
+ "kind": "Content",
2276
+ "text": "export type PasskeyWalletLoginCapabilities = "
2277
+ },
2278
+ {
2279
+ "kind": "Content",
2280
+ "text": "{\n method: 'login';\n}"
2281
+ },
2282
+ {
2283
+ "kind": "Content",
2284
+ "text": ";"
2285
+ }
2286
+ ],
2287
+ "fileUrlPath": "dist/types.d.ts",
2288
+ "releaseTag": "Public",
2289
+ "name": "PasskeyWalletLoginCapabilities",
2290
+ "typeTokenRange": {
2291
+ "startIndex": 1,
2292
+ "endIndex": 2
2293
+ }
2294
+ },
2295
+ {
2296
+ "kind": "TypeAlias",
2297
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletRegistrationCapabilities:type",
2298
+ "docComment": "",
2299
+ "excerptTokens": [
2300
+ {
2301
+ "kind": "Content",
2302
+ "text": "export type PasskeyWalletRegistrationCapabilities = "
2303
+ },
2304
+ {
2305
+ "kind": "Content",
2306
+ "text": "{\n method: 'register';\n name: string;\n identity?: {\n email: string;\n };\n}"
2307
+ },
2308
+ {
2309
+ "kind": "Content",
2310
+ "text": ";"
2311
+ }
2312
+ ],
2313
+ "fileUrlPath": "dist/types.d.ts",
2314
+ "releaseTag": "Public",
2315
+ "name": "PasskeyWalletRegistrationCapabilities",
2316
+ "typeTokenRange": {
2317
+ "startIndex": 1,
2318
+ "endIndex": 2
2319
+ }
2320
+ },
2321
+ {
2322
+ "kind": "TypeAlias",
2323
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletVaultPayload:type",
2324
+ "docComment": "",
2325
+ "excerptTokens": [
2326
+ {
2327
+ "kind": "Content",
2328
+ "text": "export type PasskeyWalletVaultPayload = "
2329
+ },
2330
+ {
2331
+ "kind": "Content",
2332
+ "text": "{\n version: 1;\n recoveryPhrase: string;\n userEncryptionPrivateKey: "
2333
+ },
2334
+ {
2335
+ "kind": "Reference",
2336
+ "text": "JsonWebKey",
2337
+ "canonicalReference": "!JsonWebKey:interface"
2338
+ },
2339
+ {
2340
+ "kind": "Content",
2341
+ "text": ";\n userEncryptionPublicKey: "
2342
+ },
2343
+ {
2344
+ "kind": "Reference",
2345
+ "text": "JsonWebKey",
2346
+ "canonicalReference": "!JsonWebKey:interface"
2347
+ },
2348
+ {
2349
+ "kind": "Content",
2350
+ "text": ";\n userEncryptionKeyVersion: number;\n}"
2351
+ },
2352
+ {
2353
+ "kind": "Content",
2354
+ "text": ";"
2355
+ }
2356
+ ],
2357
+ "fileUrlPath": "dist/vault.d.ts",
2358
+ "releaseTag": "Public",
2359
+ "name": "PasskeyWalletVaultPayload",
2360
+ "typeTokenRange": {
2361
+ "startIndex": 1,
2362
+ "endIndex": 6
2363
+ }
2364
+ },
2365
+ {
2366
+ "kind": "Function",
2367
+ "canonicalReference": "@organigram/passkey-wallet!registerAdditionalPasskeyCredential:function(1)",
2368
+ "docComment": "",
2369
+ "excerptTokens": [
2370
+ {
2371
+ "kind": "Content",
2372
+ "text": "registerAdditionalPasskeyCredential: (input: "
2373
+ },
2374
+ {
2375
+ "kind": "Content",
2376
+ "text": "{\n api: "
2377
+ },
2378
+ {
2379
+ "kind": "Reference",
2380
+ "text": "PasskeyWalletApiClient",
2381
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type"
2382
+ },
2383
+ {
2384
+ "kind": "Content",
2385
+ "text": ";\n wallet: "
2386
+ },
2387
+ {
2388
+ "kind": "Reference",
2389
+ "text": "UnlockedPasskeyWallet",
2390
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
2391
+ },
2392
+ {
2393
+ "kind": "Content",
2394
+ "text": ";\n name?: string;\n}"
2395
+ },
2396
+ {
2397
+ "kind": "Content",
2398
+ "text": ") => "
2399
+ },
2400
+ {
2401
+ "kind": "Reference",
2402
+ "text": "Promise",
2403
+ "canonicalReference": "!Promise:interface"
2404
+ },
2405
+ {
2406
+ "kind": "Content",
2407
+ "text": "<"
2408
+ },
2409
+ {
2410
+ "kind": "Reference",
2411
+ "text": "PasskeyRegistrationResult",
2412
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyRegistrationResult:type"
2413
+ },
2414
+ {
2415
+ "kind": "Content",
2416
+ "text": ">"
2417
+ }
2418
+ ],
2419
+ "fileUrlPath": "dist/webauthn-client.d.ts",
2420
+ "returnTypeTokenRange": {
2421
+ "startIndex": 7,
2422
+ "endIndex": 11
2423
+ },
2424
+ "releaseTag": "Public",
2425
+ "overloadIndex": 1,
2426
+ "parameters": [
2427
+ {
2428
+ "parameterName": "{ api, wallet, name }",
2429
+ "parameterTypeTokenRange": {
2430
+ "startIndex": 0,
2431
+ "endIndex": 0
2432
+ },
2433
+ "isOptional": false
2434
+ },
2435
+ {
2436
+ "parameterName": "input",
2437
+ "parameterTypeTokenRange": {
2438
+ "startIndex": 1,
2439
+ "endIndex": 6
2440
+ },
2441
+ "isOptional": false
2442
+ }
2443
+ ],
2444
+ "name": "registerAdditionalPasskeyCredential"
2445
+ },
2446
+ {
2447
+ "kind": "Function",
2448
+ "canonicalReference": "@organigram/passkey-wallet!registerPasskeyCredentialEnvelope:function(1)",
2449
+ "docComment": "",
2450
+ "excerptTokens": [
2451
+ {
2452
+ "kind": "Content",
2453
+ "text": "export declare function registerPasskeyCredentialEnvelope(input: "
2454
+ },
2455
+ {
2456
+ "kind": "Content",
2457
+ "text": "{\n api: "
2458
+ },
2459
+ {
2460
+ "kind": "Reference",
2461
+ "text": "PasskeyWalletApiClient",
2462
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type"
2463
+ },
2464
+ {
2465
+ "kind": "Content",
2466
+ "text": ";\n address: `0x${string}`;\n vaultPayload: "
2467
+ },
2468
+ {
2469
+ "kind": "Reference",
2470
+ "text": "PasskeyWalletVaultPayload",
2471
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletVaultPayload:type"
2472
+ },
2473
+ {
2474
+ "kind": "Content",
2475
+ "text": ";\n email?: string | null;\n name?: string | null;\n}"
2476
+ },
2477
+ {
2478
+ "kind": "Content",
2479
+ "text": "): "
2480
+ },
2481
+ {
2482
+ "kind": "Reference",
2483
+ "text": "Promise",
2484
+ "canonicalReference": "!Promise:interface"
2485
+ },
2486
+ {
2487
+ "kind": "Content",
2488
+ "text": "<"
2489
+ },
2490
+ {
2491
+ "kind": "Reference",
2492
+ "text": "PasskeyRegistrationResult",
2493
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyRegistrationResult:type"
2494
+ },
2495
+ {
2496
+ "kind": "Content",
2497
+ "text": ">"
2498
+ },
2499
+ {
2500
+ "kind": "Content",
2501
+ "text": ";"
2502
+ }
2503
+ ],
2504
+ "fileUrlPath": "dist/webauthn-client.d.ts",
2505
+ "returnTypeTokenRange": {
2506
+ "startIndex": 7,
2507
+ "endIndex": 11
2508
+ },
2509
+ "releaseTag": "Public",
2510
+ "overloadIndex": 1,
2511
+ "parameters": [
2512
+ {
2513
+ "parameterName": "{ api, address, vaultPayload, email, name }",
2514
+ "parameterTypeTokenRange": {
2515
+ "startIndex": 0,
2516
+ "endIndex": 0
2517
+ },
2518
+ "isOptional": false
2519
+ },
2520
+ {
2521
+ "parameterName": "input",
2522
+ "parameterTypeTokenRange": {
2523
+ "startIndex": 1,
2524
+ "endIndex": 6
2525
+ },
2526
+ "isOptional": false
2527
+ }
2528
+ ],
2529
+ "name": "registerPasskeyCredentialEnvelope"
2530
+ },
2531
+ {
2532
+ "kind": "Function",
2533
+ "canonicalReference": "@organigram/passkey-wallet!registerPasskeyWallet:function(1)",
2534
+ "docComment": "",
2535
+ "excerptTokens": [
2536
+ {
2537
+ "kind": "Content",
2538
+ "text": "registerPasskeyWallet: (input: "
2539
+ },
2540
+ {
2541
+ "kind": "Content",
2542
+ "text": "{\n api: "
2543
+ },
2544
+ {
2545
+ "kind": "Reference",
2546
+ "text": "PasskeyWalletApiClient",
2547
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type"
2548
+ },
2549
+ {
2550
+ "kind": "Content",
2551
+ "text": ";\n capabilities: "
2552
+ },
2553
+ {
2554
+ "kind": "Reference",
2555
+ "text": "OrganigramPasskeyCapabilities",
2556
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyCapabilities:type"
2557
+ },
2558
+ {
2559
+ "kind": "Content",
2560
+ "text": ";\n}"
2561
+ },
2562
+ {
2563
+ "kind": "Content",
2564
+ "text": ") => "
2565
+ },
2566
+ {
2567
+ "kind": "Reference",
2568
+ "text": "Promise",
2569
+ "canonicalReference": "!Promise:interface"
2570
+ },
2571
+ {
2572
+ "kind": "Content",
2573
+ "text": "<"
2574
+ },
2575
+ {
2576
+ "kind": "Reference",
2577
+ "text": "UnlockedPasskeyWallet",
2578
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
2579
+ },
2580
+ {
2581
+ "kind": "Content",
2582
+ "text": ">"
2583
+ }
2584
+ ],
2585
+ "fileUrlPath": "dist/webauthn-client.d.ts",
2586
+ "returnTypeTokenRange": {
2587
+ "startIndex": 7,
2588
+ "endIndex": 11
2589
+ },
2590
+ "releaseTag": "Public",
2591
+ "overloadIndex": 1,
2592
+ "parameters": [
2593
+ {
2594
+ "parameterName": "{ api, capabilities }",
2595
+ "parameterTypeTokenRange": {
2596
+ "startIndex": 0,
2597
+ "endIndex": 0
2598
+ },
2599
+ "isOptional": false
2600
+ },
2601
+ {
2602
+ "parameterName": "input",
2603
+ "parameterTypeTokenRange": {
2604
+ "startIndex": 1,
2605
+ "endIndex": 6
2606
+ },
2607
+ "isOptional": false
2608
+ }
2609
+ ],
2610
+ "name": "registerPasskeyWallet"
2611
+ },
2612
+ {
2613
+ "kind": "Function",
2614
+ "canonicalReference": "@organigram/passkey-wallet!serializePasskeyWalletVaultPayload:function(1)",
2615
+ "docComment": "",
2616
+ "excerptTokens": [
2617
+ {
2618
+ "kind": "Content",
2619
+ "text": "serializePasskeyWalletVaultPayload: (input: "
2620
+ },
2621
+ {
2622
+ "kind": "Reference",
2623
+ "text": "Omit",
2624
+ "canonicalReference": "!Omit:type"
2625
+ },
2626
+ {
2627
+ "kind": "Content",
2628
+ "text": "<"
2629
+ },
2630
+ {
2631
+ "kind": "Reference",
2632
+ "text": "PasskeyWalletVaultPayload",
2633
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletVaultPayload:type"
2634
+ },
2635
+ {
2636
+ "kind": "Content",
2637
+ "text": ", \"version\">"
2638
+ },
2639
+ {
2640
+ "kind": "Content",
2641
+ "text": ") => "
2642
+ },
2643
+ {
2644
+ "kind": "Content",
2645
+ "text": "string"
2646
+ }
2647
+ ],
2648
+ "fileUrlPath": "dist/vault.d.ts",
2649
+ "returnTypeTokenRange": {
2650
+ "startIndex": 6,
2651
+ "endIndex": 7
2652
+ },
2653
+ "releaseTag": "Public",
2654
+ "overloadIndex": 1,
2655
+ "parameters": [
2656
+ {
2657
+ "parameterName": "{ recoveryPhrase, userEncryptionPrivateKey, userEncryptionPublicKey, userEncryptionKeyVersion }",
2658
+ "parameterTypeTokenRange": {
2659
+ "startIndex": 0,
2660
+ "endIndex": 0
2661
+ },
2662
+ "isOptional": false
2663
+ },
2664
+ {
2665
+ "parameterName": "input",
2666
+ "parameterTypeTokenRange": {
2667
+ "startIndex": 1,
2668
+ "endIndex": 5
2669
+ },
2670
+ "isOptional": false
2671
+ }
2672
+ ],
2673
+ "name": "serializePasskeyWalletVaultPayload"
2674
+ },
2675
+ {
2676
+ "kind": "Function",
2677
+ "canonicalReference": "@organigram/passkey-wallet!toPasskeyVaultEnvelopeData:function(1)",
2678
+ "docComment": "",
2679
+ "excerptTokens": [
2680
+ {
2681
+ "kind": "Content",
2682
+ "text": "toPasskeyVaultEnvelopeData: (input: "
2683
+ },
2684
+ {
2685
+ "kind": "Content",
2686
+ "text": "{\n encryptedMnemonic: string;\n salt: string;\n nonce: string;\n algorithm: string;\n keyVersion: number;\n}"
2687
+ },
2688
+ {
2689
+ "kind": "Content",
2690
+ "text": ") => "
2691
+ },
2692
+ {
2693
+ "kind": "Reference",
2694
+ "text": "PasskeyVaultEnvelopeData",
2695
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeData:type"
2696
+ }
2697
+ ],
2698
+ "fileUrlPath": "dist/webauthn-server.d.ts",
2699
+ "returnTypeTokenRange": {
2700
+ "startIndex": 3,
2701
+ "endIndex": 4
2702
+ },
2703
+ "releaseTag": "Public",
2704
+ "overloadIndex": 1,
2705
+ "parameters": [
2706
+ {
2707
+ "parameterName": "{ encryptedMnemonic, salt, nonce, algorithm, keyVersion }",
2708
+ "parameterTypeTokenRange": {
2709
+ "startIndex": 0,
2710
+ "endIndex": 0
2711
+ },
2712
+ "isOptional": false
2713
+ },
2714
+ {
2715
+ "parameterName": "input",
2716
+ "parameterTypeTokenRange": {
2717
+ "startIndex": 1,
2718
+ "endIndex": 2
2719
+ },
2720
+ "isOptional": false
2721
+ }
2722
+ ],
2723
+ "name": "toPasskeyVaultEnvelopeData"
2724
+ },
2725
+ {
2726
+ "kind": "TypeAlias",
2727
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type",
2728
+ "docComment": "",
2729
+ "excerptTokens": [
2730
+ {
2731
+ "kind": "Content",
2732
+ "text": "export type UnlockedPasskeyWallet = "
2733
+ },
2734
+ {
2735
+ "kind": "Content",
2736
+ "text": "{\n address: `0x${string}`;\n account: "
2737
+ },
2738
+ {
2739
+ "kind": "Reference",
2740
+ "text": "HDAccount",
2741
+ "canonicalReference": "viem!HDAccount:type"
2742
+ },
2743
+ {
2744
+ "kind": "Content",
2745
+ "text": ";\n recoveryPhrase: string;\n userEncryptionPrivateKey: "
2746
+ },
2747
+ {
2748
+ "kind": "Reference",
2749
+ "text": "JsonWebKey",
2750
+ "canonicalReference": "!JsonWebKey:interface"
2751
+ },
2752
+ {
2753
+ "kind": "Content",
2754
+ "text": ";\n userEncryptionPublicKey: "
2755
+ },
2756
+ {
2757
+ "kind": "Reference",
2758
+ "text": "JsonWebKey",
2759
+ "canonicalReference": "!JsonWebKey:interface"
2760
+ },
2761
+ {
2762
+ "kind": "Content",
2763
+ "text": ";\n userEncryptionKeyVersion: number;\n credentialId: string;\n expiresAt: number;\n}"
2764
+ },
2765
+ {
2766
+ "kind": "Content",
2767
+ "text": ";"
2768
+ }
2769
+ ],
2770
+ "fileUrlPath": "dist/types.d.ts",
2771
+ "releaseTag": "Public",
2772
+ "name": "UnlockedPasskeyWallet",
2773
+ "typeTokenRange": {
2774
+ "startIndex": 1,
2775
+ "endIndex": 8
2776
+ }
2777
+ },
2778
+ {
2779
+ "kind": "Variable",
2780
+ "canonicalReference": "@organigram/passkey-wallet!unlockedPasskeyWalletTtlMs:var",
2781
+ "docComment": "",
2782
+ "excerptTokens": [
2783
+ {
2784
+ "kind": "Content",
2785
+ "text": "unlockedPasskeyWalletTtlMs: "
2786
+ },
2787
+ {
2788
+ "kind": "Content",
2789
+ "text": "number"
2790
+ }
2791
+ ],
2792
+ "fileUrlPath": "dist/wallet.d.ts",
2793
+ "isReadonly": true,
2794
+ "releaseTag": "Public",
2795
+ "name": "unlockedPasskeyWalletTtlMs",
2796
+ "variableTypeTokenRange": {
2797
+ "startIndex": 1,
2798
+ "endIndex": 2
2799
+ }
2800
+ },
2801
+ {
2802
+ "kind": "Function",
2803
+ "canonicalReference": "@organigram/passkey-wallet!unlockOrCreatePasskeyWallet:function(1)",
2804
+ "docComment": "",
2805
+ "excerptTokens": [
2806
+ {
2807
+ "kind": "Content",
2808
+ "text": "unlockOrCreatePasskeyWallet: (input: "
2809
+ },
2810
+ {
2811
+ "kind": "Content",
2812
+ "text": "{\n api: "
2813
+ },
2814
+ {
2815
+ "kind": "Reference",
2816
+ "text": "PasskeyWalletApiClient",
2817
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type"
2818
+ },
2819
+ {
2820
+ "kind": "Content",
2821
+ "text": ";\n capabilities: "
2822
+ },
2823
+ {
2824
+ "kind": "Reference",
2825
+ "text": "OrganigramPasskeyCapabilities",
2826
+ "canonicalReference": "@organigram/passkey-wallet!OrganigramPasskeyCapabilities:type"
2827
+ },
2828
+ {
2829
+ "kind": "Content",
2830
+ "text": ";\n targetChainId: number;\n}"
2831
+ },
2832
+ {
2833
+ "kind": "Content",
2834
+ "text": ") => "
2835
+ },
2836
+ {
2837
+ "kind": "Reference",
2838
+ "text": "Promise",
2839
+ "canonicalReference": "!Promise:interface"
2840
+ },
2841
+ {
2842
+ "kind": "Content",
2843
+ "text": "<"
2844
+ },
2845
+ {
2846
+ "kind": "Reference",
2847
+ "text": "UnlockedPasskeyWallet",
2848
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
2849
+ },
2850
+ {
2851
+ "kind": "Content",
2852
+ "text": ">"
2853
+ }
2854
+ ],
2855
+ "fileUrlPath": "dist/webauthn-client.d.ts",
2856
+ "returnTypeTokenRange": {
2857
+ "startIndex": 7,
2858
+ "endIndex": 11
2859
+ },
2860
+ "releaseTag": "Public",
2861
+ "overloadIndex": 1,
2862
+ "parameters": [
2863
+ {
2864
+ "parameterName": "{ api, capabilities }",
2865
+ "parameterTypeTokenRange": {
2866
+ "startIndex": 0,
2867
+ "endIndex": 0
2868
+ },
2869
+ "isOptional": false
2870
+ },
2871
+ {
2872
+ "parameterName": "input",
2873
+ "parameterTypeTokenRange": {
2874
+ "startIndex": 1,
2875
+ "endIndex": 6
2876
+ },
2877
+ "isOptional": false
2878
+ }
2879
+ ],
2880
+ "name": "unlockOrCreatePasskeyWallet"
2881
+ },
2882
+ {
2883
+ "kind": "Function",
2884
+ "canonicalReference": "@organigram/passkey-wallet!unlockPasskeyWallet:function(1)",
2885
+ "docComment": "",
2886
+ "excerptTokens": [
2887
+ {
2888
+ "kind": "Content",
2889
+ "text": "unlockPasskeyWallet: (input: "
2890
+ },
2891
+ {
2892
+ "kind": "Content",
2893
+ "text": "{\n api: "
2894
+ },
2895
+ {
2896
+ "kind": "Reference",
2897
+ "text": "PasskeyWalletApiClient",
2898
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyWalletApiClient:type"
2899
+ },
2900
+ {
2901
+ "kind": "Content",
2902
+ "text": ";\n}"
2903
+ },
2904
+ {
2905
+ "kind": "Content",
2906
+ "text": ") => "
2907
+ },
2908
+ {
2909
+ "kind": "Reference",
2910
+ "text": "Promise",
2911
+ "canonicalReference": "!Promise:interface"
2912
+ },
2913
+ {
2914
+ "kind": "Content",
2915
+ "text": "<"
2916
+ },
2917
+ {
2918
+ "kind": "Reference",
2919
+ "text": "UnlockedPasskeyWallet",
2920
+ "canonicalReference": "@organigram/passkey-wallet!UnlockedPasskeyWallet:type"
2921
+ },
2922
+ {
2923
+ "kind": "Content",
2924
+ "text": " | null>"
2925
+ }
2926
+ ],
2927
+ "fileUrlPath": "dist/webauthn-client.d.ts",
2928
+ "returnTypeTokenRange": {
2929
+ "startIndex": 5,
2930
+ "endIndex": 9
2931
+ },
2932
+ "releaseTag": "Public",
2933
+ "overloadIndex": 1,
2934
+ "parameters": [
2935
+ {
2936
+ "parameterName": "{ api }",
2937
+ "parameterTypeTokenRange": {
2938
+ "startIndex": 0,
2939
+ "endIndex": 0
2940
+ },
2941
+ "isOptional": false
2942
+ },
2943
+ {
2944
+ "parameterName": "input",
2945
+ "parameterTypeTokenRange": {
2946
+ "startIndex": 1,
2947
+ "endIndex": 4
2948
+ },
2949
+ "isOptional": false
2950
+ }
2951
+ ],
2952
+ "name": "unlockPasskeyWallet"
2953
+ },
2954
+ {
2955
+ "kind": "Function",
2956
+ "canonicalReference": "@organigram/passkey-wallet!validatePasskeyVaultEnvelopeInput:function(1)",
2957
+ "docComment": "",
2958
+ "excerptTokens": [
2959
+ {
2960
+ "kind": "Content",
2961
+ "text": "validatePasskeyVaultEnvelopeInput: (input: "
2962
+ },
2963
+ {
2964
+ "kind": "Reference",
2965
+ "text": "PasskeyVaultEnvelopeInput",
2966
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeInput:type"
2967
+ },
2968
+ {
2969
+ "kind": "Content",
2970
+ "text": ") => "
2971
+ },
2972
+ {
2973
+ "kind": "Reference",
2974
+ "text": "PasskeyVaultEnvelopeInput",
2975
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeInput:type"
2976
+ },
2977
+ {
2978
+ "kind": "Content",
2979
+ "text": " & {\n address: `0x${string}`;\n}"
2980
+ }
2981
+ ],
2982
+ "fileUrlPath": "dist/webauthn-server.d.ts",
2983
+ "returnTypeTokenRange": {
2984
+ "startIndex": 3,
2985
+ "endIndex": 5
2986
+ },
2987
+ "releaseTag": "Public",
2988
+ "overloadIndex": 1,
2989
+ "parameters": [
2990
+ {
2991
+ "parameterName": "input",
2992
+ "parameterTypeTokenRange": {
2993
+ "startIndex": 1,
2994
+ "endIndex": 2
2995
+ },
2996
+ "isOptional": false
2997
+ }
2998
+ ],
2999
+ "name": "validatePasskeyVaultEnvelopeInput"
3000
+ },
3001
+ {
3002
+ "kind": "Function",
3003
+ "canonicalReference": "@organigram/passkey-wallet!verifyPasskeyAuthentication:function(1)",
3004
+ "docComment": "",
3005
+ "excerptTokens": [
3006
+ {
3007
+ "kind": "Content",
3008
+ "text": "verifyPasskeyAuthentication: (input: "
3009
+ },
3010
+ {
3011
+ "kind": "Content",
3012
+ "text": "{\n response: unknown;\n expectedChallenge: string;\n expectedOrigin: string;\n expectedRpId: string;\n credential: {\n credentialId: string;\n publicKey: string;\n signCount: number;\n };\n}"
3013
+ },
3014
+ {
3015
+ "kind": "Content",
3016
+ "text": ") => "
3017
+ },
3018
+ {
3019
+ "kind": "Reference",
3020
+ "text": "Promise",
3021
+ "canonicalReference": "!Promise:interface"
3022
+ },
3023
+ {
3024
+ "kind": "Content",
3025
+ "text": "<"
3026
+ },
3027
+ {
3028
+ "kind": "Reference",
3029
+ "text": "Awaited",
3030
+ "canonicalReference": "!Awaited:type"
3031
+ },
3032
+ {
3033
+ "kind": "Content",
3034
+ "text": "<"
3035
+ },
3036
+ {
3037
+ "kind": "Reference",
3038
+ "text": "ReturnType",
3039
+ "canonicalReference": "!ReturnType:type"
3040
+ },
3041
+ {
3042
+ "kind": "Content",
3043
+ "text": "<typeof "
3044
+ },
3045
+ {
3046
+ "kind": "Reference",
3047
+ "text": "verifyAuthenticationResponse",
3048
+ "canonicalReference": "@simplewebauthn/server!verifyAuthenticationResponse:function"
3049
+ },
3050
+ {
3051
+ "kind": "Content",
3052
+ "text": ">>>"
3053
+ }
3054
+ ],
3055
+ "fileUrlPath": "dist/webauthn-server.d.ts",
3056
+ "returnTypeTokenRange": {
3057
+ "startIndex": 3,
3058
+ "endIndex": 11
3059
+ },
3060
+ "releaseTag": "Public",
3061
+ "overloadIndex": 1,
3062
+ "parameters": [
3063
+ {
3064
+ "parameterName": "{ response, expectedChallenge, expectedOrigin, expectedRpId, credential }",
3065
+ "parameterTypeTokenRange": {
3066
+ "startIndex": 0,
3067
+ "endIndex": 0
3068
+ },
3069
+ "isOptional": false
3070
+ },
3071
+ {
3072
+ "parameterName": "input",
3073
+ "parameterTypeTokenRange": {
3074
+ "startIndex": 1,
3075
+ "endIndex": 2
3076
+ },
3077
+ "isOptional": false
3078
+ }
3079
+ ],
3080
+ "name": "verifyPasskeyAuthentication"
3081
+ },
3082
+ {
3083
+ "kind": "Function",
3084
+ "canonicalReference": "@organigram/passkey-wallet!verifyPasskeyRegistration:function(1)",
3085
+ "docComment": "",
3086
+ "excerptTokens": [
3087
+ {
3088
+ "kind": "Content",
3089
+ "text": "verifyPasskeyRegistration: (input: "
3090
+ },
3091
+ {
3092
+ "kind": "Content",
3093
+ "text": "{\n response: unknown;\n expectedChallenge: string;\n expectedOrigin: string;\n expectedRpId: string;\n envelope: "
3094
+ },
3095
+ {
3096
+ "kind": "Reference",
3097
+ "text": "PasskeyVaultEnvelopeInput",
3098
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeInput:type"
3099
+ },
3100
+ {
3101
+ "kind": "Content",
3102
+ "text": ";\n}"
3103
+ },
3104
+ {
3105
+ "kind": "Content",
3106
+ "text": ") => "
3107
+ },
3108
+ {
3109
+ "kind": "Reference",
3110
+ "text": "Promise",
3111
+ "canonicalReference": "!Promise:interface"
3112
+ },
3113
+ {
3114
+ "kind": "Content",
3115
+ "text": "<{\n verification: "
3116
+ },
3117
+ {
3118
+ "kind": "Reference",
3119
+ "text": "VerifiedPasskeyRegistrationResponse",
3120
+ "canonicalReference": "@organigram/passkey-wallet!~VerifiedPasskeyRegistrationResponse:type"
3121
+ },
3122
+ {
3123
+ "kind": "Content",
3124
+ "text": ";\n vaultEnvelope: "
3125
+ },
3126
+ {
3127
+ "kind": "Reference",
3128
+ "text": "PasskeyVaultEnvelopeInput",
3129
+ "canonicalReference": "@organigram/passkey-wallet!PasskeyVaultEnvelopeInput:type"
3130
+ },
3131
+ {
3132
+ "kind": "Content",
3133
+ "text": " & {\n address: `0x${string}`;\n };\n}>"
3134
+ }
3135
+ ],
3136
+ "fileUrlPath": "dist/webauthn-server.d.ts",
3137
+ "returnTypeTokenRange": {
3138
+ "startIndex": 5,
3139
+ "endIndex": 11
3140
+ },
3141
+ "releaseTag": "Public",
3142
+ "overloadIndex": 1,
3143
+ "parameters": [
3144
+ {
3145
+ "parameterName": "{ response, expectedChallenge, expectedOrigin, expectedRpId, envelope }",
3146
+ "parameterTypeTokenRange": {
3147
+ "startIndex": 0,
3148
+ "endIndex": 0
3149
+ },
3150
+ "isOptional": false
3151
+ },
3152
+ {
3153
+ "parameterName": "input",
3154
+ "parameterTypeTokenRange": {
3155
+ "startIndex": 1,
3156
+ "endIndex": 4
3157
+ },
3158
+ "isOptional": false
3159
+ }
3160
+ ],
3161
+ "name": "verifyPasskeyRegistration"
3162
+ }
3163
+ ]
3164
+ }
3165
+ ]
3166
+ }