@medusajs/user 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 { UserModuleService } from "./services";
1
+ import { UserModuleService } from "./services/index.js";
2
2
  declare const _default: import("@medusajs/types").ModuleExports<typeof UserModuleService> & {
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.USER, {
6
6
  service: _services_1.UserModuleService,
@@ -1,5 +1,5 @@
1
1
  import { Context, DAL, InferEntityType, InternalModuleDeclaration, ModulesSdkTypes, ProjectConfigOptions, UserTypes } from "@medusajs/framework/types";
2
- import { Invite, User } from "../models";
2
+ import { Invite, User } from "../models/index.js";
3
3
  type InjectedDependencies = {
4
4
  baseRepository: DAL.RepositoryService;
5
5
  userService: ModulesSdkTypes.IMedusaInternalService<any>;
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const utils_1 = require("@medusajs/framework/utils");
19
19
  const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
20
20
  const node_crypto_1 = __importDefault(require("node:crypto"));
21
- const _models_1 = require("../models");
21
+ const _models_1 = require("../models/index.js");
22
22
  const utils_2 = require("../utils/utils");
23
23
  const DEFAULT_VALID_INVITE_DURATION_SECONDS = 60 * 60 * 24;
24
24
  class UserModuleService extends (0, utils_1.MedusaService)({ User: _models_1.User, Invite: _models_1.Invite }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/user",
3
- "version": "2.22.1",
3
+ "version": "2.22.2-preview-20261028132907",
4
4
  "description": "Medusa Users module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -43,13 +43,13 @@
43
43
  "orm:cache:clear": "MIKRO_ORM_CLI_CONFIG=./mikro-orm.config.dev.ts MIKRO_ORM_ALLOW_GLOBAL_CLI=true medusa-mikro-orm cache:clear"
44
44
  },
45
45
  "devDependencies": {
46
- "@medusajs/framework": "2.22.1",
47
- "@medusajs/test-utils": "2.22.1"
46
+ "@medusajs/framework": "2.22.2-preview-20261028132907",
47
+ "@medusajs/test-utils": "2.22.2-preview-20261028132907"
48
48
  },
49
49
  "dependencies": {
50
50
  "jsonwebtoken": "^9.0.2"
51
51
  },
52
52
  "peerDependencies": {
53
- "@medusajs/framework": "2.22.1"
53
+ "@medusajs/framework": "2.22.2-preview-20261028132907"
54
54
  }
55
55
  }