@uniformdev/canvas-react 20.77.1-alpha.3.sha-c33b228bc0 → 20.77.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.esm.js +1 -2
- package/dist/index.js +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +6 -6
package/dist/index.esm.js
CHANGED
|
@@ -288,8 +288,7 @@ var useUniformContextualEditing = ({
|
|
|
288
288
|
};
|
|
289
289
|
};
|
|
290
290
|
function getCanvasInContextEmbedScriptUrl() {
|
|
291
|
-
|
|
292
|
-
return scriptUrl;
|
|
291
|
+
return new URL("/files/canvas-in-context-embed/index.js", window.document.referrer).toString();
|
|
293
292
|
}
|
|
294
293
|
function isInContextEditingMode() {
|
|
295
294
|
if (typeof window === "undefined") {
|
package/dist/index.js
CHANGED
|
@@ -318,8 +318,7 @@ var useUniformContextualEditing = ({
|
|
|
318
318
|
};
|
|
319
319
|
};
|
|
320
320
|
function getCanvasInContextEmbedScriptUrl() {
|
|
321
|
-
|
|
322
|
-
return scriptUrl;
|
|
321
|
+
return new URL("/files/canvas-in-context-embed/index.js", window.document.referrer).toString();
|
|
323
322
|
}
|
|
324
323
|
function isInContextEditingMode() {
|
|
325
324
|
if (typeof window === "undefined") {
|
package/dist/index.mjs
CHANGED
|
@@ -288,8 +288,7 @@ var useUniformContextualEditing = ({
|
|
|
288
288
|
};
|
|
289
289
|
};
|
|
290
290
|
function getCanvasInContextEmbedScriptUrl() {
|
|
291
|
-
|
|
292
|
-
return scriptUrl;
|
|
291
|
+
return new URL("/files/canvas-in-context-embed/index.js", window.document.referrer).toString();
|
|
293
292
|
}
|
|
294
293
|
function isInContextEditingMode() {
|
|
295
294
|
if (typeof window === "undefined") {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-react",
|
|
3
|
-
"version": "20.77.1
|
|
3
|
+
"version": "20.77.1",
|
|
4
4
|
"description": "React SDK for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"apidocs-extract": "api-extractor run --local"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@uniformdev/canvas": "20.77.1
|
|
48
|
-
"@uniformdev/context": "20.77.1
|
|
49
|
-
"@uniformdev/context-react": "20.77.1
|
|
50
|
-
"@uniformdev/richtext": "20.77.1
|
|
47
|
+
"@uniformdev/canvas": "20.77.1",
|
|
48
|
+
"@uniformdev/context": "20.77.1",
|
|
49
|
+
"@uniformdev/context-react": "20.77.1",
|
|
50
|
+
"@uniformdev/richtext": "20.77.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"immer": ">= 10",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"access": "public"
|
|
68
68
|
},
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "d820d514d227b09c4df16b4285da6fa6d8ab61f7"
|
|
70
70
|
}
|