@aws-sdk/config 3.1075.0 → 3.1077.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/credentials.d.ts CHANGED
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/config/credentials" {
6
- export * from "@aws-sdk/config/dist-types/submodules/credentials/index.d";
7
- }
5
+ export * from "./dist-types/submodules/credentials/index";
@@ -0,0 +1,5 @@
1
+ const no = Symbol.for("node-only");
2
+ export { HttpRequest, HttpResponse } from "@smithy/core/protocols";
3
+ export { FetchHttpHandler } from "@smithy/fetch-http-handler";
4
+ export const NodeHttpHandler = no;
5
+ export const NodeHttp2Handler = no;
@@ -0,0 +1,5 @@
1
+ export { HttpRequest, HttpResponse } from "@smithy/core/protocols";
2
+ export { FetchHttpHandler, type FetchHttpHandlerOptions } from "@smithy/fetch-http-handler";
3
+ export { type NodeHttpHandlerOptions, type NodeHttp2HandlerOptions } from "@smithy/node-http-handler";
4
+ export declare const NodeHttpHandler: symbol;
5
+ export declare const NodeHttp2Handler: symbol;
@@ -0,0 +1,11 @@
1
+ export { HttpRequest, HttpResponse } from "@smithy/core/protocols";
2
+ export {
3
+ FetchHttpHandler,
4
+ FetchHttpHandlerOptions,
5
+ } from "@smithy/fetch-http-handler";
6
+ export {
7
+ NodeHttpHandlerOptions,
8
+ NodeHttp2HandlerOptions,
9
+ } from "@smithy/node-http-handler";
10
+ export declare const NodeHttpHandler: symbol;
11
+ export declare const NodeHttp2Handler: symbol;
package/logger.d.ts CHANGED
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/config/logger" {
6
- export * from "@aws-sdk/config/dist-types/submodules/logger/index.d";
7
- }
5
+ export * from "./dist-types/submodules/logger/index";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/config",
3
- "version": "3.1075.0",
3
+ "version": "3.1077.0",
4
4
  "description": "Injectable dependencies, extensions, and other plugins for AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
@@ -45,6 +45,8 @@
45
45
  },
46
46
  "./requestHandler": {
47
47
  "types": "./dist-types/submodules/requestHandler/index.d.ts",
48
+ "react-native": "./dist-es/submodules/requestHandler/index.browser.js",
49
+ "browser": "./dist-es/submodules/requestHandler/index.browser.js",
48
50
  "module": "./dist-es/submodules/requestHandler/index.js",
49
51
  "node": "./dist-cjs/submodules/requestHandler/index.js",
50
52
  "import": "./dist-es/submodules/requestHandler/index.js",
@@ -87,14 +89,14 @@
87
89
  },
88
90
  "license": "Apache-2.0",
89
91
  "dependencies": {
90
- "@aws-sdk/core": "^3.974.23",
91
- "@aws-sdk/credential-providers": "3.1075.0",
92
- "@aws-sdk/types": "^3.973.13",
93
- "@smithy/core": "^3.24.6",
94
- "@smithy/fetch-http-handler": "^5.4.6",
95
- "@smithy/node-http-handler": "^4.7.6",
96
- "@smithy/typecheck": "^1.1.6",
97
- "@smithy/types": "^4.14.3",
92
+ "@aws-sdk/core": "^3.974.25",
93
+ "@aws-sdk/credential-providers": "3.1077.0",
94
+ "@aws-sdk/types": "^3.973.14",
95
+ "@smithy/core": "^3.28.0",
96
+ "@smithy/fetch-http-handler": "^5.6.1",
97
+ "@smithy/node-http-handler": "^4.9.1",
98
+ "@smithy/typecheck": "^1.2.4",
99
+ "@smithy/types": "^4.15.0",
98
100
  "tslib": "^2.6.2"
99
101
  },
100
102
  "devDependencies": {
@@ -119,5 +121,11 @@
119
121
  "type": "git",
120
122
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
121
123
  "directory": "packages/config"
124
+ },
125
+ "browser": {
126
+ "./dist-es/submodules/requestHandler/index.js": "./dist-es/submodules/requestHandler/index.browser.js"
127
+ },
128
+ "react-native": {
129
+ "./dist-es/submodules/requestHandler/index.js": "./dist-es/submodules/requestHandler/index.browser.js"
122
130
  }
123
131
  }
package/protocol.d.ts CHANGED
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/config/protocol" {
6
- export * from "@aws-sdk/config/dist-types/submodules/protocol/index.d";
7
- }
5
+ export * from "./dist-types/submodules/protocol/index";
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/config/requestHandler" {
6
- export * from "@aws-sdk/config/dist-types/submodules/requestHandler/index.d";
7
- }
5
+ export * from "./dist-types/submodules/requestHandler/index";
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/config/retryStrategy" {
6
- export * from "@aws-sdk/config/dist-types/submodules/retryStrategy/index.d";
7
- }
5
+ export * from "./dist-types/submodules/retryStrategy/index";
package/typecheck.d.ts CHANGED
@@ -2,6 +2,4 @@
2
2
  * Do not edit:
3
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
4
4
  */
5
- declare module "@aws-sdk/config/typecheck" {
6
- export * from "@aws-sdk/config/dist-types/submodules/typecheck/index.d";
7
- }
5
+ export * from "./dist-types/submodules/typecheck/index";