@aws-sdk/body-checksum-node 3.357.0 → 3.369.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/dist-cjs/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.bodyChecksumGenerator = void 0;
4
4
  const chunked_stream_reader_node_1 = require("@aws-sdk/chunked-stream-reader-node");
5
- const is_array_buffer_1 = require("@aws-sdk/is-array-buffer");
6
5
  const sha256_tree_hash_1 = require("@aws-sdk/sha256-tree-hash");
7
- const util_hex_encoding_1 = require("@aws-sdk/util-hex-encoding");
8
- const util_utf8_1 = require("@aws-sdk/util-utf8");
6
+ const is_array_buffer_1 = require("@smithy/is-array-buffer");
7
+ const util_hex_encoding_1 = require("@smithy/util-hex-encoding");
8
+ const util_utf8_1 = require("@smithy/util-utf8");
9
9
  const fs_1 = require("fs");
10
10
  async function bodyChecksumGenerator(request, options) {
11
11
  const contentHash = new options.sha256();
package/dist-es/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { streamReader } from "@aws-sdk/chunked-stream-reader-node";
2
- import { isArrayBuffer } from "@aws-sdk/is-array-buffer";
3
2
  import { TreeHash } from "@aws-sdk/sha256-tree-hash";
4
- import { toHex } from "@aws-sdk/util-hex-encoding";
5
- import { toUint8Array } from "@aws-sdk/util-utf8";
3
+ import { isArrayBuffer } from "@smithy/is-array-buffer";
4
+ import { toHex } from "@smithy/util-hex-encoding";
5
+ import { toUint8Array } from "@smithy/util-utf8";
6
6
  import { createReadStream } from "fs";
7
7
  export async function bodyChecksumGenerator(request, options) {
8
8
  const contentHash = new options.sha256();
@@ -1,4 +1,4 @@
1
- import { ChecksumConstructor, Decoder, HashConstructor, HttpRequest } from "@aws-sdk/types";
1
+ import { ChecksumConstructor, Decoder, HashConstructor, HttpRequest } from "@smithy/types";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -3,7 +3,7 @@ import {
3
3
  Decoder,
4
4
  HashConstructor,
5
5
  HttpRequest,
6
- } from "@aws-sdk/types";
6
+ } from "@smithy/types";
7
7
  export declare function bodyChecksumGenerator(
8
8
  request: HttpRequest,
9
9
  options: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/body-checksum-node",
3
- "version": "3.357.0",
3
+ "version": "3.369.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,12 +21,13 @@
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
23
  "@aws-sdk/chunked-stream-reader-node": "3.310.0",
24
- "@aws-sdk/is-array-buffer": "3.310.0",
25
- "@aws-sdk/protocol-http": "3.357.0",
26
- "@aws-sdk/sha256-tree-hash": "3.357.0",
27
- "@aws-sdk/types": "3.357.0",
28
- "@aws-sdk/util-hex-encoding": "3.310.0",
29
- "@aws-sdk/util-utf8": "3.310.0",
24
+ "@aws-sdk/sha256-tree-hash": "3.369.0",
25
+ "@aws-sdk/types": "3.369.0",
26
+ "@smithy/is-array-buffer": "^1.0.1",
27
+ "@smithy/protocol-http": "^1.1.0",
28
+ "@smithy/types": "^1.1.0",
29
+ "@smithy/util-hex-encoding": "^1.0.1",
30
+ "@smithy/util-utf8": "^1.0.1",
30
31
  "tslib": "^2.5.0"
31
32
  },
32
33
  "devDependencies": {