brass-runtime 1.18.1 → 1.19.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/CHANGELOG.md +65 -0
- package/dist/agent/cli/main.cjs +31 -31
- package/dist/agent/cli/main.js +3 -3
- package/dist/agent/cli/main.mjs +3 -3
- package/dist/agent/index.cjs +4 -4
- package/dist/agent/index.js +3 -3
- package/dist/agent/index.mjs +3 -3
- package/dist/{chunk-22HZQG5F.js → chunk-2R3RVNS2.js} +6 -6
- package/dist/{chunk-YWLLH27R.mjs → chunk-3NKXUX4T.mjs} +2 -2
- package/dist/{chunk-IPSMXUWA.js → chunk-4PKBNG2H.js} +38 -18
- package/dist/{chunk-Z3ZZMQUZ.mjs → chunk-5RVHSBJ6.mjs} +182 -34
- package/dist/{chunk-B5FKOLTB.mjs → chunk-5UBJT4RW.mjs} +4 -4
- package/dist/{chunk-5RZ7YITF.cjs → chunk-6STX4PS3.cjs} +13 -13
- package/dist/{chunk-XPIMJQYS.cjs → chunk-7FZUTJM3.cjs} +400 -252
- package/dist/{chunk-YZ5LQ32F.js → chunk-A6EG5WRL.js} +3 -3
- package/dist/{chunk-TTSPIU3U.js → chunk-APQBU7TM.js} +53 -32
- package/dist/{chunk-BC6Q6BCO.mjs → chunk-AQQQFNYD.mjs} +38 -18
- package/dist/{chunk-OW5VHAOE.js → chunk-B2VXVNIS.js} +1 -1
- package/dist/{chunk-WCBNXPN6.mjs → chunk-BLXBZ6RE.mjs} +1 -1
- package/dist/{chunk-7VQLEN37.js → chunk-C3CWI42G.js} +1 -1
- package/dist/{chunk-WI7GZF3B.cjs → chunk-DV644N7P.cjs} +85 -85
- package/dist/{chunk-RBHNOKH4.mjs → chunk-EKLEDIVJ.mjs} +2 -2
- package/dist/{chunk-S4HXADU4.js → chunk-EXBGIC66.js} +1 -1
- package/dist/{chunk-LSYQ3C2M.js → chunk-FC5N5QHJ.js} +2 -2
- package/dist/{chunk-6MLAZPBL.mjs → chunk-FNWOH2T2.js} +18 -6
- package/dist/{chunk-WGE2FEZE.cjs → chunk-FYWWU3Z7.cjs} +2 -2
- package/dist/{chunk-2OW6IFY2.cjs → chunk-GOEO763K.cjs} +21 -21
- package/dist/{chunk-UAKAF32U.js → chunk-GXOIUBKE.js} +2 -2
- package/dist/{chunk-7DU7IQHK.js → chunk-H4ZRUQZL.js} +4 -4
- package/dist/{chunk-JWIEMBE6.mjs → chunk-HW2CLRJ3.mjs} +6 -6
- package/dist/{chunk-YGR2IN4R.js → chunk-JWFOWPMB.js} +163 -155
- package/dist/{chunk-6V2AWT4R.mjs → chunk-KAPZHDO4.mjs} +1 -1
- package/dist/{chunk-EEN5OTCR.mjs → chunk-KDXNWGPB.mjs} +1 -1
- package/dist/{chunk-UUMKZJRJ.cjs → chunk-KPOL2YEO.cjs} +18 -6
- package/dist/{chunk-J6DUHITE.cjs → chunk-MA74OYCI.cjs} +6 -6
- package/dist/{chunk-H626ZTDZ.mjs → chunk-MUMBUXU6.mjs} +53 -32
- package/dist/{chunk-5LC7V2OZ.cjs → chunk-NQW3YUFN.cjs} +18 -18
- package/dist/{chunk-EICAJDNX.cjs → chunk-OO7BGCC3.cjs} +54 -34
- package/dist/{chunk-7GBJYOX7.mjs → chunk-OX6MF7SZ.mjs} +163 -155
- package/dist/{chunk-WVSZOPGQ.cjs → chunk-QBVS3UYN.cjs} +245 -237
- package/dist/{chunk-WUDHOZIH.js → chunk-RZGB3DXR.js} +182 -34
- package/dist/{chunk-COOW7BJX.mjs → chunk-URVS2OE2.mjs} +3 -3
- package/dist/{chunk-HCJ4S3YB.js → chunk-UZQ3BB6W.mjs} +18 -6
- package/dist/{chunk-KNTJ7FQB.cjs → chunk-YQWZ7FZX.cjs} +5 -5
- package/dist/{chunk-ELIECDYN.cjs → chunk-Z2YIDHRI.cjs} +5 -5
- package/dist/{chunk-2JHJ4YHS.cjs → chunk-ZDZNV6NA.cjs} +59 -38
- package/dist/core/index.cjs +8 -8
- package/dist/core/index.js +7 -7
- package/dist/core/index.mjs +7 -7
- package/dist/http/index.cjs +54 -54
- package/dist/http/index.js +7 -7
- package/dist/http/index.mjs +7 -7
- package/dist/http/testing.cjs +9 -9
- package/dist/http/testing.js +5 -5
- package/dist/http/testing.mjs +5 -5
- package/dist/index.cjs +86 -86
- package/dist/index.js +8 -8
- package/dist/index.mjs +8 -8
- package/dist/observability/index.cjs +10 -10
- package/dist/observability/index.js +9 -9
- package/dist/observability/index.mjs +9 -9
- package/dist/perf/cli.cjs +26 -26
- package/dist/perf/cli.js +11 -11
- package/dist/perf/cli.mjs +11 -11
- package/dist/perf/index.cjs +13 -13
- package/dist/perf/index.js +11 -11
- package/dist/perf/index.mjs +11 -11
- package/dist/schema/index.cjs +2 -2
- package/dist/schema/index.js +1 -1
- package/dist/schema/index.mjs +1 -1
- package/package.json +1 -1
package/dist/core/index.cjs
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var _chunkGOEO763Kcjs = require('../chunk-GOEO763K.cjs');
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
|
|
@@ -53,11 +53,11 @@ var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
|
|
56
|
-
var
|
|
56
|
+
var _chunkYQWZ7FZXcjs = require('../chunk-YQWZ7FZX.cjs');
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
|
|
60
|
-
var
|
|
60
|
+
var _chunkZ2YIDHRIcjs = require('../chunk-Z2YIDHRI.cjs');
|
|
61
61
|
|
|
62
62
|
|
|
63
63
|
|
|
@@ -65,7 +65,7 @@ var _chunkELIECDYNcjs = require('../chunk-ELIECDYN.cjs');
|
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
|
|
68
|
-
var
|
|
68
|
+
var _chunkFYWWU3Z7cjs = require('../chunk-FYWWU3Z7.cjs');
|
|
69
69
|
|
|
70
70
|
|
|
71
71
|
|
|
@@ -154,7 +154,7 @@ var _chunkWGE2FEZEcjs = require('../chunk-WGE2FEZE.cjs');
|
|
|
154
154
|
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
var
|
|
157
|
+
var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
|
|
158
158
|
|
|
159
159
|
|
|
160
160
|
|
|
@@ -184,7 +184,7 @@ var _chunk5RZ7YITFcjs = require('../chunk-5RZ7YITF.cjs');
|
|
|
184
184
|
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
var
|
|
187
|
+
var _chunkZDZNV6NAcjs = require('../chunk-ZDZNV6NA.cjs');
|
|
188
188
|
|
|
189
189
|
|
|
190
190
|
|
|
@@ -223,7 +223,7 @@ var _chunk2JHJ4YHScjs = require('../chunk-2JHJ4YHS.cjs');
|
|
|
223
223
|
|
|
224
224
|
|
|
225
225
|
var _chunkMVGUEJ5Zcjs = require('../chunk-MVGUEJ5Z.cjs');
|
|
226
|
-
require('../chunk-
|
|
226
|
+
require('../chunk-KPOL2YEO.cjs');
|
|
227
227
|
require('../chunk-OBGZSXTJ.cjs');
|
|
228
228
|
|
|
229
229
|
|
|
@@ -435,4 +435,4 @@ require('../chunk-OBGZSXTJ.cjs');
|
|
|
435
435
|
|
|
436
436
|
|
|
437
437
|
|
|
438
|
-
exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkWGE2FEZEcjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkWGE2FEZEcjs.InMemoryTracer; exports.Layer = _chunk5RZ7YITFcjs.Layer; exports.LayerContext = _chunk5RZ7YITFcjs.LayerContext; exports.MissingLayerServiceError = _chunk5RZ7YITFcjs.MissingLayerServiceError; exports.NoopHooks = _chunk2JHJ4YHScjs.NoopHooks; exports.Resource = _chunk5RZ7YITFcjs.Resource; exports.Runtime = _chunk2JHJ4YHScjs.Runtime; exports.RuntimeFiber = _chunk2JHJ4YHScjs.RuntimeFiber; exports.RuntimeRegistry = _chunk2OW6IFY2cjs.RuntimeRegistry; exports.RuntimeService = _chunkELIECDYNcjs.RuntimeService; exports.Schedule = _chunk5RZ7YITFcjs.Schedule; exports.Scope = _chunk2JHJ4YHScjs.Scope; exports.Supervisor = _chunk2OW6IFY2cjs.Supervisor; exports.TestClock = _chunk2OW6IFY2cjs.TestClock; exports.TestScheduler = _chunk2OW6IFY2cjs.TestScheduler; exports.abortablePromiseStats = _chunk2JHJ4YHScjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk5RZ7YITFcjs.andThen; exports.assertCompletesWithin = _chunk2OW6IFY2cjs.assertCompletesWithin; exports.assertFails = _chunk2OW6IFY2cjs.assertFails; exports.assertFailsWith = _chunk2OW6IFY2cjs.assertFailsWith; exports.assertSucceeds = _chunk2OW6IFY2cjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunk5RZ7YITFcjs.bracket; exports.buildLayer = _chunk5RZ7YITFcjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunk2OW6IFY2cjs.catchTag; exports.catchTags = _chunk2OW6IFY2cjs.catchTags; exports.composeAll = _chunk5RZ7YITFcjs.composeAll; exports.composeLayer = _chunk5RZ7YITFcjs.compose; exports.consoleJsonLogger = _chunk2OW6IFY2cjs.consoleJsonLogger; exports.contramapSchedule = _chunk5RZ7YITFcjs.contramap; exports.ctxExtend = _chunk2JHJ4YHScjs.ctxExtend; exports.ctxToObject = _chunk2JHJ4YHScjs.ctxToObject; exports.defaultTracer = _chunk2OW6IFY2cjs.defaultTracer; exports.defineConfigLayer = _chunk2OW6IFY2cjs.defineConfigLayer; exports.defineLayer = _chunk5RZ7YITFcjs.defineLayer; exports.defineService = _chunk5RZ7YITFcjs.defineService; exports.delayedEffect = _chunk2OW6IFY2cjs.delayedEffect; exports.derivedRef = _chunk2OW6IFY2cjs.derivedRef; exports.dumpAllFibers = _chunk2OW6IFY2cjs.dumpAllFibers; exports.elapsed = _chunk5RZ7YITFcjs.elapsed; exports.emptyContext = _chunk2JHJ4YHScjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk5RZ7YITFcjs.ensuring; exports.exponential = _chunk5RZ7YITFcjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkKNTJ7FQBcjs.fiberRefSnapshot; exports.fibonacci = _chunk5RZ7YITFcjs.fibonacci; exports.fixed = _chunk5RZ7YITFcjs.fixed; exports.flakyEffect = _chunk2OW6IFY2cjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk5RZ7YITFcjs.forever; exports.fork = _chunk2JHJ4YHScjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk5RZ7YITFcjs.formatLayerError; exports.fromPromiseAbortable = _chunk2JHJ4YHScjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunk2JHJ4YHScjs.getBenchmarkBudget; exports.getCurrentFiber = _chunk2JHJ4YHScjs.getCurrentFiber; exports.getFiberRef = _chunkKNTJ7FQBcjs.getFiberRef; exports.getService = _chunk5RZ7YITFcjs.getService; exports.getServices = _chunk5RZ7YITFcjs.getServices; exports.gracefulShutdown = _chunk2OW6IFY2cjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk5RZ7YITFcjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk5RZ7YITFcjs.jitter; exports.jittered = _chunk5RZ7YITFcjs.jittered; exports.jitteredSchedule = _chunk5RZ7YITFcjs.jitteredSchedule; exports.joinSupervised = _chunk2OW6IFY2cjs.joinSupervised; exports.layer = _chunk5RZ7YITFcjs.layer; exports.layerEffect = _chunk5RZ7YITFcjs.layerEffect; exports.layerFail = _chunk5RZ7YITFcjs.layerFail; exports.layerFrom = _chunk5RZ7YITFcjs.layerFrom; exports.layerFromContext = _chunk5RZ7YITFcjs.layerFromContext; exports.layerSucceed = _chunk5RZ7YITFcjs.layerSucceed; exports.layerValue = _chunk5RZ7YITFcjs.layerValue; exports.linear = _chunk5RZ7YITFcjs.linear; exports.linkAbortController = _chunk2OW6IFY2cjs.linkAbortController; exports.liveClock = _chunk2JHJ4YHScjs.liveClock; exports.locallyFiberRef = _chunkKNTJ7FQBcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkKNTJ7FQBcjs.locallyFiberRefWith; exports.makeCancelToken = _chunk2OW6IFY2cjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunk2OW6IFY2cjs.makeConfigLayer; exports.makeFiberRef = _chunkKNTJ7FQBcjs.makeFiberRef; exports.makeLayerScope = _chunk5RZ7YITFcjs.makeLayerScope; exports.makeMetrics = _chunkWGE2FEZEcjs.makeMetrics; exports.makeRef = _chunk2OW6IFY2cjs.makeRef; exports.makeResource = _chunk5RZ7YITFcjs.makeResource; exports.makeRuntime = _chunk2OW6IFY2cjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkWGE2FEZEcjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkELIECDYNcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkKNTJ7FQBcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk5RZ7YITFcjs.makeScheduleDriver; exports.makeSemaphore = _chunk2OW6IFY2cjs.makeSemaphore; exports.makeServiceTag = _chunk5RZ7YITFcjs.makeServiceTag; exports.makeSupervisor = _chunk2OW6IFY2cjs.makeSupervisor; exports.makeTestLayer = _chunk5RZ7YITFcjs.makeTestLayer; exports.makeTestLayers = _chunk5RZ7YITFcjs.makeTestLayers; exports.makeTestRuntime = _chunk2OW6IFY2cjs.makeTestRuntime; exports.makeTracer = _chunk2OW6IFY2cjs.makeTracer; exports.makeWorkerPool = _chunk2OW6IFY2cjs.makeWorkerPool; exports.managed = _chunk5RZ7YITFcjs.managed; exports.managedAll = _chunk5RZ7YITFcjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunk2OW6IFY2cjs.mapError; exports.mapLayer = _chunk5RZ7YITFcjs.mapLayer; exports.mapSchedule = _chunk5RZ7YITFcjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk5RZ7YITFcjs.maxDelay; exports.maxElapsed = _chunk5RZ7YITFcjs.maxElapsed; exports.mergeAll = _chunk5RZ7YITFcjs.mergeAll; exports.mergeLayer = _chunk5RZ7YITFcjs.merge; exports.modifyFiberRef = _chunkKNTJ7FQBcjs.modifyFiberRef; exports.namedSchedule = _chunk5RZ7YITFcjs.named; exports.never = _chunk5RZ7YITFcjs.never; exports.neverEffect = _chunk2OW6IFY2cjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk5RZ7YITFcjs.once; exports.orElse = _chunk2OW6IFY2cjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk5RZ7YITFcjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk5RZ7YITFcjs.provide; exports.provideContext = _chunk5RZ7YITFcjs.provideContext; exports.provideLayer = _chunk5RZ7YITFcjs.provideLayer; exports.provideLayerContext = _chunk5RZ7YITFcjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunk2JHJ4YHScjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunk2JHJ4YHScjs.recordAbortablePromiseStart; exports.recurs = _chunk5RZ7YITFcjs.recurs; exports.registerShutdownHooks = _chunk2OW6IFY2cjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk5RZ7YITFcjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk5RZ7YITFcjs.repeat; exports.resetAbortablePromiseStats = _chunk2JHJ4YHScjs.resetAbortablePromiseStats; exports.resource = _chunk5RZ7YITFcjs.resource; exports.resourceAll = _chunk5RZ7YITFcjs.resourceAll; exports.resourceFromManaged = _chunk5RZ7YITFcjs.resourceFromManaged; exports.resourceSucceed = _chunk5RZ7YITFcjs.resourceSucceed; exports.retry = _chunk5RZ7YITFcjs.retry; exports.retryN = _chunk5RZ7YITFcjs.retryN; exports.retryWithBackoff = _chunk5RZ7YITFcjs.retryWithBackoff; exports.retryWithSchedule = _chunk5RZ7YITFcjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk5RZ7YITFcjs.retry2; exports.runEffect = _chunk2OW6IFY2cjs.runEffect; exports.runExit = _chunk2OW6IFY2cjs.runExit; exports.runPromise = _chunk2OW6IFY2cjs.runPromise; exports.runSchedule = _chunk5RZ7YITFcjs.runSchedule; exports.runtimeClockFromEnv = _chunk2JHJ4YHScjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkWGE2FEZEcjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunk2JHJ4YHScjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkWGE2FEZEcjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk5RZ7YITFcjs.scheduleDriver; exports.serviceTag = _chunk5RZ7YITFcjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunk2JHJ4YHScjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunk2JHJ4YHScjs.setBenchmarkBudget; exports.setFiberRef = _chunkKNTJ7FQBcjs.setFiberRef; exports.sleep = _chunk5RZ7YITFcjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk5RZ7YITFcjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunk2OW6IFY2cjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunk2OW6IFY2cjs.tagError; exports.takeSchedule = _chunk5RZ7YITFcjs.take; exports.tapDecision = _chunk5RZ7YITFcjs.tapDecision; exports.timeout = _chunk5RZ7YITFcjs.timeout; exports.toPromise = _chunk2JHJ4YHScjs.toPromise; exports.toPromiseByCaller = _chunk2JHJ4YHScjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk5RZ7YITFcjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunk2JHJ4YHScjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkKNTJ7FQBcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunk2JHJ4YHScjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunk2JHJ4YHScjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkKNTJ7FQBcjs.unsafeSetFiberRef; exports.untilInput = _chunk5RZ7YITFcjs.untilInput; exports.untilOutput = _chunk5RZ7YITFcjs.untilOutput; exports.upTo = _chunk5RZ7YITFcjs.upTo; exports.updateFiberRef = _chunkKNTJ7FQBcjs.updateFiberRef; exports.useManaged = _chunk5RZ7YITFcjs.useManaged; exports.useResource = _chunk5RZ7YITFcjs.useResource; exports.useService = _chunk5RZ7YITFcjs.useService; exports.useServices = _chunk5RZ7YITFcjs.useServices; exports.whileInput = _chunk5RZ7YITFcjs.whileInput; exports.whileOutput = _chunk5RZ7YITFcjs.whileOutput; exports.windowed = _chunk5RZ7YITFcjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunk2JHJ4YHScjs.withCurrentFiber; exports.withScope = _chunk2JHJ4YHScjs.withScope; exports.withScopeAsync = _chunk2JHJ4YHScjs.withScopeAsync;
|
|
438
|
+
exports.Async = _chunkMVGUEJ5Zcjs.Async; exports.Cause = _chunkMVGUEJ5Zcjs.Cause; exports.EventBus = _chunkFYWWU3Z7cjs.EventBus; exports.Exit = _chunkMVGUEJ5Zcjs.Exit; exports.InMemoryTracer = _chunkFYWWU3Z7cjs.InMemoryTracer; exports.Layer = _chunk6STX4PS3cjs.Layer; exports.LayerContext = _chunk6STX4PS3cjs.LayerContext; exports.MissingLayerServiceError = _chunk6STX4PS3cjs.MissingLayerServiceError; exports.NoopHooks = _chunkZDZNV6NAcjs.NoopHooks; exports.Resource = _chunk6STX4PS3cjs.Resource; exports.Runtime = _chunkZDZNV6NAcjs.Runtime; exports.RuntimeFiber = _chunkZDZNV6NAcjs.RuntimeFiber; exports.RuntimeRegistry = _chunkGOEO763Kcjs.RuntimeRegistry; exports.RuntimeService = _chunkZ2YIDHRIcjs.RuntimeService; exports.Schedule = _chunk6STX4PS3cjs.Schedule; exports.Scope = _chunkZDZNV6NAcjs.Scope; exports.Supervisor = _chunkGOEO763Kcjs.Supervisor; exports.TestClock = _chunkGOEO763Kcjs.TestClock; exports.TestScheduler = _chunkGOEO763Kcjs.TestScheduler; exports.abortablePromiseStats = _chunkZDZNV6NAcjs.abortablePromiseStats; exports.acquireRelease = _chunkMVGUEJ5Zcjs.acquireRelease; exports.andThenSchedule = _chunk6STX4PS3cjs.andThen; exports.assertCompletesWithin = _chunkGOEO763Kcjs.assertCompletesWithin; exports.assertFails = _chunkGOEO763Kcjs.assertFails; exports.assertFailsWith = _chunkGOEO763Kcjs.assertFailsWith; exports.assertSucceeds = _chunkGOEO763Kcjs.assertSucceeds; exports.async = _chunkMVGUEJ5Zcjs.asyncEffect; exports.asyncCatchAll = _chunkMVGUEJ5Zcjs.asyncCatchAll; exports.asyncFail = _chunkMVGUEJ5Zcjs.asyncFail; exports.asyncFlatMap = _chunkMVGUEJ5Zcjs.asyncFlatMap; exports.asyncFold = _chunkMVGUEJ5Zcjs.asyncFold; exports.asyncInterruptible = _chunkMVGUEJ5Zcjs.asyncInterruptible; exports.asyncMap = _chunkMVGUEJ5Zcjs.asyncMap; exports.asyncMapError = _chunkMVGUEJ5Zcjs.asyncMapError; exports.asyncSucceed = _chunkMVGUEJ5Zcjs.asyncSucceed; exports.asyncSync = _chunkMVGUEJ5Zcjs.asyncSync; exports.asyncTotal = _chunkMVGUEJ5Zcjs.asyncTotal; exports.bracket = _chunk6STX4PS3cjs.bracket; exports.buildLayer = _chunk6STX4PS3cjs.buildLayer; exports.catchAll = _chunkMVGUEJ5Zcjs.catchAll; exports.catchTag = _chunkGOEO763Kcjs.catchTag; exports.catchTags = _chunkGOEO763Kcjs.catchTags; exports.composeAll = _chunk6STX4PS3cjs.composeAll; exports.composeLayer = _chunk6STX4PS3cjs.compose; exports.consoleJsonLogger = _chunkGOEO763Kcjs.consoleJsonLogger; exports.contramapSchedule = _chunk6STX4PS3cjs.contramap; exports.ctxExtend = _chunkZDZNV6NAcjs.ctxExtend; exports.ctxToObject = _chunkZDZNV6NAcjs.ctxToObject; exports.defaultTracer = _chunkGOEO763Kcjs.defaultTracer; exports.defineConfigLayer = _chunkGOEO763Kcjs.defineConfigLayer; exports.defineLayer = _chunk6STX4PS3cjs.defineLayer; exports.defineService = _chunk6STX4PS3cjs.defineService; exports.delayedEffect = _chunkGOEO763Kcjs.delayedEffect; exports.derivedRef = _chunkGOEO763Kcjs.derivedRef; exports.dumpAllFibers = _chunkGOEO763Kcjs.dumpAllFibers; exports.elapsed = _chunk6STX4PS3cjs.elapsed; exports.emptyContext = _chunkZDZNV6NAcjs.emptyContext; exports.end = _chunkMVGUEJ5Zcjs.end; exports.ensuring = _chunk6STX4PS3cjs.ensuring; exports.exponential = _chunk6STX4PS3cjs.exponential; exports.fail = _chunkMVGUEJ5Zcjs.fail; exports.fiberRefSnapshot = _chunkYQWZ7FZXcjs.fiberRefSnapshot; exports.fibonacci = _chunk6STX4PS3cjs.fibonacci; exports.fixed = _chunk6STX4PS3cjs.fixed; exports.flakyEffect = _chunkGOEO763Kcjs.flakyEffect; exports.flatMap = _chunkMVGUEJ5Zcjs.flatMap; exports.forever = _chunk6STX4PS3cjs.forever; exports.fork = _chunkZDZNV6NAcjs.fork; exports.formatCause = _chunkMVGUEJ5Zcjs.formatCause; exports.formatLayerError = _chunk6STX4PS3cjs.formatLayerError; exports.fromPromiseAbortable = _chunkZDZNV6NAcjs.fromPromiseAbortable; exports.getBenchmarkBudget = _chunkZDZNV6NAcjs.getBenchmarkBudget; exports.getCurrentFiber = _chunkZDZNV6NAcjs.getCurrentFiber; exports.getFiberRef = _chunkYQWZ7FZXcjs.getFiberRef; exports.getService = _chunk6STX4PS3cjs.getService; exports.getServices = _chunk6STX4PS3cjs.getServices; exports.gracefulShutdown = _chunkGOEO763Kcjs.gracefulShutdown; exports.interruptible = _chunkMVGUEJ5Zcjs.interruptible; exports.intersect = _chunk6STX4PS3cjs.intersect; exports.isCause = _chunkMVGUEJ5Zcjs.isCause; exports.jitter = _chunk6STX4PS3cjs.jitter; exports.jittered = _chunk6STX4PS3cjs.jittered; exports.jitteredSchedule = _chunk6STX4PS3cjs.jitteredSchedule; exports.joinSupervised = _chunkGOEO763Kcjs.joinSupervised; exports.layer = _chunk6STX4PS3cjs.layer; exports.layerEffect = _chunk6STX4PS3cjs.layerEffect; exports.layerFail = _chunk6STX4PS3cjs.layerFail; exports.layerFrom = _chunk6STX4PS3cjs.layerFrom; exports.layerFromContext = _chunk6STX4PS3cjs.layerFromContext; exports.layerSucceed = _chunk6STX4PS3cjs.layerSucceed; exports.layerValue = _chunk6STX4PS3cjs.layerValue; exports.linear = _chunk6STX4PS3cjs.linear; exports.linkAbortController = _chunkGOEO763Kcjs.linkAbortController; exports.liveClock = _chunkZDZNV6NAcjs.liveClock; exports.locallyFiberRef = _chunkYQWZ7FZXcjs.locallyFiberRef; exports.locallyFiberRefWith = _chunkYQWZ7FZXcjs.locallyFiberRefWith; exports.makeCancelToken = _chunkGOEO763Kcjs.makeCancelToken; exports.makeCircuitBreaker = _chunk7TKI527Dcjs.makeCircuitBreaker; exports.makeConfigLayer = _chunkGOEO763Kcjs.makeConfigLayer; exports.makeFiberRef = _chunkYQWZ7FZXcjs.makeFiberRef; exports.makeLayerScope = _chunk6STX4PS3cjs.makeLayerScope; exports.makeMetrics = _chunkFYWWU3Z7cjs.makeMetrics; exports.makeRef = _chunkGOEO763Kcjs.makeRef; exports.makeResource = _chunk6STX4PS3cjs.makeResource; exports.makeRuntime = _chunkGOEO763Kcjs.makeRuntime; exports.makeRuntimeEventRecord = _chunkFYWWU3Z7cjs.makeRuntimeEventRecord; exports.makeRuntimeLayer = _chunkZ2YIDHRIcjs.makeRuntimeLayer; exports.makeRuntimeRecorder = _chunkYQWZ7FZXcjs.makeRuntimeRecorder; exports.makeScheduleDriver = _chunk6STX4PS3cjs.makeScheduleDriver; exports.makeSemaphore = _chunkGOEO763Kcjs.makeSemaphore; exports.makeServiceTag = _chunk6STX4PS3cjs.makeServiceTag; exports.makeSupervisor = _chunkGOEO763Kcjs.makeSupervisor; exports.makeTestLayer = _chunk6STX4PS3cjs.makeTestLayer; exports.makeTestLayers = _chunk6STX4PS3cjs.makeTestLayers; exports.makeTestRuntime = _chunkGOEO763Kcjs.makeTestRuntime; exports.makeTracer = _chunkGOEO763Kcjs.makeTracer; exports.makeWorkerPool = _chunkGOEO763Kcjs.makeWorkerPool; exports.managed = _chunk6STX4PS3cjs.managed; exports.managedAll = _chunk6STX4PS3cjs.managedAll; exports.map = _chunkMVGUEJ5Zcjs.map; exports.mapAsync = _chunkMVGUEJ5Zcjs.mapAsync; exports.mapError = _chunkMVGUEJ5Zcjs.mapError; exports.mapErrorTyped = _chunkGOEO763Kcjs.mapError; exports.mapLayer = _chunk6STX4PS3cjs.mapLayer; exports.mapSchedule = _chunk6STX4PS3cjs.map; exports.mapTryAsync = _chunkMVGUEJ5Zcjs.mapTryAsync; exports.maxDelay = _chunk6STX4PS3cjs.maxDelay; exports.maxElapsed = _chunk6STX4PS3cjs.maxElapsed; exports.mergeAll = _chunk6STX4PS3cjs.mergeAll; exports.mergeLayer = _chunk6STX4PS3cjs.merge; exports.modifyFiberRef = _chunkYQWZ7FZXcjs.modifyFiberRef; exports.namedSchedule = _chunk6STX4PS3cjs.named; exports.never = _chunk6STX4PS3cjs.never; exports.neverEffect = _chunkGOEO763Kcjs.neverEffect; exports.none = _chunkMVGUEJ5Zcjs.none; exports.once = _chunk6STX4PS3cjs.once; exports.orElse = _chunkGOEO763Kcjs.orElse; exports.orElseOptional = _chunkMVGUEJ5Zcjs.orElseOptional; exports.pollWithSchedule = _chunk6STX4PS3cjs.poll; exports.prettyCause = _chunkMVGUEJ5Zcjs.prettyCause; exports.provide = _chunk6STX4PS3cjs.provide; exports.provideContext = _chunk6STX4PS3cjs.provideContext; exports.provideLayer = _chunk6STX4PS3cjs.provideLayer; exports.provideLayerContext = _chunk6STX4PS3cjs.provideLayerContext; exports.recordAbortablePromiseFinish = _chunkZDZNV6NAcjs.recordAbortablePromiseFinish; exports.recordAbortablePromiseStart = _chunkZDZNV6NAcjs.recordAbortablePromiseStart; exports.recurs = _chunk6STX4PS3cjs.recurs; exports.registerShutdownHooks = _chunkGOEO763Kcjs.registerShutdownHooks; exports.repeatWithSchedule = _chunk6STX4PS3cjs.repeatWithSchedule; exports.repeatWithScheduleAlias = _chunk6STX4PS3cjs.repeat; exports.resetAbortablePromiseStats = _chunkZDZNV6NAcjs.resetAbortablePromiseStats; exports.resource = _chunk6STX4PS3cjs.resource; exports.resourceAll = _chunk6STX4PS3cjs.resourceAll; exports.resourceFromManaged = _chunk6STX4PS3cjs.resourceFromManaged; exports.resourceSucceed = _chunk6STX4PS3cjs.resourceSucceed; exports.retry = _chunk6STX4PS3cjs.retry; exports.retryN = _chunk6STX4PS3cjs.retryN; exports.retryWithBackoff = _chunk6STX4PS3cjs.retryWithBackoff; exports.retryWithSchedule = _chunk6STX4PS3cjs.retryWithSchedule; exports.retryWithScheduleAlias = _chunk6STX4PS3cjs.retry2; exports.runEffect = _chunkGOEO763Kcjs.runEffect; exports.runExit = _chunkGOEO763Kcjs.runExit; exports.runPromise = _chunkGOEO763Kcjs.runPromise; exports.runSchedule = _chunk6STX4PS3cjs.runSchedule; exports.runtimeClockFromEnv = _chunkZDZNV6NAcjs.runtimeClockFromEnv; exports.runtimeEventRecordContext = _chunkFYWWU3Z7cjs.runtimeEventRecordContext; exports.runtimeForCaller = _chunkZDZNV6NAcjs.runtimeForCaller; exports.runtimeHooksToEventHandler = _chunkFYWWU3Z7cjs.runtimeHooksToEventHandler; exports.scheduleDriver = _chunk6STX4PS3cjs.scheduleDriver; exports.serviceTag = _chunk6STX4PS3cjs.serviceTag; exports.setAbortablePromisePerLabelTracking = _chunkZDZNV6NAcjs.setAbortablePromisePerLabelTracking; exports.setBenchmarkBudget = _chunkZDZNV6NAcjs.setBenchmarkBudget; exports.setFiberRef = _chunkYQWZ7FZXcjs.setFiberRef; exports.sleep = _chunk6STX4PS3cjs.sleep; exports.some = _chunkMVGUEJ5Zcjs.some; exports.spaced = _chunk6STX4PS3cjs.spaced; exports.succeed = _chunkMVGUEJ5Zcjs.succeed; exports.supervise = _chunkGOEO763Kcjs.supervise; exports.sync = _chunkMVGUEJ5Zcjs.sync; exports.tagError = _chunkGOEO763Kcjs.tagError; exports.takeSchedule = _chunk6STX4PS3cjs.take; exports.tapDecision = _chunk6STX4PS3cjs.tapDecision; exports.timeout = _chunk6STX4PS3cjs.timeout; exports.toPromise = _chunkZDZNV6NAcjs.toPromise; exports.toPromiseByCaller = _chunkZDZNV6NAcjs.toPromiseByCaller; exports.uninterruptible = _chunkMVGUEJ5Zcjs.uninterruptible; exports.uninterruptibleMask = _chunkMVGUEJ5Zcjs.uninterruptibleMask; exports.union = _chunk6STX4PS3cjs.union; exports.unit = _chunkMVGUEJ5Zcjs.unit; exports.unsafeGetCurrentRuntime = _chunkZDZNV6NAcjs.unsafeGetCurrentRuntime; exports.unsafeGetFiberRef = _chunkYQWZ7FZXcjs.unsafeGetFiberRef; exports.unsafeRunAsync = _chunkZDZNV6NAcjs.unsafeRunAsync; exports.unsafeRunFoldWithEnv = _chunkZDZNV6NAcjs.unsafeRunFoldWithEnv; exports.unsafeSetFiberRef = _chunkYQWZ7FZXcjs.unsafeSetFiberRef; exports.untilInput = _chunk6STX4PS3cjs.untilInput; exports.untilOutput = _chunk6STX4PS3cjs.untilOutput; exports.upTo = _chunk6STX4PS3cjs.upTo; exports.updateFiberRef = _chunkYQWZ7FZXcjs.updateFiberRef; exports.useManaged = _chunk6STX4PS3cjs.useManaged; exports.useResource = _chunk6STX4PS3cjs.useResource; exports.useService = _chunk6STX4PS3cjs.useService; exports.useServices = _chunk6STX4PS3cjs.useServices; exports.whileInput = _chunk6STX4PS3cjs.whileInput; exports.whileOutput = _chunk6STX4PS3cjs.whileOutput; exports.windowed = _chunk6STX4PS3cjs.windowed; exports.withAsyncPromise = _chunkMVGUEJ5Zcjs.withAsyncPromise; exports.withCurrentFiber = _chunkZDZNV6NAcjs.withCurrentFiber; exports.withScope = _chunkZDZNV6NAcjs.withScope; exports.withScopeAsync = _chunkZDZNV6NAcjs.withScopeAsync;
|
package/dist/core/index.js
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
runPromise,
|
|
38
38
|
supervise,
|
|
39
39
|
tagError
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-H4ZRUQZL.js";
|
|
41
41
|
import {
|
|
42
42
|
makeCircuitBreaker
|
|
43
43
|
} from "../chunk-YM3EDNYD.js";
|
|
@@ -53,11 +53,11 @@ import {
|
|
|
53
53
|
unsafeGetFiberRef,
|
|
54
54
|
unsafeSetFiberRef,
|
|
55
55
|
updateFiberRef
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-GXOIUBKE.js";
|
|
57
57
|
import {
|
|
58
58
|
RuntimeService,
|
|
59
59
|
makeRuntimeLayer
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-FC5N5QHJ.js";
|
|
61
61
|
import {
|
|
62
62
|
EventBus,
|
|
63
63
|
InMemoryTracer,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
makeRuntimeEventRecord,
|
|
66
66
|
runtimeEventRecordContext,
|
|
67
67
|
runtimeHooksToEventHandler
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-B2VXVNIS.js";
|
|
69
69
|
import {
|
|
70
70
|
Layer,
|
|
71
71
|
LayerContext,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
whileInput,
|
|
155
155
|
whileOutput,
|
|
156
156
|
windowed
|
|
157
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-EXBGIC66.js";
|
|
158
158
|
import {
|
|
159
159
|
NoopHooks,
|
|
160
160
|
Runtime,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
withCurrentFiber,
|
|
185
185
|
withScope,
|
|
186
186
|
withScopeAsync
|
|
187
|
-
} from "../chunk-
|
|
187
|
+
} from "../chunk-APQBU7TM.js";
|
|
188
188
|
import {
|
|
189
189
|
Async,
|
|
190
190
|
Cause,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
unit,
|
|
224
224
|
withAsyncPromise
|
|
225
225
|
} from "../chunk-UB4B6OFY.js";
|
|
226
|
-
import "../chunk-
|
|
226
|
+
import "../chunk-FNWOH2T2.js";
|
|
227
227
|
import "../chunk-3RG5ZIWI.js";
|
|
228
228
|
export {
|
|
229
229
|
Async,
|
package/dist/core/index.mjs
CHANGED
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
runPromise,
|
|
38
38
|
supervise,
|
|
39
39
|
tagError
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-5UBJT4RW.mjs";
|
|
41
41
|
import {
|
|
42
42
|
makeCircuitBreaker
|
|
43
43
|
} from "../chunk-KTGDLBLD.mjs";
|
|
@@ -53,11 +53,11 @@ import {
|
|
|
53
53
|
unsafeGetFiberRef,
|
|
54
54
|
unsafeSetFiberRef,
|
|
55
55
|
updateFiberRef
|
|
56
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-EKLEDIVJ.mjs";
|
|
57
57
|
import {
|
|
58
58
|
RuntimeService,
|
|
59
59
|
makeRuntimeLayer
|
|
60
|
-
} from "../chunk-
|
|
60
|
+
} from "../chunk-3NKXUX4T.mjs";
|
|
61
61
|
import {
|
|
62
62
|
EventBus,
|
|
63
63
|
InMemoryTracer,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
makeRuntimeEventRecord,
|
|
66
66
|
runtimeEventRecordContext,
|
|
67
67
|
runtimeHooksToEventHandler
|
|
68
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-KAPZHDO4.mjs";
|
|
69
69
|
import {
|
|
70
70
|
Layer,
|
|
71
71
|
LayerContext,
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
whileInput,
|
|
155
155
|
whileOutput,
|
|
156
156
|
windowed
|
|
157
|
-
} from "../chunk-
|
|
157
|
+
} from "../chunk-KDXNWGPB.mjs";
|
|
158
158
|
import {
|
|
159
159
|
NoopHooks,
|
|
160
160
|
Runtime,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
withCurrentFiber,
|
|
185
185
|
withScope,
|
|
186
186
|
withScopeAsync
|
|
187
|
-
} from "../chunk-
|
|
187
|
+
} from "../chunk-MUMBUXU6.mjs";
|
|
188
188
|
import {
|
|
189
189
|
Async,
|
|
190
190
|
Cause,
|
|
@@ -223,7 +223,7 @@ import {
|
|
|
223
223
|
unit,
|
|
224
224
|
withAsyncPromise
|
|
225
225
|
} from "../chunk-36I3M4UC.mjs";
|
|
226
|
-
import "../chunk-
|
|
226
|
+
import "../chunk-UZQ3BB6W.mjs";
|
|
227
227
|
import "../chunk-Y6FXYEAI.mjs";
|
|
228
228
|
export {
|
|
229
229
|
Async,
|
package/dist/http/index.cjs
CHANGED
|
@@ -5,8 +5,8 @@ var _chunk7TKI527Dcjs = require('../chunk-7TKI527D.cjs');
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('../chunk-
|
|
8
|
+
var _chunkDV644N7Pcjs = require('../chunk-DV644N7P.cjs');
|
|
9
|
+
require('../chunk-FYWWU3Z7.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
@@ -105,23 +105,23 @@ require('../chunk-WGE2FEZE.cjs');
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
|
|
108
|
-
var
|
|
108
|
+
var _chunk7FZUTJM3cjs = require('../chunk-7FZUTJM3.cjs');
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
var _chunkL6VB5N7Qcjs = require('../chunk-L6VB5N7Q.cjs');
|
|
112
|
-
require('../chunk-
|
|
112
|
+
require('../chunk-OO7BGCC3.cjs');
|
|
113
113
|
require('../chunk-SA6HUJVI.cjs');
|
|
114
114
|
|
|
115
115
|
|
|
116
116
|
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
var
|
|
119
|
+
var _chunk6STX4PS3cjs = require('../chunk-6STX4PS3.cjs');
|
|
120
120
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
|
|
124
|
-
var
|
|
124
|
+
var _chunkZDZNV6NAcjs = require('../chunk-ZDZNV6NA.cjs');
|
|
125
125
|
|
|
126
126
|
|
|
127
127
|
|
|
@@ -145,7 +145,7 @@ var _chunkMVGUEJ5Zcjs = require('../chunk-MVGUEJ5Z.cjs');
|
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
var
|
|
148
|
+
var _chunkKPOL2YEOcjs = require('../chunk-KPOL2YEO.cjs');
|
|
149
149
|
require('../chunk-OBGZSXTJ.cjs');
|
|
150
150
|
|
|
151
151
|
// src/http/nodeTransport.ts
|
|
@@ -180,7 +180,7 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
if (signal.aborted) {
|
|
183
|
-
cb({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(
|
|
183
|
+
cb({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunk7FZUTJM3cjs.abortErrorForSignal.call(void 0, signal)) });
|
|
184
184
|
return;
|
|
185
185
|
}
|
|
186
186
|
const started = nowMs();
|
|
@@ -197,12 +197,12 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
|
|
|
197
197
|
const fail = (error) => {
|
|
198
198
|
finish({
|
|
199
199
|
_tag: "Failure",
|
|
200
|
-
cause: _chunkMVGUEJ5Zcjs.Cause.fail(
|
|
200
|
+
cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunk7FZUTJM3cjs.normalizeHttpError.call(void 0, error, { signal }))
|
|
201
201
|
});
|
|
202
202
|
};
|
|
203
203
|
const options = {
|
|
204
204
|
method: request.method,
|
|
205
|
-
headers:
|
|
205
|
+
headers: _chunk7FZUTJM3cjs.Request.headers.get(request),
|
|
206
206
|
agent: isHttps ? httpsAgent : httpAgent,
|
|
207
207
|
signal
|
|
208
208
|
};
|
|
@@ -218,7 +218,7 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
|
|
|
218
218
|
value: {
|
|
219
219
|
status: _nullishCoalesce(response.statusCode, () => ( 0)),
|
|
220
220
|
statusText: _nullishCoalesce(response.statusMessage, () => ( "")),
|
|
221
|
-
headers:
|
|
221
|
+
headers: _chunk7FZUTJM3cjs.normalizeHttpHeaders.call(void 0, response.headers),
|
|
222
222
|
bodyText: Buffer.concat(chunks, byteLength).toString("utf8"),
|
|
223
223
|
ms: Math.round(nowMs() - started)
|
|
224
224
|
}
|
|
@@ -228,7 +228,7 @@ function runNodeRequest(context, config, httpAgent, httpsAgent) {
|
|
|
228
228
|
});
|
|
229
229
|
abort = () => {
|
|
230
230
|
nodeRequest.destroy(isError(signal.reason) ? signal.reason : void 0);
|
|
231
|
-
finish({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(
|
|
231
|
+
finish({ _tag: "Failure", cause: _chunkMVGUEJ5Zcjs.Cause.fail(_chunk7FZUTJM3cjs.abortErrorForSignal.call(void 0, signal)) });
|
|
232
232
|
};
|
|
233
233
|
signal.addEventListener("abort", abort, { once: true });
|
|
234
234
|
nodeRequest.on("error", fail);
|
|
@@ -274,7 +274,7 @@ function makeNodeHttpProxyClient(config = {}) {
|
|
|
274
274
|
nodeTransport,
|
|
275
275
|
...clientConfig
|
|
276
276
|
} = config;
|
|
277
|
-
return
|
|
277
|
+
return _chunk7FZUTJM3cjs.makeDefaultHttpClient.call(void 0, {
|
|
278
278
|
...clientConfig,
|
|
279
279
|
preset,
|
|
280
280
|
transport: _nullishCoalesce(transport, () => ( makeNodeHttpTransport(nodeTransport)))
|
|
@@ -290,8 +290,8 @@ var resolveFinalUrl = (baseUrl, url) => {
|
|
|
290
290
|
}
|
|
291
291
|
};
|
|
292
292
|
var createHttpCore = (cfg = {}) => {
|
|
293
|
-
const wire =
|
|
294
|
-
const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) =>
|
|
293
|
+
const wire = _chunk7FZUTJM3cjs.makeHttp.call(void 0, cfg);
|
|
294
|
+
const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) => _chunkZDZNV6NAcjs.toPromise.call(void 0, e, env))(eff);
|
|
295
295
|
const requestRaw = (req) => wire(req);
|
|
296
296
|
const toResponse = (w, body) => ({
|
|
297
297
|
status: w.status,
|
|
@@ -300,7 +300,7 @@ var createHttpCore = (cfg = {}) => {
|
|
|
300
300
|
body
|
|
301
301
|
});
|
|
302
302
|
const decodeResponse = (w, validator, schemaName) => _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
|
|
303
|
-
|
|
303
|
+
_chunk7FZUTJM3cjs.decodeJsonBodyEffect.call(void 0, w.bodyText, validator, { schemaName }),
|
|
304
304
|
(body) => _chunkMVGUEJ5Zcjs.asyncSucceed.call(void 0, toResponse(w, body))
|
|
305
305
|
);
|
|
306
306
|
return {
|
|
@@ -308,7 +308,7 @@ var createHttpCore = (cfg = {}) => {
|
|
|
308
308
|
wire,
|
|
309
309
|
withPromise,
|
|
310
310
|
requestRaw,
|
|
311
|
-
buildReq:
|
|
311
|
+
buildReq: _chunk7FZUTJM3cjs.buildHttpRequest,
|
|
312
312
|
toResponse,
|
|
313
313
|
decodeResponse
|
|
314
314
|
};
|
|
@@ -326,17 +326,17 @@ function httpClient(cfg = {}) {
|
|
|
326
326
|
};
|
|
327
327
|
const getJson = ((url, init) => {
|
|
328
328
|
const base = core.buildReq("GET", url, init);
|
|
329
|
-
const req =
|
|
329
|
+
const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base);
|
|
330
330
|
return core.withPromise(_chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0, requestRaw(req), (w) => core.decodeResponse(w, _optionalChain([init, 'optionalAccess', _ => _.schema]), _optionalChain([init, 'optionalAccess', _2 => _2.schemaName]))));
|
|
331
331
|
});
|
|
332
332
|
const postJson = ((url, bodyObj, init) => {
|
|
333
333
|
return core.withPromise(
|
|
334
334
|
_chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
|
|
335
|
-
|
|
335
|
+
_chunk7FZUTJM3cjs.encodeJsonBodyEffect.call(void 0, bodyObj, _optionalChain([init, 'optionalAccess', _3 => _3.bodySchema]), { schemaName: _optionalChain([init, 'optionalAccess', _4 => _4.bodySchemaName]) }),
|
|
336
336
|
(bodyText) => {
|
|
337
337
|
const base = core.buildReq("POST", url, init, bodyText);
|
|
338
|
-
const req =
|
|
339
|
-
|
|
338
|
+
const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "content-type", "application/json")(
|
|
339
|
+
_chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base)
|
|
340
340
|
);
|
|
341
341
|
return _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0, requestRaw(req), (w) => core.decodeResponse(w, _optionalChain([init, 'optionalAccess', _5 => _5.schema]), _optionalChain([init, 'optionalAccess', _6 => _6.schemaName])));
|
|
342
342
|
}
|
|
@@ -351,7 +351,7 @@ function httpClient(cfg = {}) {
|
|
|
351
351
|
getJson,
|
|
352
352
|
postJson,
|
|
353
353
|
with: (mw) => make(wire.with(mw)),
|
|
354
|
-
withRetry: (p) => make(wire.with(
|
|
354
|
+
withRetry: (p) => make(wire.with(_chunk7FZUTJM3cjs.withRetry.call(void 0, p))),
|
|
355
355
|
wire,
|
|
356
356
|
stats: () => wire.stats()
|
|
357
357
|
};
|
|
@@ -387,11 +387,11 @@ function httpClientWithMeta(cfg = {}) {
|
|
|
387
387
|
const startedAt = Date.now();
|
|
388
388
|
return core.withPromise(
|
|
389
389
|
_chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
|
|
390
|
-
|
|
390
|
+
_chunk7FZUTJM3cjs.encodeJsonBodyEffect.call(void 0, bodyObj, _optionalChain([init, 'optionalAccess', _7 => _7.bodySchema]), { schemaName: _optionalChain([init, 'optionalAccess', _8 => _8.bodySchemaName]) }),
|
|
391
391
|
(bodyText) => {
|
|
392
392
|
const base = core.buildReq("POST", url, init, bodyText);
|
|
393
|
-
const req =
|
|
394
|
-
|
|
393
|
+
const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "content-type", "application/json")(
|
|
394
|
+
_chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base)
|
|
395
395
|
);
|
|
396
396
|
return _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
|
|
397
397
|
core.requestRaw(req),
|
|
@@ -421,7 +421,7 @@ function httpClientWithMeta(cfg = {}) {
|
|
|
421
421
|
};
|
|
422
422
|
const getJson = (url, init) => {
|
|
423
423
|
const base = core.buildReq("GET", url, init);
|
|
424
|
-
const req =
|
|
424
|
+
const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "application/json")(base);
|
|
425
425
|
const startedAt = Date.now();
|
|
426
426
|
return core.withPromise(
|
|
427
427
|
_chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
|
|
@@ -453,13 +453,13 @@ function httpClientWithMeta(cfg = {}) {
|
|
|
453
453
|
};
|
|
454
454
|
}
|
|
455
455
|
function httpClientStream(cfg = {}) {
|
|
456
|
-
const wire =
|
|
456
|
+
const wire = _chunk7FZUTJM3cjs.makeHttpStream.call(void 0, cfg);
|
|
457
457
|
const make = (w) => {
|
|
458
|
-
const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) =>
|
|
458
|
+
const withPromise = (eff) => _chunkMVGUEJ5Zcjs.withAsyncPromise.call(void 0, (e, env) => _chunkZDZNV6NAcjs.toPromise.call(void 0, e, env))(eff);
|
|
459
459
|
const request = (req) => withPromise(w(req));
|
|
460
460
|
const getStream = (url, init) => {
|
|
461
461
|
const base = { method: "GET", url, init };
|
|
462
|
-
const req =
|
|
462
|
+
const req = _chunk7FZUTJM3cjs.setHeaderIfMissing.call(void 0, "accept", "*/*")(base);
|
|
463
463
|
return request(req);
|
|
464
464
|
};
|
|
465
465
|
return {
|
|
@@ -467,7 +467,7 @@ function httpClientStream(cfg = {}) {
|
|
|
467
467
|
getStream,
|
|
468
468
|
get: getStream,
|
|
469
469
|
with: (mw) => make(mw(w)),
|
|
470
|
-
withRetry: (p) => make(
|
|
470
|
+
withRetry: (p) => make(_chunk7FZUTJM3cjs.withRetryStream.call(void 0, p)(w)),
|
|
471
471
|
wire: w,
|
|
472
472
|
stats: () => w.stats()
|
|
473
473
|
};
|
|
@@ -565,7 +565,7 @@ function resolveAdaptiveLimiter(config, next) {
|
|
|
565
565
|
function resolveAdaptiveLimiterKey(config, limiter, req) {
|
|
566
566
|
if (!limiter) return void 0;
|
|
567
567
|
if (config.adaptiveLimiterKey) return config.adaptiveLimiterKey(req);
|
|
568
|
-
const poolKey =
|
|
568
|
+
const poolKey = _chunk7FZUTJM3cjs.getHttpRequestPolicy.call(void 0, req).poolKey;
|
|
569
569
|
if (poolKey) return poolKey;
|
|
570
570
|
if (limiter.keyResolver === "global") return "global";
|
|
571
571
|
try {
|
|
@@ -616,11 +616,11 @@ function withLogging(logger) {
|
|
|
616
616
|
logger({ phase: "request", req });
|
|
617
617
|
} catch (e5) {
|
|
618
618
|
}
|
|
619
|
-
const startedAt =
|
|
619
|
+
const startedAt = _chunk7FZUTJM3cjs.now.call(void 0, );
|
|
620
620
|
return _chunkMVGUEJ5Zcjs.asyncFold.call(void 0,
|
|
621
621
|
next(req),
|
|
622
622
|
(error) => {
|
|
623
|
-
const durationMs = Math.round(
|
|
623
|
+
const durationMs = Math.round(_chunk7FZUTJM3cjs.now.call(void 0, ) - startedAt);
|
|
624
624
|
try {
|
|
625
625
|
logger({ phase: "error", req, error, durationMs });
|
|
626
626
|
} catch (e6) {
|
|
@@ -628,7 +628,7 @@ function withLogging(logger) {
|
|
|
628
628
|
return _chunkMVGUEJ5Zcjs.asyncFail.call(void 0, error);
|
|
629
629
|
},
|
|
630
630
|
(res) => {
|
|
631
|
-
const durationMs = Math.round(
|
|
631
|
+
const durationMs = Math.round(_chunk7FZUTJM3cjs.now.call(void 0, ) - startedAt);
|
|
632
632
|
try {
|
|
633
633
|
logger({ phase: "response", req, res, durationMs });
|
|
634
634
|
} catch (e7) {
|
|
@@ -884,7 +884,7 @@ function prewarmConnections(config = {}) {
|
|
|
884
884
|
const fetchImpl = _nullishCoalesce(config.fetchImpl, () => ( globalThis.fetch));
|
|
885
885
|
const method = _nullishCoalesce(config.method, () => ( "HEAD"));
|
|
886
886
|
const targets = resolveTargets(config);
|
|
887
|
-
return
|
|
887
|
+
return _chunkZDZNV6NAcjs.fromPromiseAbortable.call(void 0,
|
|
888
888
|
async (signal) => {
|
|
889
889
|
if (typeof fetchImpl !== "function" || targets.length === 0) {
|
|
890
890
|
return { attempted: 0, warmed: 0, failed: 0, skipped: targets.length, attempts: [] };
|
|
@@ -1092,10 +1092,10 @@ function makeBuilder(config) {
|
|
|
1092
1092
|
prewarm: (layer = {}) => setLayer("prewarm", layer),
|
|
1093
1093
|
noPrewarm: () => setLayer("prewarm", false),
|
|
1094
1094
|
adaptiveLimiter: (layer = {}) => setLayer("adaptiveLimiter", layer),
|
|
1095
|
-
adaptiveLimiterPreset: (preset, overrides = {}) => setLayer("adaptiveLimiter",
|
|
1096
|
-
conservativeLimiter: (overrides = {}) => setLayer("adaptiveLimiter",
|
|
1097
|
-
balancedLimiter: (overrides = {}) => setLayer("adaptiveLimiter",
|
|
1098
|
-
aggressiveLimiter: (overrides = {}) => setLayer("adaptiveLimiter",
|
|
1095
|
+
adaptiveLimiterPreset: (preset, overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, preset, overrides)),
|
|
1096
|
+
conservativeLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, "conservative", overrides)),
|
|
1097
|
+
balancedLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, "balanced", overrides)),
|
|
1098
|
+
aggressiveLimiter: (overrides = {}) => setLayer("adaptiveLimiter", _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig.call(void 0, "aggressive", overrides)),
|
|
1099
1099
|
noAdaptiveLimiter: () => setLayer("adaptiveLimiter", false),
|
|
1100
1100
|
pool: (layer = {}) => setLayer("pool", layer),
|
|
1101
1101
|
noPool: () => setLayer("pool", false),
|
|
@@ -1104,8 +1104,8 @@ function makeBuilder(config) {
|
|
|
1104
1104
|
middleware,
|
|
1105
1105
|
use: middleware,
|
|
1106
1106
|
configure: (next) => makeBuilder(mergeConfig(config, next)),
|
|
1107
|
-
build: () =>
|
|
1108
|
-
buildWire: () =>
|
|
1107
|
+
build: () => _chunk7FZUTJM3cjs.makeDefaultHttpClient.call(void 0, freezeConfig(config)),
|
|
1108
|
+
buildWire: () => _chunk7FZUTJM3cjs.makeDefaultHttpClient.call(void 0, freezeConfig(config)).wire
|
|
1109
1109
|
});
|
|
1110
1110
|
}
|
|
1111
1111
|
function httpClientBuilder(config = {}) {
|
|
@@ -1173,7 +1173,7 @@ function makeRuntimeHealthRoute(options = {}) {
|
|
|
1173
1173
|
"GET",
|
|
1174
1174
|
path,
|
|
1175
1175
|
() => _chunkMVGUEJ5Zcjs.asyncFlatMap.call(void 0,
|
|
1176
|
-
|
|
1176
|
+
_chunkDV644N7Pcjs.makeRuntimeHealth.call(void 0, healthOptions),
|
|
1177
1177
|
(report) => _chunkMVGUEJ5Zcjs.asyncSucceed.call(void 0, healthReportToServerResponse(report))
|
|
1178
1178
|
)
|
|
1179
1179
|
);
|
|
@@ -1196,7 +1196,7 @@ function withResponseHeader(name, value) {
|
|
|
1196
1196
|
);
|
|
1197
1197
|
}
|
|
1198
1198
|
function healthReportToServerResponse(report) {
|
|
1199
|
-
return healthHttpResponseToServerResponse(
|
|
1199
|
+
return healthHttpResponseToServerResponse(_chunkDV644N7Pcjs.healthToHttpResponse.call(void 0, report));
|
|
1200
1200
|
}
|
|
1201
1201
|
function healthHttpResponseToServerResponse(response) {
|
|
1202
1202
|
return {
|
|
@@ -1259,7 +1259,7 @@ function makeNodeHttpServer(options) {
|
|
|
1259
1259
|
});
|
|
1260
1260
|
}
|
|
1261
1261
|
function nodeHttpServerResource(options) {
|
|
1262
|
-
return
|
|
1262
|
+
return _chunk6STX4PS3cjs.resource.call(void 0,
|
|
1263
1263
|
makeNodeHttpServer(options),
|
|
1264
1264
|
(handle) => _chunkMVGUEJ5Zcjs.asyncEffect.call(void 0, (_env, cb) => {
|
|
1265
1265
|
handle.close().then(() => cb({ _tag: "Success", value: void 0 })).catch(() => cb({ _tag: "Success", value: void 0 }));
|
|
@@ -1338,7 +1338,7 @@ function prepareRouteContext(request, params, routeWithSchemas) {
|
|
|
1338
1338
|
body: request.bodyText,
|
|
1339
1339
|
phase: "request",
|
|
1340
1340
|
schema: _nullishCoalesce(routeWithSchemas.options.bodySchemaName, () => ( "body")),
|
|
1341
|
-
issues: [
|
|
1341
|
+
issues: [_chunkKPOL2YEOcjs.makeSchemaIssue.call(void 0, [], "valid JSON", request.bodyText, bodyInput.message)]
|
|
1342
1342
|
})
|
|
1343
1343
|
};
|
|
1344
1344
|
}
|
|
@@ -1362,12 +1362,12 @@ function prepareRouteContext(request, params, routeWithSchemas) {
|
|
|
1362
1362
|
function validateResponseBody(response, routeWithSchemas) {
|
|
1363
1363
|
const schema2 = routeWithSchemas.options.response;
|
|
1364
1364
|
if (!schema2) return { success: true };
|
|
1365
|
-
const result =
|
|
1365
|
+
const result = _chunkKPOL2YEOcjs.validateValue.call(void 0, response.body, schema2);
|
|
1366
1366
|
if (result.success) return { success: true };
|
|
1367
1367
|
return {
|
|
1368
1368
|
success: false,
|
|
1369
1369
|
error: makeValidationError({
|
|
1370
|
-
message: `HTTP response failed validation: ${
|
|
1370
|
+
message: `HTTP response failed validation: ${_chunkKPOL2YEOcjs.formatIssues.call(void 0, result.issues)}`,
|
|
1371
1371
|
body: previewJson(response.body),
|
|
1372
1372
|
phase: "response",
|
|
1373
1373
|
schema: _nullishCoalesce(routeWithSchemas.options.responseSchemaName, () => ( "response")),
|
|
@@ -1377,12 +1377,12 @@ function validateResponseBody(response, routeWithSchemas) {
|
|
|
1377
1377
|
}
|
|
1378
1378
|
function validatePart(input, schema2, options) {
|
|
1379
1379
|
if (!schema2) return { success: true, data: input };
|
|
1380
|
-
const result =
|
|
1380
|
+
const result = _chunkKPOL2YEOcjs.validateValue.call(void 0, input, schema2);
|
|
1381
1381
|
if (result.success) return { success: true, data: result.data };
|
|
1382
1382
|
return {
|
|
1383
1383
|
success: false,
|
|
1384
1384
|
error: makeValidationError({
|
|
1385
|
-
message: `HTTP ${options.schemaName} failed validation: ${
|
|
1385
|
+
message: `HTTP ${options.schemaName} failed validation: ${_chunkKPOL2YEOcjs.formatIssues.call(void 0, result.issues)}`,
|
|
1386
1386
|
body: options.body,
|
|
1387
1387
|
phase: options.phase,
|
|
1388
1388
|
schema: options.schemaName,
|
|
@@ -1440,7 +1440,7 @@ async function handleNodeRequest(req, res, router, options) {
|
|
|
1440
1440
|
target: serverRequest.target,
|
|
1441
1441
|
headers: serverRequest.headers
|
|
1442
1442
|
};
|
|
1443
|
-
const response = options.observability ? (await
|
|
1443
|
+
const response = options.observability ? (await _chunkDV644N7Pcjs.runObservedHttpServerEffect.call(void 0,
|
|
1444
1444
|
options.observability,
|
|
1445
1445
|
observedInput,
|
|
1446
1446
|
effect,
|
|
@@ -1450,7 +1450,7 @@ async function handleNodeRequest(req, res, router, options) {
|
|
|
1450
1450
|
},
|
|
1451
1451
|
options.env,
|
|
1452
1452
|
options.runtimeOptions
|
|
1453
|
-
)).value : await (_nullishCoalesce(options.runtime, () => ( new (0,
|
|
1453
|
+
)).value : await (_nullishCoalesce(options.runtime, () => ( new (0, _chunkZDZNV6NAcjs.Runtime)({
|
|
1454
1454
|
env: _nullishCoalesce(options.env, () => ( {})),
|
|
1455
1455
|
..._nullishCoalesce(options.runtimeOptions, () => ( {}))
|
|
1456
1456
|
})))).toPromise(effect);
|
|
@@ -1536,7 +1536,7 @@ function closeNodeServer(server, options) {
|
|
|
1536
1536
|
return new Promise((resolve, reject) => {
|
|
1537
1537
|
const startedAt = Date.now();
|
|
1538
1538
|
const schedule = _nullishCoalesce(options.shutdownPollSchedule, () => ( defaultShutdownPollSchedule(_nullishCoalesce(options.gracefulShutdownMs, () => ( 5e3)))));
|
|
1539
|
-
const driver =
|
|
1539
|
+
const driver = _chunk6STX4PS3cjs.makeScheduleDriver.call(void 0, schedule, { name: _nullishCoalesce(schedule.name, () => ( "http.server.shutdown")), startedAtMs: startedAt });
|
|
1540
1540
|
let finished = false;
|
|
1541
1541
|
const done = (error) => {
|
|
1542
1542
|
if (finished) return;
|
|
@@ -1570,7 +1570,7 @@ function closeNodeServer(server, options) {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
function defaultShutdownPollSchedule(maxMs) {
|
|
1572
1572
|
const intervalMs = 25;
|
|
1573
|
-
return
|
|
1573
|
+
return _chunk6STX4PS3cjs.take.call(void 0, _chunk6STX4PS3cjs.fixed.call(void 0, intervalMs), Math.max(1, Math.ceil(Math.max(0, maxMs) / intervalMs)));
|
|
1574
1574
|
}
|
|
1575
1575
|
function matchRoute(routes, method, path) {
|
|
1576
1576
|
const requestedMethod = method.toUpperCase();
|
|
@@ -1843,4 +1843,4 @@ function escapeRegExp(value) {
|
|
|
1843
1843
|
|
|
1844
1844
|
|
|
1845
1845
|
|
|
1846
|
-
exports.AdaptiveLimiter =
|
|
1846
|
+
exports.AdaptiveLimiter = _chunk7FZUTJM3cjs.AdaptiveLimiter; exports.ConfigValidationError = _chunkKPOL2YEOcjs.ConfigValidationError; exports.DEFAULT_CACHE_RELEVANT_HEADERS = _chunk7FZUTJM3cjs.DEFAULT_CACHE_RELEVANT_HEADERS; exports.EmaComputer = _chunk7FZUTJM3cjs.EmaComputer; exports.HttpClientService = _chunk7FZUTJM3cjs.HttpClientService; exports.HttpConcurrencyPool = _chunk7FZUTJM3cjs.HttpConcurrencyPool; exports.HttpServer = HttpServer; exports.LRUCache = _chunk7FZUTJM3cjs.LRUCache; exports.LatencyWindow = _chunk7FZUTJM3cjs.LatencyWindow; exports.LifecycleStatsTracker = _chunk7FZUTJM3cjs.LifecycleStatsTracker; exports.PriorityQueue = _chunk7FZUTJM3cjs.PriorityQueue; exports.SEPARATOR = _chunk7FZUTJM3cjs.SEPARATOR; exports.SUPPORTED_ENCODINGS = _chunk7FZUTJM3cjs.SUPPORTED_ENCODINGS; exports.Schema = _chunkKPOL2YEOcjs.Schema; exports.SchemaValidationException = _chunkKPOL2YEOcjs.SchemaValidationException; exports.abortErrorForSignal = _chunk7FZUTJM3cjs.abortErrorForSignal; exports.adaptiveLimiterPresets = _chunk7FZUTJM3cjs.adaptiveLimiterPresets; exports.backoffDelayMs = _chunk7FZUTJM3cjs.backoffDelayMs; exports.clampPriority = _chunk7FZUTJM3cjs.clampPriority; exports.computeCacheKey = _chunk7FZUTJM3cjs.computeCacheKey; exports.computeGradient = _chunk7FZUTJM3cjs.computeGradient; exports.computeNewLimit = _chunk7FZUTJM3cjs.computeNewLimit; exports.decodeJsonBody = _chunk7FZUTJM3cjs.decodeJsonBody; exports.decodeJsonBodyEffect = _chunk7FZUTJM3cjs.decodeJsonBodyEffect; exports.decorate = _chunk7FZUTJM3cjs.decorate; exports.defaultHttpClientPreset = _chunk7FZUTJM3cjs.defaultHttpClientPreset; exports.defaultRetryOnError = _chunk7FZUTJM3cjs.defaultRetryOnError; exports.defaultRetryOnStatus = _chunk7FZUTJM3cjs.defaultRetryOnStatus; exports.defaultRetryableMethods = _chunk7FZUTJM3cjs.defaultRetryableMethods; exports.defineHttpPolicyPresets = _chunk7FZUTJM3cjs.defineHttpPolicyPresets; exports.detectPlatform = _chunk7FZUTJM3cjs.detectPlatform; exports.empty = empty; exports.encodeJsonBodyEffect = _chunk7FZUTJM3cjs.encodeJsonBodyEffect; exports.executeProbe = _chunk7FZUTJM3cjs.executeProbe; exports.formatConfigError = _chunkKPOL2YEOcjs.formatConfigError; exports.formatHttpError = _chunk7FZUTJM3cjs.formatHttpError; exports.formatIssues = _chunkKPOL2YEOcjs.formatIssues; exports.getHttpRequestPolicy = _chunk7FZUTJM3cjs.getHttpRequestPolicy; exports.headersOf = _chunk7FZUTJM3cjs.headersOf; exports.httpBuilder = httpBuilder; exports.httpClient = httpClient; exports.httpClientBuilder = httpClientBuilder; exports.httpClientStream = httpClientStream; exports.httpClientWithMeta = httpClientWithMeta; exports.httpErrorStatus = _chunk7FZUTJM3cjs.httpErrorStatus; exports.httpPolicy = _chunk7FZUTJM3cjs.httpPolicy; exports.httpRoute = httpRoute; exports.isAbortError = _chunk7FZUTJM3cjs.isAbortError; exports.isAbortHttpError = _chunk7FZUTJM3cjs.isAbortHttpError; exports.isCircuitBreakerOpen = _chunk7FZUTJM3cjs.isCircuitBreakerOpen; exports.isConfigValidationError = _chunkKPOL2YEOcjs.isConfigValidationError; exports.isExternalAbortError = _chunk7FZUTJM3cjs.isExternalAbortError; exports.isExternalTimeoutError = _chunk7FZUTJM3cjs.isExternalTimeoutError; exports.isFetchHttpError = _chunk7FZUTJM3cjs.isFetchHttpError; exports.isHttpError = _chunk7FZUTJM3cjs.isHttpError; exports.isKnownHttpError = _chunk7FZUTJM3cjs.isKnownHttpError; exports.isPromiseTransportDirect = _chunk7FZUTJM3cjs.isPromiseTransportDirect; exports.isRetryableHttpError = _chunk7FZUTJM3cjs.isRetryableHttpError; exports.isRetryableHttpStatus = _chunk7FZUTJM3cjs.isRetryableHttpStatus; exports.isSchema = _chunkKPOL2YEOcjs.isSchema; exports.isTaggedHttpError = _chunk7FZUTJM3cjs.isTaggedHttpError; exports.isTimeoutHttpError = _chunk7FZUTJM3cjs.isTimeoutHttpError; exports.isValidationError = _chunk7FZUTJM3cjs.isValidationError; exports.json = json; exports.linkAbortSignals = _chunk7FZUTJM3cjs.linkAbortSignals; exports.makeAdaptiveLimiterConfig = _chunk7FZUTJM3cjs.makeAdaptiveLimiterConfig; exports.makeBudgetSemaphore = _chunk7FZUTJM3cjs.makeBudgetSemaphore; exports.makeCompressionMiddleware = _chunk7FZUTJM3cjs.makeCompressionMiddleware; exports.makeConnectionStateMap = _chunk7FZUTJM3cjs.makeConnectionStateMap; exports.makeDefaultHttpClient = _chunk7FZUTJM3cjs.makeDefaultHttpClient; exports.makeDefaultHttpClientLayer = _chunk7FZUTJM3cjs.makeDefaultHttpClientLayer; exports.makeFetchStreamTransport = _chunk7FZUTJM3cjs.makeFetchStreamTransport; exports.makeFetchTransport = _chunk7FZUTJM3cjs.makeFetchTransport; exports.makeHttp = _chunk7FZUTJM3cjs.makeHttp; exports.makeHttpClient = _chunk7FZUTJM3cjs.makeHttpClient; exports.makeHttpClientBuilder = makeHttpClientBuilder; exports.makeHttpRouter = makeHttpRouter; exports.makeHttpServerResource = makeHttpServerResource; exports.makeHttpStream = _chunk7FZUTJM3cjs.makeHttpStream; exports.makeJsonParseValidationError = _chunk7FZUTJM3cjs.makeJsonParseValidationError; exports.makeLifecycleClient = _chunk7FZUTJM3cjs.makeLifecycleClient; exports.makeNodeHttpProxyClient = makeNodeHttpProxyClient; exports.makeNodeHttpServer = makeNodeHttpServer; exports.makeNodeHttpServerResource = makeNodeHttpServerResource; exports.makeNodeHttpTransport = makeNodeHttpTransport; exports.makePrewarmManager = _chunk7FZUTJM3cjs.makePrewarmManager; exports.makePromiseHttpTransport = _chunk7FZUTJM3cjs.makePromiseHttpTransport; exports.makeRequestCompressionMiddleware = _chunk7FZUTJM3cjs.makeRequestCompressionMiddleware; exports.makeResponseCompressionMiddleware = _chunk7FZUTJM3cjs.makeResponseCompressionMiddleware; exports.makeRuntimeHealthRoute = makeRuntimeHealthRoute; exports.makeRuntimeReadinessRoute = makeRuntimeReadinessRoute; exports.makeSchemaIssue = _chunkKPOL2YEOcjs.makeSchemaIssue; exports.matchHttpError = _chunk7FZUTJM3cjs.matchHttpError; exports.nodeHttpServerResource = nodeHttpServerResource; exports.noopSignal = _chunk7FZUTJM3cjs.noopSignal; exports.normalizeHeadersInit = _chunk7FZUTJM3cjs.normalizeHeadersInit; exports.normalizeHttpError = _chunk7FZUTJM3cjs.normalizeHttpError; exports.normalizeHttpHeaders = _chunk7FZUTJM3cjs.normalizeHttpHeaders; exports.normalizeRetryBudget = _chunk7FZUTJM3cjs.normalizeRetryBudget; exports.parseCacheKey = _chunk7FZUTJM3cjs.parseCacheKey; exports.parseConfig = _chunkKPOL2YEOcjs.parseConfig; exports.prewarmConnections = prewarmConnections; exports.prewarmHttpConnections = prewarmHttpConnections; exports.promiseHttpTransport = _chunk7FZUTJM3cjs.promiseHttpTransport; exports.resolveConfig = _chunk7FZUTJM3cjs.resolveConfig; exports.resolveHttpPoolKey = _chunk7FZUTJM3cjs.resolveHttpPoolKey; exports.resolveHttpRequestPolicyPresets = _chunk7FZUTJM3cjs.resolveHttpRequestPolicyPresets; exports.retryAfterMs = _chunk7FZUTJM3cjs.retryAfterMs; exports.route = route; exports.runtimeHealthRoute = runtimeHealthRoute; exports.runtimeReadinessRoute = runtimeReadinessRoute; exports.s = _chunkKPOL2YEOcjs.s; exports.schema = _chunkKPOL2YEOcjs.schema; exports.text = text; exports.toHttpError = _chunk7FZUTJM3cjs.toHttpError; exports.validateConfig = _chunk7FZUTJM3cjs.validateConfig; exports.validateFetchAvailable = _chunk7FZUTJM3cjs.validateFetchAvailable; exports.validateOrigin = _chunk7FZUTJM3cjs.validateOrigin; exports.validateValue = _chunkKPOL2YEOcjs.validateValue; exports.validatedJson = _chunk7FZUTJM3cjs.validatedJson; exports.validatedJsonResponse = _chunk7FZUTJM3cjs.validatedJsonResponse; exports.withAuth = withAuth; exports.withBatch = _chunk7FZUTJM3cjs.withBatch; exports.withCache = _chunk7FZUTJM3cjs.withCache; exports.withCircuitBreaker = withCircuitBreaker; exports.withConnectionPrewarming = withConnectionPrewarming; exports.withDedup = _chunk7FZUTJM3cjs.withDedup; exports.withHttpPolicyPresets = _chunk7FZUTJM3cjs.withHttpPolicyPresets; exports.withHttpRequestPolicy = _chunk7FZUTJM3cjs.withHttpRequestPolicy; exports.withLogging = withLogging; exports.withMiddleware = _chunk7FZUTJM3cjs.withMiddleware; exports.withPriority = _chunk7FZUTJM3cjs.withPriority; exports.withRequestBatching = withRequestBatching; exports.withResponseHeader = withResponseHeader; exports.withResponseTransform = withResponseTransform; exports.withRetry = _chunk7FZUTJM3cjs.withRetry; exports.withRetryStream = _chunk7FZUTJM3cjs.withRetryStream; exports.withTracing = withTracing;
|