@medusajs/api-key 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
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const utils_1 = require("@medusajs/framework/utils");
|
|
4
|
-
const _services_1 = require("./services");
|
|
4
|
+
const _services_1 = require("./services/index.js");
|
|
5
5
|
exports.default = (0, utils_1.Module)(utils_1.Modules.API_KEY, {
|
|
6
6
|
service: _services_1.ApiKeyModuleService,
|
|
7
7
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApiKeyTypes, Context, DAL, FilterableApiKeyProps, FindConfig, IApiKeyModuleService, InferEntityType, InternalModuleDeclaration, ModuleJoinerConfig, ModulesSdkTypes } from "@medusajs/framework/types";
|
|
2
|
-
import { ApiKey } from "../models";
|
|
3
|
-
import { RevokeApiKeyInput, TokenDTO, UpdateApiKeyInput } from "../types";
|
|
2
|
+
import { ApiKey } from "../models/index.js";
|
|
3
|
+
import { RevokeApiKeyInput, TokenDTO, UpdateApiKeyInput } from "../types/index.js";
|
|
4
4
|
type InjectedDependencies = {
|
|
5
5
|
baseRepository: DAL.RepositoryService;
|
|
6
6
|
apiKeyService: ModulesSdkTypes.IMedusaInternalService<any>;
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
exports.ApiKeyModuleService = void 0;
|
|
19
19
|
const types_1 = require("@medusajs/framework/types");
|
|
20
20
|
const utils_1 = require("@medusajs/framework/utils");
|
|
21
|
-
const _models_1 = require("../models");
|
|
21
|
+
const _models_1 = require("../models/index.js");
|
|
22
22
|
const crypto_1 = __importDefault(require("crypto"));
|
|
23
23
|
const util_1 = __importDefault(require("util"));
|
|
24
24
|
const joiner_config_1 = require("../joiner-config");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/api-key",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2-preview-20261028132907",
|
|
4
4
|
"description": "Medusa API Key module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -43,10 +43,10 @@
|
|
|
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.
|
|
47
|
-
"@medusajs/test-utils": "2.22.
|
|
46
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907",
|
|
47
|
+
"@medusajs/test-utils": "2.22.2-preview-20261028132907"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@medusajs/framework": "2.22.
|
|
50
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907"
|
|
51
51
|
}
|
|
52
52
|
}
|