@aws-sdk/util-user-agent-node 3.19.0 → 3.25.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 CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.25.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.24.0...v3.25.0) (2021-08-05)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/util-user-agent-node
9
+
10
+
11
+
12
+
13
+
14
+ # [3.23.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.22.0...v3.23.0) (2021-07-23)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * bump up tslib to 2.3.0 ([#2601](https://github.com/aws/aws-sdk-js-v3/issues/2601)) ([7040faa](https://github.com/aws/aws-sdk-js-v3/commit/7040faac07976c1dcfd5240675b82a2f275b2a55))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.22.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.21.0...v3.22.0) (2021-07-16)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **clients:** prefix `dist/` for typesVersions TS<4 ([#2580](https://github.com/aws/aws-sdk-js-v3/issues/2580)) ([dff5cd4](https://github.com/aws/aws-sdk-js-v3/commit/dff5cd4b6fa00453e938ce8f238c1542ee7ba3d6))
31
+
32
+
33
+
34
+
35
+
36
+ # [3.20.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.19.0...v3.20.0) (2021-07-02)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * replace prepublishOnly script with downlevel-dts ([#2537](https://github.com/aws/aws-sdk-js-v3/issues/2537)) ([63818a1](https://github.com/aws/aws-sdk-js-v3/commit/63818a1e47b08af56f092031a01bbbff0a9af590))
42
+
43
+
44
+
45
+
46
+
6
47
  # [3.19.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.18.0...v3.19.0) (2021-06-24)
7
48
 
8
49
  **Note:** Version bump only for package @aws-sdk/util-user-agent-node
@@ -0,0 +1,12 @@
1
+ import { Provider, UserAgent } from "@aws-sdk/types";
2
+ export declare const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
3
+ export declare const UA_APP_ID_INI_NAME = "sdk-ua-app-id";
4
+ interface DefaultUserAgentOptions {
5
+ serviceId?: string;
6
+ clientVersion: string;
7
+ }
8
+ /**
9
+ * Collect metrics from runtime to put into user agent.
10
+ */
11
+ export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => Provider<UserAgent>;
12
+ export {};
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-user-agent-node",
3
- "version": "3.19.0",
3
+ "version": "3.25.0",
4
4
  "scripts": {
5
- "prepublishOnly": "yarn build && downlevel-dts dist/types dist/types/ts3.4",
6
5
  "build:cjs": "tsc -p tsconfig.cjs.json",
7
6
  "build:es": "tsc -p tsconfig.es.json",
8
7
  "build": "yarn build:es && yarn build:cjs",
8
+ "downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4",
9
9
  "test": "jest"
10
10
  },
11
11
  "main": "./dist/cjs/index.js",
@@ -17,12 +17,12 @@
17
17
  },
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@aws-sdk/node-config-provider": "3.19.0",
21
- "@aws-sdk/types": "3.18.0",
22
- "tslib": "^2.0.0"
20
+ "@aws-sdk/node-config-provider": "3.25.0",
21
+ "@aws-sdk/types": "3.25.0",
22
+ "tslib": "^2.3.0"
23
23
  },
24
24
  "devDependencies": {
25
- "@aws-sdk/protocol-http": "3.18.0",
25
+ "@aws-sdk/protocol-http": "3.25.0",
26
26
  "@types/jest": "^26.0.4",
27
27
  "@types/node": "^10.0.0",
28
28
  "jest": "^26.1.0",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "typesVersions": {
35
35
  "<4.0": {
36
- "types/*": [
37
- "types/ts3.4/*"
36
+ "dist/types/*": [
37
+ "dist/types/ts3.4/*"
38
38
  ]
39
39
  }
40
40
  },