fluency-v8-components 1.4.0 → 1.4.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.
@@ -26336,7 +26336,7 @@ const poe = { class: "col" }, dke = {
26336
26336
  ];
26337
26337
  }
26338
26338
  function A(u) {
26339
- return typeof u == "number" && !Number.isNaN(u);
26339
+ return typeof u == "number" && !Number.isNaN(u) && u > 0;
26340
26340
  }
26341
26341
  return (u, d) => (q(), de("div", poe, [
26342
26342
  he(J(ry), {
@@ -62719,7 +62719,7 @@ function(e) {
62719
62719
  var A = l.getContext("2d");
62720
62720
  A.fillStyle = "#fff", A.fillRect(0, 0, l.width, l.height);
62721
62721
  var u = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, d = this;
62722
- return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-jnmHZtX5.mjs")).catch(function(f) {
62722
+ return (Bn.canvg ? Promise.resolve(Bn.canvg) : import("./index.es-YVbpQZsk.mjs")).catch(function(f) {
62723
62723
  return Promise.reject(new Error("Could not load canvg: " + f));
62724
62724
  }).then(function(f) {
62725
62725
  return f.default ? f.default : f;
@@ -1,4 +1,4 @@
1
- import { c as Da, _ as Va, g as il } from "./index-Br4jyWhU.mjs";
1
+ import { c as Da, _ as Va, g as il } from "./index-Mo0fYImu.mjs";
2
2
  var fn = {}, cn = {}, cr, vn;
3
3
  function Q() {
4
4
  if (vn) return cr;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fluency-v8-components",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "main": "dist/fluency-v8-components.umd.js",
5
5
  "module": "dist/fluency-v8-components.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -119,6 +119,6 @@ function defaultRange() {
119
119
  }
120
120
 
121
121
  function isValidTimestamp(value) {
122
- return typeof value === "number" && !Number.isNaN(value);
122
+ return typeof value === "number" && !Number.isNaN(value) && value > 0;
123
123
  }
124
124
  </script>