@wox-launcher/wox-plugin 0.0.18 → 0.0.19

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.d.ts CHANGED
@@ -63,3 +63,10 @@ export interface WoxImage {
63
63
  ImageType: WoxImageType;
64
64
  ImageData: string;
65
65
  }
66
+ export declare namespace WoxImage {
67
+ function FromAbsolutePath(path: string): WoxImage;
68
+ function FromRelativeToPluginPath(path: string): WoxImage;
69
+ function FromSvg(svg: string): WoxImage;
70
+ function FromBase64(base64: string): WoxImage;
71
+ function FromRemote(url: string): WoxImage;
72
+ }
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.WoxImage = void 0;
3
4
  var WoxImage;
4
5
  (function (WoxImage) {
5
6
  function FromAbsolutePath(path) {
@@ -37,4 +38,4 @@ var WoxImage;
37
38
  };
38
39
  }
39
40
  WoxImage.FromRemote = FromRemote;
40
- })(WoxImage || (WoxImage = {}));
41
+ })(WoxImage || (exports.WoxImage = WoxImage = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "All nodejs plugin for Wox should use types in this package",
5
5
  "repository": {
6
6
  "type": "git",