We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6128b63 commit 6df2e22Copy full SHA for 6df2e22
packages/util-user-agent-node/src/nodeAppIdConfigOptions.ts
@@ -11,11 +11,16 @@ export const UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID";
11
*/
12
export const UA_APP_ID_INI_NAME = "sdk_ua_app_id";
13
14
+/**
15
+ * @internal
16
+ */
17
+export const UA_APP_ID_INI_NAME_DEPRECATED = "sdk-ua-app-id";
18
+
19
/**
20
* @internal
21
22
export const NODE_APP_ID_CONFIG_OPTIONS: LoadedConfigSelectors<string | undefined> = {
23
environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME],
- configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME],
24
+ configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],
25
default: DEFAULT_UA_APP_ID,
26
};
0 commit comments