@graphprotocol/graph-cli 0.42.0 → 0.42.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 +9 -0
- package/dist/commands/init.js +0 -1
- package/dist/protocols/index.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @graphprotocol/graph-cli
|
|
2
2
|
|
|
3
|
+
## 0.42.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1129](https://github.com/graphprotocol/graph-tooling/pull/1129)
|
|
8
|
+
[`8e04027`](https://github.com/graphprotocol/graph-tooling/commit/8e04027ea1da22d7de22edf08d741192999b0146)
|
|
9
|
+
Thanks [@YaroShkvorets](https://github.com/YaroShkvorets)! - Fix availableNetworks() for
|
|
10
|
+
substreams
|
|
11
|
+
|
|
3
12
|
## 0.42.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
package/dist/commands/init.js
CHANGED
|
@@ -361,7 +361,6 @@ async function processInitForm({ protocol, product, studio, node, abi, allowSimp
|
|
|
361
361
|
// @ts-expect-error TODO: wait what?
|
|
362
362
|
availableNetworks
|
|
363
363
|
.get(protocol) // Get networks related to the chosen protocol.
|
|
364
|
-
// @ts-expect-error TODO: wait what?
|
|
365
364
|
.toArray()); // Needed because of gluegun. It can't even receive a JS iterable.
|
|
366
365
|
},
|
|
367
366
|
skip: fromExample !== undefined,
|
package/dist/protocols/index.js
CHANGED
|
@@ -135,7 +135,7 @@ class Protocol {
|
|
|
135
135
|
networks.forEach(value => {
|
|
136
136
|
allNetworks.push(...value);
|
|
137
137
|
});
|
|
138
|
-
networks = networks.set('substreams', allNetworks);
|
|
138
|
+
networks = networks.set('substreams', immutable_1.default.List(allNetworks));
|
|
139
139
|
return networks;
|
|
140
140
|
}
|
|
141
141
|
static normalizeName(name) {
|
package/oclif.manifest.json
CHANGED