@paynext/sdk 0.0.62 → 0.0.64

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/dist/index.d.ts CHANGED
@@ -30,6 +30,15 @@ declare interface ApplePayTransaction {
30
30
  }>;
31
31
  }
32
32
 
33
+ declare interface BillingAddress {
34
+ city?: string;
35
+ country?: string;
36
+ line1?: string;
37
+ line2?: string;
38
+ postal_code?: string;
39
+ state?: string;
40
+ }
41
+
33
42
  declare interface BraintreeConfig extends IButtonActionsHandler {
34
43
  authorization: string;
35
44
  }
@@ -37,6 +46,7 @@ declare interface BraintreeConfig extends IButtonActionsHandler {
37
46
  declare class BraintreeService {
38
47
  private client;
39
48
  private venmoInstance;
49
+ private deviceData;
40
50
  init(config: BraintreeConfig): Promise<void>;
41
51
  createVenmo(config?: Partial<VenmoConfig>): Promise<Venmo>;
42
52
  isBrowserSupported(): boolean;
@@ -243,6 +253,11 @@ export declare interface CheckoutTranslate {
243
253
  cardNotActivated: string;
244
254
  closedCard: string;
245
255
  processorNetworkUnavailableTryAgain: string;
256
+ errorText: string;
257
+ venmoClosed: string;
258
+ paypalClosed: string;
259
+ applePayClosed: string;
260
+ paypalPopupClosed: string;
246
261
  };
247
262
  }
248
263
 
@@ -676,6 +691,8 @@ declare interface VenmoTokenizePayload {
676
691
  details: {
677
692
  username: string;
678
693
  };
694
+ device_data?: string;
695
+ billing_address?: BillingAddress;
679
696
  }
680
697
 
681
698
  export { }