@sitecore/sc-contenthub-webclient-sdk 1.2.26 → 1.2.28

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.
Files changed (2) hide show
  1. package/dist/base-types.js +12 -0
  2. package/package.json +1 -1
@@ -26,6 +26,18 @@ class CaseInsensitiveStringMap {
26
26
  return Reflect.get(obj, prop);
27
27
  }
28
28
  },
29
+ has: (obj, prop) => {
30
+ if (typeof prop === "string") {
31
+ return Reflect.has(obj, prop.toLowerCase());
32
+ }
33
+ return Reflect.has(obj, prop);
34
+ },
35
+ ownKeys(obj) {
36
+ if (map) {
37
+ return Object.keys(map);
38
+ }
39
+ return Object.keys(Object.assign({}, obj));
40
+ }
29
41
  });
30
42
  }
31
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore/sc-contenthub-webclient-sdk",
3
- "version": "1.2.26",
3
+ "version": "1.2.28",
4
4
  "description": "Sitecore Content Hub WebClient SDK.",
5
5
  "scripts": {
6
6
  "build": "npm run clean && npm run test && tsc && npm run lint",