@blocklet/payment-types 1.13.159 → 1.13.161

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.
@@ -1,6 +1,6 @@
1
1
  import { CreationOptional, DataTypes, InferAttributes, InferCreationAttributes, Model } from 'sequelize';
2
2
  import type { LiteralUnion } from 'type-fest';
3
- import type { PaymentError, PaymentMethodOptions } from './types';
3
+ import type { PaymentDetails, PaymentError, PaymentMethodOptions } from './types';
4
4
  export declare class SetupIntent extends Model<InferAttributes<SetupIntent>, InferCreationAttributes<SetupIntent>> {
5
5
  id: CreationOptional<string>;
6
6
  livemode: boolean;
@@ -17,10 +17,7 @@ export declare class SetupIntent extends Model<InferAttributes<SetupIntent>, Inf
17
17
  payment_method_options?: PaymentMethodOptions;
18
18
  payment_method_types?: string[];
19
19
  payment_method_id: string;
20
- setup_details?: {
21
- tx_hash?: string;
22
- payer?: string;
23
- };
20
+ setup_details?: PaymentDetails;
24
21
  created_at: CreationOptional<Date>;
25
22
  updated_at: CreationOptional<Date>;
26
23
  static readonly GENESIS_ATTRIBUTES: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-types",
3
- "version": "1.13.159",
3
+ "version": "1.13.161",
4
4
  "description": "Typings for Payment Kit SDK",
5
5
  "keywords": [
6
6
  "types",
@@ -48,5 +48,5 @@
48
48
  "sequelize": "^6.36.0",
49
49
  "type-fest": "^4.10.2"
50
50
  },
51
- "gitHead": "2663776fb04b0446e2d053eedfb66d1910c507f8"
51
+ "gitHead": "55cb16d9cd06b91b949a1a1c88b14670b0c1aca8"
52
52
  }