wxt 0.18.4 → 0.18.5
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.
- package/dist/{chunk-LRYUZ4EH.js → chunk-7AOGIMIM.js} +145 -21
- package/dist/cli.js +150 -26
- package/dist/client.d.ts +4 -4
- package/dist/execa-5TSWMF32.js +6190 -0
- package/dist/execa-QQUOQNS3.js +6191 -0
- package/dist/{index-CiL7hzu6.d.ts → index-Bk-a0SkY.d.ts} +2 -1
- package/dist/{index-xOGXP3vY.d.cts → index-q2ZwJBs6.d.cts} +89 -5
- package/dist/{index-xOGXP3vY.d.ts → index-q2ZwJBs6.d.ts} +89 -5
- package/dist/index.cjs +6283 -1459
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/modules.cjs +88 -0
- package/dist/modules.d.cts +91 -0
- package/dist/modules.d.ts +91 -0
- package/dist/modules.js +51 -0
- package/dist/sandbox.d.ts +4 -2
- package/dist/sandbox.js +7 -1
- package/dist/storage.d.cts +20 -18
- package/dist/storage.d.ts +20 -18
- package/dist/testing.cjs +57 -3
- package/dist/testing.d.cts +1 -1
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +1 -1
- package/dist/virtual/background-entrypoint.js +2 -0
- package/dist/virtual/content-script-isolated-world-entrypoint.js +2 -0
- package/dist/virtual/content-script-main-world-entrypoint.js +2 -0
- package/dist/virtual/unlisted-script-entrypoint.js +2 -0
- package/package.json +15 -10
- package/dist/execa-6HO2IY2B.js +0 -2192
- package/dist/execa-VDW6HLFV.js +0 -2191
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ContentScriptContext } from './index-
|
|
1
|
+
import { a as ContentScriptContext } from './index-Bk-a0SkY.js';
|
|
2
2
|
import 'webextension-polyfill';
|
|
3
3
|
|
|
4
4
|
interface IntegratedContentScriptUi<TMounted> extends ContentScriptUi<TMounted> {
|
|
@@ -179,13 +179,13 @@ interface ContentScriptAnchoredOptions {
|
|
|
179
179
|
/**
|
|
180
180
|
* Create a content script UI without any isolation.
|
|
181
181
|
*
|
|
182
|
-
* @see https://wxt.dev/guide/content-script-ui.html#integrated
|
|
182
|
+
* @see https://wxt.dev/guide/key-concepts/content-script-ui.html#integrated
|
|
183
183
|
*/
|
|
184
184
|
declare function createIntegratedUi<TMounted>(ctx: ContentScriptContext, options: IntegratedContentScriptUiOptions<TMounted>): IntegratedContentScriptUi<TMounted>;
|
|
185
185
|
/**
|
|
186
186
|
* Create a content script UI using an iframe.
|
|
187
187
|
*
|
|
188
|
-
* @see https://wxt.dev/guide/content-script-ui.html#iframe
|
|
188
|
+
* @see https://wxt.dev/guide/key-concepts/content-script-ui.html#iframe
|
|
189
189
|
*/
|
|
190
190
|
declare function createIframeUi<TMounted>(ctx: ContentScriptContext, options: IframeContentScriptUiOptions<TMounted>): IframeContentScriptUi<TMounted>;
|
|
191
191
|
/**
|
|
@@ -193,7 +193,7 @@ declare function createIframeUi<TMounted>(ctx: ContentScriptContext, options: If
|
|
|
193
193
|
*
|
|
194
194
|
* > This function is async because it has to load the CSS via a network call.
|
|
195
195
|
*
|
|
196
|
-
* @see https://wxt.dev/guide/content-script-ui.html#shadowroot
|
|
196
|
+
* @see https://wxt.dev/guide/key-concepts/content-script-ui.html#shadowroot
|
|
197
197
|
*/
|
|
198
198
|
declare function createShadowRootUi<TMounted>(ctx: ContentScriptContext, options: ShadowRootContentScriptUiOptions<TMounted>): Promise<ShadowRootContentScriptUi<TMounted>>;
|
|
199
199
|
|