@formant/data-sdk 1.5.4 → 1.6.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.
@@ -35,9 +35,11 @@ import { queryAnalytics } from "./api/queryAnalytics";
35
35
  import { queryDevices } from "./api/queryDevices";
36
36
  import { queryEvents } from "./api/queryEvents";
37
37
  import { queryTelemetry } from "./api/queryTelemetry";
38
+ import { createFleet } from "./api/createFleet";
38
39
  export declare class Fleet {
39
40
  static defaultDeviceId: string | undefined;
40
41
  static knownContext: WeakRef<Device>[];
42
+ static createFleet: typeof createFleet;
41
43
  static listFleets: typeof listFleets;
42
44
  static getFleet: typeof getFleet;
43
45
  static patchFleet: typeof patchFleet;
@@ -0,0 +1,2 @@
1
+ import { IFleet } from "../model/IFleet";
2
+ export declare function createFleet(fleet: IFleet): Promise<IFleet>;
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  }
25
25
  }
26
26
  },
27
- "version": "1.5.4",
27
+ "version": "1.6.0",
28
28
  "scripts": {
29
29
  "preversion": "npm run verify",
30
30
  "postversion": "make",
@@ -47,6 +47,7 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@formant/realtime-sdk": "0.0.20",
50
+ "@types/base-64": "^1.0.0",
50
51
  "@types/node": "^18.16.3",
51
52
  "@types/pako": "^2.0.0",
52
53
  "@vitest/coverage-c8": "^0.30.1",
@@ -61,6 +62,7 @@
61
62
  },
62
63
  "types": "./dist/types/data-sdk/src/main.d.ts",
63
64
  "dependencies": {
65
+ "base-64": "^1.0.0",
64
66
  "base64-js": "^1.5.1",
65
67
  "date-fns": "^2.30.0",
66
68
  "eventemitter3": "^5.0.1",