otomato-sdk 2.0.109 → 2.0.110

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.
@@ -1,4 +1,4 @@
1
- export const SDK_VERSION = '2.0.108';
1
+ export const SDK_VERSION = '2.0.109';
2
2
  export function compareVersions(v1, v2) {
3
3
  // Split the version strings into parts
4
4
  const v1Parts = v1.split('.').map(Number);
@@ -393,6 +393,7 @@ export class Workflow {
393
393
  this.nodes = await Promise.all(response.nodes.map(async (nodeData) => await Node.fromJSON(nodeData)));
394
394
  this.edges = response.edges.map((edgeData) => Edge.fromJSON(edgeData, this.nodes));
395
395
  this.notes = response.notes.map((noteData) => Note.fromJSON(noteData));
396
+ this.settings = response.settings;
396
397
  positionWorkflowNodes(this);
397
398
  return this;
398
399
  }
@@ -1,2 +1,2 @@
1
- export declare const SDK_VERSION = "2.0.108";
1
+ export declare const SDK_VERSION = "2.0.109";
2
2
  export declare function compareVersions(v1: string, v2: string): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otomato-sdk",
3
- "version": "2.0.109",
3
+ "version": "2.0.110",
4
4
  "description": "An SDK for building and managing automations on Otomato",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/types/src/index.d.ts",