Skip to content

Commit 944e526

Browse files
chore(release): 1.0.22 πŸš€ [skip ci]
## [1.0.22](v1.0.21...v1.0.22) (2023-06-20)
1 parent cd6325b commit 944e526

File tree

10 files changed

+34
-32
lines changed

10 files changed

+34
-32
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
## [1.0.22](https://github.com/bbeesley/bags-of-cache/compare/v1.0.21...v1.0.22) (2023-06-20)
2+
13
## [1.0.21](https://github.com/bbeesley/bags-of-cache/compare/v1.0.20...v1.0.21) (2023-06-19)
24

35
## [1.0.20](https://github.com/bbeesley/bags-of-cache/compare/v1.0.19...v1.0.20) (2023-06-19)

β€ŽREADME.mdβ€Ž

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ const second = await memoised('one'); // this will be returned from the cache
7272

7373
#### CacheingClient
7474

75-
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L16-L107 "Source code on GitHub")
75+
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/cacheing-client.ts#L16-L107 "Source code on GitHub")
7676

7777
Base client used to create clients with in memory caches
7878

7979
##### get
8080

81-
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L46-L49 "Source code on GitHub")
81+
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/cacheing-client.ts#L46-L49 "Source code on GitHub")
8282

8383
Gets an item in the cache
8484

@@ -90,7 +90,7 @@ Returns **any** {\*}
9090

9191
##### memoise
9292

93-
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L59-L71 "Source code on GitHub")
93+
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/cacheing-client.ts#L59-L71 "Source code on GitHub")
9494

9595
Memoises an arbitrary function using the cache
9696

@@ -102,7 +102,7 @@ Returns **any** {T} Memoised version of the function
102102

103103
##### set
104104

105-
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L81-L85 "Source code on GitHub")
105+
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/cacheing-client.ts#L81-L85 "Source code on GitHub")
106106

107107
Sets an item in the cache
108108

@@ -116,15 +116,15 @@ Returns **void** 
116116

117117
##### stop
118118

119-
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L92-L94 "Source code on GitHub")
119+
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/cacheing-client.ts#L92-L94 "Source code on GitHub")
120120

121121
Empties the cache
122122

123123
Returns **void** 
124124

125125
##### createCacheKey
126126

127-
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L104-L106 "Source code on GitHub")
127+
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/cacheing-client.ts#L104-L106 "Source code on GitHub")
128128

129129
Util to serialise stuff to use as a cache key
130130

@@ -189,39 +189,39 @@ const item = await client.getItem({
189189

190190
#### emptyResponseCacheTime
191191

192-
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L23-L23 "Source code on GitHub")
192+
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/dynamo-client.ts#L23-L23 "Source code on GitHub")
193193

194194
When we get no items back from a query we will not retry the query within this time (ms)
195195

196196
Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)
197197

198198
#### queryConcurrency
199199

200-
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L30-L30 "Source code on GitHub")
200+
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/dynamo-client.ts#L30-L30 "Source code on GitHub")
201201

202202
Limit concurrently sent queries to this value
203203

204204
Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)
205205

206206
#### getConcurrency
207207

208-
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L37-L37 "Source code on GitHub")
208+
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/dynamo-client.ts#L37-L37 "Source code on GitHub")
209209

210210
Limit concurrent getItem calls to this value
211211

212212
Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)
213213

214214
#### DynamoCachedClient
215215

216-
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L47-L173 "Source code on GitHub")
216+
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/dynamo-client.ts#L47-L173 "Source code on GitHub")
217217

218218
**Extends CacheingClient**
219219

220220
Client for dynamo tables. Makes dynamo requests and caches the results.
221221

222222
##### getItem
223223

224-
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L82-L109 "Source code on GitHub")
224+
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/dynamo-client.ts#L82-L109 "Source code on GitHub")
225225

226226
Gets a single item from the table by key and caches the result
227227

@@ -233,7 +233,7 @@ Returns **any** {(Promise\<T | undefined>)}
233233

234234
##### query
235235

236-
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L119-L133 "Source code on GitHub")
236+
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/cd6325be1ccd7a9d3be325e0ca0d68650ee1385c/src/dynamo-client.ts#L119-L133 "Source code on GitHub")
237237

238238
Sends an arbitrary dynamo query, cacheing the results
239239

β€Ždocs/README.mdβ€Ž

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ const second = await memoised('one'); // this will be returned from the cache
7474

7575
#### CacheingClient
7676

77-
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/cacheing-client.ts#L16-L107 "Source code on GitHub")
77+
[src/cacheing-client.ts:16-107](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L16-L107 "Source code on GitHub")
7878

7979
Base client used to create clients with in memory caches
8080

8181
##### get
8282

83-
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/cacheing-client.ts#L46-L49 "Source code on GitHub")
83+
[src/cacheing-client.ts:46-49](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L46-L49 "Source code on GitHub")
8484

8585
Gets an item in the cache
8686

@@ -92,7 +92,7 @@ Returns **any** {\*}
9292

9393
##### memoise
9494

95-
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/cacheing-client.ts#L59-L71 "Source code on GitHub")
95+
[src/cacheing-client.ts:59-71](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L59-L71 "Source code on GitHub")
9696

9797
Memoises an arbitrary function using the cache
9898

@@ -104,7 +104,7 @@ Returns **any** {T} Memoised version of the function
104104

105105
##### set
106106

107-
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/cacheing-client.ts#L81-L85 "Source code on GitHub")
107+
[src/cacheing-client.ts:81-85](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L81-L85 "Source code on GitHub")
108108

