@graphprotocol/graph-cli 0.45.1 → 0.45.2-alpha-20230410034608-9738cb7

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,21 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
+ ## 0.45.2-alpha-20230410034608-9738cb7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1268](https://github.com/graphprotocol/graph-tooling/pull/1268)
8
+ [`9738cb7`](https://github.com/graphprotocol/graph-tooling/commit/9738cb7591347beddd1b9d403c0f825ad0cfd765)
9
+ Thanks [@saihaj](https://github.com/saihaj)! - dependencies updates:
10
+
11
+ - Updated dependency
12
+ [`ipfs-http-client@55.0.0` ↗︎](https://www.npmjs.com/package/ipfs-http-client/v/55.0.0) (from
13
+ `34.0.0`, in `dependencies`)
14
+
15
+ - [#1268](https://github.com/graphprotocol/graph-tooling/pull/1268)
16
+ [`947bfbf`](https://github.com/graphprotocol/graph-tooling/commit/947bfbf7e283f2f12d5e1e5cbe2dde3c08128c9e)
17
+ Thanks [@saihaj](https://github.com/saihaj)! - update IPFS HTTP client
18
+
3
19
  ## 0.45.1
4
20
 
5
21
  ### Patch Changes
@@ -45,11 +45,11 @@ The IPFS URL must be of the following format: http(s)://host[:port]/[path]`);
45
45
  }
46
46
  // Connect to the IPFS node (if a node address was provided)
47
47
  ipfs = ipfs
48
- ? (0, ipfs_http_client_1.default)({
48
+ ? ipfs_http_client_1.default.create({
49
49
  protocol: url?.protocol.replace(/[:]+$/, ''),
50
50
  host: url?.hostname,
51
- port: url?.port,
52
- 'api-path': url?.pathname.replace(/\/$/, '') + '/api/v0/',
51
+ port: url?.port ? parseInt(url?.port) : undefined,
52
+ apiPath: url?.pathname.replace(/\/$/, '') + '/api/v0/',
53
53
  headers,
54
54
  })
55
55
  : undefined;
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.45.1",
2
+ "version": "0.45.2-alpha-20230410034608-9738cb7",
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.45.1",
3
+ "version": "0.45.2-alpha-20230410034608-9738cb7",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {
@@ -32,7 +32,7 @@
32
32
  "gluegun": "https://github.com/edgeandnode/gluegun#v4.3.1-pin-colors-dep",
33
33
  "graphql": "15.5.0",
34
34
  "immutable": "4.2.1",
35
- "ipfs-http-client": "34.0.0",
35
+ "ipfs-http-client": "55.0.0",
36
36
  "jayson": "3.7.0",
37
37
  "js-yaml": "3.14.1",
38
38
  "prettier": "1.19.1",