@graphprotocol/graph-cli 0.49.0-alpha-20230503100511-80612fa → 0.49.0-alpha-20230504151250-2740230

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-20230503100511-80612fa
3
+ ## 0.49.0-alpha-20230504151250-2740230
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -14,6 +14,13 @@
14
14
  Thanks [@saihaj](https://github.com/saihaj)! - Add loadInBlock function for entities as part of
15
15
  codegen
16
16
 
17
+ ### Patch Changes
18
+
19
+ - [#1331](https://github.com/graphprotocol/graph-tooling/pull/1331)
20
+ [`b2c8dec`](https://github.com/graphprotocol/graph-tooling/commit/b2c8decb7806d25df6ca4e07f6dfdf7941516435)
21
+ Thanks [@saihaj](https://github.com/saihaj)! - only allow mainnet for substreams in network
22
+ selection for init
23
+
17
24
  ## 0.48.0
18
25
 
19
26
  ### 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-20230503100511-80612fa",
2
+ "version": "0.49.0-alpha-20230504151250-2740230",
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-20230503100511-80612fa",
3
+ "version": "0.49.0-alpha-20230504151250-2740230",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {