@aws-sdk/xhr-http-handler 3.1087.0 → 3.1088.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/README.md CHANGED
@@ -42,9 +42,7 @@ const client = new S3Client({
42
42
 
43
43
  const upload = new Upload({
44
44
  client,
45
- params: {
46
- /* ... */
47
- },
45
+ params: {/* ... */},
48
46
  });
49
47
 
50
48
  upload.on("httpUploadProgress", (progress) => {
@@ -1,5 +1,2 @@
1
1
  export { XhrHttpHandler } from "./xhr-http-handler";
2
- export {
3
- XhrHttpHandlerOptions,
4
- XhrHttpHandlerEvents,
5
- } from "./xhr-http-handler";
2
+ export { XhrHttpHandlerOptions, XhrHttpHandlerEvents } from "./xhr-http-handler";
@@ -20,20 +20,18 @@ export declare class XhrHttpHandler
20
20
  private config?;
21
21
  private configProvider;
22
22
  static create(
23
- instanceOrOptions?: HttpHandler<any> | XhrHttpHandlerOptions
23
+ instanceOrOptions?: HttpHandler<any> | XhrHttpHandlerOptions,
24
24
  ): XhrHttpHandler | HttpHandler<any>;
25
- constructor(
26
- options?: XhrHttpHandlerOptions | Provider<XhrHttpHandlerOptions>
27
- );
25
+ constructor(options?: XhrHttpHandlerOptions | Provider<XhrHttpHandlerOptions>);
28
26
  updateHttpClientConfig(
29
27
  key: keyof XhrHttpHandlerOptions,
30
- value: XhrHttpHandlerOptions[typeof key]
28
+ value: XhrHttpHandlerOptions[typeof key],
31
29
  ): void;
32
30
  httpHandlerConfigs(): XhrHttpHandlerOptions;
33
31
  destroy(): void;
34
32
  handle(
35
33
  request: HttpRequest,
36
- { abortSignal, requestTimeout }?: HttpHandlerOptions
34
+ { abortSignal, requestTimeout }?: HttpHandlerOptions,
37
35
  ): Promise<{
38
36
  response: HttpResponse;
39
37
  }>;
package/package.json CHANGED
@@ -1,7 +1,35 @@
1
1
  {
2
2
  "name": "@aws-sdk/xhr-http-handler",
3
- "version": "3.1087.0",
3
+ "version": "3.1088.0",
4
4
  "description": "Provides a way to make requests using XMLHttpRequest",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/xhr-http-handler",
6
+ "bugs": {
7
+ "url": "https://github.com/aws/aws-sdk-js-v3/issues"
8
+ },
9
+ "license": "Apache-2.0",
10
+ "author": {
11
+ "name": "AWS SDK for JavaScript Team",
12
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/aws/aws-sdk-js-v3.git",
17
+ "directory": "packages/xhr-http-handler"
18
+ },
19
+ "files": [
20
+ "dist-*/**"
21
+ ],
22
+ "sideEffects": false,
23
+ "main": "./dist-cjs/index.js",
24
+ "module": "./dist-es/index.js",
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
5
33
  "scripts": {
6
34
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
35
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,47 +42,19 @@
14
42
  "test": "yarn g:vitest run",
15
43
  "test:watch": "yarn g:vitest watch"
16
44
  },
17
- "sideEffects": false,
18
- "author": {
19
- "name": "AWS SDK for JavaScript Team",
20
- "url": "https://aws.amazon.com/sdk-for-javascript/"
21
- },
22
- "license": "Apache-2.0",
23
- "main": "./dist-cjs/index.js",
24
- "module": "./dist-es/index.js",
25
- "types": "./dist-types/index.d.ts",
26
45
  "dependencies": {
27
- "@aws-sdk/types": "^3.974.1",
28
- "@smithy/core": "^3.29.3",
46
+ "@aws-sdk/types": "^3.974.2",
47
+ "@smithy/core": "^3.29.4",
29
48
  "@smithy/types": "^4.16.1",
30
49
  "events": "3.3.0",
31
50
  "tslib": "^2.6.2"
32
51
  },
33
52
  "devDependencies": {
34
- "@smithy/abort-controller": "^4.3.2",
53
+ "@smithy/abort-controller": "^4.3.3",
35
54
  "@tsconfig/recommended": "1.0.1",
36
55
  "concurrently": "7.0.0",
37
56
  "downlevel-dts": "0.10.1",
38
57
  "premove": "4.0.0",
39
58
  "typescript": "~5.8.3"
40
- },
41
- "typesVersions": {
42
- "<4.5": {
43
- "dist-types/*": [
44
- "dist-types/ts3.4/*"
45
- ]
46
- }
47
- },
48
- "files": [
49
- "dist-*/**"
50
- ],
51
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/xhr-http-handler",
52
- "repository": {
53
- "type": "git",
54
- "url": "git+https://github.com/aws/aws-sdk-js-v3.git",
55
- "directory": "packages/xhr-http-handler"
56
- },
57
- "bugs": {
58
- "url": "https://github.com/aws/aws-sdk-js-v3/issues"
59
59
  }
60
60
  }