@fgv/ts-extras-webauthn 5.1.0-47 → 5.1.0-49

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.
@@ -1,470 +0,0 @@
1
- {
2
- "metadata": {
3
- "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.58.9",
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": "@fgv/ts-extras-webauthn!",
181
- "docComment": "",
182
- "name": "@fgv/ts-extras-webauthn",
183
- "preserveMemberOrder": false,
184
- "members": [
185
- {
186
- "kind": "EntryPoint",
187
- "canonicalReference": "@fgv/ts-extras-webauthn!",
188
- "name": "",
189
- "preserveMemberOrder": false,
190
- "members": [
191
- {
192
- "kind": "Function",
193
- "canonicalReference": "@fgv/ts-extras-webauthn!generateAuthenticationOptions:function(1)",
194
- "docComment": "/**\n * Result-integration wrapper around `@simplewebauthn/server`'s `generateAuthenticationOptions`. Returns `Promise<Result<PublicKeyCredentialRequestOptionsJSON>>`; upstream errors are captured as `Failure` with the original message.\n *\n * @see\n *\n * https://simplewebauthn.dev/docs/packages/server\n *\n * @public\n */\n",
195
- "excerptTokens": [
196
- {
197
- "kind": "Content",
198
- "text": "export declare function generateAuthenticationOptions(options: "
199
- },
200
- {
201
- "kind": "Reference",
202
- "text": "GenerateAuthenticationOptionsOpts",
203
- "canonicalReference": "@simplewebauthn/server!GenerateAuthenticationOptionsOpts:type"
204
- },
205
- {
206
- "kind": "Content",
207
- "text": "): "
208
- },
209
- {
210
- "kind": "Reference",
211
- "text": "Promise",
212
- "canonicalReference": "!Promise:interface"
213
- },
214
- {
215
- "kind": "Content",
216
- "text": "<"
217
- },
218
- {
219
- "kind": "Reference",
220
- "text": "Result",
221
- "canonicalReference": "@fgv/ts-utils!Result:type"
222
- },
223
- {
224
- "kind": "Content",
225
- "text": "<"
226
- },
227
- {
228
- "kind": "Reference",
229
- "text": "PublicKeyCredentialRequestOptionsJSON",
230
- "canonicalReference": "@simplewebauthn/server!PublicKeyCredentialRequestOptionsJSON:interface"
231
- },
232
- {
233
- "kind": "Content",
234
- "text": ">>"
235
- },
236
- {
237
- "kind": "Content",
238
- "text": ";"
239
- }
240
- ],
241
- "fileUrlPath": "src/index.ts",
242
- "returnTypeTokenRange": {
243
- "startIndex": 3,
244
- "endIndex": 9
245
- },
246
- "releaseTag": "Public",
247
- "overloadIndex": 1,
248
- "parameters": [
249
- {
250
- "parameterName": "options",
251
- "parameterTypeTokenRange": {
252
- "startIndex": 1,
253
- "endIndex": 2
254
- },
255
- "isOptional": false
256
- }
257
- ],
258
- "name": "generateAuthenticationOptions"
259
- },
260
- {
261
- "kind": "Function",
262
- "canonicalReference": "@fgv/ts-extras-webauthn!generateRegistrationOptions:function(1)",
263
- "docComment": "/**\n * Result-integration wrapper around `@simplewebauthn/server`'s `generateRegistrationOptions`. Returns `Promise<Result<PublicKeyCredentialCreationOptionsJSON>>`; upstream errors are captured as `Failure` with the original message.\n *\n * @see\n *\n * https://simplewebauthn.dev/docs/packages/server\n *\n * @public\n */\n",
264
- "excerptTokens": [
265
- {
266
- "kind": "Content",
267
- "text": "export declare function generateRegistrationOptions(options: "
268
- },
269
- {
270
- "kind": "Reference",
271
- "text": "GenerateRegistrationOptionsOpts",
272
- "canonicalReference": "@simplewebauthn/server!GenerateRegistrationOptionsOpts:type"
273
- },
274
- {
275
- "kind": "Content",
276
- "text": "): "
277
- },
278
- {
279
- "kind": "Reference",
280
- "text": "Promise",
281
- "canonicalReference": "!Promise:interface"
282
- },
283
- {
284
- "kind": "Content",
285
- "text": "<"
286
- },
287
- {
288
- "kind": "Reference",
289
- "text": "Result",
290
- "canonicalReference": "@fgv/ts-utils!Result:type"
291
- },
292
- {
293
- "kind": "Content",
294
- "text": "<"
295
- },
296
- {
297
- "kind": "Reference",
298
- "text": "PublicKeyCredentialCreationOptionsJSON",
299
- "canonicalReference": "@simplewebauthn/server!PublicKeyCredentialCreationOptionsJSON:interface"
300
- },
301
- {
302
- "kind": "Content",
303
- "text": ">>"
304
- },
305
- {
306
- "kind": "Content",
307
- "text": ";"
308
- }
309
- ],
310
- "fileUrlPath": "src/index.ts",
311
- "returnTypeTokenRange": {
312
- "startIndex": 3,
313
- "endIndex": 9
314
- },
315
- "releaseTag": "Public",
316
- "overloadIndex": 1,
317
- "parameters": [
318
- {
319
- "parameterName": "options",
320
- "parameterTypeTokenRange": {
321
- "startIndex": 1,
322
- "endIndex": 2
323
- },
324
- "isOptional": false
325
- }
326
- ],
327
- "name": "generateRegistrationOptions"
328
- },
329
- {
330
- "kind": "Function",
331
- "canonicalReference": "@fgv/ts-extras-webauthn!verifyAuthenticationResponse:function(1)",
332
- "docComment": "/**\n * Result-integration wrapper around `@simplewebauthn/server`'s `verifyAuthenticationResponse`. Returns `Promise<Result<VerifiedAuthenticationResponse>>`; upstream errors are captured as `Failure` with the original message.\n *\n * @see\n *\n * https://simplewebauthn.dev/docs/packages/server\n *\n * @public\n */\n",
333
- "excerptTokens": [
334
- {
335
- "kind": "Content",
336
- "text": "export declare function verifyAuthenticationResponse(options: "
337
- },
338
- {
339
- "kind": "Reference",
340
- "text": "VerifyAuthenticationResponseOpts",
341
- "canonicalReference": "@simplewebauthn/server!VerifyAuthenticationResponseOpts:type"
342
- },
343
- {
344
- "kind": "Content",
345
- "text": "): "
346
- },
347
- {
348
- "kind": "Reference",
349
- "text": "Promise",
350
- "canonicalReference": "!Promise:interface"
351
- },
352
- {
353
- "kind": "Content",
354
- "text": "<"
355
- },
356
- {
357
- "kind": "Reference",
358
- "text": "Result",
359
- "canonicalReference": "@fgv/ts-utils!Result:type"
360
- },
361
- {
362
- "kind": "Content",
363
- "text": "<"
364
- },
365
- {
366
- "kind": "Reference",
367
- "text": "VerifiedAuthenticationResponse",
368
- "canonicalReference": "@simplewebauthn/server!VerifiedAuthenticationResponse:type"
369
- },
370
- {
371
- "kind": "Content",
372
- "text": ">>"
373
- },
374
- {
375
- "kind": "Content",
376
- "text": ";"
377
- }
378
- ],
379
- "fileUrlPath": "src/index.ts",
380
- "returnTypeTokenRange": {
381
- "startIndex": 3,
382
- "endIndex": 9
383
- },
384
- "releaseTag": "Public",
385
- "overloadIndex": 1,
386
- "parameters": [
387
- {
388
- "parameterName": "options",
389
- "parameterTypeTokenRange": {
390
- "startIndex": 1,
391
- "endIndex": 2
392
- },
393
- "isOptional": false
394
- }
395
- ],
396
- "name": "verifyAuthenticationResponse"
397
- },
398
- {
399
- "kind": "Function",
400
- "canonicalReference": "@fgv/ts-extras-webauthn!verifyRegistrationResponse:function(1)",
401
- "docComment": "/**\n * Result-integration wrapper around `@simplewebauthn/server`'s `verifyRegistrationResponse`. Returns `Promise<Result<VerifiedRegistrationResponse>>`; upstream errors are captured as `Failure` with the original message.\n *\n * @see\n *\n * https://simplewebauthn.dev/docs/packages/server\n *\n * @public\n */\n",
402
- "excerptTokens": [
403
- {
404
- "kind": "Content",
405
- "text": "export declare function verifyRegistrationResponse(options: "
406
- },
407
- {
408
- "kind": "Reference",
409
- "text": "VerifyRegistrationResponseOpts",
410
- "canonicalReference": "@simplewebauthn/server!VerifyRegistrationResponseOpts:type"
411
- },
412
- {
413
- "kind": "Content",
414
- "text": "): "
415
- },
416
- {
417
- "kind": "Reference",
418
- "text": "Promise",
419
- "canonicalReference": "!Promise:interface"
420
- },
421
- {
422
- "kind": "Content",
423
- "text": "<"
424
- },
425
- {
426
- "kind": "Reference",
427
- "text": "Result",
428
- "canonicalReference": "@fgv/ts-utils!Result:type"
429
- },
430
- {
431
- "kind": "Content",
432
- "text": "<"
433
- },
434
- {
435
- "kind": "Reference",
436
- "text": "VerifiedRegistrationResponse",
437
- "canonicalReference": "@simplewebauthn/server!VerifiedRegistrationResponse:type"
438
- },
439
- {
440
- "kind": "Content",
441
- "text": ">>"
442
- },
443
- {
444
- "kind": "Content",
445
- "text": ";"
446
- }
447
- ],
448
- "fileUrlPath": "src/index.ts",
449
- "returnTypeTokenRange": {
450
- "startIndex": 3,
451
- "endIndex": 9
452
- },
453
- "releaseTag": "Public",
454
- "overloadIndex": 1,
455
- "parameters": [
456
- {
457
- "parameterName": "options",
458
- "parameterTypeTokenRange": {
459
- "startIndex": 1,
460
- "endIndex": 2
461
- },
462
- "isOptional": false
463
- }
464
- ],
465
- "name": "verifyRegistrationResponse"
466
- }
467
- ]
468
- }
469
- ]
470
- }
@@ -1,56 +0,0 @@
1
- ## API Report File for "@fgv/ts-extras-webauthn"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import type { AuthenticationResponseJSON } from '@simplewebauthn/server';
8
- import type { GenerateAuthenticationOptionsOpts } from '@simplewebauthn/server';
9
- import type { GenerateRegistrationOptionsOpts } from '@simplewebauthn/server';
10
- import type { PublicKeyCredentialCreationOptionsJSON as PublicKeyCredentialCreationOptionsJSON_2 } from '@simplewebauthn/server';
11
- import type { PublicKeyCredentialRequestOptionsJSON as PublicKeyCredentialRequestOptionsJSON_2 } from '@simplewebauthn/server';
12
- import type { RegistrationResponseJSON } from '@simplewebauthn/server';
13
- import { Result } from '@fgv/ts-utils';
14
- import type { VerifiedAuthenticationResponse } from '@simplewebauthn/server';
15
- import type { VerifiedRegistrationResponse } from '@simplewebauthn/server';
16
- import type { VerifyAuthenticationResponseOpts } from '@simplewebauthn/server';
17
- import type { VerifyRegistrationResponseOpts } from '@simplewebauthn/server';
18
- import type { WebAuthnCredential } from '@simplewebauthn/server';
19
-
20
- export { AuthenticationResponseJSON }
21
-
22
- // @public
23
- export function generateAuthenticationOptions(options: GenerateAuthenticationOptionsOpts): Promise<Result<PublicKeyCredentialRequestOptionsJSON_2>>;
24
-
25
- export { GenerateAuthenticationOptionsOpts }
26
-
27
- // @public
28
- export function generateRegistrationOptions(options: GenerateRegistrationOptionsOpts): Promise<Result<PublicKeyCredentialCreationOptionsJSON_2>>;
29
-
30
- export { GenerateRegistrationOptionsOpts }
31
-
32
- export { PublicKeyCredentialCreationOptionsJSON_2 as PublicKeyCredentialCreationOptionsJSON }
33
-
34
- export { PublicKeyCredentialRequestOptionsJSON_2 as PublicKeyCredentialRequestOptionsJSON }
35
-
36
- export { RegistrationResponseJSON }
37
-
38
- export { VerifiedAuthenticationResponse }
39
-
40
- export { VerifiedRegistrationResponse }
41
-
42
- // @public
43
- export function verifyAuthenticationResponse(options: VerifyAuthenticationResponseOpts): Promise<Result<VerifiedAuthenticationResponse>>;
44
-
45
- export { VerifyAuthenticationResponseOpts }
46
-
47
- // @public
48
- export function verifyRegistrationResponse(options: VerifyRegistrationResponseOpts): Promise<Result<VerifiedRegistrationResponse>>;
49
-
50
- export { VerifyRegistrationResponseOpts }
51
-
52
- export { WebAuthnCredential }
53
-
54
- // (No @packageDocumentation comment for this package)
55
-
56
- ```
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "./node_modules/@rushstack/heft-node-rig/profiles/default/tsconfig-base.json",
3
- "compilerOptions": {
4
- "types": ["heft-jest", "node"],
5
- "lib": ["es2018", "DOM"]
6
- }
7
- }