@plasmicapp/react-web 0.2.295 → 0.2.296

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.
Files changed (2) hide show
  1. package/dist/all.d.ts +4 -2
  2. package/package.json +9 -9
package/dist/all.d.ts CHANGED
@@ -12334,7 +12334,9 @@ type Queries = {
12334
12334
  };
12335
12335
  declare function createUseScreenVariants(isMulti: boolean, screenQueries: Queries): () => string | string[] | undefined;
12336
12336
 
12337
- interface PlasmicDataSourceContextValue {
12337
+ declare const PlasmicDataSourceContextProvider: React__default.Provider<PlasmicDataSourceContextValue | undefined>;
12338
+
12339
+ declare interface PlasmicDataSourceContextValue {
12338
12340
  userAuthToken?: string | null;
12339
12341
  isUserLoading?: boolean;
12340
12342
  authRedirectUri?: string;
@@ -12347,6 +12349,7 @@ interface PlasmicDataSourceContextValue {
12347
12349
  roleNames: string[];
12348
12350
  } | null;
12349
12351
  }
12352
+
12350
12353
  declare function useCurrentUser(): {
12351
12354
  email: string;
12352
12355
  properties: Record<string, unknown> | null;
@@ -12357,7 +12360,6 @@ declare function useCurrentUser(): {
12357
12360
  } | {
12358
12361
  isLoggedIn: boolean;
12359
12362
  };
12360
- declare const PlasmicDataSourceContextProvider: React__default.Provider<PlasmicDataSourceContextValue | undefined>;
12361
12363
 
12362
12364
  /**
12363
12365
  * Returns whether the component is currently being server side rendered or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicapp/react-web",
3
- "version": "0.2.295",
3
+ "version": "0.2.296",
4
4
  "description": "plasmic library for rendering in the presentational style",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
@@ -86,13 +86,13 @@
86
86
  "test-storybook": "test-storybook"
87
87
  },
88
88
  "dependencies": {
89
- "@plasmicapp/auth-react": "0.0.17",
90
- "@plasmicapp/data-sources": "0.1.136",
91
- "@plasmicapp/data-sources-context": "0.1.18",
92
- "@plasmicapp/host": "1.0.178",
93
- "@plasmicapp/loader-splits": "1.0.47",
94
- "@plasmicapp/prepass": "1.0.11",
95
- "@plasmicapp/query": "0.1.75",
89
+ "@plasmicapp/auth-react": "0.0.18",
90
+ "@plasmicapp/data-sources": "0.1.137",
91
+ "@plasmicapp/data-sources-context": "0.1.19",
92
+ "@plasmicapp/host": "1.0.179",
93
+ "@plasmicapp/loader-splits": "1.0.48",
94
+ "@plasmicapp/prepass": "1.0.12",
95
+ "@plasmicapp/query": "0.1.76",
96
96
  "@react-aria/checkbox": "^3.11.2",
97
97
  "@react-aria/focus": "^3.14.3",
98
98
  "@react-aria/interactions": "^3.19.1",
@@ -157,5 +157,5 @@
157
157
  "react": ">=16.8.0",
158
158
  "react-dom": ">=16.8.0"
159
159
  },
160
- "gitHead": "84f8787a09fb118ecb011b37bcc313454a741355"
160
+ "gitHead": "48a2877c3dc093d101508fcdde2fd213055fdab9"
161
161
  }