wxt 0.19.23 → 0.19.24

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.
@@ -242,6 +242,9 @@ function autoMountUi(uiCallbacks, options) {
242
242
  }
243
243
  async function observeElement(selector) {
244
244
  let isAnchorExist = !!getAnchor(options);
245
+ if (isAnchorExist) {
246
+ uiCallbacks.mount();
247
+ }
245
248
  while (!abortController.signal.aborted) {
246
249
  try {
247
250
  const changedAnchor = await waitElement(selector ?? "body", {
@@ -5,7 +5,7 @@ import fs from "fs-extra";
5
5
  import path from "node:path";
6
6
  import pc from "picocolors";
7
7
  export async function initialize(options) {
8
- consola.info("Initalizing new project");
8
+ consola.info("Initializing new project");
9
9
  const templates = await listTemplates();
10
10
  const defaultTemplate = templates.find(
11
11
  (template) => template.name === options.template?.toLowerCase().trim()
@@ -35,10 +35,7 @@ export async function initialize(options) {
35
35
  { title: pc.red("npm"), value: "npm" },
36
36
  { title: pc.yellow("pnpm"), value: "pnpm" },
37
37
  { title: pc.cyan("yarn"), value: "yarn" },
38
- {
39
- title: `${pc.magenta("bun")}${pc.gray(" (experimental)")}`,
40
- value: "bun"
41
- }
38
+ { title: pc.magenta("bun"), value: "bun" }
42
39
  ]
43
40
  }
44
41
  ],
@@ -21,7 +21,7 @@ export function createWebExtRunner() {
21
21
  };
22
22
  const wxtUserConfig = wxt.config.runnerConfig.config;
23
23
  const userConfig = {
24
- console: wxtUserConfig?.openConsole,
24
+ browserConsole: wxtUserConfig?.openConsole,
25
25
  devtools: wxtUserConfig?.openDevtools,
26
26
  startUrl: wxtUserConfig?.startUrls,
27
27
  keepProfileChanges: wxtUserConfig?.keepProfileChanges,
package/dist/version.mjs CHANGED
@@ -1 +1 @@
1
- export const version = "0.19.23";
1
+ export const version = "0.19.24";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wxt",
3
3
  "type": "module",
4
- "version": "0.19.23",
4
+ "version": "0.19.24",
5
5
  "description": "Next gen framework for developing web extensions",
6
6
  "repository": {
7
7
  "type": "git",