@adaptic/lumic-utils 1.0.15 → 1.0.16
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/dist/{apollo-client.client-DcvDB-WD.js → apollo-client.client-BxYrv3du.js} +3 -3
- package/dist/{apollo-client.client-DcvDB-WD.js.map → apollo-client.client-BxYrv3du.js.map} +1 -1
- package/dist/{apollo-client.client-DLlWTxt5.js → apollo-client.client-D9cAiuA0.js} +4 -4
- package/dist/{apollo-client.client-DLlWTxt5.js.map → apollo-client.client-D9cAiuA0.js.map} +1 -1
- package/dist/{apollo-client.server-D9uTrgax.js → apollo-client.server-CP1J8e9f.js} +3 -3
- package/dist/{apollo-client.server-D9uTrgax.js.map → apollo-client.server-CP1J8e9f.js.map} +1 -1
- package/dist/{apollo-client.server-DqSN1Fiy.js → apollo-client.server-bp1Spce0.js} +3 -3
- package/dist/{apollo-client.server-DqSN1Fiy.js.map → apollo-client.server-bp1Spce0.js.map} +1 -1
- package/dist/{index-b_XLaqK-.js → index-BZdP8znv.js} +2 -2
- package/dist/{index-b_XLaqK-.js.map → index-BZdP8znv.js.map} +1 -1
- package/dist/{index-YK3guTNp.js → index-BeN6McRy.js} +2 -2
- package/dist/{index-YK3guTNp.js.map → index-BeN6McRy.js.map} +1 -1
- package/dist/{index-CwQjKm5M.js → index-COoh2hGG.js} +11 -4
- package/dist/{index-CwQjKm5M.js.map → index-COoh2hGG.js.map} +1 -1
- package/dist/{index-BD1cU0P8.js → index-CeftMshp.js} +11 -4
- package/dist/{index-BD1cU0P8.js.map → index-CeftMshp.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/test.cjs +1 -1
- package/dist/test.mjs +1 -1
- package/package.json +1 -1
|
@@ -7815,12 +7815,19 @@ function sanitizeObject(obj, sensitiveFields = ['apiKey', 'token', 'secret', 'pa
|
|
|
7815
7815
|
// llm-anthropic.ts
|
|
7816
7816
|
/**
|
|
7817
7817
|
* Determines if an Anthropic API error should be retried.
|
|
7818
|
-
* Retries on
|
|
7818
|
+
* Retries on:
|
|
7819
|
+
* - 429 rate limit
|
|
7820
|
+
* - 500 internal server error (transient)
|
|
7821
|
+
* - 503 service unavailable (transient)
|
|
7822
|
+
* - 529 overloaded
|
|
7823
|
+
* - Messages containing "rate limit" or "overloaded"
|
|
7819
7824
|
*/
|
|
7820
7825
|
const isRetryableAnthropicError = (error) => {
|
|
7821
7826
|
if (error instanceof Error) {
|
|
7822
7827
|
const message = error.message;
|
|
7823
7828
|
if (message.includes('429') ||
|
|
7829
|
+
message.includes('500') ||
|
|
7830
|
+
message.includes('503') ||
|
|
7824
7831
|
message.includes('529') ||
|
|
7825
7832
|
message.includes('rate limit') ||
|
|
7826
7833
|
message.includes('overloaded')) {
|
|
@@ -22675,11 +22682,11 @@ let poolConfig = DEFAULT_POOL_CONFIG;
|
|
|
22675
22682
|
async function loadApolloModules() {
|
|
22676
22683
|
if (typeof window === "undefined" || process.env.AWS_EXECUTION_ENV) {
|
|
22677
22684
|
// Server-side (or Lambda): load the CommonJS‑based implementation.
|
|
22678
|
-
return (await Promise.resolve().then(function () { return require('./apollo-client.server-
|
|
22685
|
+
return (await Promise.resolve().then(function () { return require('./apollo-client.server-bp1Spce0.js'); }));
|
|
22679
22686
|
}
|
|
22680
22687
|
else {
|
|
22681
22688
|
// Client-side: load the ESM‑based implementation.
|
|
22682
|
-
return (await Promise.resolve().then(function () { return require('./apollo-client.client-
|
|
22689
|
+
return (await Promise.resolve().then(function () { return require('./apollo-client.client-BxYrv3du.js'); }));
|
|
22683
22690
|
}
|
|
22684
22691
|
}
|
|
22685
22692
|
/**
|
|
@@ -81390,4 +81397,4 @@ exports.withCorrelationId = withCorrelationId;
|
|
|
81390
81397
|
exports.withMetrics = withMetrics;
|
|
81391
81398
|
exports.withRateLimit = withRateLimit;
|
|
81392
81399
|
exports.withRetry = withRetry;
|
|
81393
|
-
//# sourceMappingURL=index-
|
|
81400
|
+
//# sourceMappingURL=index-CeftMshp.js.map
|