payment-kit 1.15.15 → 1.15.16

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.
@@ -510,7 +510,7 @@ router.put('/:id/resume', auth, async (req, res) => {
510
510
  if (!doc) {
511
511
  return res.status(404).json({ error: 'Subscription not found' });
512
512
  }
513
- if (doc.status !== 'paused' || doc.pause_collection === null) {
513
+ if (doc.status !== 'paused' && doc.pause_collection === null) {
514
514
  return res.status(400).json({ error: 'Subscription not paused' });
515
515
  }
516
516
 
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.15.15
17
+ version: 1.15.16
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.15.15",
3
+ "version": "1.15.16",
4
4
  "scripts": {
5
5
  "dev": "blocklet dev --open",
6
6
  "eject": "vite eject",
@@ -52,7 +52,7 @@
52
52
  "@arcblock/validator": "^1.18.135",
53
53
  "@blocklet/js-sdk": "^1.16.32",
54
54
  "@blocklet/logger": "^1.16.32",
55
- "@blocklet/payment-react": "1.15.15",
55
+ "@blocklet/payment-react": "1.15.16",
56
56
  "@blocklet/sdk": "^1.16.32",
57
57
  "@blocklet/ui-react": "^2.10.39",
58
58
  "@blocklet/uploader": "^0.1.40",
@@ -118,7 +118,7 @@
118
118
  "devDependencies": {
119
119
  "@abtnode/types": "^1.16.32",
120
120
  "@arcblock/eslint-config-ts": "^0.3.2",
121
- "@blocklet/payment-types": "1.15.15",
121
+ "@blocklet/payment-types": "1.15.16",
122
122
  "@types/cookie-parser": "^1.4.7",
123
123
  "@types/cors": "^2.8.17",
124
124
  "@types/debug": "^4.1.12",
@@ -160,5 +160,5 @@
160
160
  "parser": "typescript"
161
161
  }
162
162
  },
163
- "gitHead": "a4661fedeb5c77d1c89736f9030f89cb2fc03474"
163
+ "gitHead": "6514eec9e9d7c69735a76ac097644248b3634b3f"
164
164
  }