@pzlr/build-core
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -57,3 +57,3 @@ 'use strict'; | ||
if (cache.fromCache) { | ||
return new this(blockCache[blockPath].decl); | ||
return new this(blockPath, blockCache[blockPath].decl); | ||
} | ||
@@ -98,3 +98,3 @@ | ||
return new this(decl); | ||
return new this(blockPath, decl); | ||
} | ||
@@ -229,5 +229,7 @@ | ||
/** | ||
* @param index - block index src | ||
* @param declaration - block declaration | ||
*/ | ||
constructor(declaration) { | ||
constructor(index, declaration) { | ||
this.index = index; | ||
this.declaration = declaration; | ||
@@ -234,0 +236,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
"typings": "index.d.ts", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "author": { |
55190
739