payment-kit 1.13.76 → 1.13.77

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.
@@ -677,7 +677,7 @@ router.put('/:id', auth, async (req, res) => {
677
677
  // Clean up subscriptions that have invalid invoices and payments
678
678
  router.delete('/cleanup', auth, async (req, res) => {
679
679
  const status = String(req.query.status || 'uncollectible');
680
- if (['open', 'uncollectible'].includes(status)) {
680
+ if (['open', 'uncollectible'].includes(status) === false) {
681
681
  res.json({ error: 'status must be either open or uncollectible' });
682
682
  return;
683
683
  }
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.76
17
+ version: 1.13.77
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.76",
3
+ "version": "1.13.77",
4
4
  "scripts": {
5
5
  "dev": "COMPONENT_STORE_URL=https://test.store.blocklet.dev blocklet dev",
6
6
  "eject": "vite eject",
@@ -109,7 +109,7 @@
109
109
  "@abtnode/types": "^1.16.20",
110
110
  "@arcblock/eslint-config": "^0.2.4",
111
111
  "@arcblock/eslint-config-ts": "^0.2.4",
112
- "@did-pay/types": "1.13.76",
112
+ "@did-pay/types": "1.13.77",
113
113
  "@types/cookie-parser": "^1.4.6",
114
114
  "@types/cors": "^2.8.17",
115
115
  "@types/dotenv-flow": "^3.3.3",
@@ -148,5 +148,5 @@
148
148
  "parser": "typescript"
149
149
  }
150
150
  },
151
- "gitHead": "427ec4dcacd33fb24528e5f97c0a4f78c64d8cf2"
151
+ "gitHead": "216a753f4625b3b2712dabac88d20ea680d9eff9"
152
152
  }