@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 +1 -1
- package/dist/codegen/types/conversions.js +1 -1
- package/dist/command-helpers/scaffold.d.ts +4 -4
- package/dist/command-helpers/subgraph.d.ts +1 -1
- package/dist/commands/deploy.js +1 -1
- package/dist/protocols/ethereum/scaffold/manifest.d.ts +1 -1
- package/dist/protocols/index.js +2 -2
- package/dist/protocols/substreams/scaffold/manifest.d.ts +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -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})`],
|
|
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;
|
package/dist/commands/deploy.js
CHANGED
|
@@ -331,7 +331,7 @@ class DeployCommand extends core_1.Command {
|
|
|
331
331
|
outputDir,
|
|
332
332
|
outputFormat: 'wasm',
|
|
333
333
|
skipMigrations,
|
|
334
|
-
blockIpfsMethods: isStudio || undefined,
|
|
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;
|
package/dist/protocols/index.js
CHANGED
|
@@ -146,9 +146,9 @@ class Protocol {
|
|
|
146
146
|
near: ['near-mainnet', 'near-testnet'],
|
|
147
147
|
cosmos: [
|
|
148
148
|
'cosmoshub-4',
|
|
149
|
-
'theta-testnet-001',
|
|
149
|
+
'theta-testnet-001',
|
|
150
150
|
'osmosis-1',
|
|
151
|
-
'osmo-test-4',
|
|
151
|
+
'osmo-test-4',
|
|
152
152
|
'juno-1',
|
|
153
153
|
'uni-3', // Juno testnet
|
|
154
154
|
],
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED