create-brainerce-store 1.85.0 → 1.86.0

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.js CHANGED
@@ -31,7 +31,7 @@ var require_package = __commonJS({
31
31
  "package.json"(exports2, module2) {
32
32
  module2.exports = {
33
33
  name: "create-brainerce-store",
34
- version: "1.85.0",
34
+ version: "1.86.0",
35
35
  description: "Scaffold a production-ready e-commerce storefront connected to Brainerce",
36
36
  homepage: "https://brainerce.com",
37
37
  repository: {
package/messages/en.json CHANGED
@@ -62,7 +62,9 @@
62
62
  "monthDecember": "December",
63
63
  "giftCard": "Gift card",
64
64
  "amountDue": "Amount due",
65
- "amountCharged": "Amount charged"
65
+ "amountCharged": "Amount charged",
66
+ "estimatedPrice": "Estimated",
67
+ "estimatedPriceTooltip": "Price shown in {currency} for reference. You'll be charged in {baseCurrency}."
66
68
  },
67
69
  "nav": {
68
70
  "products": "Products",
@@ -255,6 +257,7 @@
255
257
  "paymentError": "Payment Error",
256
258
  "paymentUnavailable": "Payment is unavailable for this store right now. Please contact the store.",
257
259
  "paymentRedirectBlocked": "Payment redirect blocked for security reasons. Please contact support.",
260
+ "paymentLoadFailed": "The payment form didn't load. You can continue in a new tab instead.",
258
261
  "sandboxTitle": "Sandbox Mode",
259
262
  "sandboxDescription": "This is a test order. No real payment will be processed.",
260
263
  "completeTestOrder": "Complete Test Order",
@@ -497,7 +500,8 @@
497
500
  "paid": "Paid",
498
501
  "refundedStatus": "Refunded",
499
502
  "partiallyRefundedStatus": "Partially refunded",
500
- "statusTimeline": "Timeline"
503
+ "statusTimeline": "Timeline",
504
+ "downloadInvoice": "Download invoice"
501
505
  },
502
506
  "checkoutAddress": {
503
507
  "saveToProfile": "Save this address to my profile?",
package/messages/he.json CHANGED
@@ -62,7 +62,9 @@
62
62
  "monthDecember": "דצמבר",
63
63
  "giftCard": "כרטיס מתנה",
64
64
  "amountDue": "לתשלום",
65
- "amountCharged": "חויב בפועל"
65
+ "amountCharged": "חויב בפועל",
66
+ "estimatedPrice": "מוערך",
67
+ "estimatedPriceTooltip": "המחיר המוצג הוא הערכה ב-{currency}. החיוב בפועל יתבצע ב-{baseCurrency}."
66
68
  },
67
69
  "nav": {
68
70
  "products": "מוצרים",
@@ -255,6 +257,7 @@
255
257
  "paymentError": "שגיאת תשלום",
256
258
  "paymentUnavailable": "לא ניתן לשלם בחנות זו כרגע. ניתן לפנות לחנות.",
257
259
  "paymentRedirectBlocked": "הפניית התשלום נחסמה מטעמי אבטחה. אנא פנו לתמיכה.",
260
+ "paymentLoadFailed": "טופס התשלום לא נטען. אפשר להמשיך בכרטיסייה חדשה במקום.",
258
261
  "sandboxTitle": "מצב בדיקה",
259
262
  "sandboxDescription": "זוהי הזמנת בדיקה. לא יבוצע תשלום אמיתי.",
260
263
  "completeTestOrder": "השלם הזמנת בדיקה",
@@ -497,7 +500,8 @@
497
500
  "paid": "שולם",
498
501
  "refundedStatus": "הוחזר",
499
502
  "partiallyRefundedStatus": "הוחזר חלקית",
500
- "statusTimeline": "ציר זמן"
503
+ "statusTimeline": "ציר זמן",
504
+ "downloadInvoice": "הורדת חשבונית"
501
505
  },
502
506
  "checkoutAddress": {
503
507
  "saveToProfile": "לשמור כתובת זו בפרופיל שלי?",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-brainerce-store",
3
- "version": "1.85.0",
3
+ "version": "1.86.0",
4
4
  "description": "Scaffold a production-ready e-commerce storefront connected to Brainerce",
5
5
  "homepage": "https://brainerce.com",
6
6
  "repository": {
@@ -140,6 +140,8 @@ export default async function CategoryPage({ params }: Props) {
140
140
  <ProductGrid products={products} />
141
141
 
142
142
  {category.description ? (
143
+ // Security: merchant-authored category HTML, sanitized via
144
+ // `sanitizeHtml` (isomorphic-dompurify) before injecting.
143
145
  <div
144
146
  className="prose prose-neutral dark:prose-invert mt-12 max-w-none border-t pt-8"
145
147
  dangerouslySetInnerHTML={{ __html: sanitizeHtml(category.description) }}