@smoothcodes/agent-client 0.1.1 → 0.1.3
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/index.js
CHANGED
package/dist/testing.js
CHANGED
|
@@ -24,7 +24,7 @@ export interface SmoothAgentOptions {
|
|
|
24
24
|
export type ChatLive = LiveChat<ContractChatState, ContractItem> & {
|
|
25
25
|
release(): void;
|
|
26
26
|
};
|
|
27
|
-
export declare const DEFAULT_BASE_URL = "https://api.
|
|
27
|
+
export declare const DEFAULT_BASE_URL = "https://smoothagent-v3-api.uaibuilder.workers.dev";
|
|
28
28
|
type GeneratedChats = SmoothAgentApiClient['chats'];
|
|
29
29
|
export interface ChatsLive {
|
|
30
30
|
/** O estado pronto da tela (snapshot + eventos aplicados + fila + box + histórico paginado). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smoothcodes/agent-client",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "SmoothAgent SDK do usuário (token do usuário): REST gerada do contrato + a camada ao vivo (watch, events, prompt, lista de chats). Roda no navegador e no Node.",
|
|
6
6
|
"license": "UNLICENSED",
|