@dronedeploy/rocos-js-sdk 3.0.22 → 3.0.24

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.
@@ -16,6 +16,10 @@ export interface DeviceCredential {
16
16
  * Access control list for the credentials
17
17
  */
18
18
  acl?: DeviceCredentialACLItem[];
19
+ /**
20
+ * Optional metadata for the credentials, can be used by the agent component for a specific implementation.
21
+ */
22
+ meta?: Record<string, string>;
19
23
  }
20
24
  export interface DeviceCredentialCreate {
21
25
  /**
@@ -38,6 +42,10 @@ export interface DeviceCredentialCreate {
38
42
  * Access control list for the credentials
39
43
  */
40
44
  acl?: DeviceCredentialACLItem[];
45
+ /**
46
+ * Optional metadata for the credentials, can be used by the agent component for a specific implementation.
47
+ */
48
+ meta?: Record<string, string>;
41
49
  }
42
50
  export interface DeviceCredentialACLItem {
43
51
  /**
@@ -16,6 +16,10 @@ export interface DeviceCredential {
16
16
  * Access control list for the credentials
17
17
  */
18
18
  acl?: DeviceCredentialACLItem[];
19
+ /**
20
+ * Optional metadata for the credentials, can be used by the agent component for a specific implementation.
21
+ */
22
+ meta?: Record<string, string>;
19
23
  }
20
24
  export interface DeviceCredentialCreate {
21
25
  /**
@@ -38,6 +42,10 @@ export interface DeviceCredentialCreate {
38
42
  * Access control list for the credentials
39
43
  */
40
44
  acl?: DeviceCredentialACLItem[];
45
+ /**
46
+ * Optional metadata for the credentials, can be used by the agent component for a specific implementation.
47
+ */
48
+ meta?: Record<string, string>;
41
49
  }
42
50
  export interface DeviceCredentialACLItem {
43
51
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dronedeploy/rocos-js-sdk",
3
- "version": "3.0.22",
3
+ "version": "3.0.24",
4
4
  "description": "Javascript SDK for rocos",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",