@graphprotocol/graph-cli 0.56.0-alpha-20230821093745-86156fb → 0.56.0-alpha-20230825032106-cb79d02

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
- ## 0.56.0-alpha-20230821093745-86156fb
3
+ ## 0.56.0-alpha-20230825032106-cb79d02
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -8,6 +8,11 @@
8
8
  [`d4d5c90`](https://github.com/graphprotocol/graph-tooling/commit/d4d5c904bdec451001f058598527895dee0a5b4c)
9
9
  Thanks [@pranavdaa](https://github.com/pranavdaa)! - Add Scroll testnet to graph-cli
10
10
 
11
+ - [#1392](https://github.com/graphprotocol/graph-tooling/pull/1392)
12
+ [`7bc5e4e`](https://github.com/graphprotocol/graph-tooling/commit/7bc5e4e5139100e26b36df607f0b847e8a0b5f96)
13
+ Thanks [@incrypto32](https://github.com/incrypto32)! - Add support for polling block handlers in
14
+ the manifest for ethereum
15
+
11
16
  ## 0.55.0
12
17
 
13
18
  ### Minor Changes
@@ -55,13 +55,26 @@ type ContractAbi {
55
55
  file: File!
56
56
  }
57
57
 
58
- type BlockHandler {
59
- handler: String!
60
- filter: BlockFilter
58
+ enum BlockFilterKind {
59
+ polling
60
+ once
61
+ call
61
62
  }
62
63
 
63
64
  type BlockFilter {
64
- kind: String!
65
+ kind: BlockFilterKind!
66
+ }
67
+
68
+ type PollingBlockFilter {
69
+ kind: BlockFilterKind!
70
+ every: BigInt!
71
+ }
72
+
73
+ union BlockFilterType = BlockFilter | PollingBlockFilter
74
+
75
+ type BlockHandler {
76
+ handler: String!
77
+ filter: BlockFilterType
65
78
  }
66
79
 
67
80
  type CallHandler {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.56.0-alpha-20230821093745-86156fb",
2
+ "version": "0.56.0-alpha-20230825032106-cb79d02",
3
3
  "commands": {
4
4
  "add": {
5
5
  "id": "add",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.56.0-alpha-20230821093745-86156fb",
3
+ "version": "0.56.0-alpha-20230825032106-cb79d02",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {
@@ -39,7 +39,7 @@
39
39
  "js-yaml": "3.14.1",
40
40
  "prettier": "1.19.1",
41
41
  "request": "2.88.2",
42
- "semver": "7.4.0",
42
+ "semver": "7.5.2",
43
43
  "sync-request": "6.1.0",
44
44
  "tmp-promise": "3.0.3",
45
45
  "web3-eth-abi": "1.7.0",