@uniformdev/canvas 20.72.4-alpha.6 → 20.74.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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +5 -3
- package/dist/index.js +5 -3
- package/dist/index.mjs +5 -3
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -15058,7 +15058,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
15058
15058
|
*/
|
|
15059
15059
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
|
|
15060
15060
|
|
|
15061
|
-
declare const version = "20.
|
|
15061
|
+
declare const version = "20.74.1";
|
|
15062
15062
|
|
|
15063
15063
|
/** API client to enable managing workflow definitions */
|
|
15064
15064
|
declare class WorkflowClient extends ApiClient {
|
package/dist/index.d.ts
CHANGED
|
@@ -15058,7 +15058,7 @@ declare function hasReferencedVariables(value: string | undefined): number;
|
|
|
15058
15058
|
*/
|
|
15059
15059
|
declare function parseVariableExpression(serialized: string, onToken?: (token: string, type: 'text' | 'variable', offset: number) => void | false): number;
|
|
15060
15060
|
|
|
15061
|
-
declare const version = "20.
|
|
15061
|
+
declare const version = "20.74.1";
|
|
15062
15062
|
|
|
15063
15063
|
/** API client to enable managing workflow definitions */
|
|
15064
15064
|
declare class WorkflowClient extends ApiClient {
|
package/dist/index.esm.js
CHANGED
|
@@ -1492,7 +1492,7 @@ function getLocaleMatch(index, locale, greedy) {
|
|
|
1492
1492
|
}
|
|
1493
1493
|
const match = index[locale];
|
|
1494
1494
|
if (match === void 0 && greedy) {
|
|
1495
|
-
return Object.values(index)
|
|
1495
|
+
return Object.values(index).find((value) => value !== void 0);
|
|
1496
1496
|
}
|
|
1497
1497
|
return match;
|
|
1498
1498
|
}
|
|
@@ -3174,7 +3174,9 @@ var getParameterAttributes = ({
|
|
|
3174
3174
|
|
|
3175
3175
|
// src/utils/isAllowedReferrer.ts
|
|
3176
3176
|
var isAllowedReferrer = (referrer) => {
|
|
3177
|
-
return Boolean(
|
|
3177
|
+
return Boolean(
|
|
3178
|
+
referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|uniformcode.ai|localhost:\d{4})\//)
|
|
3179
|
+
);
|
|
3178
3180
|
};
|
|
3179
3181
|
|
|
3180
3182
|
// src/utils/isSystemComponentDefinition.ts
|
|
@@ -3373,7 +3375,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
3373
3375
|
import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3374
3376
|
|
|
3375
3377
|
// src/.version.ts
|
|
3376
|
-
var version = "20.
|
|
3378
|
+
var version = "20.74.1";
|
|
3377
3379
|
|
|
3378
3380
|
// src/WorkflowClient.ts
|
|
3379
3381
|
import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
|
package/dist/index.js
CHANGED
|
@@ -1701,7 +1701,7 @@ function getLocaleMatch(index, locale, greedy) {
|
|
|
1701
1701
|
}
|
|
1702
1702
|
const match = index[locale];
|
|
1703
1703
|
if (match === void 0 && greedy) {
|
|
1704
|
-
return Object.values(index)
|
|
1704
|
+
return Object.values(index).find((value) => value !== void 0);
|
|
1705
1705
|
}
|
|
1706
1706
|
return match;
|
|
1707
1707
|
}
|
|
@@ -3383,7 +3383,9 @@ var getParameterAttributes = ({
|
|
|
3383
3383
|
|
|
3384
3384
|
// src/utils/isAllowedReferrer.ts
|
|
3385
3385
|
var isAllowedReferrer = (referrer) => {
|
|
3386
|
-
return Boolean(
|
|
3386
|
+
return Boolean(
|
|
3387
|
+
referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|uniformcode.ai|localhost:\d{4})\//)
|
|
3388
|
+
);
|
|
3387
3389
|
};
|
|
3388
3390
|
|
|
3389
3391
|
// src/utils/isSystemComponentDefinition.ts
|
|
@@ -3582,7 +3584,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
3582
3584
|
var import_api19 = require("@uniformdev/context/api");
|
|
3583
3585
|
|
|
3584
3586
|
// src/.version.ts
|
|
3585
|
-
var version = "20.
|
|
3587
|
+
var version = "20.74.1";
|
|
3586
3588
|
|
|
3587
3589
|
// src/WorkflowClient.ts
|
|
3588
3590
|
var import_api18 = require("@uniformdev/context/api");
|
package/dist/index.mjs
CHANGED
|
@@ -1492,7 +1492,7 @@ function getLocaleMatch(index, locale, greedy) {
|
|
|
1492
1492
|
}
|
|
1493
1493
|
const match = index[locale];
|
|
1494
1494
|
if (match === void 0 && greedy) {
|
|
1495
|
-
return Object.values(index)
|
|
1495
|
+
return Object.values(index).find((value) => value !== void 0);
|
|
1496
1496
|
}
|
|
1497
1497
|
return match;
|
|
1498
1498
|
}
|
|
@@ -3174,7 +3174,9 @@ var getParameterAttributes = ({
|
|
|
3174
3174
|
|
|
3175
3175
|
// src/utils/isAllowedReferrer.ts
|
|
3176
3176
|
var isAllowedReferrer = (referrer) => {
|
|
3177
|
-
return Boolean(
|
|
3177
|
+
return Boolean(
|
|
3178
|
+
referrer == null ? void 0 : referrer.match(/(^https:\/\/|\.)(uniform.app|uniform.wtf|uniformcode.ai|localhost:\d{4})\//)
|
|
3179
|
+
);
|
|
3178
3180
|
};
|
|
3179
3181
|
|
|
3180
3182
|
// src/utils/isSystemComponentDefinition.ts
|
|
@@ -3373,7 +3375,7 @@ function handleRichTextNodeBinding(object, options) {
|
|
|
3373
3375
|
import { ApiClientError as ApiClientError2 } from "@uniformdev/context/api";
|
|
3374
3376
|
|
|
3375
3377
|
// src/.version.ts
|
|
3376
|
-
var version = "20.
|
|
3378
|
+
var version = "20.74.1";
|
|
3377
3379
|
|
|
3378
3380
|
// src/WorkflowClient.ts
|
|
3379
3381
|
import { ApiClient as ApiClient17 } from "@uniformdev/context/api";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.74.1",
|
|
4
4
|
"description": "Common functionality and types for Uniform Canvas",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"svix": "1.96.0"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@uniformdev/assets": "20.
|
|
40
|
-
"@uniformdev/context": "20.
|
|
41
|
-
"@uniformdev/richtext": "20.
|
|
42
|
-
"immer": "
|
|
39
|
+
"@uniformdev/assets": "20.74.1",
|
|
40
|
+
"@uniformdev/context": "20.74.1",
|
|
41
|
+
"@uniformdev/richtext": "20.74.1",
|
|
42
|
+
"immer": "10.2.0",
|
|
43
43
|
"p-limit": "6.2.0",
|
|
44
44
|
"p-retry": "6.2.1",
|
|
45
45
|
"p-throttle": "6.2.0"
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "92f9b8945a45169eaa57d41dbb7ba8d3a32564cd"
|
|
54
54
|
}
|