@ai-matrx/vault 0.1.9 → 0.1.10
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/CHANGELOG.md +17 -1
- package/dist/index.cjs +240 -263
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +222 -245
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -228,8 +228,13 @@ interface IdentityAccount {
|
|
|
228
228
|
}
|
|
229
229
|
interface VaultIdentity {
|
|
230
230
|
account(): Promise<IdentityAccount>;
|
|
231
|
-
/**
|
|
232
|
-
|
|
231
|
+
/**
|
|
232
|
+
* Confirms with that provider. On the web it leaves the page and comes back to the same address
|
|
233
|
+
* (resolves with nothing: the page is going away). A host that confirms IN PLACE (the desktop's
|
|
234
|
+
* Touch ID, a browser sign-in it waits for) resolves `"confirmed"`, and the gate closes and runs
|
|
235
|
+
* the refused call again — one confirmation, never a second click.
|
|
236
|
+
*/
|
|
237
|
+
withProvider(provider: string): Promise<void | "confirmed">;
|
|
233
238
|
withPassword(password: string): Promise<void>;
|
|
234
239
|
sendEmailCode(): Promise<void>;
|
|
235
240
|
withEmailCode(code: string): Promise<void>;
|
package/dist/index.d.ts
CHANGED
|
@@ -228,8 +228,13 @@ interface IdentityAccount {
|
|
|
228
228
|
}
|
|
229
229
|
interface VaultIdentity {
|
|
230
230
|
account(): Promise<IdentityAccount>;
|
|
231
|
-
/**
|
|
232
|
-
|
|
231
|
+
/**
|
|
232
|
+
* Confirms with that provider. On the web it leaves the page and comes back to the same address
|
|
233
|
+
* (resolves with nothing: the page is going away). A host that confirms IN PLACE (the desktop's
|
|
234
|
+
* Touch ID, a browser sign-in it waits for) resolves `"confirmed"`, and the gate closes and runs
|
|
235
|
+
* the refused call again — one confirmation, never a second click.
|
|
236
|
+
*/
|
|
237
|
+
withProvider(provider: string): Promise<void | "confirmed">;
|
|
233
238
|
withPassword(password: string): Promise<void>;
|
|
234
239
|
sendEmailCode(): Promise<void>;
|
|
235
240
|
withEmailCode(code: string): Promise<void>;
|