@kemu-io/hs 0.10.4 → 0.10.5

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
@@ -736,8 +736,10 @@ export type AddSecretConfig = {
736
736
  };
737
737
  /** the name of the secret to store the value under */
738
738
  envVarName: string;
739
- /** the value of the secret to store */
740
- envValue: string;
739
+ /**
740
+ * the value of the secret to store. If set to null, the hub will treat this as a delete request for the mapped secret.
741
+ */
742
+ envValue: string | null;
741
743
  context?: string;
742
744
  /** the uuid of the recipe that is attempting to store the secret */
743
745
  recipeUuid: string;
package/mjs/service.d.ts CHANGED
@@ -736,8 +736,10 @@ export type AddSecretConfig = {
736
736
  };
737
737
  /** the name of the secret to store the value under */
738
738
  envVarName: string;
739
- /** the value of the secret to store */
740
- envValue: string;
739
+ /**
740
+ * the value of the secret to store. If set to null, the hub will treat this as a delete request for the mapped secret.
741
+ */
742
+ envValue: string | null;
741
743
  context?: string;
742
744
  /** the uuid of the recipe that is attempting to store the secret */
743
745
  recipeUuid: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kemu-io/hs",
3
3
  "type": "module",
4
- "version": "0.10.4",
4
+ "version": "0.10.5",
5
5
  "description": "Kemu Hub Service - NodeJs library for creating Kemu Services",
6
6
  "author": "Kemu Pty Ltd",
7
7
  "main": "service.js",