@graphprotocol/graph-cli 0.47.0 → 0.47.1

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,14 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
+ ## 0.47.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1303](https://github.com/graphprotocol/graph-tooling/pull/1303)
8
+ [`327784f`](https://github.com/graphprotocol/graph-tooling/commit/327784ff79c458c603dbac4b9dfd1f4e5aab6c8c)
9
+ Thanks [@dimitrovmaksim](https://github.com/dimitrovmaksim)! - Fixes 403 Forbidden response when
10
+ fetching the latest matchstick tag
11
+
3
12
  ## 0.47.0
4
13
 
5
14
  ### Minor Changes
@@ -48,7 +48,11 @@ class TestCommand extends core_1.Command {
48
48
  // Fetch the latest version tag if version is not specified with -v/--version or if the version is not cached
49
49
  if (opts.force || (!opts.version && !opts.latestVersion)) {
50
50
  this.log('Fetching latest version tag...');
51
- const result = await (0, fetch_1.fetch)('https://api.github.com/repos/LimeChain/matchstick/releases/latest');
51
+ const result = await (0, fetch_1.fetch)('https://api.github.com/repos/LimeChain/matchstick/releases/latest', {
52
+ headers: {
53
+ 'User-Agent': '@graphprotocol/graph-cli',
54
+ },
55
+ });
52
56
  const json = await result.json();
53
57
  opts.latestVersion = json.tag_name;
54
58
  gluegun_1.filesystem.file(opts.cachePath, {
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.47.0",
2
+ "version": "0.47.1",
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.47.0",
3
+ "version": "0.47.1",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {