@treatwell/moleculer-call-wrapper 1.0.1 → 1.0.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/dist/index.cjs CHANGED
@@ -527,7 +527,7 @@ function injectDatabaseMixinV2Builtins(context, actions, service, sourceFile) {
527
527
  const dbActions = actions.filter((a) => a.actionName?.startsWith(`${version}${service.name}.`)).filter((a) => !a.params || !a.returnType);
528
528
  const importName = addDepToImports(
529
529
  context.imports,
530
- "@treatwell/moleculer-essentials"
530
+ "@treatwell/moleculer-essentials/mixins/database"
531
531
  );
532
532
  for (const action of dbActions) {
533
533
  const actionName = action.actionName?.replace(
package/dist/index.mjs CHANGED
@@ -525,7 +525,7 @@ function injectDatabaseMixinV2Builtins(context, actions, service, sourceFile) {
525
525
  const dbActions = actions.filter((a) => a.actionName?.startsWith(`${version}${service.name}.`)).filter((a) => !a.params || !a.returnType);
526
526
  const importName = addDepToImports(
527
527
  context.imports,
528
- "@treatwell/moleculer-essentials"
528
+ "@treatwell/moleculer-essentials/mixins/database"
529
529
  );
530
530
  for (const action of dbActions) {
531
531
  const actionName = action.actionName?.replace(
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "https://github.com/treatwell/moleculer-call-wrapper"
7
7
  },
8
- "version": "1.0.1",
8
+ "version": "1.0.2",
9
9
  "type": "module",
10
10
  "main": "./dist/index.cjs",
11
11
  "module": "./dist/index.mjs",