diff --git a/packages/kafka-iam-auth/package.json b/packages/kafka-iam-auth/package.json index 6edd93e25a..29b83e51e1 100644 --- a/packages/kafka-iam-auth/package.json +++ b/packages/kafka-iam-auth/package.json @@ -21,7 +21,8 @@ "aws-msk-iam-sasl-signer-js": "^1.0.0", "kafkajs": "2.2.4", "pagopa-interop-commons": "workspace:^", - "pagopa-interop-models": "workspace:*" + "pagopa-interop-models": "workspace:*", + "ts-pattern": "5.1.2" }, "devDependencies": { "typescript": "5.4.5" diff --git a/packages/kafka-iam-auth/src/index.ts b/packages/kafka-iam-auth/src/index.ts index e09d0da278..4e47cd792b 100644 --- a/packages/kafka-iam-auth/src/index.ts +++ b/packages/kafka-iam-auth/src/index.ts @@ -5,6 +5,7 @@ import { Kafka, KafkaConfig, OauthbearerProviderResponse, + logLevel, } from "kafkajs"; import { KafkaConsumerConfig, @@ -12,6 +13,7 @@ import { genericLogger, } from "pagopa-interop-commons"; import { kafkaMessageProcessError } from "pagopa-interop-models"; +import { P, match } from "ts-pattern"; const errorTypes = ["unhandledRejection", "uncaughtException"]; const signalTraps = ["SIGTERM", "SIGINT", "SIGUSR2"]; @@ -138,7 +140,36 @@ const initConsumer = async ( }, }; - const kafka = new Kafka(kafkaConfig); + const kafka = new Kafka({ + ...kafkaConfig, + logCreator: + (_logLevel) => + ({ level, log }) => { + const { message, error } = log; + + const filteredLevel = match(error) + .with( + P.string, + (error) => + (level === logLevel.ERROR || level === logLevel.WARN) && + error.includes("The group is rebalancing, so a rejoin is needed"), + () => logLevel.INFO + ) + .otherwise(() => level); + + // eslint-disable-next-line sonarjs/no-nested-template-literals + const msg = `${message}${error ? ` - ${error}` : ""}`; + + match(filteredLevel) + .with(logLevel.NOTHING, logLevel.ERROR, () => + genericLogger.error(msg) + ) + .with(logLevel.WARN, () => genericLogger.warn(msg)) + .with(logLevel.INFO, () => genericLogger.info(msg)) + .with(logLevel.DEBUG, () => genericLogger.debug(msg)) + .otherwise(() => genericLogger.error(msg)); + }, + }); const consumer = kafka.consumer({ groupId: config.kafkaGroupId, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 72330926e4..801a1731d2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -800,7 +800,7 @@ importers: dependencies: aws-msk-iam-sasl-signer-js: specifier: ^1.0.0 - version: 1.0.0(@aws-sdk/client-sso-oidc@3.587.0) + version: 1.0.0(@aws-sdk/client-sso-oidc@3.590.0) kafkajs: specifier: 2.2.4 version: 2.2.4 @@ -810,6 +810,9 @@ importers: pagopa-interop-models: specifier: workspace:* version: link:../models + ts-pattern: + specifier: 5.1.2 + version: 5.1.2 devDependencies: typescript: specifier: 5.4.5 @@ -1652,54 +1655,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso-oidc@3.587.0: - resolution: {integrity: sha512-ISDgHcGmXLdSJjVk8X6dPHRdlaURDbSyZ7b8sQyXCrBt8EQ/d/sEQLEaJJJrdB6Z2fYRDupWQq7+s42bH2FLjA==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sts': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/core': 3.587.0 - '@aws-sdk/credential-provider-node': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/middleware-host-header': 3.577.0 - '@aws-sdk/middleware-logger': 3.577.0 - '@aws-sdk/middleware-recursion-detection': 3.577.0 - '@aws-sdk/middleware-user-agent': 3.587.0 - '@aws-sdk/region-config-resolver': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@aws-sdk/util-endpoints': 3.587.0 - '@aws-sdk/util-user-agent-browser': 3.577.0 - '@aws-sdk/util-user-agent-node': 3.587.0 - '@smithy/config-resolver': 3.0.1 - '@smithy/core': 2.1.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-retry': 3.0.3 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.3 - '@smithy/util-defaults-mode-node': 3.0.3 - '@smithy/util-endpoints': 2.0.1 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - /@aws-sdk/client-sso-oidc@3.590.0(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-3yCLPjq6WFfDpdUJKk/gSz4eAPDTjVknXaveMPi2QoVBCshneOnJsV16uNKlpVF1frTHrrDRfKYmbaVh6nFBvQ==} engines: {node: '>=16.0.0'} @@ -1839,52 +1794,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sso@3.587.0: - resolution: {integrity: sha512-J62SsEaJ5DbsLOl9ICvyNYcDH5je557v2YECt6wxvMLCCVOKmT8WPrPcGFKti8N4BotRLWyifC74sXh7oek8CQ==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/core': 3.587.0 - '@aws-sdk/middleware-host-header': 3.577.0 - '@aws-sdk/middleware-logger': 3.577.0 - '@aws-sdk/middleware-recursion-detection': 3.577.0 - '@aws-sdk/middleware-user-agent': 3.587.0 - '@aws-sdk/region-config-resolver': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@aws-sdk/util-endpoints': 3.587.0 - '@aws-sdk/util-user-agent-browser': 3.577.0 - '@aws-sdk/util-user-agent-node': 3.587.0 - '@smithy/config-resolver': 3.0.1 - '@smithy/core': 2.1.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-retry': 3.0.3 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.3 - '@smithy/util-defaults-mode-node': 3.0.3 - '@smithy/util-endpoints': 2.0.1 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - aws-crt - dev: false - /@aws-sdk/client-sso@3.590.0: resolution: {integrity: sha512-6xbC6oQVJKBRTyXyR3C15ksUsPOyW4p+uCj7dlKYWGJvh4vGTV8KhZKS53oPG8t4f1+OMJWjr5wKuXRoaFsmhQ==} engines: {node: '>=16.0.0'} @@ -2027,55 +1936,6 @@ packages: - aws-crt dev: false - /@aws-sdk/client-sts@3.587.0(@aws-sdk/client-sso-oidc@3.587.0): - resolution: {integrity: sha512-fnOa7bHuvoOHULZlVE4LgSAiKmXWZFkI42m1XV2XjeW9jtEQDTyTD678My6tGQi2T3Jwrgk6c7h2rOO3wLl9tg==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-crypto/sha256-browser': 3.0.0 - '@aws-crypto/sha256-js': 3.0.0 - '@aws-sdk/client-sso-oidc': 3.587.0 - '@aws-sdk/core': 3.587.0 - '@aws-sdk/credential-provider-node': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/middleware-host-header': 3.577.0 - '@aws-sdk/middleware-logger': 3.577.0 - '@aws-sdk/middleware-recursion-detection': 3.577.0 - '@aws-sdk/middleware-user-agent': 3.587.0 - '@aws-sdk/region-config-resolver': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@aws-sdk/util-endpoints': 3.587.0 - '@aws-sdk/util-user-agent-browser': 3.577.0 - '@aws-sdk/util-user-agent-node': 3.587.0 - '@smithy/config-resolver': 3.0.1 - '@smithy/core': 2.1.1 - '@smithy/fetch-http-handler': 3.0.1 - '@smithy/hash-node': 3.0.0 - '@smithy/invalid-dependency': 3.0.0 - '@smithy/middleware-content-length': 3.0.0 - '@smithy/middleware-endpoint': 3.0.1 - '@smithy/middleware-retry': 3.0.3 - '@smithy/middleware-serde': 3.0.0 - '@smithy/middleware-stack': 3.0.0 - '@smithy/node-config-provider': 3.1.0 - '@smithy/node-http-handler': 3.0.0 - '@smithy/protocol-http': 4.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - '@smithy/url-parser': 3.0.0 - '@smithy/util-base64': 3.0.0 - '@smithy/util-body-length-browser': 3.0.0 - '@smithy/util-body-length-node': 3.0.0 - '@smithy/util-defaults-mode-browser': 3.0.3 - '@smithy/util-defaults-mode-node': 3.0.3 - '@smithy/util-endpoints': 2.0.1 - '@smithy/util-middleware': 3.0.0 - '@smithy/util-retry': 3.0.0 - '@smithy/util-utf8': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - aws-crt - dev: false - /@aws-sdk/client-sts@3.590.0: resolution: {integrity: sha512-f4R1v1LSn4uLYZ5qj4DyL6gp7PXXzJeJsm2seheiJX+53LSF5L7XSDnQVtX1p9Tevv0hp2YUWUTg6QYwIVSuGg==} engines: {node: '>=16.0.0'} @@ -2144,19 +2004,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/core@3.587.0: - resolution: {integrity: sha512-Yoa7ZyjFgcLIoXuug+bIKxpjEG54/Z+u5FfbSq1dGiRv2rFmOeD0C6sBnSRd7N8yG2886DnvOkdYFd1vvwkHAg==} - engines: {node: '>=16.0.0'} - dependencies: - '@smithy/core': 2.1.1 - '@smithy/protocol-http': 4.0.0 - '@smithy/signature-v4': 3.0.0 - '@smithy/smithy-client': 3.1.1 - '@smithy/types': 3.0.0 - fast-xml-parser: 4.2.5 - tslib: 2.6.2 - dev: false - /@aws-sdk/core@3.588.0: resolution: {integrity: sha512-O1c2+9ce46Z+iiid+W3iC1IvPbfIo5ev9CBi54GdNB9SaI8/3+f8MJcux0D6c9toCF0ArMersN/gp8ek57e9uQ==} engines: {node: '>=16.0.0'} @@ -2311,7 +2158,7 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-ini@3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0): + /@aws-sdk/credential-provider-ini@3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0): resolution: {integrity: sha512-8I0oWNg/yps6ctjhEeL/qJ9BIa/+xXP7RPDQqFKZ2zBkWbmLLOoMWXRvl8uKUBD6qCe+DGmcu9skfVXeXSesEQ==} engines: {node: '>=16.0.0'} peerDependencies: @@ -2320,7 +2167,7 @@ packages: '@aws-sdk/client-sts': 3.583.0 '@aws-sdk/credential-provider-env': 3.577.0 '@aws-sdk/credential-provider-process': 3.577.0 - '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.0.0 @@ -2333,29 +2180,6 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-ini@3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0): - resolution: {integrity: sha512-rjRPF1mmMGiPdQsIba/PRknGPWpQZJ06EpEn91wftW5szfJkStadRTIfYYwSfuSO/xIwT11/KQiDVP9hclnSFg==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@aws-sdk/client-sts': ^3.587.0 - dependencies: - '@aws-sdk/client-sts': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/credential-provider-env': 3.587.0 - '@aws-sdk/credential-provider-http': 3.587.0 - '@aws-sdk/credential-provider-process': 3.587.0 - '@aws-sdk/credential-provider-sso': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.1.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - aws-crt - dev: false - /@aws-sdk/credential-provider-ini@3.590.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-Y5cFciAK38VIvRgZeND7HvFNR32thGtQb8Xop6cMn33FC78uwcRIu9Hc9699XTclCZqz4+Xl1WU+dZ+rnFn2AA==} engines: {node: '>=16.0.0'} @@ -2420,15 +2244,15 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0): + /@aws-sdk/credential-provider-node@3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0): resolution: {integrity: sha512-yBNypBXny7zJH85SzxDj8s1mbLXv9c/Vbq0qR3R3POj2idZ6ywB/qlIRC1XwBuv49Wvg8kA1wKXk3K3jrpcVIw==} engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/credential-provider-env': 3.577.0 '@aws-sdk/credential-provider-http': 3.582.0 - '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0) + '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0) '@aws-sdk/credential-provider-process': 3.577.0 - '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.1.0 @@ -2442,28 +2266,6 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-node@3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0): - resolution: {integrity: sha512-ZMbRCHdSsTzDV1+wPdF0A+umWji9BFPFeICG0gkisZR9Tj9rkb20jIYqD280BpCsKd8Ep7rpFZepyoeNZqI6Nw==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-sdk/credential-provider-env': 3.587.0 - '@aws-sdk/credential-provider-http': 3.587.0 - '@aws-sdk/credential-provider-ini': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/credential-provider-process': 3.587.0 - '@aws-sdk/credential-provider-sso': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/credential-provider-imds': 3.1.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - '@aws-sdk/client-sts' - - aws-crt - dev: false - /@aws-sdk/credential-provider-node@3.590.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-Ky38mNFoXobGrDQ11P3dU1e+q1nRJ7eZl8l15KUpvZCe/hOudbxQi/epQrCazD/gRYV2fTyczdLlZzB5ZZ8DhQ==} engines: {node: '>=16.0.0'} @@ -2550,12 +2352,12 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-sso@3.583.0(@aws-sdk/client-sso-oidc@3.587.0): + /@aws-sdk/credential-provider-sso@3.583.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-G/1EvL9tBezSiU+06tG4K/kOvFfPjnheT4JSXqjPM7+vjKzgp2jxp1J9MMd69zs4jVWon932zMeGgjrCplzMEg==} engines: {node: '>=16.0.0'} dependencies: '@aws-sdk/client-sso': 3.583.0 - '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/token-providers': 3.577.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 @@ -2566,22 +2368,6 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-provider-sso@3.587.0(@aws-sdk/client-sso-oidc@3.587.0): - resolution: {integrity: sha512-7ADd1HV3fmdMB2+DdFMtZGep5qubhtTenfo2BpDdADUkZ0HCpXx7mPLJ2mAww9sQpJsX8dDbc38+pi+bcsPWeA==} - engines: {node: '>=16.0.0'} - dependencies: - '@aws-sdk/client-sso': 3.587.0 - '@aws-sdk/token-providers': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - transitivePeerDependencies: - - '@aws-sdk/client-sso-oidc' - - aws-crt - dev: false - /@aws-sdk/credential-provider-sso@3.590.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-v+0j/I+je9okfwXsgmLppmwIE+TuMp5WqLz7r7PHz9KjzLyKaKTDvfllFD+8oPpBqnmOWiJ9qTGPkrfhB7a/fQ==} engines: {node: '>=16.0.0'} @@ -2621,19 +2407,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.587.0): - resolution: {integrity: sha512-XqIx/I2PG7kyuw3WjAP9wKlxy8IvFJwB8asOFT1xPFoVfZYKIogjG9oLP5YiRtfvDkWIztHmg5MlVv3HdJDGRw==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@aws-sdk/client-sts': ^3.587.0 - dependencies: - '@aws-sdk/client-sts': 3.587.0(@aws-sdk/client-sso-oidc@3.587.0) - '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.590.0): resolution: {integrity: sha512-XqIx/I2PG7kyuw3WjAP9wKlxy8IvFJwB8asOFT1xPFoVfZYKIogjG9oLP5YiRtfvDkWIztHmg5MlVv3HdJDGRw==} engines: {node: '>=16.0.0'} @@ -2671,7 +2444,7 @@ packages: - aws-crt dev: false - /@aws-sdk/credential-providers@3.583.0(@aws-sdk/client-sso-oidc@3.587.0): + /@aws-sdk/credential-providers@3.583.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-aD/lw6LJW51f+LgdR54UxyGvXqWZs4HCT310Qf794qFItDWXqhHK4EgS1x41BgAvXPUx0+HSO8OI4eb+AklckA==} engines: {node: '>=16.0.0'} dependencies: @@ -2681,10 +2454,10 @@ packages: '@aws-sdk/credential-provider-cognito-identity': 3.583.0 '@aws-sdk/credential-provider-env': 3.577.0 '@aws-sdk/credential-provider-http': 3.582.0 - '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0) - '@aws-sdk/credential-provider-node': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0)(@aws-sdk/client-sts@3.583.0) + '@aws-sdk/credential-provider-ini': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0) + '@aws-sdk/credential-provider-node': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0)(@aws-sdk/client-sts@3.583.0) '@aws-sdk/credential-provider-process': 3.577.0 - '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-provider-sso': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/credential-provider-web-identity': 3.577.0(@aws-sdk/client-sts@3.583.0) '@aws-sdk/types': 3.577.0 '@smithy/credential-provider-imds': 3.0.0 @@ -3027,13 +2800,13 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.577.0(@aws-sdk/client-sso-oidc@3.587.0): + /@aws-sdk/token-providers@3.577.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-0CkIZpcC3DNQJQ1hDjm2bdSy/Xjs7Ny5YvSsacasGOkNfk+FdkiQy6N67bZX3Zbc9KIx+Nz4bu3iDeNSNplnnQ==} engines: {node: '>=16.0.0'} peerDependencies: '@aws-sdk/client-sso-oidc': ^3.577.0 dependencies: - '@aws-sdk/client-sso-oidc': 3.587.0 + '@aws-sdk/client-sso-oidc': 3.590.0(@aws-sdk/client-sts@3.590.0) '@aws-sdk/types': 3.577.0 '@smithy/property-provider': 3.0.0 '@smithy/shared-ini-file-loader': 3.0.0 @@ -3041,20 +2814,6 @@ packages: tslib: 2.6.2 dev: false - /@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.587.0): - resolution: {integrity: sha512-ULqhbnLy1hmJNRcukANBWJmum3BbjXnurLPSFXoGdV0llXYlG55SzIla2VYqdveQEEjmsBuTZdFvXAtNpmS5Zg==} - engines: {node: '>=16.0.0'} - peerDependencies: - '@aws-sdk/client-sso-oidc': ^3.587.0 - dependencies: - '@aws-sdk/client-sso-oidc': 3.587.0 - '@aws-sdk/types': 3.577.0 - '@smithy/property-provider': 3.1.0 - '@smithy/shared-ini-file-loader': 3.1.0 - '@smithy/types': 3.0.0 - tslib: 2.6.2 - dev: false - /@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-ULqhbnLy1hmJNRcukANBWJmum3BbjXnurLPSFXoGdV0llXYlG55SzIla2VYqdveQEEjmsBuTZdFvXAtNpmS5Zg==} engines: {node: '>=16.0.0'} @@ -5682,13 +5441,13 @@ packages: engines: {node: '>= 0.4'} dev: true - /aws-msk-iam-sasl-signer-js@1.0.0(@aws-sdk/client-sso-oidc@3.587.0): + /aws-msk-iam-sasl-signer-js@1.0.0(@aws-sdk/client-sso-oidc@3.590.0): resolution: {integrity: sha512-L0Jk0k2XNHMSGipJ8rRdTq51KrH/gwrfZ39iKY9BWHGOAv7EygsG4qJC7lIRsbu5/ZHB886Z3WsOsFxqR2R4XQ==} engines: {node: '>=14.x'} dependencies: '@aws-crypto/sha256-js': 4.0.0 '@aws-sdk/client-sts': 3.583.0 - '@aws-sdk/credential-providers': 3.583.0(@aws-sdk/client-sso-oidc@3.587.0) + '@aws-sdk/credential-providers': 3.583.0(@aws-sdk/client-sso-oidc@3.590.0) '@aws-sdk/util-format-url': 3.577.0 '@smithy/signature-v4': 2.3.0 '@types/buffers': 0.1.31