@uniformdev/canvas-next-rsc-client 19.196.0 → 19.196.1-alpha.2

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