7vsdk-pessoas 1.0.14 → 1.0.15

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tsconfig.json +10 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "7vsdk-pessoas",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "SDK de clientes para a API de Pessoas da 7Virtual.",
5
5
  "compilerOptions": {
6
6
  "target": "es6",
package/tsconfig.json CHANGED
@@ -1,13 +1,15 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "module": "CommonJS",
4
- "target": "ES2020",
5
- "baseUrl": "src",
3
+ "target": "ES2020", // moderno, async/await sem problemas
4
+ "module": "ESNext", // gera ESM, named exports
5
+ "moduleResolution": "node",
6
+ "outDir": "out",
6
7
  "rootDir": "src",
7
- "outDir": "dist",
8
- "declaration": true,
9
- "esModuleInterop": true,
10
- "moduleResolution": "Node"
8
+ "strict": true,
9
+ "esModuleInterop": true, // compatibilidade com CommonJS se necessário
10
+ "forceConsistentCasingInFileNames": true,
11
+ "declaration": true, // gera arquivos .d.ts
12
+ "declarationMap": true // mapas para facilitar debugging de tipos
11
13
  },
12
- "include": ["src"]
14
+ "include": ["src/**/*"]
13
15
  }