@araitek/smartdocjs 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/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,15 @@ Los cambios notables de cada versión. El formato sigue
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/es-ES/1.1.0/) y el versionado es
|
|
5
5
|
[semántico](https://semver.org/lang/es/).
|
|
6
6
|
|
|
7
|
+
## [0.1.1] — 2026-08-17
|
|
8
|
+
|
|
9
|
+
### Corregido
|
|
10
|
+
|
|
11
|
+
- La suite de tests no corría en Node 18 ni 20: el patrón `test/*.test.mjs`
|
|
12
|
+
llegaba entrecomillado hasta `node --test`, que recién aprendió a expandir
|
|
13
|
+
globs en Node 21. Ahora lo expande el shell y corre en las tres versiones que
|
|
14
|
+
el paquete declara soportar.
|
|
15
|
+
|
|
7
16
|
## [0.1.0] — 2026-08-14
|
|
8
17
|
|
|
9
18
|
Primera versión. Equivalente en superficie al SDK de Python `smartdocpy` 0.2.0.
|
package/dist/cjs/index.js
CHANGED
|
@@ -58,7 +58,7 @@ const geo = __importStar(require("./geo/index.js"));
|
|
|
58
58
|
exports.geo = geo;
|
|
59
59
|
const webhooks = __importStar(require("./webhooks/index.js"));
|
|
60
60
|
exports.webhooks = webhooks;
|
|
61
|
-
exports.VERSION = '0.1.
|
|
61
|
+
exports.VERSION = '0.1.1';
|
|
62
62
|
// ─── Cliente ─────────────────────────────────────────────────────────────────
|
|
63
63
|
var client_js_1 = require("./client.js");
|
|
64
64
|
Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_js_1.Client; } });
|
|
@@ -109,5 +109,5 @@ export declare class HttpTransport implements Transport {
|
|
|
109
109
|
export declare function newIdempotencyKey(): string;
|
|
110
110
|
export declare function sleep(milliseconds: number): Promise<void>;
|
|
111
111
|
/** La versión del paquete, que viaja en el `User-Agent`. */
|
|
112
|
-
export declare const SDK_VERSION = "0.1.
|
|
112
|
+
export declare const SDK_VERSION = "0.1.1";
|
|
113
113
|
//# sourceMappingURL=transport.d.ts.map
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as constants from './constants/index.js';
|
|
|
19
19
|
import * as geo from './geo/index.js';
|
|
20
20
|
import * as webhooks from './webhooks/index.js';
|
|
21
21
|
export { constants, geo, webhooks };
|
|
22
|
-
export declare const VERSION = "0.1.
|
|
22
|
+
export declare const VERSION = "0.1.1";
|
|
23
23
|
export { Client, type ClientOptions } from './client.js';
|
|
24
24
|
export { AssociatedDocument, Item, Recipient, totalsFor, type AssociatedDocumentOptions, type ItemDetails, type ItemOptions, type RecipientCommon, type RecipientOptions, type TotalsOptions, } from './builders/index.js';
|
|
25
25
|
export { Resource, DocumentResource, type ListParams, type WaitOptions, } from './resources/base.js';
|
package/dist/esm/index.js
CHANGED
|
@@ -19,7 +19,7 @@ import * as constants from './constants/index.js';
|
|
|
19
19
|
import * as geo from './geo/index.js';
|
|
20
20
|
import * as webhooks from './webhooks/index.js';
|
|
21
21
|
export { constants, geo, webhooks };
|
|
22
|
-
export const VERSION = '0.1.
|
|
22
|
+
export const VERSION = '0.1.1';
|
|
23
23
|
// ─── Cliente ─────────────────────────────────────────────────────────────────
|
|
24
24
|
export { Client } from './client.js';
|
|
25
25
|
// ─── Constructores ───────────────────────────────────────────────────────────
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@araitek/smartdocjs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "SDK de Node.js para SmartDoc \u2014 facturaci\u00f3n electr\u00f3nica en Paraguay (DNIT/SIFEN)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"smartdoc",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"clean": "node -e \"require('fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
46
46
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
47
47
|
"embed-data": "node scripts/embed-data.mjs",
|
|
48
|
-
"test": "npm run build && node --test
|
|
49
|
-
"test:only": "node --test
|
|
50
|
-
"e2e": "npm run build && node --test
|
|
48
|
+
"test": "npm run build && node --test test/*.test.mjs",
|
|
49
|
+
"test:only": "node --test test/*.test.mjs",
|
|
50
|
+
"e2e": "npm run build && node --test test/e2e/*.test.mjs",
|
|
51
51
|
"prepublishOnly": "npm run clean && npm run build",
|
|
52
52
|
"docs:reference": "node scripts/build-reference.mjs",
|
|
53
53
|
"docs:dev": "npm run docs:reference && vitepress dev docs",
|