payment-kit 1.13.27 → 1.13.28

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.
@@ -8,7 +8,8 @@ export const up: Migration = async ({ context }) => {
8
8
  await context.addColumn('checkout_sessions', 'nft_mint_settings', { type: DataTypes.JSON, allowNull: true });
9
9
  await context.addColumn('checkout_sessions', 'nft_mint_details', { type: DataTypes.JSON, allowNull: true });
10
10
  await context.addColumn('checkout_sessions', 'nft_mint_status', {
11
- type: DataTypes.ENUM('disabled', 'pending', 'minted', 'error'),
11
+ type: DataTypes.ENUM('disabled', 'pending', 'minted', 'sent', 'error'),
12
+ defaultValue: 'disabled',
12
13
  allowNull: false,
13
14
  });
14
15
  };
@@ -268,6 +268,7 @@ export class CheckoutSession extends Model<InferAttributes<CheckoutSession>, Inf
268
268
  },
269
269
  nft_mint_status: {
270
270
  type: DataTypes.ENUM('disabled', 'pending', 'minted', 'sent', 'error'),
271
+ defaultValue: 'disabled',
271
272
  allowNull: false,
272
273
  },
273
274
  line_items: {
package/blocklet.yml CHANGED
@@ -14,7 +14,7 @@ repository:
14
14
  type: git
15
15
  url: git+https://github.com/blocklet/payment-kit.git
16
16
  specVersion: 1.2.8
17
- version: 1.13.27
17
+ version: 1.13.28
18
18
  logo: logo.png
19
19
  files:
20
20
  - dist
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payment-kit",
3
- "version": "1.13.27",
3
+ "version": "1.13.28",
4
4
  "scripts": {
5
5
  "dev": "blocklet dev",
6
6
  "eject": "vite eject",
@@ -103,7 +103,7 @@
103
103
  "@abtnode/types": "1.16.17-beta-703fb879",
104
104
  "@arcblock/eslint-config": "^0.2.4",
105
105
  "@arcblock/eslint-config-ts": "^0.2.4",
106
- "@did-pay/types": "1.13.27",
106
+ "@did-pay/types": "1.13.28",
107
107
  "@types/cookie-parser": "^1.4.4",
108
108
  "@types/cors": "^2.8.14",
109
109
  "@types/dotenv-flow": "^3.3.1",
@@ -140,5 +140,5 @@
140
140
  "parser": "typescript"
141
141
  }
142
142
  },
143
- "gitHead": "7f11915be75b7419085508377566b02495b423a1"
143
+ "gitHead": "b4a13ea876d489b52fed81b21049fd39bda088d4"
144
144
  }