@wox-launcher/wox-plugin 0.0.69 → 0.0.70

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wox-launcher/wox-plugin",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
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
@@ -1,6 +1,8 @@
1
1
  import { llm } from "./llm.js"
2
2
  import { MetadataCommand, PluginSettingDefinitionItem } from "./setting.js"
3
3
 
4
+ export type MapString = { [key: string]: string }
5
+
4
6
  export type Platform = "windows" | "darwin" | "linux"
5
7
 
6
8
  export interface Plugin {
@@ -192,7 +194,7 @@ export interface PublicAPI {
192
194
  /**
193
195
  * Register deep link callback
194
196
  */
195
- OnDeepLink: (ctx: Context, callback: (arguments: Map<string, string>) => void) => Promise<void>
197
+ OnDeepLink: (ctx: Context, callback: (arguments: MapString) => void) => Promise<void>
196
198
 
197
199
  /**
198
200
  * Register query commands