payment-kit 1.13.209 → 1.13.210

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.
@@ -893,6 +893,8 @@ router.put('/:id', authPortal, async (req, res) => {
893
893
  }
894
894
 
895
895
  if (paymentMethod.type === 'stripe') {
896
+ await subscription.update(pick(updates, ['metadata', 'description', 'service_actions']));
897
+
896
898
  if (value.trial_end) {
897
899
  const client = paymentMethod.getStripeClient();
898
900
  const stripeId = subscription.payment_details?.stripe?.subscription_id;
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.209
17
+ version: 1.13.210
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.209",
3
+ "version": "1.13.210",
4
4
  "scripts": {
5
5
  "dev": "cross-env COMPONENT_STORE_URL=https://test.store.blocklet.dev blocklet dev --open",
6
6
  "eject": "vite eject",
@@ -42,28 +42,28 @@
42
42
  ]
43
43
  },
44
44
  "dependencies": {
45
- "@abtnode/cron": "1.16.24",
46
- "@arcblock/did": "^1.18.113",
45
+ "@abtnode/cron": "1.16.25",
46
+ "@arcblock/did": "^1.18.114",
47
47
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
48
- "@arcblock/did-connect": "^2.9.63",
49
- "@arcblock/did-util": "^1.18.113",
50
- "@arcblock/jwt": "^1.18.113",
51
- "@arcblock/ux": "^2.9.63",
52
- "@blocklet/logger": "1.16.24",
53
- "@blocklet/payment-react": "1.13.209",
54
- "@blocklet/sdk": "1.16.24",
55
- "@blocklet/ui-react": "^2.9.63",
48
+ "@arcblock/did-connect": "^2.9.64",
49
+ "@arcblock/did-util": "^1.18.114",
50
+ "@arcblock/jwt": "^1.18.114",
51
+ "@arcblock/ux": "^2.9.64",
52
+ "@blocklet/logger": "1.16.25",
53
+ "@blocklet/payment-react": "1.13.210",
54
+ "@blocklet/sdk": "1.16.25",
55
+ "@blocklet/ui-react": "^2.9.64",
56
56
  "@blocklet/uploader": "^0.0.75",
57
57
  "@mui/icons-material": "^5.15.14",
58
58
  "@mui/lab": "^5.0.0-alpha.169",
59
59
  "@mui/material": "^5.15.14",
60
60
  "@mui/styles": "^5.15.14",
61
61
  "@mui/system": "^5.15.14",
62
- "@ocap/asset": "^1.18.113",
63
- "@ocap/client": "^1.18.113",
64
- "@ocap/mcrypto": "^1.18.113",
65
- "@ocap/util": "^1.18.113",
66
- "@ocap/wallet": "^1.18.113",
62
+ "@ocap/asset": "^1.18.114",
63
+ "@ocap/client": "^1.18.114",
64
+ "@ocap/mcrypto": "^1.18.114",
65
+ "@ocap/util": "^1.18.114",
66
+ "@ocap/wallet": "^1.18.114",
67
67
  "@stripe/react-stripe-js": "^2.4.0",
68
68
  "@stripe/stripe-js": "^2.4.0",
69
69
  "ahooks": "^3.7.10",
@@ -108,9 +108,9 @@
108
108
  "validator": "^13.11.0"
109
109
  },
110
110
  "devDependencies": {
111
- "@abtnode/types": "1.16.24",
111
+ "@abtnode/types": "1.16.25",
112
112
  "@arcblock/eslint-config-ts": "^0.3.0",
113
- "@blocklet/payment-types": "1.13.209",
113
+ "@blocklet/payment-types": "1.13.210",
114
114
  "@types/cookie-parser": "^1.4.6",
115
115
  "@types/cors": "^2.8.17",
116
116
  "@types/dotenv-flow": "^3.3.3",
@@ -134,7 +134,7 @@
134
134
  "type-fest": "^4.10.2",
135
135
  "typescript": "^4.9.5",
136
136
  "vite": "^5.2.7",
137
- "vite-plugin-blocklet": "^0.7.6",
137
+ "vite-plugin-blocklet": "^0.7.9",
138
138
  "vite-plugin-node-polyfills": "^0.21.0",
139
139
  "vite-plugin-svgr": "^4.2.0",
140
140
  "zx": "^7.2.3"
@@ -149,5 +149,5 @@
149
149
  "parser": "typescript"
150
150
  }
151
151
  },
152
- "gitHead": "24391eee3017ca20e40a595334e1adccbadc85cd"
152
+ "gitHead": "4d13c9b750596c25098c219a6e269ed141734d5e"
153
153
  }