@t4h.framework/cache 0.6.13 → 0.6.15
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/CHANGELOG.md +8 -0
- package/README.md +14 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @t4h.framework/cache
|
|
2
2
|
|
|
3
|
+
## 0.6.15
|
|
4
|
+
|
|
5
|
+
## 0.6.14
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- [#276](https://github.com/tech4humans-brasil/framework/pull/276) [`7b38934`](https://github.com/tech4humans-brasil/framework/commit/7b38934e8f9207c98c33afcd76e3a7a4da7e8b14) Thanks [@gusteycamargo](https://github.com/gusteycamargo)! - The README gives the peer dependency, links to the API reference and the changelog, and tells that a workflow with an `OAuth2` grant of the http package needs a `CacheClaim` provider.
|
|
10
|
+
|
|
3
11
|
## 0.6.13
|
|
4
12
|
|
|
5
13
|
## 0.6.12
|
package/README.md
CHANGED
|
@@ -10,6 +10,8 @@ implementation.
|
|
|
10
10
|
npm install @t4h.framework/cache
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
+
Peer dependency: `@t4h.framework/core`.
|
|
14
|
+
|
|
13
15
|
## Contract
|
|
14
16
|
|
|
15
17
|
| Method | Result |
|
|
@@ -74,3 +76,15 @@ If no provider is registered, the activity fails with
|
|
|
74
76
|
`mockClaim(CacheClaim, { get, set })` from `@t4h.framework/core/testing`. A
|
|
75
77
|
`Map` is a good test double. A double applies `ttl` only if you write that
|
|
76
78
|
logic.
|
|
79
|
+
|
|
80
|
+
A workflow that uses an `OAuth2` grant of `@t4h.framework/http` needs a
|
|
81
|
+
`CacheClaim` provider, even when your code does not import `CacheClaim`.
|
|
82
|
+
|
|
83
|
+
## Documentation
|
|
84
|
+
|
|
85
|
+
- API: <https://tech4humans-brasil.github.io/framework/api/cache>
|
|
86
|
+
- Changelog: [CHANGELOG.md](./CHANGELOG.md)
|
|
87
|
+
|
|
88
|
+
## License
|
|
89
|
+
|
|
90
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@t4h.framework/cache",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.15",
|
|
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",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"prepublishOnly": "yarn build"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@t4h.framework/core": "^0.
|
|
34
|
+
"@t4h.framework/core": "^0.22.0",
|
|
35
35
|
"typescript": "^5.9.3"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|