vite-plugin-qrcode 0.4.0 → 0.4.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-qrcode",
3
3
  "description": "Show QR code on server start",
4
- "version": "0.4.0",
4
+ "version": "0.4.1",
5
5
  "license": "MIT",
6
6
  "author": "bluwy",
7
7
  "type": "module",
package/src/public.d.ts CHANGED
@@ -13,3 +13,6 @@ export interface PluginOptions {
13
13
 
14
14
  filter?: (url: string) => boolean;
15
15
  }
16
+
17
+ // eslint-disable-next-line n/no-missing-import
18
+ export * from './index.js';
package/types/index.d.ts CHANGED
@@ -13,6 +13,11 @@ declare module 'vite-plugin-qrcode' {
13
13
 
14
14
  filter?: (url: string) => boolean;
15
15
  }
16
+ /**
17
+ *
18
+ * @returns vite-plugin-qrcode
19
+ */
20
+ export function qrcode(options?: Partial<PluginOptions>): import("vite").Plugin;
16
21
 
17
22
  export {};
18
23
  }
@@ -2,14 +2,17 @@
2
2
  "version": 3,
3
3
  "file": "index.d.ts",
4
4
  "names": [
5
- "PluginOptions"
5
+ "PluginOptions",
6
+ "qrcode"
6
7
  ],
7
8
  "sources": [
8
- "../src/public.d.ts"
9
+ "../src/public.d.ts",
10
+ "../src/index.js"
9
11
  ],
10
12
  "sourcesContent": [
13
+ null,
11
14
  null
12
15
  ],
13
- "mappings": ";kBAAiBA,aAAaA",
16
+ "mappings": ";kBAAiBA,aAAaA;;;;;;;;;;;;;;;;;;iBCOdC,MAAMA",
14
17
  "ignoreList": []
15
18
  }