@rebilly/framepay 5.231.1 → 5.231.3

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -34
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -91,8 +91,6 @@ export declare class Bban extends PaymentMethod {
91
91
  }
92
92
 
93
93
  export declare interface BbanConfig {
94
- bicPlaceholder?: string;
95
- bankNamePlaceholder?: string;
96
94
  accountNumber?: string | null;
97
95
  routingNumber?: string | null;
98
96
  type?: {
@@ -170,7 +168,6 @@ export declare const CARD_CVV_TYPES: {
170
168
  };
171
169
 
172
170
  export declare const CARD_EXPIRATION_TYPES: {
173
- readonly dropdown: "dropdown";
174
171
  readonly text: "text";
175
172
  readonly hidden: "hidden";
176
173
  };
@@ -228,9 +225,6 @@ export declare type CardExpirationType = ValueOf<typeof CARD_EXPIRATION_TYPES>;
228
225
  export declare interface ClassesConfig {
229
226
  base?: string;
230
227
  focus?: string;
231
- group?: string;
232
- dropdown?: string;
233
- secondary?: string;
234
228
  buttons?: string;
235
229
  webkitAutofill?: string;
236
230
  valid?: string;
@@ -311,7 +305,6 @@ export declare const ELEMENT_TYPES: {
311
305
  readonly bban: "bban";
312
306
  readonly iban: "iban";
313
307
  readonly googlePay: "googlePay";
314
- readonly secondary: "secondary";
315
308
  };
316
309
 
317
310
  export declare type ElementType = (typeof ELEMENT_TYPES)[keyof typeof ELEMENT_TYPES];
@@ -363,21 +356,13 @@ export declare const FIELD_TYPES: {
363
356
  readonly card: "card";
364
357
  readonly cardNumber: "cardNumber";
365
358
  readonly cardExpiration: "cardExpiration";
366
- readonly cardExpirationMonth: "cardExpirationMonth";
367
- readonly cardExpirationYear: "cardExpirationYear";
368
359
  readonly cardCvv: "cardCvv";
369
360
  readonly bban: "bban";
370
361
  readonly bbanAccountType: "bbanAccountType";
371
362
  readonly bbanAccountNumber: "bbanAccountNumber";
372
363
  readonly bbanRoutingNumber: "bbanRoutingNumber";
373
- readonly bbanBic: "bbanBic";
374
- readonly bbanBankName: "bbanBankName";
375
364
  readonly iban: "iban";
376
365
  readonly ibanNumber: "ibanNumber";
377
- readonly ibanBic: "ibanBic";
378
- readonly ibanBankName: "ibanBankName";
379
- readonly cardExpirationMonthList: "cardExpirationMonthList";
380
- readonly cardExpirationYearList: "cardExpirationYearList";
381
366
  readonly digitalWallet: "digitalWallet";
382
367
  readonly applePay: "applePay";
383
368
  readonly googlePay: "googlePay";
@@ -385,7 +370,6 @@ export declare const FIELD_TYPES: {
385
370
  readonly paypal: "paypal";
386
371
  readonly plaid: "plaid";
387
372
  readonly klarna: "klarna";
388
- readonly secondary: "secondary";
389
373
  };
390
374
 
391
375
  export declare type FieldError = string | FramepayError;
@@ -696,7 +680,7 @@ export declare class Iban extends PaymentMethod {
696
680
  }
697
681
 
698
682
  /**
699
- * Abstraction layer for the IframeElement set to become a bban account field.
683
+ * Abstraction layer for the IframeElement set to become an IBAN field.
700
684
  * Used to hide the internal implementation.
701
685
  */
702
686
  export declare class IbanElement {
@@ -709,11 +693,7 @@ export declare class IbanElement {
709
693
  on: IframeElementBusOn;
710
694
  }
711
695
 
712
- export declare type IbanElementSourceReplaceNames = Partial<typeof PUBLIC_FIELD_SOURCE_NAMES_REPLACE_MAP.iban>;
713
-
714
- export declare type IbanFieldType = keyof IbanSourceMap | 'iban';
715
-
716
- export declare type IbanSourceMap = Partial<typeof PUBLIC_FIELD_SOURCE_NAMES_REPLACE_MAP.iban>;
696
+ export declare type IbanFieldType = typeof FIELD_TYPES.iban;
717
697
 
718
698
  export declare interface IconConfig {
719
699
  display?: boolean;
@@ -844,10 +824,6 @@ export declare interface PlaceholdersConfig {
844
824
  expirationYear?: string | null;
845
825
  };
846
826
  iban?: {
847
- bicTitle?: string | null;
848
- bicPlaceholder?: string | null;
849
- bankNameTitle?: string | null;
850
- bankNamePlaceholder?: string | null;
851
827
  accountNumber?: string | null;
852
828
  };
853
829
  }
@@ -908,19 +884,11 @@ export declare const PUBLIC_FIELD_SOURCE_NAMES_REPLACE_MAP: {
908
884
  bankAccountType: "bbanAccountType";
909
885
  bankAccountNumber: "bbanAccountNumber";
910
886
  bankRoutingNumber: "bbanRoutingNumber";
911
- bic: "bbanBic";
912
- bankName: "bbanBankName";
913
887
  };
914
888
  bban: {
915
889
  accountType: "bbanAccountType";
916
890
  accountNumber: "bbanAccountNumber";
917
891
  routingNumber: "bbanRoutingNumber";
918
- bic: "bbanBic";
919
- bankName: "bbanBankName";
920
- };
921
- iban: {
922
- bic: "ibanBic";
923
- bankName: "ibanBankName";
924
892
  };
925
893
  };
926
894
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/framepay",
3
- "version": "5.231.1",
3
+ "version": "5.231.3",
4
4
  "description": "A wrapper to load Rebilly's FramePay library and provide TypeScript types",
5
5
  "type": "module",
6
6
  "license": "MIT",