asamap 1.0.7 → 1.0.9

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.
Files changed (2) hide show
  1. package/dist/index.mjs +15 -13
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -692,7 +692,7 @@ const Ce = {
692
692
  }, ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
693
693
  __proto__: null,
694
694
  default: Ce
695
- }, Symbol.toStringTag, { value: "Module" })), i = [
695
+ }, Symbol.toStringTag, { value: "Module" })), n = [
696
696
  {
697
697
  label: "Pre-Orders",
698
698
  visible: !0,
@@ -758,7 +758,7 @@ const Ce = {
758
758
  }
759
759
  ], Ge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
760
760
  __proto__: null,
761
- default: i
761
+ default: n
762
762
  }, Symbol.toStringTag, { value: "Module" })), k = [
763
763
  {
764
764
  label: "Spend",
@@ -828,7 +828,7 @@ const Ce = {
828
828
  chartType: "line",
829
829
  value: "ttr"
830
830
  },
831
- ...i
831
+ ...n
832
832
  ], G = {};
833
833
  k.forEach((e) => {
834
834
  G[e.value] = e;
@@ -934,7 +934,7 @@ const D = [
934
934
  align: "right",
935
935
  formatter: (e) => e.ttrFormat || "0"
936
936
  },
937
- ...i,
937
+ ...n,
938
938
  {
939
939
  label: "MMP Installs",
940
940
  precision: 0,
@@ -1286,7 +1286,8 @@ const De = { base8: k, base8Obj: G, all: D, allObj: I }, Ie = /* @__PURE__ */ Ob
1286
1286
  align: "right",
1287
1287
  value: "viewReDownloads",
1288
1288
  formatter: (e) => e.viewReDownloadsFormat || 0
1289
- }
1289
+ },
1290
+ ...n
1290
1291
  ], Be = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1291
1292
  __proto__: null,
1292
1293
  default: Re
@@ -5756,7 +5757,7 @@ const ia = {
5756
5757
  value: "viewReDownloads",
5757
5758
  formatter: (e) => e.viewReDownloadsFormat || "0"
5758
5759
  },
5759
- ...i
5760
+ ...n
5760
5761
  ], oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5761
5762
  __proto__: null,
5762
5763
  default: r
@@ -6000,7 +6001,7 @@ const ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6000
6001
  value: "viewReDownloads",
6001
6002
  formatter: (e) => e.viewReDownloadsFormat || "0"
6002
6003
  },
6003
- ...i
6004
+ ...n
6004
6005
  ], O = {};
6005
6006
  j.forEach((e) => {
6006
6007
  O[e.value] = e;
@@ -6281,7 +6282,8 @@ const ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6281
6282
  width: 120,
6282
6283
  align: "right",
6283
6284
  formatter: (e) => e.revenueFormat || "0"
6284
- }
6285
+ },
6286
+ ...n
6285
6287
  ], V = {};
6286
6288
  F.forEach((e) => {
6287
6289
  V[e.value] = e;
@@ -6488,7 +6490,7 @@ const ta = {
6488
6490
  if (Aa.indexOf(e) === -1)
6489
6491
  return !1;
6490
6492
  {
6491
- const a = /* @__PURE__ */ new Date(), n = new Date(a.getFullYear(), 0, 1), l = new Date(a.getFullYear(), 6, 1), c = (ee) => {
6493
+ const a = /* @__PURE__ */ new Date(), i = new Date(a.getFullYear(), 0, 1), l = new Date(a.getFullYear(), 6, 1), c = (ee) => {
6492
6494
  var s;
6493
6495
  const ae = ((s = new Intl.DateTimeFormat("en-US", {
6494
6496
  timeZone: e,
@@ -6497,7 +6499,7 @@ const ta = {
6497
6499
  /([+-])(\d{2})(?::?(\d{2}))?/
6498
6500
  );
6499
6501
  return (le === "+" ? -1 : 1) * (parseInt(ne) * 60 + parseInt(ie || "00"));
6500
- }, q = c(a), Q = c(n), X = c(l);
6502
+ }, q = c(a), Q = c(i), X = c(l);
6501
6503
  return q < Math.max(Q, X);
6502
6504
  }
6503
6505
  }, ga = [
@@ -16674,10 +16676,10 @@ const Ya = (e) => {
16674
16676
  return _;
16675
16677
  const a = e.split(".");
16676
16678
  if (a.length > 1) {
16677
- let n = _;
16679
+ let i = _;
16678
16680
  for (let l = 0; l < a.length; l++)
16679
- n[a[l]] ? n = n[a[l]] : console.error(`No Map node at ${a[l]} in ${e}`);
16680
- return n;
16681
+ i[a[l]] ? i = i[a[l]] : console.error(`No Map node at ${a[l]} in ${e}`);
16682
+ return i;
16681
16683
  } else
16682
16684
  return _[e];
16683
16685
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "asamap",
3
3
  "packageManager": "yarn@4.4.1",
4
- "version": "1.0.7",
4
+ "version": "1.0.9",
5
5
  "author": "matt avis",
6
6
  "main": "./dist/index.mjs",
7
7
  "module": "./dist/index.mjs",