facturas 0.5.1 → 0.5.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/README.md CHANGED
@@ -16,8 +16,8 @@ npm install facturas
16
16
 
17
17
  For the full quick start, troubleshooting, and examples, see the repository docs:
18
18
 
19
- - [Repository README](https://github.com/LaPyme/arca.ts#readme)
20
- - [Examples directory](https://github.com/LaPyme/arca.ts/tree/main/examples)
19
+ - [Repository README](https://github.com/LaPyme/facturas#readme)
20
+ - [Examples directory](https://github.com/LaPyme/facturas/tree/main/examples)
21
21
 
22
22
  The package exports:
23
23
 
@@ -33,4 +33,4 @@ export {
33
33
  ARCA_VAT_RATES,
34
34
  ARCA_VOUCHER_TYPES
35
35
  };
36
- //# sourceMappingURL=constants.js.map
36
+ //# sourceMappingURL=constants.mjs.map
@@ -84,4 +84,4 @@ export {
84
84
  ArcaSoapFaultError,
85
85
  ArcaTransportError
86
86
  };
87
- //# sourceMappingURL=errors.js.map
87
+ //# sourceMappingURL=errors.mjs.map
@@ -2119,4 +2119,4 @@ export {
2119
2119
  createWsmtxcaService,
2120
2120
  resolveArcaEnvironment
2121
2121
  };
2122
- //# sourceMappingURL=index.js.map
2122
+ //# sourceMappingURL=index.mjs.map
@@ -118,4 +118,4 @@ async function executePadronOperation(options, service, operation, body) {
118
118
  export {
119
119
  createPadronService
120
120
  };
121
- //# sourceMappingURL=padron.js.map
121
+ //# sourceMappingURL=padron.mjs.map
package/dist/types.mjs ADDED
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=types.mjs.map
@@ -639,4 +639,4 @@ function getWsfeResultEntries(result, key) {
639
639
  export {
640
640
  createWsfeService
641
641
  };
642
- //# sourceMappingURL=wsfe.js.map
642
+ //# sourceMappingURL=wsfe.mjs.map
@@ -255,4 +255,4 @@ function formatCompactDateToIso(dateValue) {
255
255
  export {
256
256
  createWsmtxcaService
257
257
  };
258
- //# sourceMappingURL=wsmtxca.js.map
258
+ //# sourceMappingURL=wsmtxca.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "facturas",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Node.js client for ARCA services including WSFE, WSMTXCA, and padron lookups.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -27,7 +27,8 @@
27
27
  "node": ">=20"
28
28
  },
29
29
  "sideEffects": false,
30
- "main": "./dist/index.js",
30
+ "main": "./dist/index.mjs",
31
+ "module": "./dist/index.mjs",
31
32
  "types": "./dist/index.d.ts",
32
33
  "files": [
33
34
  "dist",
@@ -37,31 +38,31 @@
37
38
  "exports": {
38
39
  ".": {
39
40
  "types": "./dist/index.d.ts",
40
- "import": "./dist/index.js"
41
+ "default": "./dist/index.mjs"
41
42
  },
42
43
  "./errors": {
43
44
  "types": "./dist/errors.d.ts",
44
- "import": "./dist/errors.js"
45
+ "default": "./dist/errors.mjs"
45
46
  },
46
47
  "./constants": {
47
48
  "types": "./dist/constants.d.ts",
48
- "import": "./dist/constants.js"
49
+ "default": "./dist/constants.mjs"
49
50
  },
50
51
  "./types": {
51
52
  "types": "./dist/types.d.ts",
52
- "import": "./dist/types.js"
53
+ "default": "./dist/types.mjs"
53
54
  },
54
55
  "./wsfe": {
55
56
  "types": "./dist/wsfe.d.ts",
56
- "import": "./dist/wsfe.js"
57
+ "default": "./dist/wsfe.mjs"
57
58
  },
58
59
  "./wsmtxca": {
59
60
  "types": "./dist/wsmtxca.d.ts",
60
- "import": "./dist/wsmtxca.js"
61
+ "default": "./dist/wsmtxca.mjs"
61
62
  },
62
63
  "./padron": {
63
64
  "types": "./dist/padron.d.ts",
64
- "import": "./dist/padron.js"
65
+ "default": "./dist/padron.mjs"
65
66
  },
66
67
  "./package.json": "./package.json"
67
68
  },
@@ -69,7 +70,7 @@
69
70
  "access": "public"
70
71
  },
71
72
  "dependencies": {
72
- "fast-xml-parser": "^4.5.3",
73
+ "fast-xml-parser": "^5.8.0",
73
74
  "node-forge": "^1.3.1"
74
75
  },
75
76
  "devDependencies": {
@@ -89,6 +90,7 @@
89
90
  "test": "vitest run --config vitest.config.ts",
90
91
  "test:coverage": "vitest run --config vitest.config.ts --coverage",
91
92
  "check": "ultracite check",
93
+ "check:exports": "pnpm build && node scripts/check-package-exports.mjs",
92
94
  "fix": "ultracite fix"
93
95
  }
94
96
  }
package/dist/types.js DELETED
@@ -1 +0,0 @@
1
- //# sourceMappingURL=types.js.map
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes