@graphprotocol/graph-cli 0.63.0 → 0.63.1-alpha-20231211200820-3879cf9

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,13 @@
1
1
  # @graphprotocol/graph-cli
2
2
 
3
+ ## 0.63.1-alpha-20231211200820-3879cf9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1540](https://github.com/graphprotocol/graph-tooling/pull/1540)
8
+ [`3879cf9`](https://github.com/graphprotocol/graph-tooling/commit/3879cf9d10d313bc33e64d2ba9610ad432f5c397)
9
+ Thanks [@saihaj](https://github.com/saihaj)! - fix graph build for templates
10
+
3
11
  ## 0.63.0
4
12
 
5
13
  ### Minor Changes
@@ -322,7 +322,7 @@ class Compiler {
322
322
  const absoluteMappingPath = path_1.default.resolve(baseDir, mappingPath);
323
323
  const inputFile = path_1.default.relative(baseDir, absoluteMappingPath);
324
324
  this._validateMappingContent(absoluteMappingPath);
325
- const eventHandlers = templateName.getIn(['mapping', 'eventHandlers']);
325
+ const eventHandlers = template.getIn(['mapping', 'eventHandlers']);
326
326
  // TODO: improve the types
327
327
  for (const eventHandler of eventHandlers.toJS()) {
328
328
  compilerDebug('Validating Template handler %s', eventHandler.handler);
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.63.0",
2
+ "version": "0.63.1-alpha-20231211200820-3879cf9",
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.63.0",
3
+ "version": "0.63.1-alpha-20231211200820-3879cf9",
4
4
  "description": "CLI for building for and deploying to The Graph",
5
5
  "license": "(Apache-2.0 OR MIT)",
6
6
  "engines": {