@uniformdev/canvas-next-rsc-client 19.196.1-alpha.2 → 19.196.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.
package/dist/index.d.mts CHANGED
@@ -40,11 +40,10 @@ declare const ClientContextUpdate: ({ path }: {
40
40
  path: string;
41
41
  }) => react_jsx_runtime.JSX.Element;
42
42
 
43
- type ContextUpdateTransferProps = {
43
+ declare const ContextUpdateTransferClient: ({ update, ts, }: {
44
44
  update: Partial<AppDirectoryContextState>;
45
45
  ts: number;
46
- };
47
- declare const ContextUpdateTransferClient: React.FC<ContextUpdateTransferProps>;
46
+ }) => null;
48
47
 
49
48
  declare const DefaultUniformClientContext: ClientContextComponent;
50
49
 
@@ -92,4 +91,4 @@ declare const useUniformContext: () => {
92
91
  context: AppDirectoryContext | undefined;
93
92
  };
94
93
 
95
- export { type ClientContextComponent, type ClientContextComponentProps, ClientContextPersonalizationTransfer, ClientContextTestTransfer, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, type ContextUpdateTransferProps, type CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, type PersonalizeClientProps, TestClient, UniformScript, VisibilityRulesWrapperClient, createClientUniformContext, useInitUniformContext, useQuirks, useScores, useUniformContext };
94
+ export { type ClientContextComponent, type ClientContextComponentProps, ClientContextPersonalizationTransfer, ClientContextTestTransfer, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, type CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, type PersonalizeClientProps, TestClient, UniformScript, VisibilityRulesWrapperClient, createClientUniformContext, useInitUniformContext, useQuirks, useScores, useUniformContext };
package/dist/index.d.ts CHANGED
@@ -40,11 +40,10 @@ declare const ClientContextUpdate: ({ path }: {
40
40
  path: string;
41
41
  }) => react_jsx_runtime.JSX.Element;
42
42
 
43
- type ContextUpdateTransferProps = {
43
+ declare const ContextUpdateTransferClient: ({ update, ts, }: {
44
44
  update: Partial<AppDirectoryContextState>;
45
45
  ts: number;
46
- };
47
- declare const ContextUpdateTransferClient: React.FC<ContextUpdateTransferProps>;
46
+ }) => null;
48
47
 
49
48
  declare const DefaultUniformClientContext: ClientContextComponent;
50
49
 
@@ -92,4 +91,4 @@ declare const useUniformContext: () => {
92
91
  context: AppDirectoryContext | undefined;
93
92
  };
94
93
 
95
- export { type ClientContextComponent, type ClientContextComponentProps, ClientContextPersonalizationTransfer, ClientContextTestTransfer, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, type ContextUpdateTransferProps, type CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, type PersonalizeClientProps, TestClient, UniformScript, VisibilityRulesWrapperClient, createClientUniformContext, useInitUniformContext, useQuirks, useScores, useUniformContext };
94
+ export { type ClientContextComponent, type ClientContextComponentProps, ClientContextPersonalizationTransfer, ClientContextTestTransfer, ClientContextUpdate, ClientContextualEditingComponentWrapper, ContextUpdateTransferClient, type CreateClientUniformContextOptions, DefaultUniformClientContext, PersonalizeClient, type PersonalizeClientProps, TestClient, UniformScript, VisibilityRulesWrapperClient, createClientUniformContext, useInitUniformContext, useQuirks, useScores, useUniformContext };
package/dist/index.esm.js CHANGED
@@ -321,7 +321,10 @@ var ClientContextUpdateInner = ({ path }) => {
321
321
 
322
322
  // src/components/ContextUpdateTransferClient.tsx
323
323
  import { useEffect as useEffect5, useState as useState4 } from "react";
324
- var ContextUpdateTransferClient = ({ update, ts }) => {
324
+ var ContextUpdateTransferClient = ({
325
+ update,
326
+ ts
327
+ }) => {
325
328
  const { context } = useUniformContext();
326
329
  const [lastLogged, setLastLogged] = useState4(void 0);
327
330
  useEffect5(() => {
package/dist/index.js CHANGED
@@ -346,7 +346,10 @@ var ClientContextUpdateInner = ({ path }) => {
346
346
 
347
347
  // src/components/ContextUpdateTransferClient.tsx
348
348
  var import_react6 = require("react");
349
- var ContextUpdateTransferClient = ({ update, ts }) => {
349
+ var ContextUpdateTransferClient = ({
350
+ update,
351
+ ts
352
+ }) => {
350
353
  const { context } = useUniformContext();
351
354
  const [lastLogged, setLastLogged] = (0, import_react6.useState)(void 0);
352
355
  (0, import_react6.useEffect)(() => {
package/dist/index.mjs CHANGED
@@ -321,7 +321,10 @@ var ClientContextUpdateInner = ({ path }) => {
321
321
 
322
322
  // src/components/ContextUpdateTransferClient.tsx
323
323
  import { useEffect as useEffect5, useState as useState4 } from "react";
324
- var ContextUpdateTransferClient = ({ update, ts }) => {
324
+ var ContextUpdateTransferClient = ({
325
+ update,
326
+ ts
327
+ }) => {
325
328
  const { context } = useUniformContext();
326
329
  const [lastLogged, setLastLogged] = useState4(void 0);
327
330
  useEffect5(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next-rsc-client",
3
- "version": "19.196.1-alpha.2+b5b5fd8fb8",
3
+ "version": "19.196.1",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "scripts": {
6
6
  "build": "tsup",
@@ -24,29 +24,28 @@
24
24
  "/dist"
25
25
  ],
26
26
  "devDependencies": {
27
- "@types/node": "20.16.14",
28
- "@types/react": "18.3.11",
27
+ "@types/node": "20.10.6",
28
+ "@types/react": "18.3.3",
29
29
  "eslint": "9.9.0",
30
- "next": "15.0.0",
31
- "react": "19.0.0-rc-65a56d0e-20241020",
32
- "react-dom": "19.0.0-rc-65a56d0e-20241020",
33
- "typescript": "5.6.3"
30
+ "next": "^14.0.0",
31
+ "react": "18.3.1",
32
+ "react-dom": "18.3.1"
34
33
  },
35
34
  "dependencies": {
36
- "@uniformdev/canvas": "19.196.1-alpha.2+b5b5fd8fb8",
37
- "@uniformdev/canvas-next-rsc-shared": "^19.196.1-alpha.2+b5b5fd8fb8",
38
- "@uniformdev/canvas-react": "^19.196.1-alpha.2+b5b5fd8fb8"
35
+ "@uniformdev/canvas": "19.196.1",
36
+ "@uniformdev/canvas-next-rsc-shared": "^19.196.1",
37
+ "@uniformdev/canvas-react": "^19.196.1"
39
38
  },
40
39
  "engines": {
41
- "node": ">=18.18.0"
40
+ "node": ">=16.14.0"
42
41
  },
43
42
  "peerDependencies": {
44
- "next": ">=15.0.0",
45
- "react": "^18.2.0 || 19.0.0-rc-65a56d0e-20241020",
46
- "react-dom": "^18.2.0 || 19.0.0-rc-65a56d0e-20241020"
43
+ "next": ">=13.4.7",
44
+ "react": ">=18.2",
45
+ "react-dom": ">=18.2"
47
46
  },
48
47
  "publishConfig": {
49
48
  "access": "public"
50
49
  },
51
- "gitHead": "b5b5fd8fb8c08700c600b0761efd6723cee2413f"
50
+ "gitHead": "2956ed44925708e9c670de8f8fa8227208f03584"
52
51
  }