@gem-sdk/core 1.53.0-dev.14 → 1.53.0-dev.16

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.
@@ -14,7 +14,7 @@ const ComponentWrapper = ({ children, pageType, ...props })=>{
14
14
  const advanced = props.advanced;
15
15
  const interactionAttributes = ()=>{
16
16
  let result = {};
17
- if (props.advanced?.displayInitInteraction === false) {
17
+ if (props.advanced?.displayInitInteraction !== undefined) {
18
18
  result = {
19
19
  'display-init': props.advanced?.displayInitInteraction === false ? 'hide' : 'show',
20
20
  'gp-interaction-wrapper': ''
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const isLocalEnv = true;
3
+ const isLocalEnv = process.env.NEXT_CONVERT_ENV === 'local';
4
4
  const baseAssetURL = process.env.GP_BASE_ASSET_URL || 'https://d3kbi0je7pp4lw.cloudfront.net';
5
5
 
6
6
  exports.baseAssetURL = baseAssetURL;
@@ -10,7 +10,7 @@ const ComponentWrapper = ({ children, pageType, ...props })=>{
10
10
  const advanced = props.advanced;
11
11
  const interactionAttributes = ()=>{
12
12
  let result = {};
13
- if (props.advanced?.displayInitInteraction === false) {
13
+ if (props.advanced?.displayInitInteraction !== undefined) {
14
14
  result = {
15
15
  'display-init': props.advanced?.displayInitInteraction === false ? 'hide' : 'show',
16
16
  'gp-interaction-wrapper': ''
@@ -1,4 +1,4 @@
1
- const isLocalEnv = true;
1
+ const isLocalEnv = process.env.NEXT_CONVERT_ENV === 'local';
2
2
  const baseAssetURL = process.env.GP_BASE_ASSET_URL || 'https://d3kbi0je7pp4lw.cloudfront.net';
3
3
 
4
4
  export { baseAssetURL, isLocalEnv };
@@ -38096,7 +38096,7 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
38096
38096
  vectorEffect?: csstype.Property.VectorEffect | undefined;
38097
38097
  };
38098
38098
 
38099
- declare const isLocalEnv = true;
38099
+ declare const isLocalEnv: boolean;
38100
38100
  declare const baseAssetURL: string;
38101
38101
 
38102
38102
  declare const convertHTML: (str: string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.53.0-dev.14",
3
+ "version": "1.53.0-dev.16",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",