@_koii/task-node 1.12.37
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 +49 -0
- package/dist/bincode_js.d.ts +225 -0
- package/dist/bincode_js.js +1211 -0
- package/dist/bincode_js_bg.wasm +0 -0
- package/dist/bincode_js_bg.wasm.d.ts +44 -0
- package/dist/taskNodeLib.d.ts +712 -0
- package/dist/taskNodeLib.js +5980 -0
- package/dist/taskNodeLib.mjs +5948 -0
- package/dist/zstd.wasm +0 -0
- package/package.json +116 -0
package/dist/zstd.wasm
ADDED
Binary file
|
package/package.json
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
{
|
2
|
+
"name": "@_koii/task-node",
|
3
|
+
"files": [
|
4
|
+
"dist"
|
5
|
+
],
|
6
|
+
"version": "1.12.37",
|
7
|
+
"description": "Node repo for k2",
|
8
|
+
"main": "dist/taskNodeLib.js",
|
9
|
+
"types": "dist/taskNodeLib.d.ts",
|
10
|
+
"module": "dist/taskNodeLib.mjs",
|
11
|
+
"engines": {
|
12
|
+
"node": ">= 16"
|
13
|
+
},
|
14
|
+
"devDependencies": {
|
15
|
+
"@solana/buffer-layout": "^4.0.1",
|
16
|
+
"@types/express": "^4.17.16",
|
17
|
+
"@types/jest": "~27.0.2",
|
18
|
+
"@types/jsonwebtoken": "^9.0.1",
|
19
|
+
"@types/levelup": "^5.1.1",
|
20
|
+
"@types/mz": "^2.7.4",
|
21
|
+
"@types/node": "~16.11.6",
|
22
|
+
"@typescript-eslint/eslint-plugin": "~5.7.0",
|
23
|
+
"@typescript-eslint/parser": "~5.7.0",
|
24
|
+
"eslint": "~8.4.1",
|
25
|
+
"eslint-config-prettier": "~8.3.0",
|
26
|
+
"eslint-plugin-jest": "~25.3.0",
|
27
|
+
"husky": "^8.0.3",
|
28
|
+
"jest": "~27.4.4",
|
29
|
+
"prettier": "~2.5.1",
|
30
|
+
"puppeteer": "^19.8.2",
|
31
|
+
"rimraf": "~3.0.2",
|
32
|
+
"ts-jest": "~27.1.1",
|
33
|
+
"ts-node": "^10.9.1",
|
34
|
+
"tsup": "^6.5.0",
|
35
|
+
"tsutils": "~3.21.0",
|
36
|
+
"typescript": "~4.5.3",
|
37
|
+
"yaml": "^2.1.0"
|
38
|
+
},
|
39
|
+
"scripts": {
|
40
|
+
"task": "node build/src/cli/task-cli.js",
|
41
|
+
"start": "node build/src/main.js",
|
42
|
+
"start:dev": "npx nodemon",
|
43
|
+
"preautostake": "npm run build",
|
44
|
+
"autostake": "node build/src/cli/auto-stake.js",
|
45
|
+
"initialize-start": "npm run autostake && npm run start",
|
46
|
+
"clean": "rimraf coverage build tmp",
|
47
|
+
"prebuild": "npm run lint",
|
48
|
+
"build": "tsc -p tsconfig.release.json",
|
49
|
+
"postbuild": "cpy '../webasm_bincode_deserializer/**/*' ../build/webasm_bincode_deserializer --cwd=src/ --parents",
|
50
|
+
"build:lib": "tsup src/lib/taskNodeLib.ts --format cjs,esm --dts --external @solana/web3.js --publicDir webasm_bincode_deserializer",
|
51
|
+
"build-docker": "tsc -p tsconfig.release.json && for f in $(find build/src/ -name '*.js') ; do cat $f | sed -E 's/console.(log|debug|info|...|count)\\((.*)\\);?//g' | terser --compress --mangle -o $f ; done",
|
52
|
+
"build:watch": "tsc -w -p tsconfig.release.json",
|
53
|
+
"lint": "eslint . --quiet --ext .ts,.tsx",
|
54
|
+
"test": "jest",
|
55
|
+
"test-coverage": "jest --coverage",
|
56
|
+
"test:watch": "jest --watch",
|
57
|
+
"semantic-release": "semantic-release",
|
58
|
+
"prepare": "husky install"
|
59
|
+
},
|
60
|
+
"author": "Syed Ghazanfer Anwar (s.ghazanfer@koii.network)",
|
61
|
+
"license": "ISC",
|
62
|
+
"dependencies": {
|
63
|
+
"@_koii/web3.js": "^0.1.11",
|
64
|
+
"@bokuweb/zstd-wasm": "^0.0.20",
|
65
|
+
"@datastructures-js/priority-queue": "^6.3.0",
|
66
|
+
"@oneidentity/zstd-js": "^1.0.3",
|
67
|
+
"@semantic-release/git": "^10.0.1",
|
68
|
+
"@semantic-release/gitlab": "^12.0.1",
|
69
|
+
"@semantic-release/npm": "^10.0.2",
|
70
|
+
"@solana/spl-token": "0.2.0",
|
71
|
+
"@types/leveldown": "^4.0.3",
|
72
|
+
"arweave": "^1.10.18",
|
73
|
+
"axios": "^0.26.0",
|
74
|
+
"base-64": "^1.0.0",
|
75
|
+
"body-parser": "^1.19.2",
|
76
|
+
"bs58": "^5.0.0",
|
77
|
+
"buffer-layout": "^1.2.2",
|
78
|
+
"cheerio": "^1.0.0-rc.12",
|
79
|
+
"colors": "^1.4.0",
|
80
|
+
"cookie-parser": "^1.4.6",
|
81
|
+
"cors": "^2.8.5",
|
82
|
+
"cpy-cli": "^5.0.0",
|
83
|
+
"crypto-random-string": "3.3.1",
|
84
|
+
"dotenv": "^16.0.0",
|
85
|
+
"encoding-down": "^7.1.0",
|
86
|
+
"eslint-plugin-prettier": "^4.2.1",
|
87
|
+
"eslint-plugin-unused-imports": "^2.0.0",
|
88
|
+
"express": "^4.17.3",
|
89
|
+
"express-http-proxy": "^1.6.3",
|
90
|
+
"fzstd": "^0.1.1",
|
91
|
+
"ipfs-http-client": "^56.0.3",
|
92
|
+
"jsonfile": "^6.1.0",
|
93
|
+
"jsonwebtoken": "^8.5.1",
|
94
|
+
"minimist": "^1.2.6",
|
95
|
+
"nedb-promises": "^6.2.1",
|
96
|
+
"node-cron": "^3.0.0",
|
97
|
+
"process": "^0.11.10",
|
98
|
+
"prompts": "^2.4.2",
|
99
|
+
"semantic-release": "^21.0.0",
|
100
|
+
"smartweave": "^0.4.46",
|
101
|
+
"terser": "^5.15.0",
|
102
|
+
"tslib": "~2.3.1",
|
103
|
+
"tweetnacl": "^1.0.3",
|
104
|
+
"twitter": "^1.7.1",
|
105
|
+
"web3.storage": "^4.4.0"
|
106
|
+
},
|
107
|
+
"volta": {
|
108
|
+
"node": "16.19.0"
|
109
|
+
},
|
110
|
+
"husky": {
|
111
|
+
"hooks": {
|
112
|
+
"pre-commit": "npm run lint",
|
113
|
+
"pre-push": "npm run test"
|
114
|
+
}
|
115
|
+
}
|
116
|
+
}
|