@avaprotocol/sdk-js 0.7.3 → 0.8.0
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 +30 -11
- package/dist/index.d.mts +683 -864
- package/dist/index.d.ts +683 -864
- package/dist/index.js +2862 -1829
- package/dist/index.mjs +2869 -1831
- package/package.json +4 -1
- package/dist/index.cjs +0 -4506
- package/dist/index.d.cts +0 -1499
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avaprotocol/sdk-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "A JavaScript/TypeScript SDK designed to simplify integration with Ava Protocol's AVS",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
"proto-download": "curl -s https://raw.githubusercontent.com/AvaProtocol/EigenLayer-AVS/main/protobuf/avs.proto > grpc_codegen/avs.proto",
|
|
26
26
|
"gen-protoc": "grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./grpc_codegen/ --grpc_out=grpc_js:./grpc_codegen/ --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --ts_out=grpc_js:./grpc_codegen --proto_path=./grpc_codegen grpc_codegen/avs.proto",
|
|
27
27
|
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
28
|
+
"gen-apikey": "sh -c 'API_KEY=$(docker compose exec aggregator /ava create-api-key --role=admin --subject=apikey) && echo \"Generated API key for tests: $API_KEY\" && echo \"Writing to .env.test to replace the TEST_API_KEY env variable\" && sed -i \"\" -e \"s/^TEST_API_KEY=.*/TEST_API_KEY=$API_KEY/\" .env.test && echo \"Done.\"'",
|
|
28
29
|
"test": "jest --config jest.config.cjs",
|
|
29
30
|
"test:select": "npm run test -- --testNamePattern",
|
|
30
31
|
"changeset": "changeset",
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
"dotenv": "^16.4.5",
|
|
37
38
|
"ethers": "^6.13.2",
|
|
38
39
|
"google-protobuf": "^3.21.4",
|
|
40
|
+
"id128": "^1.6.6",
|
|
39
41
|
"lodash": "^4.17.21"
|
|
40
42
|
},
|
|
41
43
|
"devDependencies": {
|
|
@@ -49,6 +51,7 @@
|
|
|
49
51
|
"@types/lodash": "^4.17.12",
|
|
50
52
|
"babel-jest": "^29.7.0",
|
|
51
53
|
"grpc_tools_node_protoc_ts": "^5.3.3",
|
|
54
|
+
"grpc-tools": "^1.12.4",
|
|
52
55
|
"jest": "^29.7.0",
|
|
53
56
|
"ts-jest": "^29.2.5",
|
|
54
57
|
"tsup": "^8.0.2",
|