@medusajs/cache-inmemory 1.8.11-snapshot-20240607093839 → 1.8.11-snapshot-20240701122250

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,8 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.initialize = void 0;
4
4
  const modules_sdk_1 = require("@medusajs/modules-sdk");
5
+ const utils_1 = require("@medusajs/utils");
5
6
  const initialize = async (options) => {
6
- const serviceKey = modules_sdk_1.Modules.CACHE;
7
+ const serviceKey = utils_1.Modules.CACHE;
7
8
  const loaded = await modules_sdk_1.MedusaModule.bootstrap({
8
9
  moduleKey: serviceKey,
9
10
  defaultPath: "@medusajs/cache-inmemory",
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/initialize/index.ts"],"names":[],"mappings":";;;AAAA,uDAK8B;AAIvB,MAAM,UAAU,GAAG,KAAK,EAC7B,OAAgE,EACxC,EAAE;IAC1B,MAAM,UAAU,GAAG,qBAAO,CAAC,KAAK,CAAA;IAChC,MAAM,MAAM,GAAG,MAAM,0BAAY,CAAC,SAAS,CAAgB;QACzD,SAAS,EAAE,UAAU;QACrB,WAAW,EAAE,0BAA0B;QACvC,WAAW,EAAE,OAEgB;KAC9B,CAAC,CAAA;IAEF,OAAO,MAAM,CAAC,UAAU,CAAC,CAAA;AAC3B,CAAC,CAAA;AAbY,QAAA,UAAU,cAatB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/initialize/index.ts"],"names":[],"mappings":";;;AAAA,uDAI8B;AAG9B,2CAAyC;AAElC,MAAM,UAAU,GAAG,KAAK,EAC7B,OAAgE,EACxC,EAAE;IAC1B,MAAM,UAAU,GAAG,eAAO,CAAC,KAAK,CAAA;IAChC,MAAM,MAAM,GAAG,MAAM,0BAAY,CAAC,SAAS,CAAgB;QACzD,SAAS,EAAE,UAAU;QACrB,WAAW,EAAE,0BAA0B;QACvC,WAAW,EAAE,OAEgB;KAC9B,CAAC,CAAA;IAEF,OAAO,MAAM,CAAC,UAAU,CAAC,CAAA;AAC3B,CAAC,CAAA;AAbY,QAAA,UAAU,cAatB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/cache-inmemory",
3
- "version": "1.8.11-snapshot-20240607093839",
3
+ "version": "1.8.11-snapshot-20240701122250",
4
4
  "description": "In-memory Cache Module for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -9,7 +9,7 @@
9
9
  "directory": "packages/cache-inmemory"
10
10
  },
11
11
  "engines": {
12
- "node": ">=16"
12
+ "node": ">=20"
13
13
  },
14
14
  "publishConfig": {
15
15
  "access": "public"
@@ -20,11 +20,10 @@
20
20
  "author": "Medusa",
21
21
  "license": "MIT",
22
22
  "devDependencies": {
23
- "@medusajs/types": "1.12.0-snapshot-20240607093839",
23
+ "@medusajs/types": "1.12.0-snapshot-20240701122250",
24
24
  "cross-env": "^5.2.1",
25
- "jest": "^29.6.3",
25
+ "jest": "^29.7.0",
26
26
  "rimraf": "^5.0.1",
27
- "ts-jest": "^29.1.1",
28
27
  "typescript": "^5.1.6"
29
28
  },
30
29
  "scripts": {
@@ -34,6 +33,7 @@
34
33
  "test": "jest --passWithNoTests"
35
34
  },
36
35
  "dependencies": {
37
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240607093839"
36
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240701122250",
37
+ "@medusajs/utils": "1.12.0-snapshot-20240701122250"
38
38
  }
39
39
  }