@rebuy/rebuy 3.5.0 → 3.5.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.
package/dist/index.cjs CHANGED
@@ -4686,6 +4686,7 @@ var convertOfferToV2 = ({ id, name, settings }) => {
4686
4686
  sectionType: "carousel"
4687
4687
  };
4688
4688
  return CABRootSection.parse({
4689
+ alignment: { horizontal: "center", vertical: "top" },
4689
4690
  direction: "rows",
4690
4691
  editorMode: LOCATION_TO_EDITOR_MODE[settings.location ?? "checkout"],
4691
4692
  // The widget name is required by the admin save schema; carry the legacy widget's name through.
package/dist/index.mjs CHANGED
@@ -4424,6 +4424,7 @@ var convertOfferToV2 = ({ id, name, settings }) => {
4424
4424
  sectionType: "carousel"
4425
4425
  };
4426
4426
  return CABRootSection.parse({
4427
+ alignment: { horizontal: "center", vertical: "top" },
4427
4428
  direction: "rows",
4428
4429
  editorMode: LOCATION_TO_EDITOR_MODE[settings.location ?? "checkout"],
4429
4430
  // The widget name is required by the admin save schema; carry the legacy widget's name through.
@@ -3236,6 +3236,7 @@ var convertOfferToV2 = ({ id, name, settings }) => {
3236
3236
  sectionType: "carousel"
3237
3237
  };
3238
3238
  return CABRootSection.parse({
3239
+ alignment: { horizontal: "center", vertical: "top" },
3239
3240
  direction: "rows",
3240
3241
  editorMode: LOCATION_TO_EDITOR_MODE[settings.location ?? "checkout"],
3241
3242
  // The widget name is required by the admin save schema; carry the legacy widget's name through.
@@ -3188,6 +3188,7 @@ var convertOfferToV2 = ({ id, name, settings }) => {
3188
3188
  sectionType: "carousel"
3189
3189
  };
3190
3190
  return CABRootSection.parse({
3191
+ alignment: { horizontal: "center", vertical: "top" },
3191
3192
  direction: "rows",
3192
3193
  editorMode: LOCATION_TO_EDITOR_MODE[settings.location ?? "checkout"],
3193
3194
  // The widget name is required by the admin save schema; carry the legacy widget's name through.
@@ -3140,6 +3140,7 @@ var convertOfferToV2 = ({ id, name, settings }) => {
3140
3140
  sectionType: "carousel"
3141
3141
  };
3142
3142
  return CABRootSection.parse({
3143
+ alignment: { horizontal: "center", vertical: "top" },
3143
3144
  direction: "rows",
3144
3145
  editorMode: LOCATION_TO_EDITOR_MODE[settings.location ?? "checkout"],
3145
3146
  // The widget name is required by the admin save schema; carry the legacy widget's name through.
@@ -3083,6 +3083,7 @@ var convertOfferToV2 = ({ id, name, settings }) => {
3083
3083
  sectionType: "carousel"
3084
3084
  };
3085
3085
  return CABRootSection.parse({
3086
+ alignment: { horizontal: "center", vertical: "top" },
3086
3087
  direction: "rows",
3087
3088
  editorMode: LOCATION_TO_EDITOR_MODE[settings.location ?? "checkout"],
3088
3089
  // The widget name is required by the admin save schema; carry the legacy widget's name through.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebuy/rebuy",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Shared zod schemas, legacy-to-CAB widget transforms, and server orchestrators for Rebuy's Shopify consumers (rebuy-api, admin-nextjs, rebuy-shopify-extensions)",
5
5
  "license": "MIT",
6
6
  "author": "Rebuy, Inc.",