@rocketman-streamkit/types 1.0.3 → 1.0.4

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/README.md CHANGED
File without changes
package/addon.d.ts CHANGED
@@ -221,6 +221,14 @@ declare global {
221
221
  }
222
222
  */
223
223
  var isDeveloperMode: boolean;
224
+ /**
225
+ * Check if proxy mode is enabled in application settings
226
+ Can be used for additional logging and debugging, or advanced configuration.
227
+ * @example if (isProxyMode) {
228
+ console.log('Proxy mode is enabled');
229
+ }
230
+ */
231
+ var isProxyMode: boolean;
224
232
  /**
225
233
  * Requires a module.
226
234
  * @param name Module name.
@@ -741,14 +749,14 @@ declare global {
741
749
  * @returns Absolute URL on the local web server.
742
750
  * @example return { redirect: ui.auth.generateSuccess('Twitch connected') };
743
751
  */
744
- generateSuccess: (message: string | undefined) => string;
752
+ generateSuccess: (message: unknown) => string;
745
753
  /**
746
754
  * Builds a redirect URL for the OAuth failure page.
747
755
  * @param message Optional custom message shown via `?message=`.
748
756
  * @returns Absolute URL on the local web server.
749
757
  * @example return { redirect: ui.auth.generateFail('Invalid OAuth state') };
750
758
  */
751
- generateFail: (message: string | undefined) => string;
759
+ generateFail: (message: unknown) => string;
752
760
  };
753
761
  };
754
762
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rocketman-streamkit/types",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "TypeScript declarations for the StreamKit+ integration addon sandbox API",
5
5
  "types": "addon.d.ts",
6
6
  "files": [
package/tsconfig.json CHANGED
File without changes