@payrails/web-sdk 5.8.3 → 5.9.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.8.3",
3
+ "version": "5.9.0",
4
4
  "description": "SDK providing tokenization options on the client for merchants",
5
5
  "main": "index.js",
6
6
  "types": "payrails.d.ts",
@@ -174,7 +174,6 @@
174
174
  box-shadow: none;
175
175
  box-sizing: border-box;
176
176
  background-color: rgba(246, 247, 248, 1);
177
-
178
177
  display: flex;
179
178
  flex-direction: column;
180
179
  align-items: flex-start;
@@ -330,7 +329,7 @@
330
329
  }
331
330
 
332
331
  #payrails-dropin-component * {
333
- min-width: none !important;
332
+ min-width: unset !important;
334
333
  }
335
334
 
336
335
  #payrails-dropin-component > div:has(label) {
package/payrails.d.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  /// <reference types="applepayjs" />
2
2
  /// <reference types="googlepay" />
3
+ import { LogLevel as LogLevel$1 } from '@payrails/logger';
4
+
3
5
  declare enum PAYMENT_METHOD_CODES {
4
6
  'CARD' = "card",
5
7
  'GOOGLE_PAY' = "googlePay",
@@ -637,6 +639,7 @@ interface CardPaymentButtonOptions {
637
639
  translations?: {
638
640
  label: string;
639
641
  };
642
+ redirectFor3DS?: boolean;
640
643
  styles?: {
641
644
  base?: Partial<CSSStyleDeclaration>;
642
645
  disabled?: Partial<CSSStyleDeclaration>;
@@ -678,6 +681,7 @@ declare enum AuthorizationFailureReasons {
678
681
  interface GooglePayButtonOptions extends StoreInstrumentElementOptions {
679
682
  environment?: PayrailsEnvironment;
680
683
  merchantInfo?: google.payments.api.MerchantInfo;
684
+ redirectFor3DS?: boolean;
681
685
  events?: PaymentEvents & UIEvents & {
682
686
  onGooglePayAvailable?: () => void;
683
687
  };
@@ -943,10 +947,11 @@ interface PayrailsClientOptions {
943
947
  events?: {
944
948
  onClientInitialized: (execution?: WorkflowExecution) => void;
945
949
  };
950
+ redirectFor3DS?: boolean;
946
951
  returnInfo?: ReturnInfo;
947
952
  telemetry?: {
948
953
  enabled?: boolean;
949
- logLevel?: 'debug' | 'error';
954
+ logLevel?: LogLevel$1;
950
955
  };
951
956
  }
952
957
  declare class Payrails {