rivia 0.0.19 → 0.0.20

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 +2 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1256,6 +1256,7 @@ var RIVIA_TOUR = function() {
1256
1256
  user_var12 = tourState.user_var1 || "Guest_User";
1257
1257
  STATE.title = tourState.title || "Untitled Tour";
1258
1258
  STATE.publish = tourState.publish || false;
1259
+ window.sessionStorage.removeItem("rivia_tour_state");
1259
1260
  if (STATE.tips?.length > 0) {
1260
1261
  setTimeout(() => {
1261
1262
  showStep(STATE.tourIndex, STATE.isPreviewMode);
@@ -1263,6 +1264,7 @@ var RIVIA_TOUR = function() {
1263
1264
  }
1264
1265
  } catch (error) {
1265
1266
  console.warn("Error restoring tour state:", error);
1267
+ window.sessionStorage.removeItem("rivia_tour_state");
1266
1268
  }
1267
1269
  }
1268
1270
  async function createTooltip({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rivia",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",