@saasquatch/component-boilerplate 1.6.7 → 1.6.8

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 @@
1
+ export declare function useQueryToken(): string;
@@ -0,0 +1,3 @@
1
+ import { VerificationContext } from "@saasquatch/component-environment";
2
+ export declare function useVerificationContext(): VerificationContext | undefined;
3
+ export declare function useVerificationToken(): string;
@@ -0,0 +1,3 @@
1
+ import { VerificationContext } from "@saasquatch/component-environment";
2
+ export declare function useVerificationContext(): VerificationContext | undefined;
3
+ export declare function useVerificationToken(): string;
@@ -0,0 +1,16 @@
1
+ import { BaseQueryData } from "../graphql/useBaseQuery";
2
+ interface AuthenticateWithGoogle {
3
+ authenticateManagedIdentityWithGoogle: {
4
+ token: string;
5
+ email: string;
6
+ emailVerified: boolean;
7
+ sessionData: Record<string, any>;
8
+ };
9
+ }
10
+ export declare function useAuthenticateWithGoogle(): [
11
+ (variables: {
12
+ idToken: string;
13
+ }) => Promise<AuthenticateWithGoogle | Error>,
14
+ BaseQueryData<AuthenticateWithGoogle>
15
+ ];
16
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saasquatch/component-boilerplate",
3
- "version": "1.6.7",
3
+ "version": "1.6.8",
4
4
  "private": false,
5
5
  "description": "Boilerplate for writing web components for the SaaSquatch widget environments",
6
6
  "source": "src/index.ts",
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@formatjs/intl": "^1.8.2",
43
- "@saasquatch/component-environment": "^1.0.8",
43
+ "@saasquatch/component-environment": "^1.0.9",
44
44
  "@saasquatch/dom-context-hooks": "^1.0.5",
45
45
  "@saasquatch/stencil-hooks": "^2.0.2",
46
46
  "@saasquatch/universal-hooks": "^1.0.0",