@soltech/fluid-common 0.4.11 → 0.5.1

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/lib/index.d.ts CHANGED
@@ -42,7 +42,7 @@ export interface WalletConfigParams {
42
42
  theme: Record<string, TraitType>;
43
43
  }
44
44
  export interface AllPaymentMethods {
45
- recentPaymentMethods: RecentMethod[];
45
+ storedPaymentMethods: StoredMethod[];
46
46
  paymentMethods: PaymentMethod[];
47
47
  }
48
48
  export interface AllPaymentMethodsByTransactionType {
@@ -82,7 +82,7 @@ export interface InputFieldOption {
82
82
  code: string;
83
83
  logo?: PaymentMethodLogo;
84
84
  }
85
- export interface RecentMethod extends PaymentMethod {
85
+ export interface StoredMethod extends PaymentMethod {
86
86
  accountId: string;
87
87
  maskedAccount: string;
88
88
  lastSuccess: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soltech/fluid-common",
3
- "version": "0.4.11",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "description": "Fluid frontend and API commons",
6
6
  "main": "lib/index.js",
package/src/index.ts CHANGED
@@ -51,7 +51,7 @@ export interface WalletConfigParams {
51
51
  }
52
52
 
53
53
  export interface AllPaymentMethods {
54
- recentPaymentMethods: RecentMethod[];
54
+ storedPaymentMethods: StoredMethod[];
55
55
  paymentMethods: PaymentMethod[];
56
56
  }
57
57
 
@@ -97,7 +97,7 @@ export interface InputFieldOption {
97
97
  logo?: PaymentMethodLogo;
98
98
  }
99
99
 
100
- export interface RecentMethod extends PaymentMethod {
100
+ export interface StoredMethod extends PaymentMethod {
101
101
  accountId: string;
102
102
  maskedAccount: string;
103
103
  lastSuccess: string;
@@ -216,4 +216,4 @@ export interface AvailableBonusWithPaymentMethods {
216
216
  export interface BonusPaymentMethod {
217
217
  providerType: string;
218
218
  service?: string;
219
- }
219
+ }