@rebuy/rebuy 3.1.0 → 3.1.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/server/index.cjs +1 -1
- package/dist/server/index.mjs +1 -1
- package/package.json +1 -1
package/dist/server/index.cjs
CHANGED
|
@@ -3616,7 +3616,7 @@ function serialize(obj) {
|
|
|
3616
3616
|
}
|
|
3617
3617
|
|
|
3618
3618
|
// src/server/dataSourceResults.ts
|
|
3619
|
-
var encodeAttributes = (pairs = []) =>
|
|
3619
|
+
var encodeAttributes = (pairs = []) => JSON.stringify(Object.fromEntries(pairs.map(({ key, value }) => [key, value ?? ""])));
|
|
3620
3620
|
var buildEngineParams = (input, key) => {
|
|
3621
3621
|
const { cart, customerId, filterInputs, integrations, limit, productType, shop, visitorId } = input;
|
|
3622
3622
|
const items = cart.items.map(({ productId, properties, quantity, subscriptionId, variantId }) => ({
|
package/dist/server/index.mjs
CHANGED
|
@@ -3568,7 +3568,7 @@ function serialize(obj) {
|
|
|
3568
3568
|
}
|
|
3569
3569
|
|
|
3570
3570
|
// src/server/dataSourceResults.ts
|
|
3571
|
-
var encodeAttributes = (pairs = []) =>
|
|
3571
|
+
var encodeAttributes = (pairs = []) => JSON.stringify(Object.fromEntries(pairs.map(({ key, value }) => [key, value ?? ""])));
|
|
3572
3572
|
var buildEngineParams = (input, key) => {
|
|
3573
3573
|
const { cart, customerId, filterInputs, integrations, limit, productType, shop, visitorId } = input;
|
|
3574
3574
|
const items = cart.items.map(({ productId, properties, quantity, subscriptionId, variantId }) => ({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebuy/rebuy",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.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.",
|