@adaptic/lumic-utils 1.0.22 → 1.0.23

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.
Files changed (22) hide show
  1. package/dist/{apollo-client.client-Bu5mc2I8.js → apollo-client.client-DrSy1wz-.js} +4 -4
  2. package/dist/{apollo-client.client-Bu5mc2I8.js.map → apollo-client.client-DrSy1wz-.js.map} +1 -1
  3. package/dist/{apollo-client.client-YzlpL7kf.js → apollo-client.client-FeVPHV0i.js} +3 -3
  4. package/dist/{apollo-client.client-YzlpL7kf.js.map → apollo-client.client-FeVPHV0i.js.map} +1 -1
  5. package/dist/{apollo-client.server-BTHAQqYl.js → apollo-client.server-BEGHAF48.js} +3 -3
  6. package/dist/{apollo-client.server-BTHAQqYl.js.map → apollo-client.server-BEGHAF48.js.map} +1 -1
  7. package/dist/{apollo-client.server-sD1QteQO.js → apollo-client.server-CJ6iRLa2.js} +3 -3
  8. package/dist/{apollo-client.server-sD1QteQO.js.map → apollo-client.server-CJ6iRLa2.js.map} +1 -1
  9. package/dist/{index-DPaCMqua.js → index-CWoI2dXN.js} +18 -10
  10. package/dist/{index-DfuMX-MS.js.map → index-CWoI2dXN.js.map} +1 -1
  11. package/dist/{index-CWx6sW9a.js → index-Dz0wKyTF.js} +2 -2
  12. package/dist/{index-CWx6sW9a.js.map → index-Dz0wKyTF.js.map} +1 -1
  13. package/dist/{index-DfuMX-MS.js → index-WGzi__C5.js} +18 -10
  14. package/dist/{index-DPaCMqua.js.map → index-WGzi__C5.js.map} +1 -1
  15. package/dist/{index-B_4Q2noT.js → index-vRskhk1H.js} +2 -2
  16. package/dist/{index-B_4Q2noT.js.map → index-vRskhk1H.js.map} +1 -1
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.mjs +1 -1
  19. package/dist/test.cjs +1 -1
  20. package/dist/test.mjs +1 -1
  21. package/dist/types/types/openai-types.d.ts +7 -7
  22. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DfuMX-MS.js');
3
+ var index = require('./index-WGzi__C5.js');
4
4
  require('openai');
5
5
  require('zod');
