ogi-addon 4.0.0 → 4.0.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.
@@ -1,6 +1,4 @@
1
1
  import { ConfigurationBuilder } from "./config/ConfigurationBuilder.mjs";
2
- import "./main.mjs";
3
-
4
2
  //#region src/EventResponse.d.ts
5
3
  declare class EventResponse<T> {
6
4
  data: T | undefined;
package/build/main.cjs CHANGED
@@ -12,7 +12,7 @@ let fuse_js = require("fuse.js");
12
12
  fuse_js = require_chunk.__toESM(fuse_js);
13
13
 
14
14
  //#region package.json
15
- var version = "4.0.0";
15
+ var version = "4.0.1";
16
16
 
17
17
  //#endregion
18
18
  //#region src/main.ts
package/build/main.d.cts CHANGED
@@ -2,7 +2,7 @@ import { ConfigurationBuilder } from "./config/ConfigurationBuilder.cjs";
2
2
  import { Configuration } from "./config/Configuration.cjs";
3
3
  import { extraction } from "./extraction.cjs";
4
4
  import EventResponse from "./EventResponse.cjs";
5
- import { AddonClientToServerEventArgs, AddonClientToServerEventArgs as AddonClientToServerEventArgs$1, AddonClientToServerEventName, AddonClientToServerEventName as AddonClientToServerEventName$1, AddonClientToServerWebsocketMessage, AddonNotificationMessage, AddonNotificationMessage as AddonNotificationMessage$1, AddonProtocolEventListenerTypes, AddonProtocolEventListenerTypes as AddonProtocolEventListenerTypes$1, AddonSDKLifecycleEventListenerTypes, AddonSDKLifecycleEventListenerTypes as AddonSDKLifecycleEventListenerTypes$1, AddonServerHostEventListeners, AddonServerHostEventName, AddonServerLifecycleEvent, AddonServerToClientEventName, AddonServerToClientWebsocketMessage, AddonTaskRunEventArgs as TaskRunMessageArgs, BasicLibraryInfo as BasicLibraryInfo$1, CatalogCarouselItem, CatalogResponse, CatalogResponse as CatalogResponse$1, CatalogSection, CatalogWithCarousel, ConfigurationFile, ConfigurationOptionType, ConfigurationOptionWire, LibraryInfo, LibraryInfo as LibraryInfo$1, OGIAddonConfiguration, OGIAddonConfiguration as OGIAddonConfiguration$1, OGIAddonSDKEventListener, OGIAddonSDKEventListener as OGIAddonSDKEventListener$1, SearchResult, SetupCommandData, SetupEventResponse, SetupResponse, StoreData, UmuId } from "@ogi-sdk/connect";
5
+ import { AddonClientToServerEventArgs, AddonClientToServerEventArgs as AddonClientToServerEventArgs$1, AddonClientToServerEventName, AddonClientToServerEventName as AddonClientToServerEventName$1, AddonClientToServerWebsocketMessage, AddonNotificationMessage, AddonNotificationMessage as AddonNotificationMessage$1, AddonProtocolEventListenerTypes, AddonProtocolEventListenerTypes as AddonProtocolEventListenerTypes$1, AddonSDKLifecycleEventListenerTypes, AddonSDKLifecycleEventListenerTypes as AddonSDKLifecycleEventListenerTypes$1, AddonServerHostEventListeners, AddonServerHostEventName, AddonServerLifecycleEvent, AddonServerToClientEventName, AddonServerToClientWebsocketMessage, AddonTaskRunEventArgs as TaskRunMessageArgs, BasicLibraryInfo, BasicLibraryInfo as BasicLibraryInfo$1, CatalogCarouselItem, CatalogResponse, CatalogResponse as CatalogResponse$1, CatalogSection, CatalogWithCarousel, ConfigurationFile, ConfigurationOptionType, ConfigurationOptionWire, LibraryInfo, LibraryInfo as LibraryInfo$1, OGIAddonConfiguration, OGIAddonConfiguration as OGIAddonConfiguration$1, OGIAddonSDKEventListener, OGIAddonSDKEventListener as OGIAddonSDKEventListener$1, SearchResult, SetupCommandData, SetupEventResponse, SetupResponse, StoreData, StoreData as StoreData$1, UmuId } from "@ogi-sdk/connect";
6
6
  import events from "node:events";
7
7
  import { IFuseOptions } from "fuse.js";
8
8
  import { z } from "zod";
@@ -62,8 +62,8 @@ declare class OGIAddon {
62
62
  * @param storefront {string}
63
63
  * @returns {Promise<StoreData>}
64
64
  */
65
- getAppDetails(appID: number, storefront: string): Promise<any>;
66
- searchGame(query: string, storefront: string): Promise<BasicLibraryInfo[]>;
65
+ getAppDetails(appID: number, storefront: string): Promise<StoreData$1 | undefined>;
66
+ searchGame(query: string, storefront: string): Promise<BasicLibraryInfo$1[]>;
67
67
  /**
68
68
  * Notify the OGI Addon Server that you are performing a background task. This can be used to help users understand what is happening in the background.
69
69
  * @returns {Promise<Task>} A Task instance for managing the background task.
@@ -222,5 +222,5 @@ declare class OGIAddonWSListener {
222
222
  close(): void;
223
223
  }
224
224
  //#endregion
225
- export { type AddonClientToServerEventArgs, type AddonClientToServerEventName, type AddonClientToServerWebsocketMessage, type AddonNotificationMessage, type AddonProtocolEventListenerTypes, type AddonSDKLifecycleEventListenerTypes, type AddonServerHostEventListeners, type AddonServerHostEventName, type AddonServerLifecycleEvent, type AddonServerToClientEventName, type AddonServerToClientWebsocketMessage, type BasicLibraryInfo$1 as BasicLibraryInfo, type CatalogCarouselItem, type CatalogResponse, type CatalogSection, type CatalogWithCarousel, Configuration, ConfigurationBuilder, type ConfigurationFile, type ConfigurationOptionType, type ConfigurationOptionWire, EventListenerTypes, EventResponse, type LibraryInfo, Notification, type OGIAddonConfiguration, type OGIAddonSDKEventListener, type SearchResult, SearchTool, type SetupCommandData, type SetupEventResponse, type SetupResponse, type StoreData, Task, type TaskRunMessageArgs, type UmuId, VERSION, ZodLibraryInfo, OGIAddon as default, extraction };
225
+ export { type AddonClientToServerEventArgs, type AddonClientToServerEventName, type AddonClientToServerWebsocketMessage, type AddonNotificationMessage, type AddonProtocolEventListenerTypes, type AddonSDKLifecycleEventListenerTypes, type AddonServerHostEventListeners, type AddonServerHostEventName, type AddonServerLifecycleEvent, type AddonServerToClientEventName, type AddonServerToClientWebsocketMessage, type BasicLibraryInfo, type CatalogCarouselItem, type CatalogResponse, type CatalogSection, type CatalogWithCarousel, Configuration, ConfigurationBuilder, type ConfigurationFile, type ConfigurationOptionType, type ConfigurationOptionWire, EventListenerTypes, EventResponse, type LibraryInfo, Notification, type OGIAddonConfiguration, type OGIAddonSDKEventListener, type SearchResult, SearchTool, type SetupCommandData, type SetupEventResponse, type SetupResponse, type StoreData, Task, type TaskRunMessageArgs, type UmuId, VERSION, ZodLibraryInfo, OGIAddon as default, extraction };
226
226
  //# sourceMappingURL=main.d.cts.map
package/build/main.d.mts CHANGED
@@ -2,7 +2,7 @@ import { ConfigurationBuilder } from "./config/ConfigurationBuilder.mjs";
2
2
  import { Configuration } from "./config/Configuration.mjs";
3
3
  import { extraction } from "./extraction.mjs";
4
4
  import EventResponse from "./EventResponse.mjs";
5
- import { AddonClientToServerEventArgs, AddonClientToServerEventArgs as AddonClientToServerEventArgs$1, AddonClientToServerEventName, AddonClientToServerEventName as AddonClientToServerEventName$1, AddonClientToServerWebsocketMessage, AddonNotificationMessage, AddonNotificationMessage as AddonNotificationMessage$1, AddonProtocolEventListenerTypes, AddonProtocolEventListenerTypes as AddonProtocolEventListenerTypes$1, AddonSDKLifecycleEventListenerTypes, AddonSDKLifecycleEventListenerTypes as AddonSDKLifecycleEventListenerTypes$1, AddonServerHostEventListeners, AddonServerHostEventName, AddonServerLifecycleEvent, AddonServerToClientEventName, AddonServerToClientWebsocketMessage, AddonTaskRunEventArgs as TaskRunMessageArgs, BasicLibraryInfo as BasicLibraryInfo$1, CatalogCarouselItem, CatalogResponse, CatalogResponse as CatalogResponse$1, CatalogSection, CatalogWithCarousel, ConfigurationFile, ConfigurationOptionType, ConfigurationOptionWire, LibraryInfo, LibraryInfo as LibraryInfo$1, OGIAddonConfiguration, OGIAddonConfiguration as OGIAddonConfiguration$1, OGIAddonSDKEventListener, OGIAddonSDKEventListener as OGIAddonSDKEventListener$1, SearchResult, SetupCommandData, SetupEventResponse, SetupResponse, StoreData, UmuId } from "@ogi-sdk/connect";
5
+ import { AddonClientToServerEventArgs, AddonClientToServerEventArgs as AddonClientToServerEventArgs$1, AddonClientToServerEventName, AddonClientToServerEventName as AddonClientToServerEventName$1, AddonClientToServerWebsocketMessage, AddonNotificationMessage, AddonNotificationMessage as AddonNotificationMessage$1, AddonProtocolEventListenerTypes, AddonProtocolEventListenerTypes as AddonProtocolEventListenerTypes$1, AddonSDKLifecycleEventListenerTypes, AddonSDKLifecycleEventListenerTypes as AddonSDKLifecycleEventListenerTypes$1, AddonServerHostEventListeners, AddonServerHostEventName, AddonServerLifecycleEvent, AddonServerToClientEventName, AddonServerToClientWebsocketMessage, AddonTaskRunEventArgs as TaskRunMessageArgs, BasicLibraryInfo, BasicLibraryInfo as BasicLibraryInfo$1, CatalogCarouselItem, CatalogResponse, CatalogResponse as CatalogResponse$1, CatalogSection, CatalogWithCarousel, ConfigurationFile, ConfigurationOptionType, ConfigurationOptionWire, LibraryInfo, LibraryInfo as LibraryInfo$1, OGIAddonConfiguration, OGIAddonConfiguration as OGIAddonConfiguration$1, OGIAddonSDKEventListener, OGIAddonSDKEventListener as OGIAddonSDKEventListener$1, SearchResult, SetupCommandData, SetupEventResponse, SetupResponse, StoreData, StoreData as StoreData$1, UmuId } from "@ogi-sdk/connect";
6
6
  import events from "node:events";
7
7
  import { z as z$1 } from "zod";
8
8
  import { IFuseOptions } from "fuse.js";
@@ -62,8 +62,8 @@ declare class OGIAddon {
62
62
  * @param storefront {string}
63
63
  * @returns {Promise<StoreData>}
64
64
  */
65
- getAppDetails(appID: number, storefront: string): Promise<any>;
66
- searchGame(query: string, storefront: string): Promise<BasicLibraryInfo[]>;
65
+ getAppDetails(appID: number, storefront: string): Promise<StoreData$1 | undefined>;
66
+ searchGame(query: string, storefront: string): Promise<BasicLibraryInfo$1[]>;
67
67
  /**
68
68
  * Notify the OGI Addon Server that you are performing a background task. This can be used to help users understand what is happening in the background.
69
69
  * @returns {Promise<Task>} A Task instance for managing the background task.
@@ -222,5 +222,5 @@ declare class OGIAddonWSListener {
222
222
  close(): void;
223
223
  }
224
224
  //#endregion
225
- export { type AddonClientToServerEventArgs, type AddonClientToServerEventName, type AddonClientToServerWebsocketMessage, type AddonNotificationMessage, type AddonProtocolEventListenerTypes, type AddonSDKLifecycleEventListenerTypes, type AddonServerHostEventListeners, type AddonServerHostEventName, type AddonServerLifecycleEvent, type AddonServerToClientEventName, type AddonServerToClientWebsocketMessage, type BasicLibraryInfo$1 as BasicLibraryInfo, type CatalogCarouselItem, type CatalogResponse, type CatalogSection, type CatalogWithCarousel, Configuration, ConfigurationBuilder, type ConfigurationFile, type ConfigurationOptionType, type ConfigurationOptionWire, EventListenerTypes, EventResponse, type LibraryInfo, Notification, type OGIAddonConfiguration, type OGIAddonSDKEventListener, type SearchResult, SearchTool, type SetupCommandData, type SetupEventResponse, type SetupResponse, type StoreData, Task, type TaskRunMessageArgs, type UmuId, VERSION, ZodLibraryInfo, OGIAddon as default, extraction };
225
+ export { type AddonClientToServerEventArgs, type AddonClientToServerEventName, type AddonClientToServerWebsocketMessage, type AddonNotificationMessage, type AddonProtocolEventListenerTypes, type AddonSDKLifecycleEventListenerTypes, type AddonServerHostEventListeners, type AddonServerHostEventName, type AddonServerLifecycleEvent, type AddonServerToClientEventName, type AddonServerToClientWebsocketMessage, type BasicLibraryInfo, type CatalogCarouselItem, type CatalogResponse, type CatalogSection, type CatalogWithCarousel, Configuration, ConfigurationBuilder, type ConfigurationFile, type ConfigurationOptionType, type ConfigurationOptionWire, EventListenerTypes, EventResponse, type LibraryInfo, Notification, type OGIAddonConfiguration, type OGIAddonSDKEventListener, type SearchResult, SearchTool, type SetupCommandData, type SetupEventResponse, type SetupResponse, type StoreData, Task, type TaskRunMessageArgs, type UmuId, VERSION, ZodLibraryInfo, OGIAddon as default, extraction };
226
226
  //# sourceMappingURL=main.d.mts.map
package/build/main.mjs CHANGED
@@ -8,7 +8,7 @@ import { z as z$1 } from "zod";
8
8
  import Fuse from "fuse.js";
9
9
 
10
10
  //#region package.json
11
- var version = "4.0.0";
11
+ var version = "4.0.1";
12
12
 
13
13
  //#endregion
14
14
  //#region src/main.ts
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "module": "./build/main.mjs",
4
4
  "type": "module",
5
5
  "main": "./build/main.cjs",
6
- "version": "4.0.0",
6
+ "version": "4.0.1",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": {
@@ -38,7 +38,7 @@
38
38
  "directory": "packages/ogi-addon"
39
39
  },
40
40
  "dependencies": {
41
- "@ogi-sdk/connect": "workspace:*",
41
+ "@ogi-sdk/connect": "^1.0.1",
42
42
  "fuse.js": "^7.1.0",
43
43
  "zod": "^3.23.8"
44
44
  },