@graphprotocol/graph-cli 0.49.0-alpha-20230503003528-ad88944 → 0.49.0-alpha-20230503021722-4d9a2fc
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 -1
- package/dist/protocols/index.js +1 -8
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
-
## 0.49.0-alpha-
|
|
3
|
+
## 0.49.0-alpha-20230503021722-4d9a2fc
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -9,6 +9,13 @@
|
|
|
9
9
|
Thanks [@saihaj](https://github.com/saihaj)! - Add loadInBlock function for entities as part of
|
|
10
10
|
codegen
|
|
11
11
|
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [#1331](https://github.com/graphprotocol/graph-tooling/pull/1331)
|
|
15
|
+
[`4d9a2fc`](https://github.com/graphprotocol/graph-tooling/commit/4d9a2fc333c9541350ca87029e4dc31635ca8a25)
|
|
16
|
+
Thanks [@saihaj](https://github.com/saihaj)! - only allow mainnet for substreams in network
|
|
17
|
+
selection for init
|
|
18
|
+
|
|
12
19
|
## 0.48.0
|
|
13
20
|
|
|
14
21
|
### Minor Changes
|
package/dist/protocols/index.js
CHANGED
|
@@ -88,7 +88,7 @@ class Protocol {
|
|
|
88
88
|
});
|
|
89
89
|
}
|
|
90
90
|
static availableNetworks() {
|
|
91
|
-
|
|
91
|
+
return immutable_1.default.fromJS({
|
|
92
92
|
arweave: ['arweave-mainnet'],
|
|
93
93
|
ethereum: [
|
|
94
94
|
'mainnet',
|
|
@@ -135,13 +135,6 @@ class Protocol {
|
|
|
135
135
|
],
|
|
136
136
|
substreams: ['mainnet'],
|
|
137
137
|
});
|
|
138
|
-
const allNetworks = [];
|
|
139
|
-
// eslint-disable-next-line unicorn/no-array-for-each
|
|
140
|
-
networks.forEach(value => {
|
|
141
|
-
allNetworks.push(...value);
|
|
142
|
-
});
|
|
143
|
-
networks = networks.set('substreams', immutable_1.default.List(allNetworks));
|
|
144
|
-
return networks;
|
|
145
138
|
}
|
|
146
139
|
static normalizeName(name) {
|
|
147
140
|
return Protocol.availableProtocols().findKey(possibleNames => {
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED