corebasic 1.0.240 → 1.0.241

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.
@@ -243,9 +243,9 @@ async function registerHandler(features) {
243
243
  if (featurePath === 'src/transactions/query')
244
244
  continue;
245
245
  if (featureName.startsWith("flows.") && !featureName.startsWith("flows.query.") && !featureName.startsWith("flows.command.") && !featureName.startsWith("flows.designs."))
246
- feature.handler = (await import(__rewriteRelativeImportExtension(`${new URL(`src/flows/query.js`, PROJECT_ROOT_URL).toString().replace('file://', '')}`))).FEATURE_HANDLERS[handler];
246
+ feature.handler = (await import(__rewriteRelativeImportExtension(`${new URL(`src/flows/query.ts`, PROJECT_ROOT_URL).toString().replace('file://', '')}`))).FEATURE_HANDLERS[handler];
247
247
  else
248
- feature.handler = (await import(__rewriteRelativeImportExtension(`${new URL(`${featurePath}.js`, PROJECT_ROOT_URL).toString().replace('file://', '')}`)))[handler];
248
+ feature.handler = (await import(__rewriteRelativeImportExtension(`${new URL(`${featurePath}.ts`, PROJECT_ROOT_URL).toString().replace('file://', '')}`)))[handler];
249
249
  }
250
250
  }
251
251
  function registerApi() {
package/libs/features.ts CHANGED
@@ -365,9 +365,9 @@ async function registerHandler(features: Record<string, FeatureEntry>) {
365
365
  continue
366
366
 
367
367
  if (featureName.startsWith("flows.") && !featureName.startsWith("flows.query.") && !featureName.startsWith("flows.command.") && !featureName.startsWith("flows.designs."))
368
- feature.handler = (await import(`${new URL(`src/flows/query.js`, PROJECT_ROOT_URL).toString().replace('file://', '')}`)).FEATURE_HANDLERS[handler]
368
+ feature.handler = (await import(`${new URL(`src/flows/query.ts`, PROJECT_ROOT_URL).toString().replace('file://', '')}`)).FEATURE_HANDLERS[handler]
369
369
  else
370
- feature.handler = (await import(`${new URL(`${featurePath}.js`, PROJECT_ROOT_URL).toString().replace('file://', '')}`))[handler]
370
+ feature.handler = (await import(`${new URL(`${featurePath}.ts`, PROJECT_ROOT_URL).toString().replace('file://', '')}`))[handler]
371
371
  }
372
372
  }
373
373
  function registerApi() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "corebasic",
3
3
  "type": "module",
4
- "version": "1.0.240",
4
+ "version": "1.0.241",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "types": "./index.ts",