@wox-launcher/wox-plugin 0.0.62 → 0.0.63

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/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export * from "src/context";
2
- export * from "src/image";
1
+ export * from "./context.js";
2
+ export * from "./image.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.62",
3
+ "version": "0.0.63",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",
package/types/index.d.ts CHANGED
@@ -177,9 +177,15 @@ export interface WoxPreview {
177
177
  PreviewProperties: Record<string, string>
178
178
  }
179
179
 
180
- export interface Context {
180
+ export declare interface Context {
181
181
  Values: { [key: string]: string }
182
182
  Get: (key: string) => string | undefined
183
183
  Set: (key: string, value: string) => void
184
184
  Exists: (key: string) => boolean
185
185
  }
186
+
187
+ export function NewContext(): Context;
188
+
189
+ export function NewContextWithValue(key: string, value: string): Context;
190
+
191
+ export function NewBase64WoxImage(imageData: string): WoxImage;
package/dist/context.d.ts DELETED
@@ -1,3 +0,0 @@
1
- import { Context } from "types/index";
2
- export declare function NewContext(): Context;
3
- export declare function NewContextWithValue(key: string, value: string): Context;
package/dist/image.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { WoxImage } from "types/index";
2
- export declare function NewBase64WoxImage(imageData: string): WoxImage;
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from "src/context";
2
- export * from "src/image";