-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.26 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "@sentrix/chain",
"version": "0.3.0-rc.0",
"description": "Official TypeScript SDK for Sentrix Chain — typed wrappers around EVM JSON-RPC + native REST + WebSocket subscriptions.",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./evm": {
"types": "./dist/evm/index.d.ts",
"import": "./dist/evm/index.js"
},
"./native": {
"types": "./dist/native/index.d.ts",
"import": "./dist/native/index.js"
},
"./bft": {
"types": "./dist/bft/index.d.ts",
"import": "./dist/bft/index.js"
},
"./wallet": {
"types": "./dist/wallet/index.d.ts",
"import": "./dist/wallet/index.js"
},
"./grpc": {
"types": "./dist/grpc/index.d.ts",
"import": "./dist/grpc/index.js"
},
"./grpc-web": {
"types": "./dist/grpc-web/index.d.ts",
"import": "./dist/grpc-web/index.js"
}
},
"files": [
"dist",
"src/grpc-proto",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc -p tsconfig.json && mkdir -p dist/grpc-proto && cp src/grpc-proto/*.proto dist/grpc-proto/",
"dev": "tsc -p tsconfig.json --watch",
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest run"
},
"keywords": [
"sentrix",
"blockchain",
"evm",
"typescript",
"sdk"
],
"author": "SentrisCloud",
"license": "MIT",
"homepage": "https://sentrixchain.com",
"repository": {
"type": "git",
"url": "git+https://github.com/sentriscloud/sdk-ts.git"
},
"engines": {
"node": ">=20.0.0"
},
"peerDependencies": {
"viem": "^2.49.0"
},
"dependencies": {
"@grpc/grpc-js": "^1.12.0",
"@grpc/proto-loader": "^0.8.1",
"@noble/hashes": "^1.6.0",
"@noble/secp256k1": "^2.2.0",
"@protobuf-ts/grpcweb-transport": "^2.11.1",
"@protobuf-ts/runtime": "^2.11.1",
"@protobuf-ts/runtime-rpc": "^2.11.1",
"ws": "^8.20.1"
},
"devDependencies": {
"@protobuf-ts/plugin": "^2.11.1",
"@protobuf-ts/protoc": "^2.11.1",
"@types/node": "^25.8.0",
"@types/ws": "^8.5.13",
"typescript": "^6.0.3",
"viem": "^2.49.0",
"vitest": "^4.1.6"
}
}