@waffo/pancake-ts 0.12.0 → 0.13.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.
@@ -680,6 +680,7 @@ const subResult = await client.checkout.authenticated.create({
680
680
  | `darkMode` | `boolean` | No | Dark mode override (true=dark, false=light, omit=store default) |
681
681
  | `metadata` | `Record<string, string>` | No | Custom metadata |
682
682
  | `orderMerchantExternalId` | `string` | No | Your business-side order identifier (max 128 chars). Surfaces under the same name on `Order` / `Payment` / `Refund` GraphQL types and in webhook payload (`data.orderMerchantExternalId`). |
683
+ | `language` | `string` | No | Default checkout cashier language (IETF BCP 47), e.g. `pt-BR`, `zh-Hant-TW`. Must be one of the supported cashier languages; the customer can switch on the page. |
683
684
 
684
685
  **Returns `AuthenticatedCheckoutResult`**:
685
686
 
@@ -725,6 +726,7 @@ const snapshotResult = await client.checkout.anonymous.create({
725
726
  | `darkMode` | `boolean` | No | Dark mode override (true=dark, false=light, omit=store default) |
726
727
  | `metadata` | `Record<string, string>` | No | Custom metadata |
727
728
  | `orderMerchantExternalId` | `string` | No | Your business-side order identifier (max 128 chars). Honored on the API Key path; visitor / store-slug flows silently drop it. Same field name in webhook payload and GraphQL `Order` / `Payment` / `Refund`. |
729
+ | `language` | `string` | No | Default checkout cashier language (IETF BCP 47), e.g. `pt-BR`, `zh-Hant-TW`. Must be one of the supported cashier languages; the customer can switch on the page. |
728
730
 
729
731
  **Returns `CheckoutSessionResult`**:
730
732
 
@@ -761,6 +763,7 @@ const session = await client.checkout.createSession({
761
763
  | `darkMode` | `boolean` | No | Dark mode override |
762
764
  | `metadata` | `Record<string, string>` | No | Custom metadata |
763
765
  | `orderMerchantExternalId` | `string` | No | Your business-side order identifier (max 128 chars). Honored on the API Key (merchant) path; visitor / store-slug flows silently drop it. Same field name in webhook payload and GraphQL. |
766
+ | `language` | `string` | No | Default checkout cashier language (IETF BCP 47), e.g. `pt-BR`, `zh-Hant-TW`. Must be one of the supported cashier languages; the customer can switch on the page. |
764
767
 
765
768
  **`BillingDetail` fields**:
766
769
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waffo/pancake-ts",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "description": "TypeScript SDK for Waffo Pancake MoR platform — RSA-SHA256 signing, zero runtime dependencies",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",