hide-a-bed 5.1.1 → 5.1.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/cjs/impl/retry.cjs +7 -6
- package/cjs/index.cjs +1 -0
- package/impl/retry.mjs +0 -10
- package/index.d.mts +3 -0
- package/index.d.mts.map +1 -1
- package/index.mjs +4 -1
- package/package.json +2 -2
- package/schema/bind.d.mts.map +1 -1
- package/log.txt +0 -43
package/cjs/impl/retry.cjs
CHANGED
|
@@ -28,27 +28,28 @@ function withRetry(fn, options = {}) {
|
|
|
28
28
|
maxRetries = 3,
|
|
29
29
|
initialDelay = 1e3,
|
|
30
30
|
// 1 second
|
|
31
|
-
backoffFactor = 2
|
|
31
|
+
backoffFactor = 2,
|
|
32
32
|
// exponential backoff multiplier
|
|
33
|
+
maxDelay = 3e4
|
|
34
|
+
// 30 seconds max delay
|
|
33
35
|
} = options;
|
|
34
36
|
return async (...args) => {
|
|
35
|
-
let lastError;
|
|
36
37
|
let delay = initialDelay;
|
|
37
38
|
for (let attempt = 0; attempt <= maxRetries; attempt++) {
|
|
38
39
|
try {
|
|
39
|
-
|
|
40
|
+
const result = await fn(...args);
|
|
41
|
+
return result;
|
|
40
42
|
} catch (error) {
|
|
41
|
-
lastError = error;
|
|
42
43
|
if (!(error instanceof import_errors.RetryableError)) {
|
|
43
44
|
throw error;
|
|
44
45
|
}
|
|
45
46
|
if (attempt === maxRetries) {
|
|
46
47
|
throw error;
|
|
47
48
|
}
|
|
48
|
-
|
|
49
|
+
const nextDelay = Math.min(delay, maxDelay);
|
|
50
|
+
await (0, import_patch.sleep)(nextDelay);
|
|
49
51
|
delay *= backoffFactor;
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
|
-
throw lastError;
|
|
53
54
|
};
|
|
54
55
|
}
|
package/cjs/index.cjs
CHANGED
|
@@ -38,6 +38,7 @@ __export(index_exports, {
|
|
|
38
38
|
withRetry: () => import_retry.withRetry
|
|
39
39
|
});
|
|
40
40
|
module.exports = __toCommonJS(index_exports);
|
|
41
|
+
var import_zod = require("zod");
|
|
41
42
|
var import_bulk = require("./impl/bulk.cjs");
|
|
42
43
|
var import_crud = require("./impl/crud.cjs");
|
|
43
44
|
var import_changes = require("./impl/changes.cjs");
|
package/impl/retry.mjs
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import { RetryableError } from './errors.mjs'
|
|
2
2
|
import { sleep } from './patch.mjs'
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* Wraps a function with retry logic for RetryableError instances
|
|
6
|
-
* @param {Function} fn - The function to retry
|
|
7
|
-
* @param {Object} options - Retry options
|
|
8
|
-
* @param {number} [options.maxRetries=3] - Maximum number of retry attempts
|
|
9
|
-
* @param {number} [options.initialDelay=1000] - Initial delay in ms
|
|
10
|
-
* @param {number} [options.backoffFactor=2] - Multiplier for exponential backoff
|
|
11
|
-
* @param {number} [options.maxDelay] - Maximum delay between retries in ms
|
|
12
|
-
* @returns {Function} - Wrapped function with retry logic
|
|
13
|
-
*/
|
|
14
4
|
export function withRetry (fn, options = {}) {
|
|
15
5
|
const {
|
|
16
6
|
maxRetries = 3,
|
package/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export type DB = z.infer<typeof BindReturns>;
|
|
1
2
|
import { get } from './impl/crud.mjs';
|
|
2
3
|
import { getAtRev } from './impl/crud.mjs';
|
|
3
4
|
import { put } from './impl/crud.mjs';
|
|
@@ -44,6 +45,8 @@ import { withRetry } from './impl/retry.mjs';
|
|
|
44
45
|
import { createQuery } from './impl/queryBuilder.mjs';
|
|
45
46
|
import { createLock } from './impl/sugar/lock.mjs';
|
|
46
47
|
import { removeLock } from './impl/sugar/lock.mjs';
|
|
48
|
+
import { z } from 'zod';
|
|
49
|
+
import { BindReturns } from './schema/bind.mjs';
|
|
47
50
|
import { CouchConfig } from './schema/config.mjs';
|
|
48
51
|
import { SimpleViewQuery } from './schema/query.mjs';
|
|
49
52
|
import { SimpleViewQueryResponse } from './schema/query.mjs';
|
package/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["index.mjs"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["index.mjs"],"names":[],"mappings":"iBA+Ge,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC;oBA5GP,iBAAiB;yBAAjB,iBAAiB;oBAAjB,iBAAiB;wBADkC,iBAAiB;yBAAjB,iBAAiB;sBAMjF,kBAAkB;4BACZ,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAJP,kBAAkB;iCAAlB,kBAAkB;2BAH4B,iBAAiB;kCAAjB,iBAAiB;oCAAjB,iBAAiB;AAoFvG,uDAAuD;AACvD,yBADY,OAAO,mBAAmB,EAAE,UAAU,CAuBhD;0BAlGwB,kBAAkB;4BADhB,yBAAyB;2BAJd,uBAAuB;2BAAvB,uBAAuB;kBAL5C,KAAK;4BAoBW,mBAAmB;4BARzB,qBAAqB;gCACQ,oBAAoB;wCAApB,oBAAoB;sCAEhC,qBAAqB;sBAArB,qBAAqB;yBAJoB,mBAAmB;wBAAnB,mBAAmB;2BAAnB,mBAAmB;kCAAnB,mBAAmB;oCAAnB,mBAAmB;yBAQ3B,mBAAmB;yBAAnB,mBAAmB;yBAAnB,mBAAmB;iCAAnB,mBAAmB;sBAHzD,oBAAoB;iCAApB,oBAAoB;8BAGkB,mBAAmB;qBAC/D,mBAAmB;qBAHK,yBAAyB;0BACzD,0BAA0B;4BADM,yBAAyB;2BAAzB,yBAAyB;2BAAzB,yBAAyB;wBAH1B,sBAAsB;+BAAtB,sBAAsB;gCAAtB,sBAAsB"}
|
package/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
// @ts-check */
|
|
2
|
+
import { z } from 'zod'
|
|
2
3
|
import { bulkGet, bulkSave, bulkRemove, bulkGetDictionary, bulkSaveTransaction } from './impl/bulk.mjs'
|
|
3
4
|
import { get, put, getAtRev } from './impl/crud.mjs'
|
|
4
5
|
import { changes } from './impl/changes.mjs'
|
|
@@ -18,7 +19,7 @@ import { Patch, PatchDangerously } from './schema/patch.mjs'
|
|
|
18
19
|
import { Lock, LockOptions, CreateLock, RemoveLock } from './schema/sugar/lock.mjs'
|
|
19
20
|
import { WatchDocs } from './schema/sugar/watch.mjs'
|
|
20
21
|
import { CouchDoc, CouchDocResponse, CouchPut, CouchGet, CouchGetAtRev } from './schema/crud.mjs'
|
|
21
|
-
import { Bind } from './schema/bind.mjs'
|
|
22
|
+
import { Bind, BindReturns } from './schema/bind.mjs'
|
|
22
23
|
|
|
23
24
|
const schema = {
|
|
24
25
|
CouchConfig,
|
|
@@ -108,6 +109,8 @@ const bindConfig = Bind.implement((
|
|
|
108
109
|
return all
|
|
109
110
|
})
|
|
110
111
|
|
|
112
|
+
/** @typedef { z.infer<typeof BindReturns> } DB */
|
|
113
|
+
|
|
111
114
|
export {
|
|
112
115
|
get,
|
|
113
116
|
getAtRev,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hide-a-bed",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.3",
|
|
4
4
|
"description": "An abstraction over couchdb calls that includes easy mock/stubs with pouchdb",
|
|
5
5
|
"module": "index.mjs",
|
|
6
6
|
"main": "cjs/index.cjs",
|
|
@@ -57,4 +57,4 @@
|
|
|
57
57
|
"node": "20.17.0",
|
|
58
58
|
"npm": "10.8.2"
|
|
59
59
|
}
|
|
60
|
-
}
|
|
60
|
+
}
|
package/schema/bind.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bind.d.mts","sourceRoot":"","sources":["bind.mjs"],"names":[],"mappings":"AAYA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,OAAO,QAAQ,CAAC;gCAQxB,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC;yBAG3B,CAAC,CAAC,KAAK,CAAC,OAAO,IAAI,CAAC;kBAvCjB,KAAK"}
|
package/log.txt
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[Wed, 12 Mar 2025 14:28:53 GMT] [info] [<0.000.0>] pouchdb-server has started on http://127.0.0.1:8985/
|
|
2
|
-
[Wed, 12 Mar 2025 14:28:53 GMT] [info] [<0.000.0>] database is in-memory; no changes will be saved.
|
|
3
|
-
[Wed, 12 Mar 2025 14:28:53 GMT] [info] [<0.000.0>] navigate to http://127.0.0.1:8985/_utils for the Fauxton UI.
|
|
4
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb 201
|
|
5
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/testdoc 201
|
|
6
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/testdoc 200
|
|
7
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/testdoc-not-there 404
|
|
8
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/testdoc-not-there-override 404
|
|
9
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/testdoc-not-there 404
|
|
10
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/notThereDoc 409
|
|
11
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
12
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:fsda 201
|
|
13
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
14
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_bulk_docs 201
|
|
15
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:fsda 201
|
|
16
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:fsda-1 201
|
|
17
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
18
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:fsda-2 201
|
|
19
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
20
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_bulk_docs 201
|
|
21
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:fsda-2 201
|
|
22
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:fsda-3 201
|
|
23
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
24
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/a 201
|
|
25
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_bulk_docs 201
|
|
26
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_bulk_docs 201
|
|
27
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:fsda-3 201
|
|
28
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
29
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/conflict-test 201
|
|
30
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:conflict-error 201
|
|
31
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
32
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/txn:bulk-error 201
|
|
33
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - POST /testdb/_all_docs?include_docs=true 200
|
|
34
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/lock-doc-to-lock 201
|
|
35
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/lock-doc-to-lock 200
|
|
36
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/lock-doc-to-lock 409
|
|
37
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/lock-doc-to-lock 200
|
|
38
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/lock-doc-to-lock 201
|
|
39
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/lock-doc-to-lock 404
|
|
40
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - PUT /testdb/lock-doc-to-lock 201
|
|
41
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/lock-doc-to-lock 200
|
|
42
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/lock-doc-to-lock 200
|
|
43
|
-
[Wed, 12 Mar 2025 14:28:54 GMT] [info] [<0.000.0>] 127.0.0.1 - - GET /testdb/lock-doc-to-lock-2 404
|