@extrahorizon/javascript-sdk 8.5.0-dev-75-2eadab9 → 8.5.0-dev-76-d4ca7d4

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/CHANGELOG.md CHANGED
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
  - Corrected `functioName` field to `functionName` in the `TransitionActionTask` type
12
12
  - `exh.templates.findFirst`, `findById` and `findByName` now correctly state `undefined` can be returned
13
13
  - The `notifyAlgoQueueManager` transition action type no longer claims it has a `id` and `version` field
14
+ - Transitions now correctly state `name` is optional and `id` is only a returned field.
14
15
 
15
16
  ### Added
16
17
  - Added `exh.data.documents.unlinkAllUsers` and `unlinkAllGroups` methods to unlink all users or groups from a document
@@ -5375,7 +5375,7 @@ const logsService = (httpWithAuth) => {
5375
5375
  };
5376
5376
  };
5377
5377
 
5378
- const version = '8.5.0-dev-75-2eadab9';
5378
+ const version = '8.5.0-dev-76-d4ca7d4';
5379
5379
 
5380
5380
  /**
5381
5381
  * Create ExtraHorizon client.
package/build/index.mjs CHANGED
@@ -5345,7 +5345,7 @@ const logsService = (httpWithAuth) => {
5345
5345
  };
5346
5346
  };
5347
5347
 
5348
- const version = '8.5.0-dev-75-2eadab9';
5348
+ const version = '8.5.0-dev-76-d4ca7d4';
5349
5349
 
5350
5350
  /**
5351
5351
  * Create ExtraHorizon client.
@@ -196,11 +196,12 @@ export interface CreationTransition {
196
196
  }
197
197
  export declare type StatusData = Record<string, string>;
198
198
  export declare type TransitionInput = CreationTransition & {
199
- id?: ObjectId;
200
- name: string;
199
+ name?: string;
201
200
  fromStatuses: string[];
202
201
  };
203
- export declare type Transition = TransitionInput & Required<Pick<TransitionInput, 'id'>>;
202
+ export declare type Transition = TransitionInput & {
203
+ id: ObjectId;
204
+ };
204
205
  export interface Schema {
205
206
  id: ObjectId;
206
207
  name: string;
@@ -1 +1 @@
1
- export declare const version = "8.5.0-dev-75-2eadab9";
1
+ export declare const version = "8.5.0-dev-76-d4ca7d4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extrahorizon/javascript-sdk",
3
- "version": "8.5.0-dev-75-2eadab9",
3
+ "version": "8.5.0-dev-76-d4ca7d4",
4
4
  "description": "This package serves as a JavaScript wrapper around all Extra Horizon cloud services.",
5
5
  "main": "build/index.cjs.js",
6
6
  "types": "build/types/index.d.ts",