@shoppexio/storefront 1.0.104 → 1.0.105
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/CHANGELOG.md +4 -0
- package/dist/{chunk-BW2EO2WP.js → chunk-NTLZJQ6I.js} +36 -3
- package/dist/{chunk-BW2EO2WP.js.map → chunk-NTLZJQ6I.js.map} +1 -1
- package/dist/customer.cjs +34 -42
- package/dist/customer.cjs.map +1 -1
- package/dist/customer.d.cts +5 -13
- package/dist/customer.d.ts +5 -13
- package/dist/customer.js +2 -41
- package/dist/customer.js.map +1 -1
- package/dist/index.cjs +56 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -2
- package/dist/index.d.ts +11 -2
- package/dist/index.js +23 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.105
|
|
4
|
+
|
|
5
|
+
- The headless customer client drops `walletTopupQuote`, `createWalletTopup`, `resellerTopupQuote` and `createResellerTopup` (PR #4064): `hcs_` tokens no longer reach the top-up routes. Balance and reseller top-ups run on the hosted top-up page (`/topup/{shopId}`, `?for=reseller` for reseller funds).
|
|
6
|
+
|
|
3
7
|
## 1.0.104
|
|
4
8
|
|
|
5
9
|
- Storefront funnel (Design Batch 2, feature 3): add to cart and Buy Now send a `cart_add` ping with product, variant and quantity, also on code storefronts (the platform page tracker counts pages, never carts). New `trackProductView(productId)` counts a product view on a product page whose path is not `/product/{slug}`; the server keeps the product only when the shop owns it.
|
|
@@ -19962,6 +19962,9 @@ var customerPortalAffiliateSummarySchema = external_exports.object({
|
|
|
19962
19962
|
address: external_exports.string()
|
|
19963
19963
|
}).nullable(),
|
|
19964
19964
|
balance_currency: external_exports.string(),
|
|
19965
|
+
// The shop's IANA zone; `bound_at` is a day on its calendar.
|
|
19966
|
+
// Optional until the backend that sends it is deployed.
|
|
19967
|
+
time_zone: external_exports.string().optional(),
|
|
19965
19968
|
balances: external_exports.object({
|
|
19966
19969
|
pending: external_exports.string(),
|
|
19967
19970
|
available: external_exports.string(),
|
|
@@ -20052,7 +20055,10 @@ var customerPortalSubscriptionSummarySchema = external_exports.object({
|
|
|
20052
20055
|
can_cancel: external_exports.boolean(),
|
|
20053
20056
|
can_undo_cancel: external_exports.boolean(),
|
|
20054
20057
|
can_manage_payment_method: external_exports.boolean()
|
|
20055
|
-
})
|
|
20058
|
+
}),
|
|
20059
|
+
// The open renewal's hosted checkout ("Pay now"). Optional until the backend
|
|
20060
|
+
// that sends it is deployed: a storefront script can reach buyers first.
|
|
20061
|
+
renewal_checkout_url: nullableStringSchema.optional()
|
|
20056
20062
|
});
|
|
20057
20063
|
var customerLoyaltySchema = external_exports.object({
|
|
20058
20064
|
enabled: external_exports.boolean(),
|
|
@@ -20161,7 +20167,17 @@ var customerPortalDashboardSchema = external_exports.object({
|
|
|
20161
20167
|
label: external_exports.string(),
|
|
20162
20168
|
value: external_exports.string(),
|
|
20163
20169
|
href: nullableStringSchema,
|
|
20164
|
-
created_at: external_exports.string()
|
|
20170
|
+
created_at: external_exports.string(),
|
|
20171
|
+
// Files only: downloads left, end date and why a file closed (BuyerFileAccess).
|
|
20172
|
+
// Optional until the backend that sends it is deployed.
|
|
20173
|
+
access: external_exports.object({
|
|
20174
|
+
state: external_exports.enum(["open", "limit_reached", "expired", "revoked", "refunded"]),
|
|
20175
|
+
downloads_left: external_exports.number().nullable(),
|
|
20176
|
+
download_limit: external_exports.number().nullable(),
|
|
20177
|
+
downloads_used: external_exports.number(),
|
|
20178
|
+
ends_at: nullableStringSchema,
|
|
20179
|
+
time_zone: external_exports.string()
|
|
20180
|
+
}).nullable().optional()
|
|
20165
20181
|
})),
|
|
20166
20182
|
tickets: external_exports.array(external_exports.object({
|
|
20167
20183
|
uniqid: external_exports.string(),
|
|
@@ -20171,6 +20187,22 @@ var customerPortalDashboardSchema = external_exports.object({
|
|
|
20171
20187
|
created_at: nullableStringSchema
|
|
20172
20188
|
}))
|
|
20173
20189
|
});
|
|
20190
|
+
var customerPortalOrderReviewSchema = external_exports.object({
|
|
20191
|
+
can_review: external_exports.boolean(),
|
|
20192
|
+
already_submitted: external_exports.boolean(),
|
|
20193
|
+
feedback_uniqid: nullableStringSchema,
|
|
20194
|
+
product_title: nullableStringSchema,
|
|
20195
|
+
score: external_exports.union([external_exports.literal(1), external_exports.literal(3), external_exports.literal(5)]).nullable(),
|
|
20196
|
+
is_automated: external_exports.boolean(),
|
|
20197
|
+
message: nullableStringSchema,
|
|
20198
|
+
submitted_at: nullableStringSchema,
|
|
20199
|
+
reviewer_name: nullableStringSchema,
|
|
20200
|
+
anonymous: external_exports.boolean(),
|
|
20201
|
+
// The hosted review on the checkout host, null unless `can_review`. A storefront
|
|
20202
|
+
// account links here and never posts (#1152). Optional until the backend that
|
|
20203
|
+
// sends it is deployed.
|
|
20204
|
+
review_url: nullableStringSchema.optional()
|
|
20205
|
+
});
|
|
20174
20206
|
var customerPortalNotificationPreferencesSchema = external_exports.object({
|
|
20175
20207
|
order_created_emails: external_exports.boolean(),
|
|
20176
20208
|
order_completed_emails: external_exports.boolean(),
|
|
@@ -20203,7 +20235,8 @@ export {
|
|
|
20203
20235
|
customerWarrantyListSchema,
|
|
20204
20236
|
customerWarrantyClaimSchema,
|
|
20205
20237
|
customerPortalDashboardSchema,
|
|
20238
|
+
customerPortalOrderReviewSchema,
|
|
20206
20239
|
customerPortalNotificationPreferencesSchema,
|
|
20207
20240
|
customerPortalAffiliateCreateLinkSchema
|
|
20208
20241
|
};
|
|
20209
|
-
//# sourceMappingURL=chunk-
|
|
20242
|
+
//# sourceMappingURL=chunk-NTLZJQ6I.js.map
|