payment-kit 1.13.202 → 1.13.205

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.
@@ -365,6 +365,7 @@ export async function startCheckoutSessionFromPaymentLink(id: string, req: Reque
365
365
  }
366
366
 
367
367
  doc.line_items = items;
368
+
368
369
  res.json({
369
370
  checkoutSession: doc.toJSON(),
370
371
  paymentMethods: await getPaymentMethods(doc),
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.202
17
+ version: 1.13.205
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.202",
3
+ "version": "1.13.205",
4
4
  "scripts": {
5
5
  "dev": "cross-env COMPONENT_STORE_URL=https://test.store.blocklet.dev blocklet dev --open",
6
6
  "eject": "vite eject",
@@ -13,7 +13,7 @@
13
13
  "clean": "node scripts/build-clean.js",
14
14
  "bundle": "tsc --noEmit && npm run bundle:client && npm run bundle:api",
15
15
  "bundle:client": "vite build",
16
- "bundle:api": "npm run clean && tsc -p tsconfig.api.json && blocklet bundle --compact --external sqlite3 --create-release",
16
+ "bundle:api": "npm run clean && tsc -p tsconfig.api.json && blocklet bundle --compact --external sqlite3 --create-release --changelog",
17
17
  "build": "npm run clean && tsc -p tsconfig.api.json && npm run bundle:client",
18
18
  "types": "rm -rf types && tsc -p tsconfig.types.json && rm -f ../../packages/types/lib/*.d.ts && cp -f types/store/models/*.d.ts ../../packages/types/lib",
19
19
  "deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
@@ -50,7 +50,7 @@
50
50
  "@arcblock/jwt": "^1.18.113",
51
51
  "@arcblock/ux": "^2.9.63",
52
52
  "@blocklet/logger": "1.16.24",
53
- "@blocklet/payment-react": "1.13.202",
53
+ "@blocklet/payment-react": "1.13.205",
54
54
  "@blocklet/sdk": "1.16.24",
55
55
  "@blocklet/ui-react": "^2.9.63",
56
56
  "@blocklet/uploader": "^0.0.75",
@@ -110,7 +110,7 @@
110
110
  "devDependencies": {
111
111
  "@abtnode/types": "1.16.24",
112
112
  "@arcblock/eslint-config-ts": "^0.3.0",
113
- "@blocklet/payment-types": "1.13.202",
113
+ "@blocklet/payment-types": "1.13.205",
114
114
  "@types/cookie-parser": "^1.4.6",
115
115
  "@types/cors": "^2.8.17",
116
116
  "@types/dotenv-flow": "^3.3.3",
@@ -149,5 +149,5 @@
149
149
  "parser": "typescript"
150
150
  }
151
151
  },
152
- "gitHead": "e9c7a403fee7506f92118581d659c91f210714a7"
152
+ "gitHead": "8c16c5d362df5c497c7a95a0ae20e2ef61f747b3"
153
153
  }
@@ -213,6 +213,8 @@ function CustomerSubscriptionChangePayment({ subscription, customer, onComplete
213
213
  items={subscription.items as any[]}
214
214
  currency={findCurrency(settings.paymentMethods, selectedCurrencyId) as TPaymentCurrency}
215
215
  trialInDays={0}
216
+ billingThreshold={0}
217
+ showStaking={method.type === 'arcblock'}
216
218
  />
217
219
  </Stack>
218
220
  <Stack direction="column" spacing={2}>