@fgv/ts-web-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.
- package/LICENSE +21 -0
- package/dist/index.js.map +1 -1
- package/dist/ts-web-extras-webauthn.d.ts +6 -0
- package/lib/index.d.ts +9 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +17 -7
- package/.rush/temp/7deccd0342f0613632cf5cdf8aad782bd8640687.tar.log +0 -52
- package/.rush/temp/chunked-rush-logs/ts-web-extras-webauthn.build.chunks.jsonl +0 -27
- package/.rush/temp/operation/build/all.log +0 -27
- package/.rush/temp/operation/build/log-chunks.jsonl +0 -27
- package/.rush/temp/operation/build/state.json +0 -3
- package/.rush/temp/shrinkwrap-deps.json +0 -681
- package/config/api-extractor.json +0 -38
- package/config/jest.config.json +0 -14
- package/config/rig.json +0 -10
- package/dist/test/unit/webauthn.test.js +0 -55
- package/dist/test/unit/webauthn.test.js.map +0 -1
- package/eslint.config.js +0 -16
- package/etc/ts-web-extras-webauthn.api.md +0 -29
- package/lib/test/unit/webauthn.test.d.ts +0 -2
- package/lib/test/unit/webauthn.test.d.ts.map +0 -1
- package/lib/test/unit/webauthn.test.js +0 -90
- package/lib/test/unit/webauthn.test.js.map +0 -1
- package/rush-logs/ts-web-extras-webauthn.build.cache.log +0 -3
- package/rush-logs/ts-web-extras-webauthn.build.log +0 -27
- package/src/index.ts +0 -44
- package/src/test/unit/webauthn.test.ts +0 -72
- package/temp/build/lint/_eslint-5eVG3S6w.json +0 -14
- package/temp/build/typescript/ts_8nwakTlr.json +0 -1
- package/temp/coverage/base.css +0 -224
- package/temp/coverage/block-navigation.js +0 -87
- package/temp/coverage/favicon.png +0 -0
- package/temp/coverage/index.html +0 -116
- package/temp/coverage/index.ts.html +0 -217
- package/temp/coverage/lcov-report/base.css +0 -224
- package/temp/coverage/lcov-report/block-navigation.js +0 -87
- package/temp/coverage/lcov-report/favicon.png +0 -0
- package/temp/coverage/lcov-report/index.html +0 -116
- package/temp/coverage/lcov-report/index.ts.html +0 -217
- package/temp/coverage/lcov-report/prettify.css +0 -1
- package/temp/coverage/lcov-report/prettify.js +0 -2
- package/temp/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/temp/coverage/lcov-report/sorter.js +0 -210
- package/temp/coverage/lcov.info +0 -61
- package/temp/coverage/prettify.css +0 -1
- package/temp/coverage/prettify.js +0 -2
- package/temp/coverage/sort-arrow-sprite.png +0 -0
- package/temp/coverage/sorter.js +0 -210
- package/temp/test/jest/haste-map-cb73e455090cee755bd1216e62c3411e-dd1700f1a674257780709faabd59fed2-201bc87eb61075d812fbe7c5abccbcfc +0 -0
- package/temp/test/jest/jest-transform-cache-cb73e455090cee755bd1216e62c3411e-79ef2876fae7ca75eedb2aa53dc48338/be/package_bed1ac12715372b3234f362fb4d234e8 +0 -53
- package/temp/test/jest/perf-cache-cb73e455090cee755bd1216e62c3411e-da39a3ee5e6b4b0d3255bfef95601890 +0 -1
- package/temp/ts-web-extras-webauthn.api.json +0 -332
- package/temp/ts-web-extras-webauthn.api.md +0 -29
- package/tsconfig.json +0 -7
|
@@ -1,332 +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-web-extras-webauthn!",
|
|
181
|
-
"docComment": "",
|
|
182
|
-
"name": "@fgv/ts-web-extras-webauthn",
|
|
183
|
-
"preserveMemberOrder": false,
|
|
184
|
-
"members": [
|
|
185
|
-
{
|
|
186
|
-
"kind": "EntryPoint",
|
|
187
|
-
"canonicalReference": "@fgv/ts-web-extras-webauthn!",
|
|
188
|
-
"name": "",
|
|
189
|
-
"preserveMemberOrder": false,
|
|
190
|
-
"members": [
|
|
191
|
-
{
|
|
192
|
-
"kind": "Function",
|
|
193
|
-
"canonicalReference": "@fgv/ts-web-extras-webauthn!startAuthentication:function(1)",
|
|
194
|
-
"docComment": "/**\n * Result-integration wrapper around `@simplewebauthn/browser`'s `startAuthentication`. Returns `Promise<Result<AuthenticationResponseJSON>>`; upstream errors are captured as `Failure` with the original message.\n *\n * @see\n *\n * https://simplewebauthn.dev/docs/packages/browser\n *\n * @public\n */\n",
|
|
195
|
-
"excerptTokens": [
|
|
196
|
-
{
|
|
197
|
-
"kind": "Content",
|
|
198
|
-
"text": "export declare function startAuthentication(options: "
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"kind": "Reference",
|
|
202
|
-
"text": "StartAuthenticationOpts",
|
|
203
|
-
"canonicalReference": "@simplewebauthn/browser!StartAuthenticationOpts: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": "AuthenticationResponseJSON",
|
|
230
|
-
"canonicalReference": "@simplewebauthn/browser!AuthenticationResponseJSON: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": "startAuthentication"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"kind": "Function",
|
|
262
|
-
"canonicalReference": "@fgv/ts-web-extras-webauthn!startRegistration:function(1)",
|
|
263
|
-
"docComment": "/**\n * Result-integration wrapper around `@simplewebauthn/browser`'s `startRegistration`. Returns `Promise<Result<RegistrationResponseJSON>>`; upstream errors are captured as `Failure` with the original message.\n *\n * @see\n *\n * https://simplewebauthn.dev/docs/packages/browser\n *\n * @public\n */\n",
|
|
264
|
-
"excerptTokens": [
|
|
265
|
-
{
|
|
266
|
-
"kind": "Content",
|
|
267
|
-
"text": "export declare function startRegistration(options: "
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"kind": "Reference",
|
|
271
|
-
"text": "StartRegistrationOpts",
|
|
272
|
-
"canonicalReference": "@simplewebauthn/browser!StartRegistrationOpts: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": "RegistrationResponseJSON",
|
|
299
|
-
"canonicalReference": "@simplewebauthn/browser!RegistrationResponseJSON: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": "startRegistration"
|
|
328
|
-
}
|
|
329
|
-
]
|
|
330
|
-
}
|
|
331
|
-
]
|
|
332
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
## API Report File for "@fgv/ts-web-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/browser';
|
|
8
|
-
import type { RegistrationResponseJSON } from '@simplewebauthn/browser';
|
|
9
|
-
import { Result } from '@fgv/ts-utils';
|
|
10
|
-
import type { StartAuthenticationOpts } from '@simplewebauthn/browser';
|
|
11
|
-
import type { StartRegistrationOpts } from '@simplewebauthn/browser';
|
|
12
|
-
|
|
13
|
-
export { AuthenticationResponseJSON }
|
|
14
|
-
|
|
15
|
-
export { RegistrationResponseJSON }
|
|
16
|
-
|
|
17
|
-
// @public
|
|
18
|
-
export function startAuthentication(options: StartAuthenticationOpts): Promise<Result<AuthenticationResponseJSON>>;
|
|
19
|
-
|
|
20
|
-
export { StartAuthenticationOpts }
|
|
21
|
-
|
|
22
|
-
// @public
|
|
23
|
-
export function startRegistration(options: StartRegistrationOpts): Promise<Result<RegistrationResponseJSON>>;
|
|
24
|
-
|
|
25
|
-
export { StartRegistrationOpts }
|
|
26
|
-
|
|
27
|
-
// (No @packageDocumentation comment for this package)
|
|
28
|
-
|
|
29
|
-
```
|