@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
- ## 0.49.0-alpha-20230503003528-ad88944
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
@@ -88,7 +88,7 @@ class Protocol {
88
88
  });
89
89
  }
90
90
  static availableNetworks() {
91
- let networks = immutable_1.default.fromJS({
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 => {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.49.0-alpha-20230503003528-ad88944",
2
+ "version": "0.49.0-alpha-20230503021722-4d9a2fc",
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.49.0-alpha-20230503003528-ad88944",
3
+ "version": "0.49.0-alpha-20230503021722-4d9a2fc",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {