@graphprotocol/graph-cli 0.71.0-alpha-20240423055833-a8526096debc913ef2fe912e57fe2f47df2aed26 → 0.71.0

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.71.0-alpha-20240423055833-a8526096debc913ef2fe912e57fe2f47df2aed26
3
+ ## 0.71.0
4
4
 
5
5
  ### Minor Changes
6
6
 
@@ -300,7 +300,7 @@ const ASSEMBLYSCRIPT_TO_VALUE = [
300
300
  (code) => `Value.fromBigDecimalMatrix(${code})`,
301
301
  ],
302
302
  ['Array<Array<string>>', /\[\[.*\]\]/, (code) => `Value.fromStringMatrix(${code})`],
303
- ['Array<Array<string | null>>', null, (code) => `Value.fromStringMatrix(${code})`], // is this overwriting the Array null below?
303
+ ['Array<Array<string | null>>', null, (code) => `Value.fromStringMatrix(${code})`],
304
304
  ['Array<ethereum.Tuple>', '[Bytes]', (code) => `Value.fromBytesArray(${code})`],
305
305
  // Arrays
306
306
  ['Array<Address>', '[Bytes]', (code) => `Value.fromBytesArray(${code})`],
@@ -10,10 +10,10 @@ export declare const generateScaffold: ({ protocolInstance, abi, contract, netwo
10
10
  network: string;
11
11
  subgraphName: string;
12
12
  indexEvents: boolean;
13
- contractName?: string;
14
- startBlock?: string;
15
- node?: string;
16
- spkgPath?: string;
13
+ contractName?: string | undefined;
14
+ startBlock?: string | undefined;
15
+ node?: string | undefined;
16
+ spkgPath?: string | undefined;
17
17
  }, spinner: Spinner) => Promise<{
18
18
  'subgraph.yaml': string;
19
19
  'schema.graphql': string;
@@ -1,4 +1,4 @@
1
1
  export declare const validateSubgraphName: (name: string, { allowSimpleName }: {
2
- allowSimpleName?: boolean;
2
+ allowSimpleName?: boolean | undefined;
3
3
  }) => string | undefined;
4
4
  export declare const getSubgraphBasename: (name: string) => string;
@@ -331,7 +331,7 @@ class DeployCommand extends core_1.Command {
331
331
  outputDir,
332
332
  outputFormat: 'wasm',
333
333
  skipMigrations,
334
- blockIpfsMethods: isStudio || undefined, // Network does not support publishing subgraphs with IPFS methods
334
+ blockIpfsMethods: isStudio || undefined,
335
335
  protocol,
336
336
  });
337
337
  // Exit with an error code if the compiler couldn't be created
@@ -2,7 +2,7 @@ import ABI from '../abi';
2
2
  export declare const source: ({ contract, contractName, startBlock, }: {
3
3
  contract: string;
4
4
  contractName: string;
5
- startBlock?: string;
5
+ startBlock?: string | undefined;
6
6
  }) => string;
7
7
  export declare const mapping: ({ abi, contractName }: {
8
8
  abi: ABI;
@@ -146,9 +146,9 @@ class Protocol {
146
146
  near: ['near-mainnet', 'near-testnet'],
147
147
  cosmos: [
148
148
  'cosmoshub-4',
149
- 'theta-testnet-001', // CosmosHub testnet
149
+ 'theta-testnet-001',
150
150
  'osmosis-1',
151
- 'osmo-test-4', // Osmosis testnet
151
+ 'osmo-test-4',
152
152
  'juno-1',
153
153
  'uni-3', // Juno testnet
154
154
  ],
@@ -1,4 +1,4 @@
1
1
  export declare const source: ({ spkgPath }: {
2
- spkgPath?: string;
2
+ spkgPath?: string | undefined;
3
3
  }) => string;
4
4
  export declare const mapping: () => string;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.71.0-alpha-20240423055833-a8526096debc913ef2fe912e57fe2f47df2aed26",
2
+ "version": "0.71.0",
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.71.0-alpha-20240423055833-a8526096debc913ef2fe912e57fe2f47df2aed26",
3
+ "version": "0.71.0",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {