@uniformdev/canvas 19.55.2-alpha.46 → 19.55.2-alpha.48

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 CHANGED
@@ -14257,7 +14257,7 @@ declare function mapSlotToPersonalizedVariations(slot: ComponentInstance[] | und
14257
14257
  */
14258
14258
  declare function mapSlotToTestVariations(slot: ComponentInstance[] | undefined): Array<ComponentInstance & TestVariant>;
14259
14259
 
14260
- declare const isComponentPlaceholderId: (id: string | undefined) => boolean | undefined;
14260
+ declare const isComponentPlaceholderId: (id: string | undefined) => boolean;
14261
14261
  declare const generateComponentPlaceholderId: (randomId: string, sdkVersion: number | undefined) => string;
14262
14262
 
14263
14263
  type BindVariablesResult<TValue> = {
package/dist/index.d.ts CHANGED
@@ -14257,7 +14257,7 @@ declare function mapSlotToPersonalizedVariations(slot: ComponentInstance[] | und
14257
14257
  */
14258
14258
  declare function mapSlotToTestVariations(slot: ComponentInstance[] | undefined): Array<ComponentInstance & TestVariant>;
14259
14259
 
14260
- declare const isComponentPlaceholderId: (id: string | undefined) => boolean | undefined;
14260
+ declare const isComponentPlaceholderId: (id: string | undefined) => boolean;
14261
14261
  declare const generateComponentPlaceholderId: (randomId: string, sdkVersion: number | undefined) => string;
14262
14262
 
14263
14263
  type BindVariablesResult<TValue> = {
package/dist/index.esm.js CHANGED
@@ -2254,6 +2254,9 @@ var isComponentPlaceholderId = (id) => {
2254
2254
  if (id === PLACEHOLDER_ID) {
2255
2255
  return true;
2256
2256
  }
2257
+ if (typeof id !== "string") {
2258
+ return false;
2259
+ }
2257
2260
  return id == null ? void 0 : id.startsWith(PLACEHOLDER_ID);
2258
2261
  };
2259
2262
  var generateComponentPlaceholderId = (randomId, sdkVersion) => {
package/dist/index.js CHANGED
@@ -2366,6 +2366,9 @@ var isComponentPlaceholderId = (id) => {
2366
2366
  if (id === PLACEHOLDER_ID) {
2367
2367
  return true;
2368
2368
  }
2369
+ if (typeof id !== "string") {
2370
+ return false;
2371
+ }
2369
2372
  return id == null ? void 0 : id.startsWith(PLACEHOLDER_ID);
2370
2373
  };
2371
2374
  var generateComponentPlaceholderId = (randomId, sdkVersion) => {
package/dist/index.mjs CHANGED
@@ -2254,6 +2254,9 @@ var isComponentPlaceholderId = (id) => {
2254
2254
  if (id === PLACEHOLDER_ID) {
2255
2255
  return true;
2256
2256
  }
2257
+ if (typeof id !== "string") {
2258
+ return false;
2259
+ }
2257
2260
  return id == null ? void 0 : id.startsWith(PLACEHOLDER_ID);
2258
2261
  };
2259
2262
  var generateComponentPlaceholderId = (randomId, sdkVersion) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas",
3
- "version": "19.55.2-alpha.46+7e4af0d56",
3
+ "version": "19.55.2-alpha.48+3b4e395a3",
4
4
  "description": "Common functionality and types for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -38,8 +38,8 @@
38
38
  "pusher-js": "8.2.0"
39
39
  },
40
40
  "dependencies": {
41
- "@uniformdev/assets": "19.55.2-alpha.46+7e4af0d56",
42
- "@uniformdev/context": "19.55.2-alpha.46+7e4af0d56",
41
+ "@uniformdev/assets": "19.55.2-alpha.48+3b4e395a3",
42
+ "@uniformdev/context": "19.55.2-alpha.48+3b4e395a3",
43
43
  "immer": "9.0.21"
44
44
  },
45
45
  "files": [
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "7e4af0d56a1f13233f4dc1b2b926a5be4ca8636e"
51
+ "gitHead": "3b4e395a30a0c38676df3b030b30337e492d4cc7"
52
52
  }