@itrocks/template 0.0.40 → 0.0.41

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/cjs/template.js CHANGED
@@ -412,7 +412,7 @@ class Template {
412
412
  }
413
413
  for (const [prefix, callback] of this.parsers) {
414
414
  if (firstChar === prefix) {
415
- return callback(variable, data);
415
+ return await callback(variable, data);
416
416
  }
417
417
  }
418
418
  if (data[variable] === undefined) {
package/esm/template.js CHANGED
@@ -409,7 +409,7 @@ export class Template {
409
409
  }
410
410
  for (const [prefix, callback] of this.parsers) {
411
411
  if (firstChar === prefix) {
412
- return callback(variable, data);
412
+ return await callback(variable, data);
413
413
  }
414
414
  }
415
415
  if (data[variable] === undefined) {
package/package.json CHANGED
@@ -69,5 +69,5 @@
69
69
  "test": "test/test"
70
70
  },
71
71
  "types": "./esm/template.d.ts",
72
- "version": "0.0.40"
72
+ "version": "0.0.41"
73
73
  }