@kemu-io/edge-runtime 1.8.0 → 1.9.0

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 (3) hide show
  1. package/package.json +1 -1
  2. package/runner.d.ts +10 -0
  3. package/runner.js +4 -4
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kemu-io/edge-runtime",
3
3
  "type": "module",
4
- "version": "1.8.0",
4
+ "version": "1.9.0",
5
5
  "description": "Kemu Edge runtime for running Kemu recipes",
6
6
  "author": "Kemu Pty Ltd",
7
7
  "main": "runner.js",
package/runner.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  // Generated by dts-bundle-generator v9.5.1
2
2
 
3
+ import { KemuEnvironments } from '@kemu-io/kemu-types';
3
4
  import { ImageData as ImageData$1 } from '@napi-rs/canvas';
4
5
  import { Readable } from 'node:stream';
5
6
 
@@ -168,6 +169,15 @@ declare const _default$1: {
168
169
  * If not provided, it will be read from the `KEMU_API_KEY` environment variable.
169
170
  **/
170
171
  apiKey?: string;
172
+ /**
173
+ * Environment configuration to use when connecting to the hub.
174
+ * If not provided, it will be read from the `KEMU_CONFIG` environment variable.
175
+ **/
176
+ envConfig?: {
177
+ /** the URL of the kemu Hub endpoint to connect to. */
178
+ serviceUrl: string;
179
+ environment: KemuEnvironments;
180
+ };
171
181
  }) => Promise<{
172
182
  /**
173
183
  * use it to send data to input widgets