6
6
  require('@aws-sdk/client-s3');
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- export { bW as AWSLambdaError, bX as AWSS3Error, c5 as AWS_LAMBDA_TIMEOUT_MS, c6 as AWS_S3_TIMEOUT_MS, aV as CircuitBreaker, aX as CircuitBreakerOpenError, aW as CircuitBreakerState, aY as DEFAULT_CIRCUIT_BREAKER_CONFIG, c8 as GENERIC_FETCH_TIMEOUT_MS, c3 as GOOGLE_SHEETS_TIMEOUT_MS, bY as GoogleSheetsError, b_ as JsonParseError, b0 as LLMCostTracker, bV as LLMError, bt as LLM_ADVANCED_PROVIDER, bq as LLM_DEFAULT_PROVIDER, br as LLM_MINI_PROVIDER, bx as LLM_MODEL_ADVANCED, bv as LLM_MODEL_MINI, bw as LLM_MODEL_NORMAL, bs as LLM_NORMAL_PROVIDER, bu as LLM_PROVIDER, c4 as LLM_TIMEOUT_MS, bT as LumicError, bn as MODEL_ALIASES, bo as OPENAI_COMPATIBLE_PROVIDERS, c7 as OPENWEATHER_TIMEOUT_MS, b$ as PDFError, c2 as PERPLEXITY_TIMEOUT_MS, bp as PROVIDER_DEFAULT_MODELS, bZ as PerplexityError, be as RATE_LIMIT_PROFILES, c1 as SLACK_TIMEOUT_MS, bj as SUPPORTED_MODELS, bU as SlackError, bd as TokenBucketRateLimiter, c0 as ZipError, bi as checkIntegrationHealth, bS as createSafeValidator, bR as createValidator, b8 as generateCorrelationId, ba as getCorrelationContext, bc as getCorrelationHeaders, b9 as getCorrelationId, b1 as getLLMCostTracker, aM as getLumicLogger, b5 as getMetricsCollector, bl as getModelCapabilities, bm as getModelProvider, bf as getRateLimiter, aR as getSecrets, bH as googleSheetsValueRangeSchema, bk as isValidModel, bM as lambdaInvokeResponseSchema, l as lumic, by as makeAnthropicCall, bz as makeOpenAICompatibleCall, bA as openAIChatCompletionSchema, bB as openAIImageResponseSchema, bE as perplexityResponseSchema, aT as requireSecret, bg as resetAllRateLimiters, b3 as resetLLMCostTracker, b6 as resetMetricsCollector, aS as resetSecrets, bL as s3GetObjectSchema, bK as s3ListObjectsSchema, bJ as safeValidateGoogleSheetsResponse, bQ as safeValidateLambdaResponse, bD as safeValidateOpenAIChatCompletion, bG as safeValidatePerplexityResponse, bO as safeValidateS3ListObjects, aP as sanitizeAWSAuth, aO as sanitizeError, aN as sanitizeForLog, aQ as sanitizeObject, b2 as setLLMCostTracker, aL as setLumicLogger, b4 as setMetricsCollector, a$ as validateGoogleSheetsRange, bI as validateGoogleSheetsResponse, bP as validateLambdaResponse, bC as validateOpenAIChatCompletion, bF as validatePerplexityResponse, a_ as validateS3Key, bN as validateS3ListObjects, aZ as validateSlackChannel, bb as withCorrelationId, b7 as withMetrics, bh as withRateLimit, aU as withRetry } from './index-DPaCMqua.js';
1
+ export { bW as AWSLambdaError, bX as AWSS3Error, c5 as AWS_LAMBDA_TIMEOUT_MS, c6 as AWS_S3_TIMEOUT_MS, aV as CircuitBreaker, aX as CircuitBreakerOpenError, aW as CircuitBreakerState, aY as DEFAULT_CIRCUIT_BREAKER_CONFIG, c8 as GENERIC_FETCH_TIMEOUT_MS, c3 as GOOGLE_SHEETS_TIMEOUT_MS, bY as GoogleSheetsError, b_ as JsonParseError, b0 as LLMCostTracker, bV as LLMError, bt as LLM_ADVANCED_PROVIDER, bq as LLM_DEFAULT_PROVIDER, br as LLM_MINI_PROVIDER, bx as LLM_MODEL_ADVANCED, bv as LLM_MODEL_MINI, bw as LLM_MODEL_NORMAL, bs as LLM_NORMAL_PROVIDER, bu as LLM_PROVIDER, c4 as LLM_TIMEOUT_MS, bT as LumicError, bn as MODEL_ALIASES, bo as OPENAI_COMPATIBLE_PROVIDERS, c7 as OPENWEATHER_TIMEOUT_MS, b$ as PDFError, c2 as PERPLEXITY_TIMEOUT_MS, bp as PROVIDER_DEFAULT_MODELS, bZ as PerplexityError, be as RATE_LIMIT_PROFILES, c1 as SLACK_TIMEOUT_MS, bj as SUPPORTED_MODELS, bU as SlackError, bd as TokenBucketRateLimiter, c0 as ZipError, bi as checkIntegrationHealth, bS as createSafeValidator, bR as createValidator, b8 as generateCorrelationId, ba as getCorrelationContext, bc as getCorrelationHeaders, b9 as getCorrelationId, b1 as getLLMCostTracker, aM as getLumicLogger, b5 as getMetricsCollector, bl as getModelCapabilities, bm as getModelProvider, bf as getRateLimiter, aR as getSecrets, bH as googleSheetsValueRangeSchema, bk as isValidModel, bM as lambdaInvokeResponseSchema, l as lumic, by as makeAnthropicCall, bz as makeOpenAICompatibleCall, bA as openAIChatCompletionSchema, bB as openAIImageResponseSchema, bE as perplexityResponseSchema, aT as requireSecret, bg as resetAllRateLimiters, b3 as resetLLMCostTracker, b6 as resetMetricsCollector, aS as resetSecrets, bL as s3GetObjectSchema, bK as s3ListObjectsSchema, bJ as safeValidateGoogleSheetsResponse, bQ as safeValidateLambdaResponse, bD as safeValidateOpenAIChatCompletion, bG as safeValidatePerplexityResponse, bO as safeValidateS3ListObjects, aP as sanitizeAWSAuth, aO as sanitizeError, aN as sanitizeForLog, aQ as sanitizeObject, b2 as setLLMCostTracker, aL as setLumicLogger, b4 as setMetricsCollector, a$ as validateGoogleSheetsRange, bI as validateGoogleSheetsResponse, bP as validateLambdaResponse, bC as validateOpenAIChatCompletion, bF as validatePerplexityResponse, a_ as validateS3Key, bN as validateS3ListObjects, aZ as validateSlackChannel, bb as withCorrelationId, b7 as withMetrics, bh as withRateLimit, aU as withRetry } from './index-CWoI2dXN.js';
2
2
  import 'openai';
