Skip to content

Commit fbbdb77

Browse files
seebeessrchase
authored andcommitted
repoint to @aws-crypto namespace (#171)
* repoint to @aws-crypto namespace * add external dependency map for crypto packages
1 parent 55b64ea commit fbbdb77

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

packages/hash-blob-browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"tslib": "^1.8.0"
2121
},
2222
"devDependencies": {
23-
"@aws-sdk/crypto-sha256-js": "^0.1.0-preview.1",
23+
"@aws-crypto/sha256-js": "^0.1.0-preview.1",
2424
"@aws-sdk/util-hex-encoding": "^0.1.0-preview.1",
2525
"@types/jest": "^20.0.2",
2626
"jasmine-core": "^2.8.0",

packages/hash-blob-browser/src/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Sha256} from '@aws-sdk/crypto-sha256-js';
1+
import {Sha256} from '@aws-crypto/sha256-js';
22
import {toHex} from '@aws-sdk/util-hex-encoding';
33
import {calculateSha256} from './index';
44

packages/hash-stream-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"tslib": "^1.8.0"
2020
},
2121
"devDependencies": {
22-
"@aws-sdk/crypto-sha256-js": "^0.1.0-preview.1",
22+
"@aws-crypto/sha256-js": "^0.1.0-preview.1",
2323
"@aws-sdk/util-hex-encoding": "^0.1.0-preview.1",
2424
"@types/jest": "^20.0.2",
2525
"@types/node": "^8.10.29",

packages/hash-stream-node/src/index.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {createReadStream, mkdtempSync, writeFileSync} from 'fs';
22
import {join} from 'path';
33
import {tmpdir} from 'os';
44
import {Readable} from 'stream';
5-
import {Sha256} from '@aws-sdk/crypto-sha256-js';
5+
import {Sha256} from '@aws-crypto/sha256-js';
66
import {toHex} from '@aws-sdk/util-hex-encoding';
77
import {calculateSha256} from './index';
88

packages/signature-v4/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"tslib": "^1.8.0"
2424
},
2525
"devDependencies": {
26-
"@aws-sdk/crypto-sha256-js": "^0.1.0-preview.1",
26+
"@aws-crypto/sha256-js": "^0.1.0-preview.1",
2727
"@aws-sdk/http-serialization": "^0.1.0-preview.1",
2828
"@aws-sdk/util-buffer-from": "^0.1.0-preview.1",
2929
"@types/jest": "^20.0.2",

packages/signature-v4/src/SignatureV4.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414
TOKEN_QUERY_PARAM,
1515
UNSIGNED_PAYLOAD,
1616
} from "./constants";
17-
import {Sha256} from "@aws-sdk/crypto-sha256-js";
17+
import {Sha256} from "@aws-crypto/sha256-js";
1818
import {Credentials, HttpRequest} from "@aws-sdk/types";
1919
import {iso8601} from "@aws-sdk/protocol-timestamp";
2020

packages/signature-v4/src/credentialDerivation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
getSigningKey
55
} from "./credentialDerivation";
66
import {toHex} from '@aws-sdk/util-hex-encoding';
7-
import {Sha256} from '@aws-sdk/crypto-sha256-js';
7+
import {Sha256} from '@aws-crypto/sha256-js';
88
import {Credentials} from "@aws-sdk/types";
99

1010
describe('createScope', () => {

packages/signature-v4/src/getPayloadHash.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {getPayloadHash} from "./getPayloadHash";
22
import {SHA256_HEADER, UNSIGNED_PAYLOAD} from "./constants";
33
import {HttpRequest} from "@aws-sdk/types";
4-
import {Sha256} from "@aws-sdk/crypto-sha256-js";
4+
import {Sha256} from "@aws-crypto/sha256-js";
55

66
describe('getPayloadHash', () => {
77
const minimalRequest: HttpRequest<any> = {

packages/signature-v4/src/suite.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
service,
77
signingDate,
88
} from './suite.fixture';
9-
import {Sha256} from "@aws-sdk/crypto-sha256-js";
9+
import {Sha256} from "@aws-crypto/sha256-js";
1010

1111
/**
1212
* Executes the official AWS Signature Version 4 test suite.

0 commit comments

Comments
 (0)