@plasmicapp/auth-react 0.0.17 → 0.0.18

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/index.d.ts CHANGED
@@ -1,2 +1,18 @@
1
- export * from '@plasmicapp/auth-api';
2
- export * from './hooks';
1
+ import { PlasmicUser } from '@plasmicapp/auth-api';
2
+
3
+ /**
4
+ * Handles the authentication flow for Plasmic Auth and returns the user and token
5
+ */
6
+ export declare function usePlasmicAuth(opts: {
7
+ host?: string;
8
+ appId?: string;
9
+ }): {
10
+ user: PlasmicUser | null | undefined;
11
+ token: string | null | undefined;
12
+ isUserLoading: boolean | undefined;
13
+ };
14
+
15
+
16
+ export * from "@plasmicapp/auth-api";
17
+
18
+ export { }
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.0.17",
2
+ "version": "0.0.18",
3
3
  "license": "MIT",
4
4
  "types": "./dist/index.d.ts",
5
5
  "main": "./dist/index.js",
@@ -36,14 +36,14 @@
36
36
  }
37
37
  ],
38
38
  "dependencies": {
39
- "@plasmicapp/auth-api": "0.0.14",
39
+ "@plasmicapp/auth-api": "0.0.15",
40
40
  "@plasmicapp/isomorphic-unfetch": "1.0.3",
41
- "@plasmicapp/query": "0.1.75"
41
+ "@plasmicapp/query": "0.1.76"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "1a6ba175f18781f4a27f068d9b519597130be9be",
46
+ "gitHead": "48a2877c3dc093d101508fcdde2fd213055fdab9",
47
47
  "peerDependencies": {
48
48
  "react": ">=16.8.0"
49
49
  }
package/dist/hooks.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { PlasmicUser } from '@plasmicapp/auth-api';
2
- /**
3
- * Handles the authentication flow for Plasmic Auth and returns the user and token
4
- */
5
- export declare function usePlasmicAuth(opts: {
6
- host?: string;
7
- appId?: string;
8
- }): {
9
- user: PlasmicUser | null | undefined;
10
- token: string | null | undefined;
11
- isUserLoading: boolean | undefined;
12
- };