@ivfuture/ecomm-cache-redis
Advanced tools
Comparing version 1.1.1 to 1.1.2-cibo.0
@@ -17,3 +17,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -48,7 +48,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
serviceKey = ecomm_modules_sdk_1.Modules.CACHE; | ||
return [4 /*yield*/, ecomm_modules_sdk_1.MedusaModule.bootstrap({ | ||
moduleKey: serviceKey, | ||
defaultPath: "@ivfuture/ecomm-cache-redis", | ||
declaration: options, | ||
})]; | ||
return [4 /*yield*/, ecomm_modules_sdk_1.MedusaModule.bootstrap(serviceKey, "@ivfuture/ecomm-cache-redis", options, undefined)]; | ||
case 1: | ||
@@ -55,0 +51,0 @@ loaded = _a.sent(); |
@@ -28,3 +28,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -31,0 +31,0 @@ if (y = 0, t) op = [op[0] & 2, t.value]; |
import { ICacheService } from "@ivfuture/ecomm-types"; | ||
import { Redis } from "ioredis"; | ||
import { RedisCacheModuleOptions } from "../types"; | ||
type InjectedDependencies = { | ||
declare type InjectedDependencies = { | ||
cacheRedisConnection: Redis; | ||
@@ -6,0 +6,0 @@ }; |
@@ -17,3 +17,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
while (_) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -20,0 +20,0 @@ if (y = 0, t) op = [op[0] & 2, t.value]; |
@@ -5,3 +5,3 @@ import { RedisOptions } from "ioredis"; | ||
*/ | ||
export type RedisCacheModuleOptions = { | ||
export declare type RedisCacheModuleOptions = { | ||
/** | ||
@@ -8,0 +8,0 @@ * Time to keep data in cache (in seconds) |
{ | ||
"name": "@ivfuture/ecomm-cache-redis", | ||
"version": "1.1.1", | ||
"version": "1.1.2-cibo.0", | ||
"description": "Redis Cache Module for Medusa", | ||
@@ -20,13 +20,12 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@ivfuture/ecomm-types": "^1.1.1", | ||
"@ivfuture/ecomm-types": "1.1.0-cibo.0", | ||
"cross-env": "^5.2.1", | ||
"jest": "^29.6.3", | ||
"rimraf": "^5.0.1", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^5.1.6" | ||
"jest": "^25.5.4", | ||
"ts-jest": "^25.5.1", | ||
"typescript": "^4.4.4" | ||
}, | ||
"scripts": { | ||
"watch": "tsc --build --watch", | ||
"prepublishOnly": "cross-env NODE_ENV=production tsc --build", | ||
"build": "rimraf dist && tsc --build", | ||
"build:prod": "cross-env NODE_ENV=production yarn run build", | ||
"build": "tsc --build", | ||
"test": "jest --passWithNoTests", | ||
@@ -36,6 +35,7 @@ "clean": "rm -rf dist" | ||
"dependencies": { | ||
"@ivfuture/ecomm-modules-sdk": "^1.1.0", | ||
"@ivfuture/ecomm-modules-sdk": "1.1.2-cibo.0", | ||
"awilix": "^8.0.0", | ||
"ioredis": "^5.3.1" | ||
} | ||
}, | ||
"gitHead": "db0a9cb9bcf8e14a2ea4eed790554a2689dc0a2b" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25168
5
21
391
2