@t4h.framework/cache 0.1.0 → 0.3.0

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@t4h.framework/cache",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Cache module for the T4H Framework",
5
5
  "homepage": "https://github.com/tech4humans-brasil/framework/tree/main/packages/cache",
6
6
  "bugs": "https://github.com/tech4humans-brasil/framework/issues",
@@ -29,13 +29,13 @@
29
29
  "prepublishOnly": "yarn build"
30
30
  },
31
31
  "dependencies": {
32
- "@t4h.framework/core": "^0.1.0"
32
+ "@t4h.framework/core": "^0.3.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "^5.9.3"
36
36
  },
37
37
  "peerDependencies": {
38
- "@t4h.framework/core": "^0.1.0"
38
+ "@t4h.framework/core": "^0.3.0"
39
39
  },
40
40
  "packageManager": "yarn@4.12.0",
41
41
  "engines": {
@@ -1,9 +0,0 @@
1
- import type { Serializable } from '@t4h.framework/core';
2
- export interface ActivityCacheClaimSetOptions {
3
- ttl?: number;
4
- }
5
- export declare abstract class ActivityCacheClaim {
6
- abstract get<T extends Serializable>(key: string): T | undefined | Promise<T | undefined>;
7
- abstract set(key: string, value: Serializable, options?: ActivityCacheClaimSetOptions): Promise<void>;
8
- }
9
- //# sourceMappingURL=ActivityCacheClaim.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActivityCacheClaim.d.ts","sourceRoot":"","sources":["../src/ActivityCacheClaim.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAEvD,MAAM,WAAW,4BAA4B;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,8BAAsB,kBAAkB;aACtB,GAAG,CAAC,CAAC,SAAS,YAAY,EACxC,GAAG,EAAE,MAAM,GACV,CAAC,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;aAEzB,GAAG,CACjB,GAAG,EAAE,MAAM,EACX,KAAK,EAAE,YAAY,EACnB,OAAO,CAAC,EAAE,4BAA4B,GACrC,OAAO,CAAC,IAAI,CAAC;CACjB"}
@@ -1,3 +0,0 @@
1
- export class ActivityCacheClaim {
2
- }
3
- //# sourceMappingURL=ActivityCacheClaim.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ActivityCacheClaim.js","sourceRoot":"","sources":["../src/ActivityCacheClaim.ts"],"names":[],"mappings":"AAMA,MAAM,OAAgB,kBAAkB;CAUvC"}