@leapfrog/interactive-canvas 1.0.4 → 1.0.5

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.
@@ -2795,7 +2795,7 @@ var AbstractInteractiveCanvas = /** @class */ (function () {
2795
2795
  AbstractInteractiveCanvas.prototype.setPrefillData = function (data) {
2796
2796
  _(this.getObjectsByTypeInternal(ObjectType.TEXT)).each(function (object) {
2797
2797
  var prefillType = object.getPrefillType();
2798
- if (prefillType !== null) {
2798
+ if (prefillType !== undefined) {
2799
2799
  object.setText(data[prefillType] || "");
2800
2800
  }
2801
2801
  });
@@ -2795,7 +2795,7 @@ var AbstractInteractiveCanvas = /** @class */ (function () {
2795
2795
  AbstractInteractiveCanvas.prototype.setPrefillData = function (data) {
2796
2796
  _(this.getObjectsByTypeInternal(exports.ObjectType.TEXT)).each(function (object) {
2797
2797
  var prefillType = object.getPrefillType();
2798
- if (prefillType !== null) {
2798
+ if (prefillType !== undefined) {
2799
2799
  object.setText(data[prefillType] || "");
2800
2800
  }
2801
2801
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leapfrog/interactive-canvas",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Leapfrog interactive canvas",
5
5
  "files": [
6
6
  "dist"