@smithy/signature-v4 2.0.0 → 2.0.2

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.
@@ -18,8 +18,8 @@ const getCanonicalQuery = ({ query = {} }) => {
18
18
  else if (Array.isArray(value)) {
19
19
  serialized[key] = value
20
20
  .slice(0)
21
- .sort()
22
21
  .reduce((encoded, value) => encoded.concat([`${(0, util_uri_escape_1.escapeUri)(key)}=${(0, util_uri_escape_1.escapeUri)(value)}`]), [])
22
+ .sort()
23
23
  .join("&");
24
24
  }
25
25
  }
@@ -15,8 +15,8 @@ export const getCanonicalQuery = ({ query = {} }) => {
15
15
  else if (Array.isArray(value)) {
16
16
  serialized[key] = value
17
17
  .slice(0)
18
- .sort()
19
18
  .reduce((encoded, value) => encoded.concat([`${escapeUri(key)}=${escapeUri(value)}`]), [])
19
+ .sort()
20
20
  .join("&");
21
21
  }
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/signature-v4",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "A standalone implementation of the AWS Signature V4 request signing algorithm",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,9 +24,9 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@smithy/eventstream-codec": "^2.0.0",
27
+ "@smithy/eventstream-codec": "^2.0.2",
28
28
  "@smithy/is-array-buffer": "^2.0.0",
29
- "@smithy/types": "^2.0.1",
29
+ "@smithy/types": "^2.1.0",
30
30
  "@smithy/util-hex-encoding": "^2.0.0",
31
31
  "@smithy/util-middleware": "^2.0.0",
32
32
  "@smithy/util-uri-escape": "^2.0.0",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@aws-crypto/sha256-js": "3.0.0",
38
- "@smithy/protocol-http": "^2.0.0",
38
+ "@smithy/protocol-http": "^2.0.2",
39
39
  "@tsconfig/recommended": "1.0.1",
40
40
  "concurrently": "7.0.0",
41
41
  "downlevel-dts": "0.10.1",