@protobase/client 0.69.0 → 0.69.2
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/dist/account-security.d.ts +6 -1
- package/dist/problem.d.ts +4 -0
- package/package.json +3 -3
|
@@ -42,7 +42,8 @@ export type ConnectedApp = {
|
|
|
42
42
|
/**
|
|
43
43
|
* A connection a workflow plugin declares, which the person connects an account through for their workflows' steps to
|
|
44
44
|
* use: its `<plugin>:<connection>` key, label, the provider and scopes it links with, and their accounts that fit it,
|
|
45
|
-
* each marked when a trigger waits for it to be connected again
|
|
45
|
+
* each marked when a trigger waits for it to be connected again, with the workflows it turned on that use it. Tokens
|
|
46
|
+
* never leave the server.
|
|
46
47
|
*/
|
|
47
48
|
export type WorkflowConnection = {
|
|
48
49
|
key: string;
|
|
@@ -55,6 +56,10 @@ export type WorkflowConnection = {
|
|
|
55
56
|
scopes: string[];
|
|
56
57
|
created_at: string;
|
|
57
58
|
needs_sign_in: boolean;
|
|
59
|
+
used_by: {
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
62
|
+
}[];
|
|
58
63
|
}[];
|
|
59
64
|
};
|
|
60
65
|
/** A new authenticator app: the `otpauth://` URI it scans, and the backup codes that work once each instead of a code. */
|
package/dist/problem.d.ts
CHANGED
|
@@ -36,6 +36,10 @@ export type ProblemDetails = {
|
|
|
36
36
|
};
|
|
37
37
|
/** For `strong-sign-in-required`: how many minutes old the strong sign-in may be. */
|
|
38
38
|
minutes?: number;
|
|
39
|
+
/** For a message that could not go out from the person's own mailbox: why, `not_linked` or `link_expired`. */
|
|
40
|
+
code?: string;
|
|
41
|
+
/** For a mailbox link that expired: its mail provider, such as `gmail`. */
|
|
42
|
+
provider?: string;
|
|
39
43
|
};
|
|
40
44
|
/** A non-2xx response, parsed from `application/problem+json`. */
|
|
41
45
|
export declare class ApiError extends Error {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/client",
|
|
3
|
-
"version": "0.69.
|
|
3
|
+
"version": "0.69.2",
|
|
4
4
|
"description": "Typed fetch client for the Protobase REST API.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@better-auth/passkey": "^1.7.12",
|
|
34
|
-
"@protobase/layout": "0.69.
|
|
35
|
-
"@protobase/schema": "0.69.
|
|
34
|
+
"@protobase/layout": "0.69.2",
|
|
35
|
+
"@protobase/schema": "0.69.2",
|
|
36
36
|
"@simplewebauthn/browser": "^13.3.0",
|
|
37
37
|
"better-auth": "^1.7.12"
|
|
38
38
|
}
|