@aws-sdk/util-user-agent-node 3.906.0 → 3.908.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.
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import { Provider, UserAgent } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
2
5
|
export { crtAvailability } from "./crt-availability";
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
3
9
|
export interface DefaultUserAgentOptions {
|
|
4
10
|
serviceId?: string;
|
|
5
11
|
clientVersion: string;
|
|
6
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
7
16
|
export interface PreviouslyResolved {
|
|
8
17
|
userAgentAppId: Provider<string | undefined>;
|
|
9
18
|
}
|
|
10
19
|
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*
|
|
13
20
|
* Collect metrics from runtime to put into user agent.
|
|
21
|
+
* @internal
|
|
14
22
|
*/
|
|
15
23
|
export declare const createDefaultUserAgentProvider: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
|
|
16
24
|
/**
|
|
17
|
-
*
|
|
18
25
|
* @internal
|
|
19
|
-
*
|
|
20
26
|
* @deprecated use createDefaultUserAgentProvider
|
|
21
|
-
*
|
|
22
27
|
*/
|
|
23
28
|
export declare const defaultUserAgent: ({ serviceId, clientVersion }: DefaultUserAgentOptions) => (config?: PreviouslyResolved) => Promise<UserAgent>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/util-user-agent-node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.908.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline util-user-agent-node",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
25
|
+
"@aws-sdk/middleware-user-agent": "3.908.0",
|
|
26
26
|
"@aws-sdk/types": "3.901.0",
|
|
27
27
|
"@smithy/node-config-provider": "^4.3.0",
|
|
28
28
|
"@smithy/types": "^4.6.0",
|