mousehunt-improved 0.99.6 → 0.99.7

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.
@@ -1,4 +1,4 @@
1
- const mhImprovedVersion = '0.99.6';
1
+ const mhImprovedVersion = '0.99.7';
2
2
  const mhImprovedPlatform = 'userscript';
3
3
  var mhui = (() => {
4
4
  var __create = Object.create;
@@ -14387,6 +14387,8 @@ var mhui = (() => {
14387
14387
  yield updateMapSurface(data, request);
14388
14388
  if (activeMapId) {
14389
14389
  runMapEnhancements();
14390
+ } else if (document.querySelector(".treasureMapRootView")) {
14391
+ maybeShowInvitesTab();
14390
14392
  }
14391
14393
  }),
14392
14394
  true
@@ -14478,7 +14480,6 @@ var mhui = (() => {
14478
14480
  mapRuntime.register("content", "map-content", ({ root }) => {
14479
14481
  addBlockClasses(root);
14480
14482
  preview_default();
14481
- maybeShowInvitesTab();
14482
14483
  });
14483
14484
  mapRuntime.register("interactions", "default-tab", (model) => __async(null, null, function* () {
14484
14485
  const { map, root } = model;
@@ -14611,6 +14612,7 @@ var mhui = (() => {
14611
14612
  const map = ((_a = getGlobal("mapper")) == null ? void 0 : _a.mapData) || null;
14612
14613
  const isStale = map && activeMapId && !isActiveMap(map.map_id);
14613
14614
  mapRuntime.queueRender({ map: isStale ? null : map, reason: "enhancement-requested" });
14615
+ maybeShowInvitesTab();
14614
14616
  };
14615
14617
  init8 = () => {
14616
14618
  var _a, _b;
@@ -54028,6 +54030,14 @@ var mhui = (() => {
54028
54030
  }
54029
54031
  });
54030
54032
 
54033
+ // src/data/update-summaries/0.99.7.json
54034
+ var __default17;
54035
+ var init__17 = __esm({
54036
+ "src/data/update-summaries/0.99.7.json"() {
54037
+ __default17 = { version: "0.99.7", summary: "", details: [{ title: "", items: ["Fixed the refresh button missing from the My Invites tab of the map popup"] }] };
54038
+ }
54039
+ });
54040
+
54031
54041
  // src/modules/update-notifications/index.js
54032
54042
  var imported10, updateSummaries, compareVersions, getSummariesSince, makeDetailsList, makeVersionMarkup, showUpdateSummary, init91, update_notifications_default;
54033
54043
  var init_update_notifications = __esm({
@@ -54045,7 +54055,8 @@ var mhui = (() => {
54045
54055
  init__14();
54046
54056
  init__15();
54047
54057
  init__16();
54048
- imported10 = [__default6, __default7, __default8, __default9, __default10, __default11, __default12, __default13, __default14, __default15, __default16];
54058
+ init__17();
54059
+ imported10 = [__default6, __default7, __default8, __default9, __default10, __default11, __default12, __default13, __default14, __default15, __default16, __default17];
54049
54060
  updateSummaries = imported10;
54050
54061
  compareVersions = (a, b) => {
54051
54062
  const aParts = "".concat(a).split(".");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mousehunt-improved",
3
- "version": "0.99.6",
3
+ "version": "0.99.7",
4
4
  "description": "Improve your MouseHunt experience.",
5
5
  "author": "Brad Parbs <brad@bradparbs.com> (https://bradparbs.com/)",
6
6
  "license": "MIT",