hobots 3.2.1 → 3.2.2
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.cjs +56 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -2
- package/dist/index.d.ts +13 -2
- package/dist/index.js +56 -5
- package/dist/index.js.map +1 -1
- package/dist/protocol.d.cts +2 -2
- package/dist/protocol.d.ts +2 -2
- package/package.json +2 -1
package/dist/protocol.d.cts
CHANGED
|
@@ -222,9 +222,9 @@ interface RunItemsCreateRequest {
|
|
|
222
222
|
items: RunItemInput[];
|
|
223
223
|
}
|
|
224
224
|
interface RunItemsCreateResponse {
|
|
225
|
-
/** Itens inseridos */
|
|
225
|
+
/** Itens gravados — inseridos ou atualizados (id repetido na run: vale o último reporte) */
|
|
226
226
|
accepted: number;
|
|
227
|
-
/**
|
|
227
|
+
/** Colapsados por id repetido dentro do mesmo lote (vale o de maior seq) */
|
|
228
228
|
duplicates: number;
|
|
229
229
|
}
|
|
230
230
|
/** Formatos aceitos para anexo. O S3 valida o content-type contra a assinatura. */
|
package/dist/protocol.d.ts
CHANGED
|
@@ -222,9 +222,9 @@ interface RunItemsCreateRequest {
|
|
|
222
222
|
items: RunItemInput[];
|
|
223
223
|
}
|
|
224
224
|
interface RunItemsCreateResponse {
|
|
225
|
-
/** Itens inseridos */
|
|
225
|
+
/** Itens gravados — inseridos ou atualizados (id repetido na run: vale o último reporte) */
|
|
226
226
|
accepted: number;
|
|
227
|
-
/**
|
|
227
|
+
/** Colapsados por id repetido dentro do mesmo lote (vale o de maior seq) */
|
|
228
228
|
duplicates: number;
|
|
229
229
|
}
|
|
230
230
|
/** Formatos aceitos para anexo. O S3 valida o content-type contra a assinatura. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hobots",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "SDK JavaScript da Hobots — tudo é uma task: register() atende solicitações da plataforma, start() roda sempre e reporta logs, itens e progresso. Credenciais por env, heartbeat sempre ligado, objeto global `hobots`.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "tsup",
|
|
32
|
+
"prepublishOnly": "tsup",
|
|
32
33
|
"dev": "tsup --watch",
|
|
33
34
|
"lint": "eslint . --max-warnings 0",
|
|
34
35
|
"test": "vitest run",
|