@steerprotocol/data-connector-loader 5.0.0-next.1 → 5.0.0-next.10
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 +102 -0
- package/lib/bundle/bundleBase.d.ts +11 -14
- package/lib/bundle/bundleBase.js +56 -88
- package/lib/bundle/bundleDataConnector.d.ts +2 -6
- package/lib/bundle/bundleDataConnector.js +22 -47
- package/lib/esm/bundle/bundleBase.d.ts +11 -14
- package/lib/esm/bundle/bundleBase.js +77 -91
- package/lib/esm/bundle/bundleDataConnector.d.ts +2 -6
- package/lib/esm/bundle/bundleDataConnector.js +26 -49
- package/lib/esm/execution/executionApp.d.ts +16 -15
- package/lib/esm/execution/executionApp.js +364 -321
- package/lib/esm/execution/executionBase.d.ts +7 -7
- package/lib/esm/execution/executionBase.js +27 -13
- package/lib/esm/execution/executionDataConnector.d.ts +6 -3
- package/lib/esm/execution/executionDataConnector.js +128 -69
- package/lib/esm/index.d.ts +7 -7
- package/lib/esm/index.js +4 -4
- package/lib/esm/types.d.ts +20 -24
- package/lib/esm/types.js +5 -5
- package/lib/esm/utils/blockFinder.d.ts +2 -2
- package/lib/esm/utils/blockFinder.js +3 -3
- package/lib/esm/utils/consts.js +39 -39
- package/lib/esm/utils/pluginManager.d.ts +1 -1
- package/lib/esm/utils/pluginManager.js +6 -5
- package/lib/esm/utils/replace-old-subgraphs.js +79 -61
- package/lib/esm/utils/rpc.d.ts +4 -0
- package/lib/esm/utils/rpc.js +32 -0
- package/lib/esm/utils/utils.d.ts +8 -11
- package/lib/esm/utils/utils.js +61 -55
- package/lib/execution/executionApp.d.ts +16 -15
- package/lib/execution/executionApp.js +353 -315
- package/lib/execution/executionBase.d.ts +7 -7
- package/lib/execution/executionBase.js +27 -13
- package/lib/execution/executionDataConnector.d.ts +6 -3
- package/lib/execution/executionDataConnector.js +130 -64
- package/lib/index.d.ts +7 -7
- package/lib/index.js +1 -1
- package/lib/types.d.ts +20 -24
- package/lib/types.js +5 -5
- package/lib/utils/blockFinder.d.ts +2 -2
- package/lib/utils/blockFinder.js +3 -3
- package/lib/utils/consts.js +39 -39
- package/lib/utils/pluginManager.d.ts +1 -1
- package/lib/utils/pluginManager.js +5 -4
- package/lib/utils/replace-old-subgraphs.js +79 -61
- package/lib/utils/rpc.d.ts +4 -0
- package/lib/utils/rpc.js +47 -0
- package/lib/utils/utils.d.ts +8 -11
- package/lib/utils/utils.js +55 -60
- package/package.json +15 -15
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steerprotocol/data-connector-loader",
|
|
3
|
-
"version": "5.0.0-next.
|
|
3
|
+
"version": "5.0.0-next.10",
|
|
4
4
|
"description": "App Loader for Steer Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -18,19 +18,23 @@
|
|
|
18
18
|
"build": "npm run build:cjs && npm run build:esm",
|
|
19
19
|
"build:cjs": "tsc -p tsconfig.json && echo '{\"type\": \"commonjs\"}' > lib/package.json",
|
|
20
20
|
"build:esm": "tsc -p tsconfig.esm.json && echo '{\"type\": \"module\"}' > lib/esm/package.json",
|
|
21
|
-
"format": "
|
|
22
|
-
"lint": "
|
|
21
|
+
"format": "biome format --write .",
|
|
22
|
+
"lint": "biome lint .",
|
|
23
23
|
"lint:commit": "commitlint --from=HEAD~1 --to=HEAD",
|
|
24
|
-
"lint:fix": "
|
|
24
|
+
"lint:fix": "biome lint --write .",
|
|
25
25
|
"test": "jest --config jest.config.cjs",
|
|
26
26
|
"pack:local": "npm pack",
|
|
27
27
|
"test:packed-consumer": "node scripts/packed-consumer-smoke.cjs",
|
|
28
28
|
"publish:test": "node scripts/publish-test.cjs",
|
|
29
29
|
"prepare": "husky && npm run build",
|
|
30
|
-
"prepublishOnly": "npm
|
|
30
|
+
"prepublishOnly": "npm run check:code && npm test",
|
|
31
31
|
"preversion": "npm run lint",
|
|
32
32
|
"version": "npm run format && git add -A src",
|
|
33
|
-
"postversion": "git push && git push --tags"
|
|
33
|
+
"postversion": "git push && git push --tags",
|
|
34
|
+
"format:check": "biome format .",
|
|
35
|
+
"check": "npm run check:code && npm run build && npm test -- --runInBand",
|
|
36
|
+
"check:code": "biome ci .",
|
|
37
|
+
"fix": "biome check --write ."
|
|
34
38
|
},
|
|
35
39
|
"repository": {
|
|
36
40
|
"type": "git",
|
|
@@ -79,6 +83,7 @@
|
|
|
79
83
|
]
|
|
80
84
|
},
|
|
81
85
|
"devDependencies": {
|
|
86
|
+
"@biomejs/biome": "2.6.6",
|
|
82
87
|
"@commitlint/cli": "^20.5.0",
|
|
83
88
|
"@commitlint/config-conventional": "^20.5.0",
|
|
84
89
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
@@ -86,13 +91,9 @@
|
|
|
86
91
|
"@semantic-release/npm": "^13.1.5",
|
|
87
92
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
88
93
|
"@types/jest": "29.2.4",
|
|
89
|
-
"
|
|
90
|
-
"@typescript-eslint/parser": "5.47.1",
|
|
91
|
-
"eslint": "8.30.0",
|
|
92
|
-
"eslint-plugin-jest": "27.1.7",
|
|
94
|
+
"ethers": "^6.16.0",
|
|
93
95
|
"husky": "^9.1.7",
|
|
94
96
|
"jest": "29.3.1",
|
|
95
|
-
"prettier": "2.8.1",
|
|
96
97
|
"semantic-release": "^25.0.3",
|
|
97
98
|
"ts-jest": "29.0.3",
|
|
98
99
|
"typescript": "5.0.4"
|
|
@@ -101,11 +102,10 @@
|
|
|
101
102
|
"lib/**/*"
|
|
102
103
|
],
|
|
103
104
|
"dependencies": {
|
|
104
|
-
"@steerprotocol/app-loader": "^
|
|
105
|
-
"@steerprotocol/sdk": "^3.3.0",
|
|
105
|
+
"@steerprotocol/app-loader": "^4.0.0",
|
|
106
106
|
"@steerprotocol/strategy-utils": "^3.1.2",
|
|
107
107
|
"axios": "^1.3.4",
|
|
108
|
-
"
|
|
109
|
-
"
|
|
108
|
+
"timestring": "^7.0.0",
|
|
109
|
+
"viem": "^2.57.16"
|
|
110
110
|
}
|
|
111
111
|
}
|