@aws-sdk/body-checksum-browser 3.357.0 → 3.363.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 +3 -3
- package/dist-es/index.js +3 -3
- package/dist-types/index.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/package.json +7 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bodyChecksumGenerator = void 0;
|
|
4
|
-
const chunked_blob_reader_1 = require("@aws-sdk/chunked-blob-reader");
|
|
5
4
|
const sha256_tree_hash_1 = require("@aws-sdk/sha256-tree-hash");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
5
|
+
const chunked_blob_reader_1 = require("@smithy/chunked-blob-reader");
|
|
6
|
+
const util_hex_encoding_1 = require("@smithy/util-hex-encoding");
|
|
7
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
8
8
|
const MiB = 1024 * 1024;
|
|
9
9
|
async function bodyChecksumGenerator(request, options) {
|
|
10
10
|
const contentHash = new options.sha256();
|
package/dist-es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { blobReader } from "@aws-sdk/chunked-blob-reader";
|
|
2
1
|
import { TreeHash } from "@aws-sdk/sha256-tree-hash";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { blobReader } from "@smithy/chunked-blob-reader";
|
|
3
|
+
import { toHex } from "@smithy/util-hex-encoding";
|
|
4
|
+
import { toUint8Array } from "@smithy/util-utf8";
|
|
5
5
|
const MiB = 1024 * 1024;
|
|
6
6
|
export async function bodyChecksumGenerator(request, options) {
|
|
7
7
|
const contentHash = new options.sha256();
|
package/dist-types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/body-checksum-browser",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.363.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",
|
|
@@ -20,12 +20,13 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/
|
|
24
|
-
"@aws-sdk/protocol-http": "3.357.0",
|
|
25
|
-
"@aws-sdk/sha256-tree-hash": "3.357.0",
|
|
23
|
+
"@aws-sdk/sha256-tree-hash": "3.363.0",
|
|
26
24
|
"@aws-sdk/types": "3.357.0",
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
25
|
+
"@smithy/chunked-blob-reader": "^1.0.1",
|
|
26
|
+
"@smithy/protocol-http": "^1.1.0",
|
|
27
|
+
"@smithy/types": "^1.1.0",
|
|
28
|
+
"@smithy/util-hex-encoding": "^1.0.1",
|
|
29
|
+
"@smithy/util-utf8": "^1.0.1",
|
|
29
30
|
"tslib": "^2.5.0"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|