@payrails/web-sdk 5.29.1-rc → 5.29.1-rc.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payrails/web-sdk",
3
- "version": "5.29.1-rc",
3
+ "version": "5.29.1-rc.1",
4
4
  "description": "SDK providing tokenization options on the client for merchants",
5
5
  "main": "index.js",
6
6
  "types": "payrails.d.ts",
package/payrails.d.ts CHANGED
@@ -1275,6 +1275,7 @@ interface ApplePayDropinOptions extends ApplePayButtonOptions {
1275
1275
  labels?: {
1276
1276
  label?: string;
1277
1277
  storeInstrument?: string;
1278
+ paymentScreenLabel?: string;
1278
1279
  };
1279
1280
  };
1280
1281
  events?: ApplePayButtonOptions['events'] & DropinElementEvents;
@@ -1787,6 +1788,13 @@ declare enum PayrailsEnvironment {
1787
1788
  interface ApplePayButtonOptions extends StoreInstrumentElementOptions {
1788
1789
  clientDomain?: string;
1789
1790
  showPaymentMethodLogo?: boolean;
1791
+ translations?: {
1792
+ labels?: {
1793
+ storeInstrument?: string;
1794
+ saveInstrument?: string;
1795
+ paymentScreenLabel?: string;
1796
+ };
1797
+ };
1790
1798
  events?: PaymentEvents & {
1791
1799
  onApplePayAvailable?: () => void;
1792
1800
  };