3
3
  import 'zod';
4
4
  import '@aws-sdk/client-s3';
package/dist/test.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-DfuMX-MS.js');
3
+ var index = require('./index-WGzi__C5.js');
4
4
  require('openai');
5
5
  require('zod');
6
6
  require('@aws-sdk/client-s3');
package/dist/test.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { l as lumic } from './index-DPaCMqua.js';
1
+ import { l as lumic } from './index-CWoI2dXN.js';
2
2
  import 'openai';
3
3
  import 'zod';
4
4
  import '@aws-sdk/client-s3';
@@ -40,7 +40,7 @@ export declare const SUPPORTED_MODELS: {
40
40
  readonly supportsJson: true;
41
41
  readonly supportsStructuredOutput: true;
42
42
  readonly supportsDeveloperPrompt: true;
43
- readonly supportsTemperature: true;
43
+ readonly supportsTemperature: false;
44
44
  readonly isReasoningModel: false;
45
45
  };
46
46
  readonly 'gpt-5.5-pro': {
@@ -49,7 +49,7 @@ export declare const SUPPORTED_MODELS: {
49
49
  readonly supportsJson: true;
50
50
  readonly supportsStructuredOutput: true;
51
51
  readonly supportsDeveloperPrompt: true;
52
- readonly supportsTemperature: true;
52
+ readonly supportsTemperature: false;
53
53
  readonly isReasoningModel: false;
54
54
  };
55
55
  readonly 'gpt-5.4': {
@@ -58,7 +58,7 @@ export declare const SUPPORTED_MODELS: {
58
58
  readonly supportsJson: true;
59
59
  readonly supportsStructuredOutput: true;
60
60
  readonly supportsDeveloperPrompt: true;
61
- readonly supportsTemperature: true;
61
+ readonly supportsTemperature: false;
62
62
  readonly isReasoningModel: false;
63
63
  };
64
64
  readonly 'gpt-5.4-mini': {
@@ -67,7 +67,7 @@ export declare const SUPPORTED_MODELS: {
67
67
  readonly supportsJson: true;
68
68
  readonly supportsStructuredOutput: true;
69
69
  readonly supportsDeveloperPrompt: true;
70
- readonly supportsTemperature: true;
70
+ readonly supportsTemperature: false;
71
71
  readonly isReasoningModel: false;
72
72
  };
73
73
  readonly 'gpt-5.4-nano': {
@@ -76,7 +76,7 @@ export declare const SUPPORTED_MODELS: {
76
76
  readonly supportsJson: true;
77
77
  readonly supportsStructuredOutput: true;
78
78
  readonly supportsDeveloperPrompt: true;
79
- readonly supportsTemperature: true;
79
+ readonly supportsTemperature: false;
80
80
  readonly isReasoningModel: false;
81
81
  };
82
82
  readonly 'gpt-5': {
@@ -85,7 +85,7 @@ export declare const SUPPORTED_MODELS: {
85
85
  readonly supportsJson: true;
86
86
  readonly supportsStructuredOutput: true;
87
87
  readonly supportsDeveloperPrompt: true;
88
- readonly supportsTemperature: true;
88
+ readonly supportsTemperature: false;
89
89
  readonly isReasoningModel: false;
90
90
  };
91
91
  readonly 'gpt-5-mini': {
@@ -94,7 +94,7 @@ export declare const SUPPORTED_MODELS: {
94
94
  readonly supportsJson: true;
95
95
  readonly supportsStructuredOutput: true;
96
96
  readonly supportsDeveloperPrompt: true;
97
- readonly supportsTemperature: true;
97
+ readonly supportsTemperature: false;
98
98
  readonly isReasoningModel: false;
99
99
  };
100
100
  readonly 'gpt-4.1': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adaptic/lumic-utils",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "NPM repo set of utility functions usable across the entire organisation.",
5
5
  "always-build-npm": false,
6
6
  "type": "module",