@kalera/munin-sdk 1.2.0 → 1.2.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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @kalera/munin-sdk@1.2.0 build /home/runner/work/munin-for-agents/munin-for-agents/packages/ts-sdk
2
+ > @kalera/munin-sdk@1.2.5 build /home/runner/work/munin-for-agents/munin-for-agents/packages/ts-sdk
3
3
  > tsc -p tsconfig.json
4
4
 
package/dist/client.d.ts CHANGED
@@ -16,4 +16,5 @@ export declare class MuninClient {
16
16
  search(projectId: string, payload: Record<string, unknown>): Promise<MuninResponse<unknown>>;
17
17
  list(projectId: string, payload?: Record<string, unknown>): Promise<MuninResponse<unknown>>;
18
18
  recent(projectId: string, payload?: Record<string, unknown>): Promise<MuninResponse<unknown>>;
19
+ share(projectId: string, memoryIds: string[], targetProjectIds: string[]): Promise<MuninResponse<unknown>>;
19
20
  }
package/dist/client.js CHANGED
@@ -84,4 +84,7 @@ export class MuninClient {
84
84
  async recent(projectId, payload = {}) {
85
85
  return this.invoke(projectId, "recent", payload, { ensureCapability: true });
86
86
  }
87
+ async share(projectId, memoryIds, targetProjectIds) {
88
+ return this.invoke(projectId, "share", { memoryIds, targetProjectIds }, { ensureCapability: true });
89
+ }
87
90
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kalera/munin-sdk",
3
- "version": "1.2.0",
3
+ "version": "1.2.5",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/client.ts CHANGED
@@ -126,4 +126,8 @@ export class MuninClient {
126
126
  async recent(projectId: string, payload: Record<string, unknown> = {}) {
127
127
  return this.invoke(projectId, "recent", payload, { ensureCapability: true });
128
128
  }
129
+
130
+ async share(projectId: string, memoryIds: string[], targetProjectIds: string[]) {
131
+ return this.invoke(projectId, "share", { memoryIds, targetProjectIds }, { ensureCapability: true });
132
+ }
129
133
  }