@payrails/web-sdk 5.45.0 → 5.45.1-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.45.0",
3
+ "version": "5.45.1-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",
package/payrails.d.ts CHANGED
@@ -571,6 +571,10 @@ interface SdkConfiguration {
571
571
  };
572
572
  };
573
573
  execution?: WorkflowExecutionResponse;
574
+ featureConfig?: SdkFeatureConfig;
575
+ }
576
+ interface SdkFeatureConfig {
577
+ gpayIframeRollout?: number;
574
578
  }
575
579
  interface PayrailsAmount {
576
580
  value: string;
@@ -1535,7 +1539,7 @@ interface GooglePayButtonOptions extends StoreInstrumentElementOptions {
1535
1539
  } & StoreInstrumentElementOptions['styles'];
1536
1540
  returnInfo?: ReturnInfo;
1537
1541
  }
1538
- declare class GooglePayButton extends PayrailsElementWithStoreInstrumentCheckbox {
1542
+ declare class GooglePayButton$1 extends PayrailsElementWithStoreInstrumentCheckbox {
1539
1543
  protected options: GooglePayButtonOptions;
1540
1544
  private readonly paymentExecutor;
1541
1545
  private static googleSDKClient;
@@ -1556,6 +1560,11 @@ declare class GooglePayButton extends PayrailsElementWithStoreInstrumentCheckbox
1556
1560
  unmount(): void;
1557
1561
  }
1558
1562
 
1563
+ declare class GooglePayButton extends PayrailsElementWithStoreInstrumentCheckbox {
1564
+ static isGooglePayAvailable(...args: Parameters<typeof GooglePayButton$1.isGooglePayAvailable>): Promise<boolean>;
1565
+ constructor(options: GooglePayButtonOptions);
1566
+ }
1567
+
1559
1568
  interface LeanButtonOptions {
1560
1569
  id?: string;
1561
1570
  events?: PaymentEvents;