@wonjm/tx-decoder-rc 0.12.0-rc.1
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/README.md +569 -0
- package/dist/index.cjs +6420 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2476 -0
- package/dist/index.d.ts +2476 -0
- package/dist/index.js +6386 -0
- package/dist/index.js.map +1 -0
- package/package.json +92 -0
package/package.json
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wonjm/tx-decoder-rc",
|
|
3
|
+
"version": "0.12.0-rc.1",
|
|
4
|
+
"description": "A pluggable library to decode Cosmos-based blockchain transactions.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"cosmos",
|
|
7
|
+
"blockchain",
|
|
8
|
+
"transaction",
|
|
9
|
+
"decoder"
|
|
10
|
+
],
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"author": "Initia (https://initia.xyz)",
|
|
13
|
+
"repository": {
|
|
14
|
+
"url": "https://github.com/initia-labs/tx-decoder"
|
|
15
|
+
},
|
|
16
|
+
"type": "module",
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": ">=24.0.0"
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"default": "./dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./dist/index.d.cts",
|
|
28
|
+
"default": "./dist/index.cjs"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"main": "./dist/index.cjs",
|
|
33
|
+
"module": "./dist/index.js",
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"files": [
|
|
36
|
+
"dist"
|
|
37
|
+
],
|
|
38
|
+
"scripts": {
|
|
39
|
+
"build": "tsup",
|
|
40
|
+
"clean": "rimraf dist",
|
|
41
|
+
"example:evm": "tsx examples/test-decode-evm-transaction.ts",
|
|
42
|
+
"lint": "eslint \"{src,tests}/**/*.ts\" --fix",
|
|
43
|
+
"prepare": "simple-git-hooks",
|
|
44
|
+
"prepublishOnly": "pnpm run build",
|
|
45
|
+
"test": "jest --config=jest.config.ts",
|
|
46
|
+
"test:coverage": "jest --config=jest.config.ts --coverage",
|
|
47
|
+
"typecheck": "tsc --noEmit"
|
|
48
|
+
},
|
|
49
|
+
"simple-git-hooks": {
|
|
50
|
+
"pre-commit": "pnpm lint-staged --concurrent false"
|
|
51
|
+
},
|
|
52
|
+
"lint-staged": {
|
|
53
|
+
"*.{ts}": [
|
|
54
|
+
"eslint --fix",
|
|
55
|
+
"prettier --write"
|
|
56
|
+
],
|
|
57
|
+
"*.{json,md}": [
|
|
58
|
+
"prettier --write"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@cosmjs/encoding": "^0.33.1",
|
|
63
|
+
"@initia/utils": "2.0.0-alpha.3",
|
|
64
|
+
"@noble/hashes": "^1.8.0",
|
|
65
|
+
"axios": "^1.12.0",
|
|
66
|
+
"big.js": "^7.0.1",
|
|
67
|
+
"cosmjs-types": "^0.9.0",
|
|
68
|
+
"immer": "^10.1.1",
|
|
69
|
+
"viem": "^2.37.5",
|
|
70
|
+
"zod": "^3.25.62"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@eslint/js": "^9.28.0",
|
|
74
|
+
"@types/big.js": "^6.2.2",
|
|
75
|
+
"@types/jest": "^29.5.12",
|
|
76
|
+
"@types/node": "^24.0.0",
|
|
77
|
+
"eslint": "^9.28.0",
|
|
78
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
79
|
+
"globals": "^16.2.0",
|
|
80
|
+
"jest": "^29.7.0",
|
|
81
|
+
"lint-staged": "^16.1.4",
|
|
82
|
+
"prettier": "^3.6.2",
|
|
83
|
+
"rimraf": "^5.0.7",
|
|
84
|
+
"simple-git-hooks": "^2.13.1",
|
|
85
|
+
"ts-jest": "^29.1.5",
|
|
86
|
+
"ts-node": "^10.9.2",
|
|
87
|
+
"tsup": "^8.1.0",
|
|
88
|
+
"tsx": "^4.7.1",
|
|
89
|
+
"typescript": "^5.5.2",
|
|
90
|
+
"typescript-eslint": "^8.34.0"
|
|
91
|
+
}
|
|
92
|
+
}
|