@graphprotocol/graph-cli 0.60.1-alpha-20231103131654-82a8eec → 0.60.1-alpha-20231103131932-a02eb0c

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,11 +1,11 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
- ## 0.60.1-alpha-20231103131654-82a8eec
3
+ ## 0.60.1-alpha-20231103131932-a02eb0c
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - [#1490](https://github.com/graphprotocol/graph-tooling/pull/1490)
8
- [`82a8eec`](https://github.com/graphprotocol/graph-tooling/commit/82a8eec03c25ce5c1e9edeb97ecf08a6e3a1b9cb)
8
+ [`a02eb0c`](https://github.com/graphprotocol/graph-tooling/commit/a02eb0c4070500e5c8d018741c4f4c16bbd0c6c6)
9
9
  Thanks [@mangas](https://github.com/mangas)! - dependencies updates:
10
10
  - Updated dependency [`prettier@3.0.3` ↗︎](https://www.npmjs.com/package/prettier/v/3.0.3) (from
11
11
  `1.19.1`, in `dependencies`)
@@ -444,11 +444,9 @@ class Compiler {
444
444
  keyPath: ['dataSources', i, 'source', 'package', 'file'],
445
445
  value: await this._uploadFileToIPFS(dataSource.getIn(['source', 'package', 'file']), uploadedFiles, spinner),
446
446
  });
447
- console.log("####11");
448
447
  console.log(dataSource.getIn(["mapping", "file"]));
449
448
  console.log(dataSource.toJS());
450
449
  if (dataSource.getIn(["mapping", "file"])) {
451
- console.log("####10");
452
450
  updates.push({
453
451
  keyPath: ['dataSources', i, 'mapping', 'file'],
454
452
  value: await this._uploadFileToIPFS(dataSource.getIn(['mapping', 'file']), uploadedFiles, spinner),
@@ -506,14 +504,11 @@ class Compiler {
506
504
  return immutable_1.default.fromJS({ '/': `/ipfs/${hash}` });
507
505
  }
508
506
  async _uploadSubgraphDefinitionToIPFS(subgraph) {
509
- console.log("####1");
510
507
  const str = js_yaml_1.default.safeDump(subgraph.toJS(), { noRefs: true, sortKeys: true });
511
- console.log("####2");
512
508
  const file = { path: 'subgraph.yaml', content: Buffer.from(str, 'utf-8') };
513
509
  return await this._uploadToIPFS(file);
514
510
  }
515
511
  async _uploadToIPFS(file) {
516
- console.log("####4");
517
512
  try {
518
513
  const files = this.ipfs.addAll([file]);
519
514
  // We get back async iterable
@@ -523,7 +518,6 @@ class Compiler {
523
518
  // we grab the file and pin it
524
519
  const uploadedFile = value;
525
520
  await this.ipfs.pin.add(uploadedFile.cid);
526
- console.log("####5");
527
521
  return uploadedFile.cid.toString();
528
522
  }
529
523
  catch (e) {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.60.1-alpha-20231103131654-82a8eec",
2
+ "version": "0.60.1-alpha-20231103131932-a02eb0c",
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.60.1-alpha-20231103131654-82a8eec",
3
+ "version": "0.60.1-alpha-20231103131932-a02eb0c",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {