@gem-sdk/core 1.31.4 → 1.31.8

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.
@@ -228,7 +228,7 @@ const appendAnimation = (props, liquid)=>{
228
228
  all: tag === 'Section' ? '' : 'inherit'
229
229
  };
230
230
  return render.template`
231
- ${render.RenderIf(convert.isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${convert.baseAssetURL}/assets/gp-animation.js" defer="defer"></script>`)}
231
+ ${render.RenderIf(convert.isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${convert.baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
232
232
  <gp-animation
233
233
  gp-data='${JSON.stringify({
234
234
  config: animation,
@@ -224,7 +224,7 @@ const appendAnimation = (props, liquid)=>{
224
224
  all: tag === 'Section' ? '' : 'inherit'
225
225
  };
226
226
  return template`
227
- ${RenderIf(isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets/gp-animation.js" defer="defer"></script>`)}
227
+ ${RenderIf(isLocalEnv, `<script src="{{ 'gp-animation.js' | asset_url }}" defer="defer"></script>`, `<script src="${baseAssetURL}/assets-v2/gp-animation.js?v={{ shop.metafields.GEMPAGES.ASSETS_VERSION }}" defer="defer"></script>`)}
228
228
  <gp-animation
229
229
  gp-data='${JSON.stringify({
230
230
  config: animation,
@@ -155,7 +155,7 @@ type ObjectLayoutValue = {
155
155
  keepCol?: boolean;
156
156
  };
157
157
  type ProductReviewsWidgetType = 'reviews' | 'badge';
158
- type TrustooWidgetType = 'starRating' | 'reviews';
158
+ type TrustooWidgetType = 'starRatingInList' | 'starRating' | 'reviews';
159
159
  type WiserWidgetType = 'related' | 'recommended' | 'alsobought' | 'recentview' | 'newarrivals' | 'featured' | 'topselling' | 'trending' | 'recent_related';
160
160
  type InstantJudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | 'floating_reviews_tab' | 'all_reviews_widget' | 'verified_reviews_count_badge' | 'medals' | 'media_grid' | 'all_reviews_text';
161
161
  type InstantLooxReviewsWidgetType = 'product_reviews_widget' | 'reviews_widget_all_stores' | 'product_star_ratings_widget' | 'carousel_widget';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "1.31.4",
3
+ "version": "1.31.8",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",