@payrails/web-sdk 5.32.0 → 5.34.0-RC.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payrails/web-sdk",
3
- "version": "5.32.0",
3
+ "version": "5.34.0-RC.0",
4
4
  "description": "SDK providing tokenization options on the client for merchants",
5
5
  "main": "index.js",
6
6
  "types": "payrails.d.ts",
@@ -13,7 +13,8 @@
13
13
  "@rollup/plugin-html": "2.0.0",
14
14
  "@types/applepayjs": "14.0.9",
15
15
  "@types/googlepay": "0.7.5",
16
- "rollup-plugin-import-css": "3.5.8"
16
+ "rollup-plugin-import-css": "3.5.8",
17
+ "vitest-fetch-mock": "0.4.5"
17
18
  },
18
19
  "scripts": {}
19
20
  }
package/payrails.d.ts CHANGED
@@ -1464,6 +1464,8 @@ declare class GenericRedirectButton extends PayrailsElement {
1464
1464
  private handleAuthorizationResult;
1465
1465
  private createPopupWithTimeout;
1466
1466
  private redirectToPaymentLink;
1467
+ private monitorRedirectInNewTab;
1468
+ private watchTabClosure;
1467
1469
  private updateStyles;
1468
1470
  private updateTranslations;
1469
1471
  private updateEvents;
@@ -1947,6 +1949,7 @@ declare enum PayrailsEnvironment {
1947
1949
  interface ApplePayButtonOptions extends StoreInstrumentElementOptions {
1948
1950
  clientDomain?: string;
1949
1951
  showPaymentMethodLogo?: boolean;
1952
+ abortAfterAuthorizeFailed?: boolean;
1950
1953
  translations?: {
1951
1954
  labels?: {
1952
1955
  storeInstrument?: string;
@@ -1976,6 +1979,7 @@ declare class ApplePayButton extends PayrailsElementWithStoreInstrumentCheckbox
1976
1979
  mount(location: string): void;
1977
1980
  unmount(): void;
1978
1981
  private mountApplePayButton;
1982
+ private createOnAuthorizeFailedHandler;
1979
1983
  private createApplePaySession;
1980
1984
  private onApplePayAuthorized;
1981
1985
  }