template-saas/apps/backend/node_modules/@aws-sdk/util-user-agent-browser
rckrdmrd 50a821a415
Some checks failed
CI / Backend CI (push) Has been cancelled
CI / Frontend CI (push) Has been cancelled
CI / Security Scan (push) Has been cancelled
CI / CI Summary (push) Has been cancelled
[SIMCO-V38] feat: Actualizar a SIMCO v3.8.0
- HERENCIA-SIMCO.md actualizado con directivas v3.7 y v3.8
- Actualizaciones de configuracion

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 08:53:08 -06:00
..
dist-cjs [SIMCO-V38] feat: Actualizar a SIMCO v3.8.0 2026-01-10 08:53:08 -06:00
dist-es [SIMCO-V38] feat: Actualizar a SIMCO v3.8.0 2026-01-10 08:53:08 -06:00
dist-types [SIMCO-V38] feat: Actualizar a SIMCO v3.8.0 2026-01-10 08:53:08 -06:00
LICENSE [SIMCO-V38] feat: Actualizar a SIMCO v3.8.0 2026-01-10 08:53:08 -06:00
package.json [SIMCO-V38] feat: Actualizar a SIMCO v3.8.0 2026-01-10 08:53:08 -06:00
README.md [SIMCO-V38] feat: Actualizar a SIMCO v3.8.0 2026-01-10 08:53:08 -06:00

@aws-sdk/util-user-agent-browser

NPM version NPM downloads

Usage

In previous versions of the AWS SDK for JavaScript v3, the AWS SDK user agent header was provided by parsing the navigator user agent string with the bowser library.

This was later changed to browser feature detection using the native Navigator APIs, but if you would like to have the previous functionality, use the following code:

import { createUserAgentStringParsingProvider } from "@aws-sdk/util-user-agent-browser";

import { S3Client } from "@aws-sdk/client-s3";
import pkgInfo from "@aws-sdk/client-s3/package.json";
// or any other client.

const client = new S3Client({
  defaultUserAgentProvider: createUserAgentStringParsingProvider({
    // For a client's serviceId, check the corresponding shared runtimeConfig file
    // https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-s3/src/runtimeConfig.shared.ts
    serviceId: "S3",
    clientVersion: pkgInfo.version,
  }),
});

This usage is not recommended, due to the size of the additional parsing library.