@medusajs/customer 2.22.1 → 2.22.2-preview-20261028132907

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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CustomerModuleService } from "./services";
1
+ import { CustomerModuleService } from "./services/index.js";
2
2
  declare const _default: import("@medusajs/types").ModuleExports<typeof CustomerModuleService> & {
3
3
  linkable: Record<string, any>;
4
4
  };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const _services_1 = require("./services");
3
+ const _services_1 = require("./services/index.js");
4
4
  const utils_1 = require("@medusajs/framework/utils");
5
5
  exports.default = (0, utils_1.Module)(utils_1.Modules.CUSTOMER, {
6
6
  service: _services_1.CustomerModuleService,
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const utils_1 = require("@medusajs/framework/utils");
7
7
  const customer_1 = __importDefault(require("./customer"));
8
- const _models_1 = require(".");
8
+ const _models_1 = require("./index.js");
9
9
  const CustomerGroup = utils_1.model
10
10
  .define("CustomerGroup", {
11
11
  id: utils_1.model.id({ prefix: "cusgroup" }).primaryKey(),
@@ -1,5 +1,5 @@
1
1
  import { Context, CustomerAddressDTO, CustomerDTO, CustomerGroupCustomerDTO, CustomerGroupDTO, CustomerTypes, DAL, ICustomerModuleService, InferEntityType, InternalModuleDeclaration, ModuleJoinerConfig, ModulesSdkTypes } from "@medusajs/framework/types";
2
- import { Customer, CustomerAddress, CustomerGroup, CustomerGroupCustomer } from "../models";
2
+ import { Customer, CustomerAddress, CustomerGroup, CustomerGroupCustomer } from "../models/index.js";
3
3
  type InjectedDependencies = {
4
4
  baseRepository: DAL.RepositoryService;
5
5
  customerService: ModulesSdkTypes.IMedusaInternalService<any>;
@@ -14,7 +14,7 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  const types_1 = require("@medusajs/framework/types");
16
16
  const utils_1 = require("@medusajs/framework/utils");
17
- const _models_1 = require("../models");
17
+ const _models_1 = require("../models/index.js");
18
18
  const joiner_config_1 = require("../joiner-config");
19
19
  class CustomerModuleService extends (0, utils_1.MedusaService)({
20
20
  CustomerAddress: _models_1.CustomerAddress,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/customer",
3
- "version": "2.22.1",
3
+ "version": "2.22.2-preview-20261028132907",
4
4
  "description": "Medusa Customer module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -44,10 +44,10 @@
44
44
  "orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
45
45
  },
46
46
  "devDependencies": {
47
- "@medusajs/framework": "2.22.1",
48
- "@medusajs/test-utils": "2.22.1"
47
+ "@medusajs/framework": "2.22.2-preview-20261028132907",
48
+ "@medusajs/test-utils": "2.22.2-preview-20261028132907"
49
49
  },
50
50
  "peerDependencies": {
51
- "@medusajs/framework": "2.22.1"
51
+ "@medusajs/framework": "2.22.2-preview-20261028132907"
52
52
  }
53
53
  }