@graphprotocol/graph-cli 0.42.2 → 0.42.3-rc-20230228151735-9fee172

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,5 +1,18 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
+ ## 0.42.3-rc-20230228151735-9fee172
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1134](https://github.com/graphprotocol/graph-tooling/pull/1134)
8
+ [`a156355`](https://github.com/graphprotocol/graph-tooling/commit/a156355351f51f242bc2fa005125ffebed62eebe)
9
+ Thanks [@incrypto32](https://github.com/incrypto32)! - Fix Prefix error when using graph init
10
+
11
+ - [#1138](https://github.com/graphprotocol/graph-tooling/pull/1138)
12
+ [`eb6815e`](https://github.com/graphprotocol/graph-tooling/commit/eb6815eb4af7c8c4d9a9f2b252dca8e350c81d32)
13
+ Thanks [@incrypto32](https://github.com/incrypto32)! - Fix default value issues with abi and
14
+ startBlock
15
+
3
16
  ## 0.42.2
4
17
 
5
18
  ### Patch Changes
@@ -119,11 +119,9 @@ AddCommand.flags = {
119
119
  }),
120
120
  abi: core_1.Flags.string({
121
121
  summary: 'Path to the contract ABI.',
122
- default: '*Download from Etherscan*',
123
122
  }),
124
123
  'start-block': core_1.Flags.string({
125
124
  summary: 'The block number to start indexing events from.',
126
- default: '*Zero*',
127
125
  }),
128
126
  'contract-name': core_1.Flags.string({
129
127
  summary: 'Name of the contract.',
@@ -170,8 +170,8 @@ class InitCommand extends core_1.Command {
170
170
  }
171
171
  else {
172
172
  ({ node, allowSimpleName } = (0, node_1.chooseNodeUrl)({
173
- product,
174
- studio,
173
+ product: answers.product,
174
+ studio: answers.studio,
175
175
  node,
176
176
  allowSimpleName,
177
177
  }));
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.42.2",
2
+ "version": "0.42.3-rc-20230228151735-9fee172",
3
3
  "commands": {
4
4
  "add": {
5
5
  "id": "add",
@@ -21,15 +21,13 @@
21
21
  "name": "abi",
22
22
  "type": "option",
23
23
  "summary": "Path to the contract ABI.",
24
- "multiple": false,
25
- "default": "*Download from Etherscan*"
24
+ "multiple": false
26
25
  },
27
26
  "start-block": {
28
27
  "name": "start-block",
29
28
  "type": "option",
30
29
  "summary": "The block number to start indexing events from.",
31
- "multiple": false,
32
- "default": "*Zero*"
30
+ "multiple": false
33
31
  },
34
32
  "contract-name": {
35
33
  "name": "contract-name",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.42.2",
3
+ "version": "0.42.3-rc-20230228151735-9fee172",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {