@kalera/munin-kilo 0.1.0 → 1.0.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.
- package/.turbo/turbo-build.log +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/src/index.ts +3 -3
package/.turbo/turbo-build.log
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export declare function createKiloCodeMuninAdapter(config: {
|
|
2
2
|
baseUrl: string;
|
|
3
3
|
apiKey?: string;
|
|
4
|
-
project: string;
|
|
5
4
|
}): {
|
|
6
|
-
run: (action: string, payload: Record<string, unknown>) => Promise<import("@kalera/munin-sdk").MuninResponse<unknown>>;
|
|
5
|
+
run: (projectId: string, action: string, payload: Record<string, unknown>) => Promise<import("@kalera/munin-sdk").MuninResponse<unknown>>;
|
|
7
6
|
capabilities: () => Promise<import("@kalera/munin-sdk").MuninCapabilities>;
|
|
8
7
|
};
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { MuninClient } from "@kalera/munin-sdk";
|
|
|
2
2
|
export function createKiloCodeMuninAdapter(config) {
|
|
3
3
|
const client = new MuninClient(config);
|
|
4
4
|
return {
|
|
5
|
-
run: (action, payload) => client.invoke(action, payload, { ensureCapability: true }),
|
|
5
|
+
run: (projectId, action, payload) => client.invoke(projectId, action, payload, { ensureCapability: true }),
|
|
6
6
|
capabilities: () => client.capabilities(),
|
|
7
7
|
};
|
|
8
8
|
}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -3,13 +3,13 @@ import { MuninClient } from "@kalera/munin-sdk";
|
|
|
3
3
|
export function createKiloCodeMuninAdapter(config: {
|
|
4
4
|
baseUrl: string;
|
|
5
5
|
apiKey?: string;
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
}) {
|
|
8
8
|
const client = new MuninClient(config);
|
|
9
9
|
|
|
10
10
|
return {
|
|
11
|
-
run: (action: string, payload: Record<string, unknown>) =>
|
|
12
|
-
client.invoke(action as any, payload, { ensureCapability: true }),
|
|
11
|
+
run: (projectId: string, action: string, payload: Record<string, unknown>) =>
|
|
12
|
+
client.invoke(projectId, action as any, payload, { ensureCapability: true }),
|
|
13
13
|
capabilities: () => client.capabilities(),
|
|
14
14
|
};
|
|
15
15
|
}
|