109109
Sets an item in the cache
110110

@@ -118,15 +118,15 @@ Returns **void**&#x20;
118118

119119
##### stop
120120

121-
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/cacheing-client.ts#L92-L94 "Source code on GitHub")
121+
[src/cacheing-client.ts:92-94](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L92-L94 "Source code on GitHub")
122122

123123
Empties the cache
124124

125125
Returns **void**&#x20;
126126

127127
##### createCacheKey
128128

129-
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/cacheing-client.ts#L104-L106 "Source code on GitHub")
129+
[src/cacheing-client.ts:104-106](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/cacheing-client.ts#L104-L106 "Source code on GitHub")
130130

131131
Util to serialise stuff to use as a cache key
132132

@@ -191,39 +191,39 @@ const item = await client.getItem({
191191

192192
#### emptyResponseCacheTime
193193

194-
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/dynamo-client.ts#L23-L23 "Source code on GitHub")
194+
[src/dynamo-client.ts:23-23](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L23-L23 "Source code on GitHub")
195195

196196
When we get no items back from a query we will not retry the query within this time (ms)
197197

198198
Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)
199199

200200
#### queryConcurrency
201201

202-
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/dynamo-client.ts#L30-L30 "Source code on GitHub")
202+
[src/dynamo-client.ts:30-30](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L30-L30 "Source code on GitHub")
203203

204204
Limit concurrently sent queries to this value
205205

206206
Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)
207207

208208
#### getConcurrency
209209

210-
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/dynamo-client.ts#L37-L37 "Source code on GitHub")
210+
[src/dynamo-client.ts:37-37](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L37-L37 "Source code on GitHub")
211211

212212
Limit concurrent getItem calls to this value
213213

214214
Type: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)
215215

216216
#### DynamoCachedClient
217217

218-
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/dynamo-client.ts#L47-L173 "Source code on GitHub")
218+
[src/dynamo-client.ts:47-173](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L47-L173 "Source code on GitHub")
219219

220220
**Extends CacheingClient**
221221

222222
Client for dynamo tables. Makes dynamo requests and caches the results.
223223

224224
##### getItem
225225

226-
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/dynamo-client.ts#L82-L109 "Source code on GitHub")
226+
[src/dynamo-client.ts:82-109](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L82-L109 "Source code on GitHub")
227227

228228
Gets a single item from the table by key and caches the result
229229

@@ -235,7 +235,7 @@ Returns **any** {(Promise\<T | undefined>)}
235235

236236
##### query
237237

238-
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/7736b504639d25657a3e7db0263056d122cd8588/src/dynamo-client.ts#L119-L133 "Source code on GitHub")
238+
[src/dynamo-client.ts:119-133](https://github.com/bbeesley/bags-of-cache/blob/d8661cf08765a49329ba802e64c986024090dd69/src/dynamo-client.ts#L119-L133 "Source code on GitHub")
239239

240240
Sends an arbitrary dynamo query, cacheing the results
241241

β€Ždocs/classes/cacheing_client.CacheingClient.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[@beesley/bags-of-cache - v1.0.20](../README.md) / [Modules](../modules.md) / [cacheing-client](../modules/cacheing_client.md) / CacheingClient
1+
[@beesley/bags-of-cache - v1.0.21](../README.md) / [Modules](../modules.md) / [cacheing-client](../modules/cacheing_client.md) / CacheingClient
22

33
# Class: CacheingClient
44

β€Ždocs/classes/dynamo_client.DynamoCachedClient.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[@beesley/bags-of-cache - v1.0.20](../README.md) / [Modules](../modules.md) / [dynamo-client](../modules/dynamo_client.md) / DynamoCachedClient
1+
[@beesley/bags-of-cache - v1.0.21](../README.md) / [Modules](../modules.md) / [dynamo-client](../modules/dynamo_client.md) / DynamoCachedClient
22

33
# Class: DynamoCachedClient
44

β€Ždocs/modules.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[@beesley/bags-of-cache - v1.0.20](README.md) / Modules
1+
[@beesley/bags-of-cache - v1.0.21](README.md) / Modules
22

3-
# @beesley/bags-of-cache - v1.0.20
3+
# @beesley/bags-of-cache - v1.0.21
44

55
## Table of contents
66

β€Ždocs/modules/cacheing_client.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[@beesley/bags-of-cache - v1.0.20](../README.md) / [Modules](../modules.md) / cacheing-client
1+
[@beesley/bags-of-cache - v1.0.21](../README.md) / [Modules](../modules.md) / cacheing-client
22

33
# Module: cacheing-client
44

β€Ždocs/modules/dynamo_client.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[@beesley/bags-of-cache - v1.0.20](../README.md) / [Modules](../modules.md) / dynamo-client
1+
[@beesley/bags-of-cache - v1.0.21](../README.md) / [Modules](../modules.md) / dynamo-client
22

33
# Module: dynamo-client
44

β€Ždocs/modules/index.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[@beesley/bags-of-cache - v1.0.20](../README.md) / [Modules](../modules.md) / index
1+
[@beesley/bags-of-cache - v1.0.21](../README.md) / [Modules](../modules.md) / index
22

33
# Module: index
44

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@beesley/bags-of-cache",
3-
"version": "1.0.21",
3+
"version": "1.0.22",
44
"description": "TTL based in memory cacheing util",
55
"publishConfig": {
66
"access": "public"

0 commit comments

Comments
Β (0)