@blocklet/payment-types 1.21.16 → 1.22.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/lib/customer.d.ts CHANGED
@@ -131,13 +131,13 @@ export declare class Customer extends Model<InferAttributes<Customer>, InferCrea
131
131
  decreaseTokenBalance(currencyId: string, amount: string, dryRun?: boolean): Promise<{
132
132
  starting: Record<string, string>;
133
133
  ending: {
134
- [x: string]: any;
134
+ [x: string]: string;
135
135
  };
136
136
  }>;
137
137
  increaseTokenBalance(currencyId: string, amount: string, dryRun?: boolean): Promise<{
138
138
  starting: Record<string, string>;
139
139
  ending: {
140
- [x: string]: any;
140
+ [x: string]: string;
141
141
  };
142
142
  }>;
143
143
  static initialize(sequelize: any): void;
package/lib/types.d.ts CHANGED
@@ -106,7 +106,7 @@ export type SimpleCustomField = {
106
106
  value: string;
107
107
  };
108
108
  export type DiscountAmount = {
109
- amount: number;
109
+ amount: string;
110
110
  discount?: string;
111
111
  promotion_code?: string;
112
112
  coupon?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-types",
3
- "version": "1.21.16",
3
+ "version": "1.22.0",
4
4
  "description": "Typings for Payment Kit SDK",
5
5
  "keywords": [
6
6
  "types",
@@ -48,5 +48,5 @@
48
48
  "sequelize": "^6.37.7",
49
49
  "type-fest": "^4.41.0"
50
50
  },
51
- "gitHead": "16509d9abd2da2f52587972c863c79ba9e4cd49d"
51
+ "gitHead": "d69619c7d669bc6de8620273ff0f3f7b5d56383f"
52
52
  }