@articles-media/articles-dev-box 1.1.0 → 1.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.
@@ -9,7 +9,7 @@ function ReturnToLauncherButton({ className, id }) {
9
9
  setIsMounted(true);
10
10
  }, []);
11
11
  if (!isMounted) return null;
12
- const urlParams = new URLSearchParams(window.location.search);
12
+ const urlParams = new URL(window.location.href).searchParams;
13
13
  let { launcher_mode } = Object.fromEntries(urlParams);
14
14
  launcher_mode = launcher_mode === "1" ? true : false;
15
15
  if (!launcher_mode) return /* @__PURE__ */ jsxs(ArticlesButton, {
@@ -235,8 +235,9 @@ function OtherTab({ useStore, config }) {
235
235
  var package_default = {
236
236
  name: "@articles-media/articles-dev-box",
237
237
  description: "Shared code, functions, and components for different Articles Media projects.",
238
- version: "1.1.0",
238
+ version: "1.1.1",
239
239
  type: "module",
240
+ sideEffects: false,
240
241
  imports: { "#root/src/*": "./src/*" },
241
242
  main: "./dist/index.js",
242
243
  module: "./dist/index.js",
@@ -1,2 +1,2 @@
1
- import { t as SettingsModal } from "./SettingsModal-Cy49y82s.js";
1
+ import { t as SettingsModal } from "./SettingsModal-BKcxlAg_.js";
2
2
  export { SettingsModal as default };
package/dist/index.js CHANGED
@@ -16,7 +16,7 @@ import { t as GameScoreboard } from "./GameScoreboard-CYuTBE_E.js";
16
16
  import PageTemplateLandingPage from "./PageTemplateLandingPage.js";
17
17
  import GlobalHead from "./GlobalHead.js";
18
18
  import GlobalBody_default from "./GlobalBody.js";
19
- import { t as SettingsModal } from "./SettingsModal-Cy49y82s.js";
19
+ import { t as SettingsModal } from "./SettingsModal-BKcxlAg_.js";
20
20
  import CreditsModal from "./CreditsModal.js";
21
21
  import InfoModal from "./InfoModal.js";
22
22
  import DarkModeHandler from "./DarkModeHandler.js";
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@articles-media/articles-dev-box",
3
3
  "description": "Shared code, functions, and components for different Articles Media projects.",
4
- "version": "1.1.0",
4
+ "version": "1.1.1",
5
5
  "type": "module",
6
+ "sideEffects": false,
6
7
  "imports": {
7
8
  "#root/src/*": "./src/*"
8
9
  },