@gem-sdk/core 1.48.0-dev.0 → 1.48.0-dev.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.
|
@@ -13,7 +13,7 @@ const addAppBlockId = (component)=>{
|
|
|
13
13
|
};
|
|
14
14
|
const handleSetBlockId = (component)=>{
|
|
15
15
|
const { tag, uid } = component;
|
|
16
|
-
if (component.settings
|
|
16
|
+
if (component.settings?.appBlockId === undefined) return component;
|
|
17
17
|
component.settings.appBlockId = composeAppBlockId.composeAppBlockId(tag, uid);
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -11,7 +11,7 @@ const addAppBlockId = (component)=>{
|
|
|
11
11
|
};
|
|
12
12
|
const handleSetBlockId = (component)=>{
|
|
13
13
|
const { tag, uid } = component;
|
|
14
|
-
if (component.settings
|
|
14
|
+
if (component.settings?.appBlockId === undefined) return component;
|
|
15
15
|
component.settings.appBlockId = composeAppBlockId(tag, uid);
|
|
16
16
|
};
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.48.0-dev.
|
|
3
|
+
"version": "1.48.0-dev.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "1.48.0-dev.
|
|
31
|
-
"@gem-sdk/styles": "1.48.0-dev.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.48.0-dev.1",
|
|
31
|
+
"@gem-sdk/styles": "1.48.0-dev.1",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|