payment-kit 1.16.13 → 1.16.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.
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.16.13
17
+ version: 1.16.16
18
18
  logo: logo.png
19
19
  files:
20
20
  - dist
@@ -64,7 +64,7 @@ requirements:
64
64
  scripts:
65
65
  preStart: node api/hooks/pre-start.js
66
66
  preFlight: node api/hooks/pre-flight.js
67
- dev: npm run start
67
+ dev: pnpm run start
68
68
  environments: []
69
69
  capabilities:
70
70
  navigation: true
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "payment-kit",
3
- "version": "1.16.13",
3
+ "version": "1.16.16",
4
4
  "scripts": {
5
5
  "dev": "blocklet dev --open",
6
6
  "eject": "vite eject",
7
7
  "lint": "tsc --noEmit && eslint src api/src --ext .mjs,.js,.jsx,.ts,.tsx",
8
- "lint:fix": "npm run lint -- --fix",
8
+ "lint:fix": "pnpm run lint --fix",
9
9
  "format": "prettier -w src",
10
10
  "test": "node scripts/jest.js",
11
- "coverage": "npm run test -- --coverage",
11
+ "coverage": "pnpm run test --coverage",
12
12
  "start": "tsx watch api/dev.ts",
13
13
  "clean": "node scripts/build-clean.js",
14
- "bundle": "tsc --noEmit && npm run bundle:client && npm run bundle:api",
14
+ "bundle": "tsc --noEmit && pnpm run bundle:client && pnpm run bundle:api",
15
15
  "bundle:client": "vite build",
16
16
  "bundle:analyze": "cross-env ANALYZE=true vite build",
17
- "bundle:api": "npm run clean && tsc -p tsconfig.api.json && blocklet bundle --compact --monorepo --create-release --changelog",
18
- "build": "npm run clean && tsc -p tsconfig.api.json && npm run bundle:client",
17
+ "bundle:api": "pnpm run clean && tsc -p tsconfig.api.json && blocklet bundle --compact --monorepo --create-release --changelog",
18
+ "build": "pnpm run clean && tsc -p tsconfig.api.json && pnpm run bundle:client",
19
19
  "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",
20
- "deploy": "npm run bundle && blocklet deploy .blocklet/bundle",
21
- "upload": "npm run bundle && blocklet upload .blocklet/release/blocklet.json",
20
+ "deploy": "pnpm run bundle && blocklet deploy .blocklet/bundle",
21
+ "upload": "pnpm run bundle && blocklet upload .blocklet/release/blocklet.json",
22
22
  "bump-version": "zx --quiet scripts/bump-version.mjs"
23
23
  },
24
24
  "lint-staged": {
@@ -44,29 +44,29 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "@abtnode/cron": "^1.16.33",
47
- "@arcblock/did": "^1.18.150",
47
+ "@arcblock/did": "^1.18.161",
48
48
  "@arcblock/did-auth-storage-nedb": "^1.7.1",
49
- "@arcblock/did-connect": "^2.10.74",
50
- "@arcblock/did-util": "^1.18.150",
51
- "@arcblock/jwt": "^1.18.150",
52
- "@arcblock/ux": "^2.10.74",
53
- "@arcblock/validator": "^1.18.150",
49
+ "@arcblock/did-connect": "^2.10.87",
50
+ "@arcblock/did-util": "^1.18.161",
51
+ "@arcblock/jwt": "^1.18.161",
52
+ "@arcblock/ux": "^2.10.87",
53
+ "@arcblock/validator": "^1.18.161",
54
54
  "@blocklet/js-sdk": "^1.16.33",
55
55
  "@blocklet/logger": "^1.16.33",
56
- "@blocklet/payment-react": "1.16.13",
56
+ "@blocklet/payment-react": "1.16.16",
57
57
  "@blocklet/sdk": "^1.16.33",
58
- "@blocklet/ui-react": "^2.10.74",
59
- "@blocklet/uploader": "^0.1.53",
60
- "@blocklet/xss": "^0.1.12",
58
+ "@blocklet/ui-react": "^2.10.87",
59
+ "@blocklet/uploader": "^0.1.58",
60
+ "@blocklet/xss": "^0.1.15",
61
61
  "@mui/icons-material": "^5.16.6",
62
62
  "@mui/lab": "^5.0.0-alpha.173",
63
63
  "@mui/material": "^5.16.6",
64
64
  "@mui/system": "^5.16.6",
65
- "@ocap/asset": "^1.18.150",
66
- "@ocap/client": "^1.18.150",
67
- "@ocap/mcrypto": "^1.18.150",
68
- "@ocap/util": "^1.18.150",
69
- "@ocap/wallet": "^1.18.150",
65
+ "@ocap/asset": "^1.18.161",
66
+ "@ocap/client": "^1.18.161",
67
+ "@ocap/mcrypto": "^1.18.161",
68
+ "@ocap/util": "^1.18.161",
69
+ "@ocap/wallet": "^1.18.161",
70
70
  "@stripe/react-stripe-js": "^2.7.3",
71
71
  "@stripe/stripe-js": "^2.4.0",
72
72
  "ahooks": "^3.8.0",
@@ -120,7 +120,7 @@
120
120
  "devDependencies": {
121
121
  "@abtnode/types": "^1.16.33",
122
122
  "@arcblock/eslint-config-ts": "^0.3.3",
123
- "@blocklet/payment-types": "1.16.13",
123
+ "@blocklet/payment-types": "1.16.16",
124
124
  "@types/cookie-parser": "^1.4.7",
125
125
  "@types/cors": "^2.8.17",
126
126
  "@types/debug": "^4.1.12",
@@ -146,11 +146,11 @@
146
146
  "ts-node": "^10.9.2",
147
147
  "tsx": "^4.19.2",
148
148
  "type-fest": "^4.23.0",
149
- "typescript": "^4.9.5",
149
+ "typescript": "^5.5.4",
150
150
  "vite": "^5.3.5",
151
151
  "vite-node": "^2.0.4",
152
152
  "vite-plugin-babel-import": "^2.0.5",
153
- "vite-plugin-blocklet": "^0.9.13",
153
+ "vite-plugin-blocklet": "^0.9.14",
154
154
  "vite-plugin-node-polyfills": "^0.21.0",
155
155
  "vite-plugin-svgr": "^4.2.0",
156
156
  "vite-tsconfig-paths": "^4.3.2",
@@ -166,5 +166,5 @@
166
166
  "parser": "typescript"
167
167
  }
168
168
  },
169
- "gitHead": "5196c900b1ca5b47b23b62d8efb8c67ec456276f"
169
+ "gitHead": "fdffd2c105f53202dc73f3802d773a6141c5ea73"
170
170
  }
package/tsconfig.json CHANGED
@@ -54,7 +54,7 @@
54
54
  // "removeComments": true, /* Disable emitting comments. */
55
55
  "noEmit": true /* Disable emitting files from a compilation. */,
56
56
  // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
57
- "importsNotUsedAsValues": "error",
57
+ // "importsNotUsedAsValues": "error",
58
58
  // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
59
59
  // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
60
60
  // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
@@ -98,7 +98,7 @@
98
98
  /* Completeness */
99
99
  // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
100
100
  "skipLibCheck": true, /* Skip type checking all .d.ts files. */
101
- "baseUrl": "./",
101
+ // "baseUrl": "./",
102
102
  "paths": {
103
103
  // "@app/*": ["./src/*"],
104
104
  // "@api/*": ["./api/src/*"],