@bcc-code/payment-client 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/README.md +3 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -139,6 +139,7 @@ const handleReady = () => {
139
139
  :payment-id="payment.paymentId"
140
140
  :client-data="payment.clientData"
141
141
  :client-key="adyenClientKey"
142
+ :environment="payment.environment"
142
143
  :amount="99.99"
143
144
  currency="EUR"
144
145
  @success="handleSuccess"
@@ -202,6 +203,7 @@ const handleReady = () => {
202
203
  - `paymentId` (string, required) - Payment ID from CreatePaymentResponse
203
204
  - `clientData` (string, optional) - Client data from CreatePaymentResponse (contains session data)
204
205
  - `clientKey` (string, required) - Adyen client key
206
+ - `environment` (string, optional) - Environment (test/live)
205
207
  - `amount` (number, optional) - Payment amount
206
208
  - `currency` (string, optional) - Currency code
207
209
  - `paymentData` (any, optional) - Additional payment data
@@ -273,6 +275,7 @@ import type {
273
275
  :payment-id="payment.paymentId"
274
276
  :client-data="payment.clientData"
275
277
  :client-key="payment.clientKey"
278
+ :environment="payment.environment"
276
279
  :amount="amount"
277
280
  :currency="currency"
278
281
  @success="handlePaymentSuccess"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bcc-code/payment-client",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Client SDK for BCC Payment Orchestrator API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",