@gem-sdk/core 2.1.13-staging.1 → 2.1.13
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/cjs/helpers/third-party/appConfig.js +5 -12
- package/dist/cjs/helpers/third-party/appSetting.js +16 -10
- package/dist/cjs/helpers/third-party/constant.js +1 -2
- package/dist/esm/helpers/third-party/appConfig.js +5 -11
- package/dist/esm/helpers/third-party/appSetting.js +16 -10
- package/dist/esm/helpers/third-party/constant.js +2 -3
- package/package.json +1 -1
|
@@ -258,16 +258,10 @@ const StampedConfig = {
|
|
|
258
258
|
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
259
259
|
}
|
|
260
260
|
};
|
|
261
|
-
const
|
|
262
|
-
|
|
263
|
-
appName: '
|
|
264
|
-
appId: '
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
const TrustBadgesBearConfig = {
|
|
268
|
-
TrustBadgesBear: {
|
|
269
|
-
appName: 'trust-badges-bear',
|
|
270
|
-
appId: '163a9b59-0ec2-4cb7-bf5c-31408b4a9420'
|
|
261
|
+
const BoostAISearchDiscoveryConfig = {
|
|
262
|
+
BoostAISearchDiscovery: {
|
|
263
|
+
appName: 'boost-ai-search-discovery',
|
|
264
|
+
appId: '7fc998ae-a150-4367-bab8-505d8a4503f7'
|
|
271
265
|
}
|
|
272
266
|
};
|
|
273
267
|
|
|
@@ -276,12 +270,12 @@ exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
|
276
270
|
exports.BestBuyFulfillmentConfig = BestBuyFulfillmentConfig;
|
|
277
271
|
exports.BoldSubscriptionsConfig = BoldSubscriptionsConfig;
|
|
278
272
|
exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
|
|
273
|
+
exports.BoostAISearchDiscoveryConfig = BoostAISearchDiscoveryConfig;
|
|
279
274
|
exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
|
|
280
275
|
exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
|
|
281
276
|
exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
|
|
282
277
|
exports.GloboProductOptionsVariantConfig = GloboProductOptionsVariantConfig;
|
|
283
278
|
exports.GrowaveConfig = GrowaveConfig;
|
|
284
|
-
exports.HextomCountdownTimerBarConfig = HextomCountdownTimerBarConfig;
|
|
285
279
|
exports.HulkProductOptionsConfig = HulkProductOptionsConfig;
|
|
286
280
|
exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
|
|
287
281
|
exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
|
|
@@ -308,7 +302,6 @@ exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
|
308
302
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
309
303
|
exports.StampedConfig = StampedConfig;
|
|
310
304
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
311
|
-
exports.TrustBadgesBearConfig = TrustBadgesBearConfig;
|
|
312
305
|
exports.TrustooConfig = TrustooConfig;
|
|
313
306
|
exports.TrustreviewsProductReviewsConfig = TrustreviewsProductReviewsConfig;
|
|
314
307
|
exports.TrustshopProductReviewsConfig = TrustshopProductReviewsConfig;
|
|
@@ -197,6 +197,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
197
197
|
linkify: appSetting.linkify
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
|
+
case 'BoostAISearchDiscovery':
|
|
201
|
+
{
|
|
202
|
+
return {
|
|
203
|
+
...currentSetting,
|
|
204
|
+
widgetId: appSetting?.widgetID
|
|
205
|
+
};
|
|
206
|
+
}
|
|
200
207
|
default:
|
|
201
208
|
return currentSetting;
|
|
202
209
|
}
|
|
@@ -1001,18 +1008,17 @@ const Stamped = {
|
|
|
1001
1008
|
}
|
|
1002
1009
|
}
|
|
1003
1010
|
};
|
|
1004
|
-
const
|
|
1005
|
-
|
|
1006
|
-
'
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1011
|
+
const BoostAISearchDiscovery = {
|
|
1012
|
+
BoostAISearchDiscovery: {
|
|
1013
|
+
'filter-product-list-ssr': null,
|
|
1014
|
+
'recommendation-ssr': {
|
|
1015
|
+
widgetId: '',
|
|
1016
|
+
additional_classes: '',
|
|
1017
|
+
custom_css: ''
|
|
1018
|
+
}
|
|
1012
1019
|
}
|
|
1013
1020
|
};
|
|
1014
1021
|
const composeSettingsByWidgetType = {
|
|
1015
|
-
...HextomCountdownTimerBar,
|
|
1016
1022
|
...Stamped,
|
|
1017
1023
|
...TrustshopProductReviews,
|
|
1018
1024
|
...HulkProductOptions,
|
|
@@ -1056,7 +1062,7 @@ const composeSettingsByWidgetType = {
|
|
|
1056
1062
|
...KachingBundles,
|
|
1057
1063
|
...Trustoo,
|
|
1058
1064
|
...LooxReviews,
|
|
1059
|
-
...
|
|
1065
|
+
...BoostAISearchDiscovery
|
|
1060
1066
|
};
|
|
1061
1067
|
|
|
1062
1068
|
exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
|
|
@@ -46,8 +46,7 @@ const mapShopifyAppMeta = {
|
|
|
46
46
|
...appConfig.HulkProductOptionsConfig,
|
|
47
47
|
...appConfig.TrustshopProductReviewsConfig,
|
|
48
48
|
...appConfig.StampedConfig,
|
|
49
|
-
...appConfig.
|
|
50
|
-
...appConfig.TrustBadgesBearConfig
|
|
49
|
+
...appConfig.BoostAISearchDiscoveryConfig
|
|
51
50
|
};
|
|
52
51
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
53
52
|
|
|
@@ -256,17 +256,11 @@ const StampedConfig = {
|
|
|
256
256
|
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
257
257
|
}
|
|
258
258
|
};
|
|
259
|
-
const
|
|
260
|
-
|
|
261
|
-
appName: '
|
|
262
|
-
appId: '
|
|
263
|
-
}
|
|
264
|
-
};
|
|
265
|
-
const TrustBadgesBearConfig = {
|
|
266
|
-
TrustBadgesBear: {
|
|
267
|
-
appName: 'trust-badges-bear',
|
|
268
|
-
appId: '163a9b59-0ec2-4cb7-bf5c-31408b4a9420'
|
|
259
|
+
const BoostAISearchDiscoveryConfig = {
|
|
260
|
+
BoostAISearchDiscovery: {
|
|
261
|
+
appName: 'boost-ai-search-discovery',
|
|
262
|
+
appId: '7fc998ae-a150-4367-bab8-505d8a4503f7'
|
|
269
263
|
}
|
|
270
264
|
};
|
|
271
265
|
|
|
272
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig,
|
|
266
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -195,6 +195,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
195
195
|
linkify: appSetting.linkify
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
+
case 'BoostAISearchDiscovery':
|
|
199
|
+
{
|
|
200
|
+
return {
|
|
201
|
+
...currentSetting,
|
|
202
|
+
widgetId: appSetting?.widgetID
|
|
203
|
+
};
|
|
204
|
+
}
|
|
198
205
|
default:
|
|
199
206
|
return currentSetting;
|
|
200
207
|
}
|
|
@@ -999,18 +1006,17 @@ const Stamped = {
|
|
|
999
1006
|
}
|
|
1000
1007
|
}
|
|
1001
1008
|
};
|
|
1002
|
-
const
|
|
1003
|
-
|
|
1004
|
-
'
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1009
|
+
const BoostAISearchDiscovery = {
|
|
1010
|
+
BoostAISearchDiscovery: {
|
|
1011
|
+
'filter-product-list-ssr': null,
|
|
1012
|
+
'recommendation-ssr': {
|
|
1013
|
+
widgetId: '',
|
|
1014
|
+
additional_classes: '',
|
|
1015
|
+
custom_css: ''
|
|
1016
|
+
}
|
|
1010
1017
|
}
|
|
1011
1018
|
};
|
|
1012
1019
|
const composeSettingsByWidgetType = {
|
|
1013
|
-
...HextomCountdownTimerBar,
|
|
1014
1020
|
...Stamped,
|
|
1015
1021
|
...TrustshopProductReviews,
|
|
1016
1022
|
...HulkProductOptions,
|
|
@@ -1054,7 +1060,7 @@ const composeSettingsByWidgetType = {
|
|
|
1054
1060
|
...KachingBundles,
|
|
1055
1061
|
...Trustoo,
|
|
1056
1062
|
...LooxReviews,
|
|
1057
|
-
...
|
|
1063
|
+
...BoostAISearchDiscovery
|
|
1058
1064
|
};
|
|
1059
1065
|
|
|
1060
1066
|
export { composeSettingsByWidgetType, overrideSettings };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, TrustooConfig, LooxReviewsConfig, PowrContactFormBuilderConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig,
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, TrustooConfig, LooxReviewsConfig, PowrContactFormBuilderConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -44,8 +44,7 @@ const mapShopifyAppMeta = {
|
|
|
44
44
|
...HulkProductOptionsConfig,
|
|
45
45
|
...TrustshopProductReviewsConfig,
|
|
46
46
|
...StampedConfig,
|
|
47
|
-
...
|
|
48
|
-
...TrustBadgesBearConfig
|
|
47
|
+
...BoostAISearchDiscoveryConfig
|
|
49
48
|
};
|
|
50
49
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
51
50
|
|