@graphprotocol/graph-cli 0.60.0 → 0.61.0-alpha-20231101193848-147b5e5

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,13 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
+ ## 0.61.0-alpha-20231101193848-147b5e5
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1489](https://github.com/graphprotocol/graph-tooling/pull/1489)
8
+ [`147b5e5`](https://github.com/graphprotocol/graph-tooling/commit/147b5e5b4e35fd52e24e4200e173f869301a9e4d)
9
+ Thanks [@saihaj](https://github.com/saihaj)! - Arbitrum Sepolia support
10
+
3
11
  ## 0.60.0
4
12
 
5
13
  ### Minor Changes
@@ -657,7 +665,7 @@
657
665
 
658
666
  - [#1132](https://github.com/graphprotocol/graph-tooling/pull/1132)
659
667
  [`719c8f5`](https://github.com/graphprotocol/graph-tooling/commit/719c8f5e890cc2392fb15cdb318b8f55570f9419)
660
- Thanks [@cmwhited](https://github.com/cmwhited)! - enable deployment of celo, avalance and
668
+ Thanks [@cmwhited](https://github.com/cmwhited)! - enable deployment of celo, avalanche and
661
669
  arbitrum-one in studio
662
670
 
663
671
  ## 0.42.1
@@ -192,7 +192,7 @@ const ASSEMBLYSCRIPT_TO_ETHEREUM_VALUE = [
192
192
  /^tuple\[([0-9]+)?\]$/,
193
193
  (code) => `ethereum.Value.fromTupleArray(${code})`,
194
194
  ],
195
- // Multi dimentional arrays
195
+ // Multi dimensional arrays
196
196
  [
197
197
  'Array<Array<Address>>',
198
198
  /^address\[([0-9]+)?\]\[([0-9]+)?\]$/,
@@ -108,6 +108,8 @@ const getEtherscanLikeAPIUrl = (network) => {
108
108
  return `https://api.arbiscan.io/api`;
109
109
  case 'arbitrum-goerli':
110
110
  return `https://api-goerli.arbiscan.io/api`;
111
+ case 'arbitrum-sepolia':
112
+ return `https://api-sepolia.arbiscan.io/api`;
111
113
  case 'bsc':
112
114
  return `https://api.bscscan.com/api`;
113
115
  case 'base-testnet':
@@ -172,6 +174,8 @@ const getPublicRPCEndpoint = (network) => {
172
174
  return 'https://goerli-rollup.arbitrum.io/rpc';
173
175
  case 'arbitrum-one':
174
176
  return 'https://arb1.arbitrum.io/rpc';
177
+ case 'arbitrum-sepolia':
178
+ return `https://sepolia-rollup.arbitrum.io/rpc`;
175
179
  case 'aurora':
176
180
  return 'https://rpc.mainnet.aurora.dev';
177
181
  case 'aurora-testnet':
@@ -1,4 +1,4 @@
1
- export declare const allowedStudioNetworks: readonly ["mainnet", "rinkeby", "goerli", "gnosis", "chapel", "optimism-goerli", "clover", "fantom", "matic", "fantom-testnet", "arbitrum-goerli", "fuji", "celo-alfajores", "mumbai", "aurora-testnet", "near-testnet", "optimism", "optimism-goerli", "theta-testnet-001", "osmo-test-4", "base-testnet", "base", "celo", "arbitrum-one", "avalanche", "zksync-era", "zksync-era-testnet", "sepolia", "polygon-zkevm-testnet", "polygon-zkevm", "scroll-sepolia", "scroll"];
1
+ export declare const allowedStudioNetworks: readonly ["mainnet", "rinkeby", "goerli", "gnosis", "chapel", "optimism-goerli", "clover", "fantom", "matic", "fantom-testnet", "arbitrum-goerli", "fuji", "celo-alfajores", "mumbai", "aurora-testnet", "near-testnet", "optimism", "optimism-goerli", "theta-testnet-001", "osmo-test-4", "base-testnet", "base", "celo", "arbitrum-one", "arbitrum-sepolia", "avalanche", "zksync-era", "zksync-era-testnet", "sepolia", "polygon-zkevm-testnet", "polygon-zkevm", "scroll-sepolia", "scroll"];
2
2
  export declare const validateStudioNetwork: ({ studio, product, network, }: {
3
3
  studio?: string | boolean | undefined;
4
4
  product?: string | undefined;
@@ -26,6 +26,7 @@ exports.allowedStudioNetworks = [
26
26
  'base',
27
27
  'celo',
28
28
  'arbitrum-one',
29
+ 'arbitrum-sepolia',
29
30
  'avalanche',
30
31
  'zksync-era',
31
32
  'zksync-era-testnet',
@@ -77,7 +77,7 @@ const compile = ({ inputFile, global, baseDir, libs, outputFile }) => {
77
77
  '--debug',
78
78
  ];
79
79
  assemblyScriptCompiler(compilerArgs, compilerDefaults);
80
- // only if compiler succeded, that is, when the line above doesn't throw
80
+ // only if compiler succeeded, that is, when the line above doesn't throw
81
81
  removeExitHandler(exitHandler);
82
82
  };
83
83
  exports.compile = compile;
@@ -114,6 +114,7 @@ class Protocol {
114
114
  'mbase',
115
115
  'arbitrum-one',
116
116
  'arbitrum-goerli',
117
+ 'arbitrum-sepolia',
117
118
  'optimism',
118
119
  'optimism-goerli',
119
120
  'aurora',
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.60.0",
2
+ "version": "0.61.0-alpha-20231101193848-147b5e5",
3
3
  "commands": {
4
4
  "add": {
5
5
  "id": "add",
@@ -627,6 +627,7 @@
627
627
  "mbase",
628
628
  "arbitrum-one",
629
629
  "arbitrum-goerli",
630
+ "arbitrum-sepolia",
630
631
  "optimism",
631
632
  "optimism-goerli",
632
633
  "aurora",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphprotocol/graph-cli",
3
- "version": "0.60.0",
3
+ "version": "0.61.0-alpha-20231101193848-147b5e5",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {