konbini 0.1.0 → 0.1.1
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/dist/config.js +2 -2
- package/package.json +2 -2
- package/src/config.ts +2 -2
package/dist/config.js
CHANGED
|
@@ -6,7 +6,7 @@ import Conf from "conf";
|
|
|
6
6
|
const config = new Conf({
|
|
7
7
|
projectName: "24k",
|
|
8
8
|
defaults: {
|
|
9
|
-
apiUrl: "https://
|
|
9
|
+
apiUrl: "https://modest-fish-310.convex.site",
|
|
10
10
|
},
|
|
11
11
|
});
|
|
12
12
|
export function getConfig() {
|
|
@@ -27,7 +27,7 @@ export function setConfig(updates) {
|
|
|
27
27
|
}
|
|
28
28
|
export function clearConfig() {
|
|
29
29
|
config.clear();
|
|
30
|
-
config.set("apiUrl", "https://
|
|
30
|
+
config.set("apiUrl", "https://modest-fish-310.convex.site");
|
|
31
31
|
}
|
|
32
32
|
export function isAuthenticated() {
|
|
33
33
|
return !!config.get("apiKey");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "konbini",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI for the 24K AI Agent Marketplace",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,4 +33,4 @@
|
|
|
33
33
|
"@types/node": "^20.0.0",
|
|
34
34
|
"typescript": "^5.0.0"
|
|
35
35
|
}
|
|
36
|
-
}
|
|
36
|
+
}
|
package/src/config.ts
CHANGED
|
@@ -16,7 +16,7 @@ interface Config {
|
|
|
16
16
|
const config = new Conf<Config>({
|
|
17
17
|
projectName: "24k",
|
|
18
18
|
defaults: {
|
|
19
|
-
apiUrl: "https://
|
|
19
|
+
apiUrl: "https://modest-fish-310.convex.site",
|
|
20
20
|
},
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -40,7 +40,7 @@ export function setConfig(updates: Partial<Config>): void {
|
|
|
40
40
|
|
|
41
41
|
export function clearConfig(): void {
|
|
42
42
|
config.clear();
|
|
43
|
-
config.set("apiUrl", "https://
|
|
43
|
+
config.set("apiUrl", "https://modest-fish-310.convex.site");
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export function isAuthenticated(): boolean {
|