@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.
- package/.turbo/turbo-build.log +1 -1
- package/dist/client.d.ts +1 -0
- package/dist/client.js +3 -0
- package/package.json +1 -1
- package/src/client.ts +4 -0
package/.turbo/turbo-build.log
CHANGED
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
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
|
}
|