@gem-sdk/core 1.50.0-staging.22 → 1.50.0-staging.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.
@@ -90,10 +90,17 @@ const PreorderNowPreOrderPqConfig = {
90
90
  appId: '551fab2c-3af6-4a8f-ba21-736a71cb4540'
91
91
  }
92
92
  };
93
+ const FlyBundlesUpsellsFbtConfig = {
94
+ FlyBundlesUpsellsFbt: {
95
+ appName: 'fly-bundles-upsell',
96
+ appId: '26807bdc-c2ed-4a25-afb2-06e6b1ebf843'
97
+ }
98
+ };
93
99
 
94
100
  exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
95
101
  exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
96
102
  exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
103
+ exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
97
104
  exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
98
105
  exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
99
106
  exports.PreorderNowPreOrderPqConfig = PreorderNowPreOrderPqConfig;
@@ -81,6 +81,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
81
81
  ...currentSetting,
82
82
  form_id: appSetting['formId']
83
83
  };
84
+ case 'FlyBundlesUpsellsFbt':
85
+ {
86
+ return {
87
+ ...currentSetting,
88
+ bundle_id: appSetting?.['customBundleId']
89
+ };
90
+ }
84
91
  default:
85
92
  return currentSetting;
86
93
  }
@@ -142,7 +149,18 @@ const PreorderNowPreOrderPq = {
142
149
  'app-block': null
143
150
  }
144
151
  };
152
+ const FlyBundlesUpsellsFbt = {
153
+ FlyBundlesUpsellsFbt: {
154
+ 'app-block-volume': null,
155
+ 'app-block-upsell-block': null,
156
+ 'app-block-fbt': null,
157
+ 'app-block-custom': {
158
+ bundle_id: ''
159
+ }
160
+ }
161
+ };
145
162
  const composeSettingsByWidgetType = {
163
+ ...FlyBundlesUpsellsFbt,
146
164
  ...PreorderNowPreOrderPq,
147
165
  ...EasyBundleBuilderSkailama,
148
166
  ...FastBundleBundlesDiscounts,
@@ -17,7 +17,8 @@ const mapShopifyAppMeta = {
17
17
  ...appConfig.FastBundleBundlesDiscountsConfig,
18
18
  ...appConfig.SimpleBundlesKitsConfig,
19
19
  ...appConfig.EasyBundleBuilderSkailamaConfig,
20
- ...appConfig.PreorderNowPreOrderPqConfig
20
+ ...appConfig.PreorderNowPreOrderPqConfig,
21
+ ...appConfig.FlyBundlesUpsellsFbtConfig
21
22
  };
22
23
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
23
24
 
@@ -88,5 +88,11 @@ const PreorderNowPreOrderPqConfig = {
88
88
  appId: '551fab2c-3af6-4a8f-ba21-736a71cb4540'
89
89
  }
90
90
  };
91
+ const FlyBundlesUpsellsFbtConfig = {
92
+ FlyBundlesUpsellsFbt: {
93
+ appName: 'fly-bundles-upsell',
94
+ appId: '26807bdc-c2ed-4a25-afb2-06e6b1ebf843'
95
+ }
96
+ };
91
97
 
92
- export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
98
+ export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig };
@@ -79,6 +79,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
79
79
  ...currentSetting,
80
80
  form_id: appSetting['formId']
81
81
  };
82
+ case 'FlyBundlesUpsellsFbt':
83
+ {
84
+ return {
85
+ ...currentSetting,
86
+ bundle_id: appSetting?.['customBundleId']
87
+ };
88
+ }
82
89
  default:
83
90
  return currentSetting;
84
91
  }
@@ -140,7 +147,18 @@ const PreorderNowPreOrderPq = {
140
147
  'app-block': null
141
148
  }
142
149
  };
150
+ const FlyBundlesUpsellsFbt = {
151
+ FlyBundlesUpsellsFbt: {
152
+ 'app-block-volume': null,
153
+ 'app-block-upsell-block': null,
154
+ 'app-block-fbt': null,
155
+ 'app-block-custom': {
156
+ bundle_id: ''
157
+ }
158
+ }
159
+ };
143
160
  const composeSettingsByWidgetType = {
161
+ ...FlyBundlesUpsellsFbt,
144
162
  ...PreorderNowPreOrderPq,
145
163
  ...EasyBundleBuilderSkailama,
146
164
  ...FastBundleBundlesDiscounts,
@@ -1,4 +1,4 @@
1
- import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig } from './appConfig.js';
1
+ import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -15,7 +15,8 @@ const mapShopifyAppMeta = {
15
15
  ...FastBundleBundlesDiscountsConfig,
16
16
  ...SimpleBundlesKitsConfig,
17
17
  ...EasyBundleBuilderSkailamaConfig,
18
- ...PreorderNowPreOrderPqConfig
18
+ ...PreorderNowPreOrderPqConfig,
19
+ ...FlyBundlesUpsellsFbtConfig
19
20
  };
20
21
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
21
22
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.50.0-staging.22",
3
+ "version": "1.50.0-staging.28",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gem-sdk/adapter-shopify": "1.47.0",
31
- "@gem-sdk/styles": "1.50.0-staging.18",
31
+ "@gem-sdk/styles": "1.50.0-staging.23",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {