@graphprotocol/graph-cli 0.43.1-alpha-20230324201410-0db9cc8 → 0.43.1-alpha-20230327174937-c2d5fe8
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.43.1-alpha-
|
|
3
|
+
## 0.43.1-alpha-20230327174937-c2d5fe8
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -26,10 +26,6 @@
|
|
|
26
26
|
[`c240588`](https://github.com/graphprotocol/graph-tooling/commit/c2405887fbe3128d530fd76ffd0f97fe195d37f5)
|
|
27
27
|
Thanks [@saihaj](https://github.com/saihaj)! - do not generate setters for derived fields
|
|
28
28
|
|
|
29
|
-
- [#1207](https://github.com/graphprotocol/graph-tooling/pull/1207)
|
|
30
|
-
[`fd9f664`](https://github.com/graphprotocol/graph-tooling/commit/fd9f6646008c4610f6cfe6b2dc3d72a59745a617)
|
|
31
|
-
Thanks [@saihaj](https://github.com/saihaj)! - bring back short hand for version and help
|
|
32
|
-
|
|
33
29
|
## 0.43.0
|
|
34
30
|
|
|
35
31
|
### Minor Changes
|
|
@@ -148,6 +148,10 @@ const getEtherscanLikeAPIUrl = (network) => {
|
|
|
148
148
|
return `https://api-testnet.ftmscan.com/api`;
|
|
149
149
|
case 'zksync-era':
|
|
150
150
|
return `https://explorer.zksync.io/api`;
|
|
151
|
+
case 'polygon-zkevm-testnet':
|
|
152
|
+
return `https://testnet-zkevm.polygonscan.com/api`;
|
|
153
|
+
case 'polygon-zkevm':
|
|
154
|
+
return `https://zkevm.polygonscan.com/api`;
|
|
151
155
|
default:
|
|
152
156
|
return `https://api-${network}.etherscan.io/api`;
|
|
153
157
|
}
|
|
@@ -208,6 +212,10 @@ const getPublicRPCEndpoint = (network) => {
|
|
|
208
212
|
return 'https://core.poa.network';
|
|
209
213
|
case 'poa-sokol':
|
|
210
214
|
return 'https://sokol.poa.network';
|
|
215
|
+
case 'polygon-zkevm-testnet':
|
|
216
|
+
return 'https://rpc.public.zkevm-test.net';
|
|
217
|
+
case 'polygon-zkevm':
|
|
218
|
+
return 'https://zkevm-rpc.com';
|
|
211
219
|
case 'rinkeby':
|
|
212
220
|
return 'https://rpc.ankr.com/eth_rinkeby';
|
|
213
221
|
case 'zksync-era':
|
|
@@ -23,6 +23,8 @@ exports.allowedStudioNetworks = [
|
|
|
23
23
|
'arbitrum-one',
|
|
24
24
|
'avalanche',
|
|
25
25
|
'zksync-era',
|
|
26
|
+
'polygon-zkevm-testnet',
|
|
27
|
+
'polygon-zkevm',
|
|
26
28
|
];
|
|
27
29
|
const validateStudioNetwork = ({ studio, product, network, }) => {
|
|
28
30
|
const isStudio = studio || product === 'subgraph-studio';
|
package/dist/protocols/index.js
CHANGED
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.43.1-alpha-
|
|
2
|
+
"version": "0.43.1-alpha-20230327174937-c2d5fe8",
|
|
3
3
|
"commands": {
|
|
4
4
|
"add": {
|
|
5
5
|
"id": "add",
|
|
@@ -576,6 +576,8 @@
|
|
|
576
576
|
"aurora-testnet",
|
|
577
577
|
"base-testnet",
|
|
578
578
|
"zksync-era",
|
|
579
|
+
"polygon-zkevm-testnet",
|
|
580
|
+
"polygon-zkevm",
|
|
579
581
|
"near-mainnet",
|
|
580
582
|
"near-testnet",
|
|
581
583
|
"cosmoshub-4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphprotocol/graph-cli",
|
|
3
|
-
"version": "0.43.1-alpha-
|
|
3
|
+
"version": "0.43.1-alpha-20230327174937-c2d5fe8",
|
|
4
4
|
"description": "CLI for building for and deploying to The Graph",
|
|
5
5
|
"license": "(Apache-2.0 OR MIT)",
|
|
6
6
|
"engines": {
|
|
@@ -65,13 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"oclif": {
|
|
67
67
|
"bin": "graph",
|
|
68
|
-
"commands": "./dist/commands"
|
|
69
|
-
"additionalHelpFlags": [
|
|
70
|
-
"-h"
|
|
71
|
-
],
|
|
72
|
-
"additionalVersionFlags": [
|
|
73
|
-
"-v"
|
|
74
|
-
]
|
|
68
|
+
"commands": "./dist/commands"
|
|
75
69
|
},
|
|
76
70
|
"scripts": {
|
|
77
71
|
"build": "tsc -b tsconfig.build.json && oclif manifest && copyfiles -u 1 src/**/*.graphql dist/ && chmod +x ./dist/bin.js",
|