@tamyla/clodo-framework 3.1.19 → 3.1.21
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
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [3.1.21](https://github.com/tamylaa/clodo-framework/compare/v3.1.20...v3.1.21) (2025-10-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove dist/ references from dynamic imports in bin/ ([e3dd2c4](https://github.com/tamylaa/clodo-framework/commit/e3dd2c4a21e86b90985352cdafc3742eaa8a573e))
|
|
7
|
+
|
|
8
|
+
## [3.1.20](https://github.com/tamylaa/clodo-framework/compare/v3.1.19...v3.1.20) (2025-10-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* use depth-aware import paths in re-export wrappers ([db383fe](https://github.com/tamylaa/clodo-framework/commit/db383fe22e67b3d6a99b9465253c1169f509db13))
|
|
14
|
+
|
|
1
15
|
## [3.1.19](https://github.com/tamylaa/clodo-framework/compare/v3.1.18...v3.1.19) (2025-10-28)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -240,7 +240,7 @@ export async function listDatabases(options = {}) {
|
|
|
240
240
|
if (apiToken && accountId) {
|
|
241
241
|
const {
|
|
242
242
|
CloudflareAPI
|
|
243
|
-
} = await import('../../../
|
|
243
|
+
} = await import('../../../utils/cloudflare/api.js');
|
|
244
244
|
const cf = new CloudflareAPI(apiToken);
|
|
245
245
|
return await cf.listD1Databases(accountId);
|
|
246
246
|
}
|
|
@@ -265,7 +265,7 @@ export async function databaseExists(databaseName, options = {}) {
|
|
|
265
265
|
if (apiToken && accountId) {
|
|
266
266
|
const {
|
|
267
267
|
CloudflareAPI
|
|
268
|
-
} = await import('../../../
|
|
268
|
+
} = await import('../../../utils/cloudflare/api.js');
|
|
269
269
|
const cf = new CloudflareAPI(apiToken);
|
|
270
270
|
return await cf.d1DatabaseExists(accountId, databaseName);
|
|
271
271
|
}
|
|
@@ -288,7 +288,7 @@ export async function createDatabase(name, options = {}) {
|
|
|
288
288
|
if (apiToken && accountId) {
|
|
289
289
|
const {
|
|
290
290
|
CloudflareAPI
|
|
291
|
-
} = await import('../../../
|
|
291
|
+
} = await import('../../../utils/cloudflare/api.js');
|
|
292
292
|
const cf = new CloudflareAPI(apiToken);
|
|
293
293
|
const result = await cf.createD1Database(accountId, name);
|
|
294
294
|
return result.uuid; // Return UUID to match CLI behavior
|
|
@@ -403,7 +403,7 @@ export async function getDatabaseId(databaseName, options = {}) {
|
|
|
403
403
|
if (apiToken && accountId) {
|
|
404
404
|
const {
|
|
405
405
|
CloudflareAPI
|
|
406
|
-
} = await import('../../../
|
|
406
|
+
} = await import('../../../utils/cloudflare/api.js');
|
|
407
407
|
const cf = new CloudflareAPI(apiToken);
|
|
408
408
|
const db = await cf.getD1Database(accountId, databaseName);
|
|
409
409
|
return db?.uuid || null;
|
package/dist/utils/formatters.js
CHANGED
package/dist/utils/logger.js
CHANGED