@geekmidas/cache 0.0.2 → 0.0.3

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/package.json CHANGED
@@ -1,14 +1,24 @@
1
1
  {
2
2
  "name": "@geekmidas/cache",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Type-safe email client with SMTP support and React templates",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "exports": {
8
- "./*": {
9
- "import": "./dist/*.mjs",
10
- "require": "./dist/*.cjs",
11
- "types": "./src/*.ts"
8
+ ".": {
9
+ "import": "./dist/index.mjs",
10
+ "require": "./dist/index.cjs",
11
+ "types": "./src/index.ts"
12
+ },
13
+ "./memory": {
14
+ "import": "./dist/memory.mjs",
15
+ "require": "./dist/memory.cjs",
16
+ "types": "./src/memory.ts"
17
+ },
18
+ "./upstash": {
19
+ "import": "./dist/upstash.mjs",
20
+ "require": "./dist/upstash.cjs",
21
+ "types": "./src/upstash.ts"
12
22
  }
13
23
  },
14
24
  "publishConfig": {
package/src/memory.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Cache } from './cache';
1
+ import type { Cache } from './';
2
2
 
3
3
  export class InMemoryCache<T> implements Cache<T> {
4
4
  private store: Map<string, T> = new Map();
package/src/upstash.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Redis } from '@upstash/redis';
2
- import type { Cache } from './cache';
2
+ import type { Cache } from './';
3
3
 
4
4
  export class UpstashCache<T> implements Cache<T> {
5
5
  private client: Redis;
File without changes
File without changes
File without changes