rivia 0.0.53 → 0.0.56

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.js +11 -11
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4088,12 +4088,11 @@ var triggerEvent = async (message) => {
4088
4088
  if (window.label && window.label.parentNode) {
4089
4089
  window.label.remove();
4090
4090
  }
4091
- console.log("label2");
4092
- () => {
4093
- const label2 = document.createElement("div");
4094
- label2.id = "route-label";
4095
- label2.innerText = "\u{1F389} Congrats! You've completed all items!";
4096
- Object.assign(label2.style, {
4091
+ (() => {
4092
+ const ll2 = document.createElement("div");
4093
+ ll2.id = "route-labe";
4094
+ ll2.innerText = "\u{1F389} Congrats! You've completed all items!";
4095
+ Object.assign(ll2.style, {
4097
4096
  position: "fixed",
4098
4097
  bottom: "20px",
4099
4098
  left: "20px",
@@ -4108,15 +4107,16 @@ var triggerEvent = async (message) => {
4108
4107
  opacity: 0,
4109
4108
  transition: "opacity 0.5s ease"
4110
4109
  });
4111
- document.body.appendChild(label2);
4110
+ document.body.appendChild(ll2);
4111
+ console.log("ll2");
4112
4112
  requestAnimationFrame(() => {
4113
- label2.style.opacity = 1;
4113
+ ll2.style.opacity = 1;
4114
4114
  });
4115
4115
  setTimeout(() => {
4116
- label2.style.opacity = 0;
4117
- setTimeout(() => label2.remove(), 500);
4116
+ ll2.style.opacity = 0;
4117
+ setTimeout(() => ll2.remove(), 500);
4118
4118
  }, 3e3);
4119
- };
4119
+ })();
4120
4120
  }
4121
4121
  }
4122
4122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rivia",
3
- "version": "0.0.53",
3
+ "version": "0.0.56",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",