@knowlearning/agents 0.9.181 → 0.9.183
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/agents/browser/root.js +1 -1
- package/package.json +1 -1
- package/types.d.ts +1 -1
package/agents/browser/root.js
CHANGED
|
@@ -7,7 +7,7 @@ import { io } from 'socket.io-client'
|
|
|
7
7
|
const TEST_DOMAIN = 'tests.knowlearning.systems'
|
|
8
8
|
const LANGUAGES = [...navigator.languages]
|
|
9
9
|
|
|
10
|
-
const API_HOST = localStorage.getItem('API_HOST') || '
|
|
10
|
+
const API_HOST = localStorage.getItem('API_HOST') || 'socket-io.knowlearning.systems'
|
|
11
11
|
// const API_HOST = 'api-test.knowlearning.systems'
|
|
12
12
|
// const API_HOST = 'localhost:8765'
|
|
13
13
|
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export interface Agent {
|
|
|
37
37
|
upload(info?: AgentUploadInfo): Promise<string>;
|
|
38
38
|
download(id?: string): Promise<Response>;
|
|
39
39
|
environment(userId?: string): Promise<AgentEnvironment>;
|
|
40
|
-
close(): void;
|
|
40
|
+
close(info: any): void;
|
|
41
41
|
reset(ns: string): Promise<void>;
|
|
42
42
|
// TODO: add query function
|
|
43
43
|
synced(): Promise<void>;
|