@uniformdev/canvas-next-rsc-client 19.147.1-alpha.5 → 19.147.1-alpha.6
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.esm.js +4 -0
- package/dist/index.js +4 -0
- package/dist/index.mjs +4 -0
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -1075,6 +1075,10 @@ var UniformScript = () => {
|
|
|
1075
1075
|
if (enabled) {
|
|
1076
1076
|
if (!existing) {
|
|
1077
1077
|
const textHost = isAllowedReferrer(window.document.referrer) ? window.document.referrer : "https://uniform.app/";
|
|
1078
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
1079
|
+
framework: "React",
|
|
1080
|
+
version: 2
|
|
1081
|
+
};
|
|
1078
1082
|
const bundleHost = new URL(textHost);
|
|
1079
1083
|
bundleHost.pathname = "/files/canvas-in-context-embed/index.js";
|
|
1080
1084
|
const script = document.createElement("script");
|
package/dist/index.js
CHANGED
|
@@ -1093,6 +1093,10 @@ var UniformScript = () => {
|
|
|
1093
1093
|
if (enabled) {
|
|
1094
1094
|
if (!existing) {
|
|
1095
1095
|
const textHost = (0, import_canvas4.isAllowedReferrer)(window.document.referrer) ? window.document.referrer : "https://uniform.app/";
|
|
1096
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
1097
|
+
framework: "React",
|
|
1098
|
+
version: 2
|
|
1099
|
+
};
|
|
1096
1100
|
const bundleHost = new URL(textHost);
|
|
1097
1101
|
bundleHost.pathname = "/files/canvas-in-context-embed/index.js";
|
|
1098
1102
|
const script = document.createElement("script");
|
package/dist/index.mjs
CHANGED
|
@@ -1075,6 +1075,10 @@ var UniformScript = () => {
|
|
|
1075
1075
|
if (enabled) {
|
|
1076
1076
|
if (!existing) {
|
|
1077
1077
|
const textHost = isAllowedReferrer(window.document.referrer) ? window.document.referrer : "https://uniform.app/";
|
|
1078
|
+
window.__UNIFORM_CONTEXTUAL_EDITING__ = {
|
|
1079
|
+
framework: "React",
|
|
1080
|
+
version: 2
|
|
1081
|
+
};
|
|
1078
1082
|
const bundleHost = new URL(textHost);
|
|
1079
1083
|
bundleHost.pathname = "/files/canvas-in-context-embed/index.js";
|
|
1080
1084
|
const script = document.createElement("script");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next-rsc-client",
|
|
3
|
-
"version": "19.147.1-alpha.
|
|
3
|
+
"version": "19.147.1-alpha.6+b883293105",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "tsup",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"react-dom": "18.2.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@uniformdev/canvas": "19.147.1-alpha.
|
|
36
|
-
"@uniformdev/canvas-next-rsc-shared": "^19.147.1-alpha.
|
|
37
|
-
"@uniformdev/canvas-react": "^19.147.1-alpha.
|
|
35
|
+
"@uniformdev/canvas": "19.147.1-alpha.6+b883293105",
|
|
36
|
+
"@uniformdev/canvas-next-rsc-shared": "^19.147.1-alpha.6+b883293105",
|
|
37
|
+
"@uniformdev/canvas-react": "^19.147.1-alpha.6+b883293105"
|
|
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": "b883293105d84f5b52f2d947957dac638c12c6f6"
|
|
51
51
|
}
|