@avaprotocol/sdk-js 2.8.0 → 2.8.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/CHANGELOG.md +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/models/trigger/event.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @avaprotocol/sdk-js
|
|
2
2
|
|
|
3
|
+
## 2.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 7eb5023: Replace inputVariables workflowContext with settings, and fix dev test github actions
|
|
8
|
+
- Updated dependencies [7eb5023]
|
|
9
|
+
- @avaprotocol/types@2.6.1
|
|
10
|
+
|
|
3
11
|
## 2.8.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -18654,7 +18654,7 @@ var EventTrigger2 = class _EventTrigger extends Trigger {
|
|
|
18654
18654
|
if (queryData.maxEventsPerBlock !== void 0) {
|
|
18655
18655
|
query.setMaxEventsPerBlock(queryData.maxEventsPerBlock);
|
|
18656
18656
|
}
|
|
18657
|
-
if (queryData.contractAbi) {
|
|
18657
|
+
if (queryData.contractAbi !== void 0) {
|
|
18658
18658
|
if (!Array.isArray(queryData.contractAbi)) {
|
|
18659
18659
|
throw new Error("contractAbi must be an array of ABI elements");
|
|
18660
18660
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -18634,7 +18634,7 @@ var EventTrigger2 = class _EventTrigger extends Trigger {
|
|
|
18634
18634
|
if (queryData.maxEventsPerBlock !== void 0) {
|
|
18635
18635
|
query.setMaxEventsPerBlock(queryData.maxEventsPerBlock);
|
|
18636
18636
|
}
|
|
18637
|
-
if (queryData.contractAbi) {
|
|
18637
|
+
if (queryData.contractAbi !== void 0) {
|
|
18638
18638
|
if (!Array.isArray(queryData.contractAbi)) {
|
|
18639
18639
|
throw new Error("contractAbi must be an array of ABI elements");
|
|
18640
18640
|
}
|
|
@@ -87,7 +87,7 @@ class EventTrigger extends Trigger {
|
|
|
87
87
|
query.setMaxEventsPerBlock(queryData.maxEventsPerBlock);
|
|
88
88
|
}
|
|
89
89
|
// Set contractAbi if provided - must be an array like ContractRead
|
|
90
|
-
if (queryData.contractAbi) {
|
|
90
|
+
if (queryData.contractAbi !== undefined) {
|
|
91
91
|
// Strictly require array format (no string support)
|
|
92
92
|
if (!Array.isArray(queryData.contractAbi)) {
|
|
93
93
|
throw new Error("contractAbi must be an array of ABI elements");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@avaprotocol/sdk-js",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.1",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"prepare": "node ../../scripts/prepare-package.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@avaprotocol/types": "2.6.
|
|
34
|
+
"@avaprotocol/types": "2.6.1",
|
|
35
35
|
"@grpc/grpc-js": "^1.11.3",
|
|
36
36
|
"@grpc/proto-loader": "^0.7.13",
|
|
37
37
|
"dotenv": "^16.4.5",
|