pollcatch 2.1.0 → 2.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/pc.js +3 -3
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pollcatch",
3
3
  "private": false,
4
- "version": "2.1.0",
4
+ "version": "2.1.1",
5
5
  "type": "module",
6
6
  "main": "pc.js",
7
7
  "module": "pc.js",
package/pc.js CHANGED
@@ -1230,7 +1230,7 @@ class Ao {
1230
1230
  url: window.location.href,
1231
1231
  numericValue: a,
1232
1232
  textValues: n,
1233
- tags: t.tags,
1233
+ metadata: t.metadata,
1234
1234
  timestamp: o
1235
1235
  }, p = Co(JSON.stringify(l), o);
1236
1236
  try {
@@ -1332,7 +1332,7 @@ class Ao {
1332
1332
  widgetName: t.name,
1333
1333
  numericValue: o,
1334
1334
  textValues: r,
1335
- tags: t.tags,
1335
+ metadata: t.metadata,
1336
1336
  url: typeof window < "u" ? window.location.href : "",
1337
1337
  timestamp: Math.floor(Date.now() / 1e3).toString()
1338
1338
  }, i = new CustomEvent("change", {
@@ -1893,7 +1893,7 @@ g([
1893
1893
  ], m.prototype, "name");
1894
1894
  g([
1895
1895
  f({ type: String })
1896
- ], m.prototype, "tags");
1896
+ ], m.prototype, "metadata");
1897
1897
  g([
1898
1898
  f({ type: String, attribute: "data-func" })
1899
1899
  ], m.prototype, "dataFunc");