@uniformdev/canvas-next-rsc-client 19.195.1-alpha.3 → 19.195.1-alpha.4
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 +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.esm.js +4 -0
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ManifestV2, TestEvent,
|
|
1
|
+
import { ManifestV2, TestEvent, Quirks, ScoreVector } from '@uniformdev/context';
|
|
2
2
|
import { PersonalizationEvent } from '@uniformdev/context/*';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { PureContextualEditingComponentWrapperProps } from '@uniformdev/canvas-react/core';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { PropsWithChildren } from 'react';
|
|
7
7
|
import * as _uniformdev_canvas_next_rsc_shared from '@uniformdev/canvas-next-rsc-shared';
|
|
8
|
-
import { AppDirectoryContextState, PersonalizeProps, ComponentProps, TestProps, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
8
|
+
import { AppDirectoryContextState, PersonalizeProps, ComponentProps, TestProps, CreateUniformContextOptions, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
9
9
|
import { VisibilityParameterValue } from '@uniformdev/canvas';
|
|
10
10
|
|
|
11
11
|
type ClientContextComponentProps = {
|
|
@@ -65,7 +65,7 @@ declare const VisibilityRulesWrapperClient: ({ parameter, initialIsVisible, chil
|
|
|
65
65
|
initialIsVisible: boolean | null;
|
|
66
66
|
}>) => react_jsx_runtime.JSX.Element | null;
|
|
67
67
|
|
|
68
|
-
type CreateClientUniformContextOptions = Omit<
|
|
68
|
+
type CreateClientUniformContextOptions = Omit<CreateUniformContextOptions, 'serverCookieValue'>;
|
|
69
69
|
declare const createClientUniformContext: (options: CreateClientUniformContextOptions) => _uniformdev_canvas_next_rsc_shared.AppDirectoryContextInstance;
|
|
70
70
|
|
|
71
71
|
declare const useInitUniformContext: (callback: () => AppDirectoryContext) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ManifestV2, TestEvent,
|
|
1
|
+
import { ManifestV2, TestEvent, Quirks, ScoreVector } from '@uniformdev/context';
|
|
2
2
|
import { PersonalizationEvent } from '@uniformdev/context/*';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
4
|
import { PureContextualEditingComponentWrapperProps } from '@uniformdev/canvas-react/core';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import { PropsWithChildren } from 'react';
|
|
7
7
|
import * as _uniformdev_canvas_next_rsc_shared from '@uniformdev/canvas-next-rsc-shared';
|
|
8
|
-
import { AppDirectoryContextState, PersonalizeProps, ComponentProps, TestProps, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
8
|
+
import { AppDirectoryContextState, PersonalizeProps, ComponentProps, TestProps, CreateUniformContextOptions, AppDirectoryContext } from '@uniformdev/canvas-next-rsc-shared';
|
|
9
9
|
import { VisibilityParameterValue } from '@uniformdev/canvas';
|
|
10
10
|
|
|
11
11
|
type ClientContextComponentProps = {
|
|
@@ -65,7 +65,7 @@ declare const VisibilityRulesWrapperClient: ({ parameter, initialIsVisible, chil
|
|
|
65
65
|
initialIsVisible: boolean | null;
|
|
66
66
|
}>) => react_jsx_runtime.JSX.Element | null;
|
|
67
67
|
|
|
68
|
-
type CreateClientUniformContextOptions = Omit<
|
|
68
|
+
type CreateClientUniformContextOptions = Omit<CreateUniformContextOptions, 'serverCookieValue'>;
|
|
69
69
|
declare const createClientUniformContext: (options: CreateClientUniformContextOptions) => _uniformdev_canvas_next_rsc_shared.AppDirectoryContextInstance;
|
|
70
70
|
|
|
71
71
|
declare const useInitUniformContext: (callback: () => AppDirectoryContext) => void;
|
package/dist/index.esm.js
CHANGED
|
@@ -570,9 +570,13 @@ for (let i = 0; i < alphabet.length; i++) {
|
|
|
570
570
|
s2b[alphabet.charCodeAt(i)] = i;
|
|
571
571
|
}
|
|
572
572
|
var _cookieName;
|
|
573
|
+
var _quirkCookieName;
|
|
573
574
|
var _cookieAttributes;
|
|
575
|
+
var _quirksEnabled;
|
|
574
576
|
_cookieName = /* @__PURE__ */ new WeakMap();
|
|
577
|
+
_quirkCookieName = /* @__PURE__ */ new WeakMap();
|
|
575
578
|
_cookieAttributes = /* @__PURE__ */ new WeakMap();
|
|
579
|
+
_quirksEnabled = /* @__PURE__ */ new WeakMap();
|
|
576
580
|
var _EdgeTransitionDataStore_instances;
|
|
577
581
|
var fetchData_fn;
|
|
578
582
|
_EdgeTransitionDataStore_instances = /* @__PURE__ */ new WeakSet();
|
package/dist/index.js
CHANGED
|
@@ -595,9 +595,13 @@ for (let i = 0; i < alphabet.length; i++) {
|
|
|
595
595
|
s2b[alphabet.charCodeAt(i)] = i;
|
|
596
596
|
}
|
|
597
597
|
var _cookieName;
|
|
598
|
+
var _quirkCookieName;
|
|
598
599
|
var _cookieAttributes;
|
|
600
|
+
var _quirksEnabled;
|
|
599
601
|
_cookieName = /* @__PURE__ */ new WeakMap();
|
|
602
|
+
_quirkCookieName = /* @__PURE__ */ new WeakMap();
|
|
600
603
|
_cookieAttributes = /* @__PURE__ */ new WeakMap();
|
|
604
|
+
_quirksEnabled = /* @__PURE__ */ new WeakMap();
|
|
601
605
|
var _EdgeTransitionDataStore_instances;
|
|
602
606
|
var fetchData_fn;
|
|
603
607
|
_EdgeTransitionDataStore_instances = /* @__PURE__ */ new WeakSet();
|
package/dist/index.mjs
CHANGED
|
@@ -570,9 +570,13 @@ for (let i = 0; i < alphabet.length; i++) {
|
|
|
570
570
|
s2b[alphabet.charCodeAt(i)] = i;
|
|
571
571
|
}
|
|
572
572
|
var _cookieName;
|
|
573
|
+
var _quirkCookieName;
|
|
573
574
|
var _cookieAttributes;
|
|
575
|
+
var _quirksEnabled;
|
|
574
576
|
_cookieName = /* @__PURE__ */ new WeakMap();
|
|
577
|
+
_quirkCookieName = /* @__PURE__ */ new WeakMap();
|
|
575
578
|
_cookieAttributes = /* @__PURE__ */ new WeakMap();
|
|
579
|
+
_quirksEnabled = /* @__PURE__ */ new WeakMap();
|
|
576
580
|
var _EdgeTransitionDataStore_instances;
|
|
577
581
|
var fetchData_fn;
|
|
578
582
|
_EdgeTransitionDataStore_instances = /* @__PURE__ */ new WeakSet();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc-client",
|
|
3
|
-
"version": "19.195.1-alpha.
|
|
3
|
+
"version": "19.195.1-alpha.4+11d080e0d7",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"react-dom": "18.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@uniformdev/canvas": "19.195.1-alpha.
|
|
36
|
-
"@uniformdev/canvas-next-rsc-shared": "^19.195.1-alpha.
|
|
37
|
-
"@uniformdev/canvas-react": "^19.195.1-alpha.
|
|
35
|
+
"@uniformdev/canvas": "19.195.1-alpha.4+11d080e0d7",
|
|
36
|
+
"@uniformdev/canvas-next-rsc-shared": "^19.195.1-alpha.4+11d080e0d7",
|
|
37
|
+
"@uniformdev/canvas-react": "^19.195.1-alpha.4+11d080e0d7"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
40
|
"node": ">=16.14.0"
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "11d080e0d7c11a3285ae4ceb725816012760786d"
|
|
51
51
|
}
|