payment-kit 1.13.43 → 1.13.44
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/api/src/routes/pricing-table.ts +3 -0
- package/blocklet.yml +1 -1
- package/package.json +3 -3
|
@@ -363,7 +363,10 @@ router.post('/:id/checkout/:priceId', async (req, res) => {
|
|
|
363
363
|
behavior: 'per_checkout_session',
|
|
364
364
|
factory: req.query.nft_mint_factory as string,
|
|
365
365
|
};
|
|
366
|
+
raw.nft_mint_status = 'pending';
|
|
366
367
|
logger.info('use nft_mint_settings from query when checkout from pricing table', { v: raw.nft_mint_settings });
|
|
368
|
+
} else {
|
|
369
|
+
raw.nft_mint_status = 'disabled';
|
|
367
370
|
}
|
|
368
371
|
|
|
369
372
|
const session = await CheckoutSession.create(raw as any);
|
package/blocklet.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "payment-kit",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.44",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "blocklet dev",
|
|
6
6
|
"eject": "vite eject",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"@abtnode/types": "1.16.17",
|
|
104
104
|
"@arcblock/eslint-config": "^0.2.4",
|
|
105
105
|
"@arcblock/eslint-config-ts": "^0.2.4",
|
|
106
|
-
"@did-pay/types": "1.13.
|
|
106
|
+
"@did-pay/types": "1.13.44",
|
|
107
107
|
"@types/cookie-parser": "^1.4.5",
|
|
108
108
|
"@types/cors": "^2.8.15",
|
|
109
109
|
"@types/dotenv-flow": "^3.3.2",
|
|
@@ -140,5 +140,5 @@
|
|
|
140
140
|
"parser": "typescript"
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "77f57fdf65d8b465f818f81f410274adf2f60bc6"
|
|
144
144
|
}
|