@uniformdev/canvas-next-rsc-client 20.69.1-alpha.10 → 20.70.1-alpha.10
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 +4 -5
- package/dist/index.d.ts +4 -5
- package/dist/index.js +3 -3
- package/package.json +10 -10
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ManifestV2, PersonalizationEvent, TestEvent, CompositionMetadata, Quirks, ScoreVector } from '@uniformdev/context';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
4
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
4
|
import { PureContextualEditingComponentWrapperProps } from '@uniformdev/canvas-react/core';
|
|
6
5
|
import * as _uniformdev_canvas_next_rsc_shared from '@uniformdev/canvas-next-rsc-shared';
|
|
7
6
|
import { AppDirectoryContextState, ComponentProps, PersonalizeProps, TestProps, CreateUniformContextOptions, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
@@ -38,12 +37,12 @@ declare const ClientContextTestTransfer: ({ event, ts }: {
|
|
|
38
37
|
ts: number;
|
|
39
38
|
}) => null;
|
|
40
39
|
|
|
41
|
-
declare const ClientContextualEditingComponentWrapper: (props: PropsWithChildren<PureContextualEditingComponentWrapperProps>) =>
|
|
40
|
+
declare const ClientContextualEditingComponentWrapper: (props: PropsWithChildren<PureContextualEditingComponentWrapperProps>) => react.JSX.Element;
|
|
42
41
|
|
|
43
42
|
declare const ClientContextUpdate: ({ path, compositionMetadata, }: {
|
|
44
43
|
path: string;
|
|
45
44
|
compositionMetadata: CompositionMetadata;
|
|
46
|
-
}) =>
|
|
45
|
+
}) => react.JSX.Element;
|
|
47
46
|
|
|
48
47
|
declare const ContextUpdateTransferClient: ({ update, ts, }: {
|
|
49
48
|
update: Partial<AppDirectoryContextState>;
|
|
@@ -59,12 +58,12 @@ declare const PersonalizeClient: (props: PersonalizeClientProps) => react.Functi
|
|
|
59
58
|
|
|
60
59
|
declare const TestClient: (props: ComponentProps<TestProps>) => react.FunctionComponentElement<react.FragmentProps> | null;
|
|
61
60
|
|
|
62
|
-
declare const UniformScript: () =>
|
|
61
|
+
declare const UniformScript: () => react.JSX.Element;
|
|
63
62
|
|
|
64
63
|
declare const VisibilityRulesWrapperClient: ({ parameter, initialIsVisible, children, }: PropsWithChildren<{
|
|
65
64
|
parameter: VisibilityParameterValue;
|
|
66
65
|
initialIsVisible: boolean | null;
|
|
67
|
-
}>) =>
|
|
66
|
+
}>) => react.JSX.Element | null;
|
|
68
67
|
|
|
69
68
|
type CreateClientUniformContextOptions = Omit<CreateUniformContextOptions, 'serverCookieValue'>;
|
|
70
69
|
declare const createClientUniformContext: (options: CreateClientUniformContextOptions) => _uniformdev_canvas_next_rsc_shared.AppDirectoryContextInstance;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ManifestV2, PersonalizationEvent, TestEvent, CompositionMetadata, Quirks, ScoreVector } from '@uniformdev/context';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode, PropsWithChildren } from 'react';
|
|
4
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
4
|
import { PureContextualEditingComponentWrapperProps } from '@uniformdev/canvas-react/core';
|
|
6
5
|
import * as _uniformdev_canvas_next_rsc_shared from '@uniformdev/canvas-next-rsc-shared';
|
|
7
6
|
import { AppDirectoryContextState, ComponentProps, PersonalizeProps, TestProps, CreateUniformContextOptions, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
@@ -38,12 +37,12 @@ declare const ClientContextTestTransfer: ({ event, ts }: {
|
|
|
38
37
|
ts: number;
|
|
39
38
|
}) => null;
|
|
40
39
|
|
|
41
|
-
declare const ClientContextualEditingComponentWrapper: (props: PropsWithChildren<PureContextualEditingComponentWrapperProps>) =>
|
|
40
|
+
declare const ClientContextualEditingComponentWrapper: (props: PropsWithChildren<PureContextualEditingComponentWrapperProps>) => react.JSX.Element;
|
|
42
41
|
|
|
43
42
|
declare const ClientContextUpdate: ({ path, compositionMetadata, }: {
|
|
44
43
|
path: string;
|
|
45
44
|
compositionMetadata: CompositionMetadata;
|
|
46
|
-
}) =>
|
|
45
|
+
}) => react.JSX.Element;
|
|
47
46
|
|
|
48
47
|
declare const ContextUpdateTransferClient: ({ update, ts, }: {
|
|
49
48
|
update: Partial<AppDirectoryContextState>;
|
|
@@ -59,12 +58,12 @@ declare const PersonalizeClient: (props: PersonalizeClientProps) => react.Functi
|
|
|
59
58
|
|
|
60
59
|
declare const TestClient: (props: ComponentProps<TestProps>) => react.FunctionComponentElement<react.FragmentProps> | null;
|
|
61
60
|
|
|
62
|
-
declare const UniformScript: () =>
|
|
61
|
+
declare const UniformScript: () => react.JSX.Element;
|
|
63
62
|
|
|
64
63
|
declare const VisibilityRulesWrapperClient: ({ parameter, initialIsVisible, children, }: PropsWithChildren<{
|
|
65
64
|
parameter: VisibilityParameterValue;
|
|
66
65
|
initialIsVisible: boolean | null;
|
|
67
|
-
}>) =>
|
|
66
|
+
}>) => react.JSX.Element | null;
|
|
68
67
|
|
|
69
68
|
type CreateClientUniformContextOptions = Omit<CreateUniformContextOptions, 'serverCookieValue'>;
|
|
70
69
|
declare const createClientUniformContext: (options: CreateClientUniformContextOptions) => _uniformdev_canvas_next_rsc_shared.AppDirectoryContextInstance;
|
package/dist/index.js
CHANGED
|
@@ -221,8 +221,8 @@ var require_rfdc = __commonJS({
|
|
|
221
221
|
});
|
|
222
222
|
|
|
223
223
|
// src/index.ts
|
|
224
|
-
var
|
|
225
|
-
__export(
|
|
224
|
+
var index_exports = {};
|
|
225
|
+
__export(index_exports, {
|
|
226
226
|
ClientContextPersonalizationTransfer: () => ClientContextPersonalizationTransfer,
|
|
227
227
|
ClientContextTestTransfer: () => ClientContextTestTransfer,
|
|
228
228
|
ClientContextUpdate: () => ClientContextUpdate,
|
|
@@ -240,7 +240,7 @@ __export(src_exports, {
|
|
|
240
240
|
useUniformContext: () => useUniformContext,
|
|
241
241
|
useUniformContextualEditingState: () => useUniformContextualEditingState
|
|
242
242
|
});
|
|
243
|
-
module.exports = __toCommonJS(
|
|
243
|
+
module.exports = __toCommonJS(index_exports);
|
|
244
244
|
|
|
245
245
|
// src/components/ClientContextPersonalizationTransfer.tsx
|
|
246
246
|
var import_react2 = require("react");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc-client",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.70.1-alpha.10+6e0ecaf156",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
],
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/js-cookie": "3.0.6",
|
|
27
|
-
"@types/node": "
|
|
28
|
-
"@types/react": "19.2.
|
|
29
|
-
"next": "15.5.
|
|
27
|
+
"@types/node": "26.0.0",
|
|
28
|
+
"@types/react": "19.2.17",
|
|
29
|
+
"next": "15.5.19",
|
|
30
30
|
"react": "19.2.1",
|
|
31
31
|
"react-dom": "19.2.1",
|
|
32
|
-
"typescript": "
|
|
32
|
+
"typescript": "6.0.3"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@uniformdev/canvas": "20.
|
|
36
|
-
"@uniformdev/canvas-next-rsc-shared": "20.
|
|
37
|
-
"@uniformdev/canvas-react": "20.
|
|
38
|
-
"js-cookie": "3.0.
|
|
35
|
+
"@uniformdev/canvas": "20.70.1-alpha.10+6e0ecaf156",
|
|
36
|
+
"@uniformdev/canvas-next-rsc-shared": "20.70.1-alpha.10+6e0ecaf156",
|
|
37
|
+
"@uniformdev/canvas-react": "20.70.1-alpha.10+6e0ecaf156",
|
|
38
|
+
"js-cookie": "3.0.8"
|
|
39
39
|
},
|
|
40
40
|
"engines": {
|
|
41
41
|
"node": "^18.18.0 || ^19.8.0 || >= 20.0.0"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "6e0ecaf15691da45ddab84cc3ca11c4d048bbbdd"
|
|
52
52
|
}
|