@kemu-io/hs 0.10.1 → 0.10.2

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/cjs/service.d.ts CHANGED
@@ -201,7 +201,7 @@ export type RecipeContextInfo = {
201
201
  /** the id of the author of the recipe */
202
202
  authorId: string;
203
203
  };
204
- export type GlobalVariableControlType = "number" | "slider" | "text" | "multilineText" | "dropdown" | "image" | "binaryFile" | "checkbox" | "multiSelect" | "anything";
204
+ export type GlobalVariableControlType = "number" | "slider" | "text" | "multilineText" | "dropdown" | "image" | "binaryFile" | "checkbox" | "multiSelect" | "anything" | "button" | "group";
205
205
  export type ValidEventContextValue = {
206
206
  [key: string]: ValidEventContextValue | string | number | boolean | null;
207
207
  };
@@ -469,7 +469,7 @@ export type InitializeContext<T extends WidgetState = WidgetState> = {
469
469
  * Tells Kemu-Composer the service needs access to a secret. Calling this method allows the secret to appear in the
470
470
  * Secrets Mapping modal.
471
471
  **/
472
- requestAccess: (names: WidgetSecretConfig[] | string[]) => void;
472
+ requestAccess: (names: Omit<WidgetSecretConfig, "hubServiceName">[] | string[]) => void;
473
473
  };
474
474
  globalVars: {
475
475
  /**
package/mjs/service.d.ts CHANGED
@@ -201,7 +201,7 @@ export type RecipeContextInfo = {
201
201
  /** the id of the author of the recipe */
202
202
  authorId: string;
203
203
  };
204
- export type GlobalVariableControlType = "number" | "slider" | "text" | "multilineText" | "dropdown" | "image" | "binaryFile" | "checkbox" | "multiSelect" | "anything";
204
+ export type GlobalVariableControlType = "number" | "slider" | "text" | "multilineText" | "dropdown" | "image" | "binaryFile" | "checkbox" | "multiSelect" | "anything" | "button" | "group";
205
205
  export type ValidEventContextValue = {
206
206
  [key: string]: ValidEventContextValue | string | number | boolean | null;
207
207
  };
@@ -469,7 +469,7 @@ export type InitializeContext<T extends WidgetState = WidgetState> = {
469
469
  * Tells Kemu-Composer the service needs access to a secret. Calling this method allows the secret to appear in the
470
470
  * Secrets Mapping modal.
471
471
  **/
472
- requestAccess: (names: WidgetSecretConfig[] | string[]) => void;
472
+ requestAccess: (names: Omit<WidgetSecretConfig, "hubServiceName">[] | string[]) => void;
473
473
  };
474
474
  globalVars: {
475
475
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kemu-io/hs",
3
3
  "type": "module",
4
- "version": "0.10.1",
4
+ "version": "0.10.2",
5
5
  "description": "Kemu Hub Service - NodeJs library for creating Kemu Services",
6
6
  "author": "Kemu Pty Ltd",
7
7
  "main": "service.js",