@clonegod/ttd-bsc-common 1.0.50 → 1.0.52

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.
@@ -92,6 +92,7 @@ class SimpleRedisClient {
92
92
  }
93
93
  else {
94
94
  (0, dist_1.log_warn)(`withLock failed: lock_key=${lock_key}, lock_value=${lock_value}, retry times=${retries}, took ${Date.now() - first_try_time}ms`);
95
+ throw new Error(`get lock for ${lock_key} failed`);
95
96
  }
96
97
  }
97
98
  });
package/package.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
- "name": "@clonegod/ttd-bsc-common",
3
- "version": "1.0.50",
4
- "description": "BSC common library",
5
- "license": "UNLICENSED",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "scripts": {
12
- "clean": "rm -rf dist node_modules",
13
- "build": "npx tsc --outDir ./dist",
14
- "push": "npm run build && npm publish"
15
- },
16
- "dependencies": {
17
- "@clonegod/ttd-core": "2.0.80",
18
- "axios": "^1.12.0",
19
- "dotenv": "^16.4.7",
20
- "ethers": "^5.8.0"
21
- },
22
- "devDependencies": {
23
- "@types/node": "^22.14.0",
24
- "typescript": "^5.8.2"
25
- },
26
- "overrides": {},
27
- "publishConfig": {
28
- "access": "public"
29
- }
2
+ "name": "@clonegod/ttd-bsc-common",
3
+ "version": "1.0.52",
4
+ "description": "BSC common library",
5
+ "license": "UNLICENSED",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "scripts": {
12
+ "clean": "rm -rf dist node_modules",
13
+ "build": "npx tsc --outDir ./dist",
14
+ "push": "npm run build && npm publish"
15
+ },
16
+ "dependencies": {
17
+ "@clonegod/ttd-core": "2.0.85",
18
+ "axios": "^1.12.0",
19
+ "dotenv": "^16.4.7",
20
+ "ethers": "^5.8.0"
21
+ },
22
+ "devDependencies": {
23
+ "@types/node": "^22.14.0",
24
+ "typescript": "^5.8.2"
25
+ },
26
+ "overrides": {},
27
+ "publishConfig": {
28
+ "access": "public"
29
+ }
30
30
  }