@authhero/proxy 0.10.12 → 0.10.14
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.
|
@@ -11,6 +11,7 @@ export interface CacheAdapterHostCacheOptions {
|
|
|
11
11
|
waitUntil?: (promise: Promise<unknown>) => void;
|
|
12
12
|
cacheReadTimeoutMs?: number;
|
|
13
13
|
cacheWriteTimeoutMs?: number;
|
|
14
|
+
upstreamTimeoutMs?: number;
|
|
14
15
|
}
|
|
15
16
|
/**
|
|
16
17
|
* Wraps an upstream `HostResolverCache` with a generic `CacheAdapter` layer.
|
|
@@ -9,6 +9,7 @@ export interface HostCacheOptions {
|
|
|
9
9
|
negativeTtlMs?: number;
|
|
10
10
|
maxEntries?: number;
|
|
11
11
|
waitUntil?: (promise: Promise<unknown>) => void;
|
|
12
|
+
upstreamTimeoutMs?: number;
|
|
12
13
|
}
|
|
13
14
|
export declare function createInMemoryHostCache(data: ProxyDataAdapter, ttlMs: number, maxEntries?: number): HostResolverCache;
|
|
14
15
|
export declare function createInMemoryHostCache(data: ProxyDataAdapter, options: HostCacheOptions): HostResolverCache;
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/markusahlstrand/authhero"
|
|
13
13
|
},
|
|
14
|
-
"version": "0.10.
|
|
14
|
+
"version": "0.10.14",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist"
|
|
17
17
|
],
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"hono": "^4.6.8"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@authhero/adapter-interfaces": "4.
|
|
43
|
+
"@authhero/adapter-interfaces": "4.14.0"
|
|
44
44
|
},
|
|
45
45
|
"license": "AGPL-3.0-only",
|
|
46
46
|
"scripts": {
|