@mafesoftware/kapso-wa 0.1.1 → 0.1.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/CHANGELOG.md +20 -0
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Agrega la condición `"default"` a cada entrada de `exports` (raíz y subpaths,
|
|
8
|
+
como `/drizzle` o `/next`), justo después de `"import"`.
|
|
9
|
+
|
|
10
|
+
Sin esto, `drizzle-kit generate` (y cualquier otro loader que resuelva vía
|
|
11
|
+
CJS, incluido `require(esm)` de Node ≥22) fallaba con
|
|
12
|
+
`ERR_PACKAGE_PATH_NOT_EXPORTED` al importar, por ejemplo,
|
|
13
|
+
`@mafesoftware/tenant/drizzle` desde un `schema.ts`: el `exports` map solo
|
|
14
|
+
tenía condiciones `types` e `import`, y ninguna que un resolver CJS supiera
|
|
15
|
+
interpretar.
|
|
16
|
+
|
|
17
|
+
`"default"` apunta al mismo archivo `.js` que `"import"` — el paquete sigue
|
|
18
|
+
siendo ESM puro, no se agrega ningún build CJS — pero al ser la condición de
|
|
19
|
+
más baja prioridad, un loader que no entiende `"import"` cae en ella igual.
|
|
20
|
+
|
|
21
|
+
Sin cambios de API pública.
|
|
22
|
+
|
|
3
23
|
## 0.1.1
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mafesoftware/kapso-wa",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "WhatsApp por Kapso (proxy de la Cloud API de Meta). fetch inyectable.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.js"
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"default": "./dist/index.js"
|
|
13
14
|
}
|
|
14
15
|
},
|
|
15
16
|
"publishConfig": {
|