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.
- package/build/EventResponse.d.mts +0 -2
- package/build/main.cjs +1 -1
- package/build/main.d.cts +4 -4
- package/build/main.d.mts +4 -4
- package/build/main.mjs +1 -1
- package/package.json +2 -2
package/build/main.cjs
CHANGED
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<
|
|
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
|
|
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<
|
|
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
|
|
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
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.
|
|
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": "
|
|
41
|
+
"@ogi-sdk/connect": "^1.0.1",
|
|
42
42
|
"fuse.js": "^7.1.0",
|
|
43
43
|
"zod": "^3.23.8"
|
|
44
44
|
},
|