@saasquatch/component-boilerplate 1.5.2 → 1.5.3-1
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.
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseQueryData } from "../graphql/useBaseQuery";
|
|
2
|
+
interface UpsertInstantAccessUserResult {
|
|
3
|
+
upsertInstantAccessUser: {
|
|
4
|
+
token: string;
|
|
5
|
+
user: {
|
|
6
|
+
id: string;
|
|
7
|
+
accountId: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function useDemoUpsertInstantAccessUserMutation(): [
|
|
12
|
+
(e: unknown) => Promise<UpsertInstantAccessUserResult | Error>,
|
|
13
|
+
BaseQueryData<UpsertInstantAccessUserResult>
|
|
14
|
+
];
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseQueryData } from "../graphql/useBaseQuery";
|
|
2
|
+
interface UpsertInstantAccessUserResult {
|
|
3
|
+
upsertInstantAccessUser: {
|
|
4
|
+
token: string;
|
|
5
|
+
user: {
|
|
6
|
+
id: string;
|
|
7
|
+
accountId: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare function useUpsertInstantAccessUserMutation(): [
|
|
12
|
+
(e: unknown) => Promise<UpsertInstantAccessUserResult | Error>,
|
|
13
|
+
BaseQueryData<UpsertInstantAccessUserResult>
|
|
14
|
+
];
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
interface AuthenticateWithPasswordlessVariables {
|
|
2
|
+
email: string;
|
|
3
|
+
firstName: string;
|
|
4
|
+
lastName: string;
|
|
5
|
+
locale: string;
|
|
6
|
+
countryCode: string;
|
|
7
|
+
cookies: string;
|
|
8
|
+
}
|
|
9
|
+
interface AuthenticateWithPasswordlessResult {
|
|
10
|
+
authenticateManagedIdentityWithPasswordless: {
|
|
11
|
+
token: string;
|
|
12
|
+
email: string;
|
|
13
|
+
emailVerified: boolean;
|
|
14
|
+
sessionData: Record<string, any>;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare function useAuthenticateWithPasswordlessMutation(): (((variables: AuthenticateWithPasswordlessVariables) => Promise<AuthenticateWithPasswordlessResult | Error>) | {
|
|
18
|
+
loading: boolean;
|
|
19
|
+
data: AuthenticateWithPasswordlessResult;
|
|
20
|
+
errors: import("../graphql/useBaseQuery").GraphQlRequestError<AuthenticateWithPasswordlessResult>;
|
|
21
|
+
})[];
|
|
22
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/component-boilerplate",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3-1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Boilerplate for writing web components for the SaaSquatch widget environments",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@formatjs/intl": "^1.8.2",
|
|
44
|
-
"@saasquatch/component-environment": "
|
|
44
|
+
"@saasquatch/component-environment": "1.0.4-1",
|
|
45
45
|
"@saasquatch/dom-context-hooks": "^1.0.0",
|
|
46
46
|
"@saasquatch/universal-hooks": "^1.0.0",
|
|
47
47
|
"@wry/equality": "^0.5.2",
|