@aws-sdk/client-signer 3.658.0 → 3.662.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
@@ -499,10 +499,7 @@ var se_GetRevocationStatusCommand = /* @__PURE__ */ __name(async (input, context
499
499
  [_pI]: [, (0, import_smithy_client.expectNonNull)(input[_pI], `platformId`)],
500
500
  [_pVA]: [, (0, import_smithy_client.expectNonNull)(input[_pVA], `profileVersionArn`)],
501
501
  [_jA]: [, (0, import_smithy_client.expectNonNull)(input[_jA], `jobArn`)],
502
- [_cH]: [
503
- (0, import_smithy_client.expectNonNull)(input.certificateHashes, `certificateHashes`) != null,
504
- () => (input[_cH] || []).map((_entry) => _entry)
505
- ]
502
+ [_cH]: [(0, import_smithy_client.expectNonNull)(input.certificateHashes, `certificateHashes`) != null, () => input[_cH] || []]
506
503
  });
507
504
  let body;
508
505
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -592,7 +589,7 @@ var se_ListSigningProfilesCommand = /* @__PURE__ */ __name(async (input, context
592
589
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
593
590
  [_nT]: [, input[_nT]],
594
591
  [_pI]: [, input[_pI]],
595
- [_st]: [() => input.statuses !== void 0, () => (input[_st] || []).map((_entry) => _entry)]
592
+ [_st]: [() => input.statuses !== void 0, () => input[_st] || []]
596
593
  });
597
594
  let body;
598
595
  b.m("GET").h(headers).q(query).b(body);
@@ -735,10 +732,7 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
735
732
  b.bp("/tags/{resourceArn}");
736
733
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
737
734
  const query = (0, import_smithy_client.map)({
738
- [_tK]: [
739
- (0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
740
- () => (input[_tK] || []).map((_entry) => _entry)
741
- ]
735
+ [_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
742
736
  });
743
737
  let body;
744
738
  b.m("DELETE").h(headers).q(query).b(body);
@@ -53,10 +53,7 @@ export const se_GetRevocationStatusCommand = async (input, context) => {
53
53
  [_pI]: [, __expectNonNull(input[_pI], `platformId`)],
54
54
  [_pVA]: [, __expectNonNull(input[_pVA], `profileVersionArn`)],
55
55
  [_jA]: [, __expectNonNull(input[_jA], `jobArn`)],
56
- [_cH]: [
57
- __expectNonNull(input.certificateHashes, `certificateHashes`) != null,
58
- () => (input[_cH] || []).map((_entry) => _entry),
59
- ],
56
+ [_cH]: [__expectNonNull(input.certificateHashes, `certificateHashes`) != null, () => input[_cH] || []],
60
57
  });
61
58
  let body;
62
59
  let { hostname: resolvedHostname } = await context.endpoint();
@@ -146,7 +143,7 @@ export const se_ListSigningProfilesCommand = async (input, context) => {
146
143
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
147
144
  [_nT]: [, input[_nT]],
148
145
  [_pI]: [, input[_pI]],
149
- [_st]: [() => input.statuses !== void 0, () => (input[_st] || []).map((_entry) => _entry)],
146
+ [_st]: [() => input.statuses !== void 0, () => input[_st] || []],
150
147
  });
151
148
  let body;
152
149
  b.m("GET").h(headers).q(query).b(body);
@@ -277,10 +274,7 @@ export const se_UntagResourceCommand = async (input, context) => {
277
274
  b.bp("/tags/{resourceArn}");
278
275
  b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
279
276
  const query = map({
280
- [_tK]: [
281
- __expectNonNull(input.tagKeys, `tagKeys`) != null,
282
- () => (input[_tK] || []).map((_entry) => _entry),
283
- ],
277
+ [_tK]: [__expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
284
278
  });
285
279
  let body;
286
280
  b.m("DELETE").h(headers).q(query).b(body);
@@ -817,11 +811,6 @@ const deserializeMetadata = (output) => ({
817
811
  cfId: output.headers["x-amz-cf-id"],
818
812
  });
819
813
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
820
- const isSerializableHeaderValue = (value) => value !== undefined &&
821
- value !== null &&
822
- value !== "" &&
823
- (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
824
- (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
825
814
  const _c = "category";
826
815
  const _cH = "certificateHashes";
827
816
  const _iC = "includeCanceled";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-signer",
3
3
  "description": "AWS SDK for JavaScript Signer Client for Node.js, Browser and React Native",
4
- "version": "3.658.0",
4
+ "version": "3.662.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-signer",
@@ -20,45 +20,45 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.658.0",
24
- "@aws-sdk/client-sts": "3.658.0",
25
- "@aws-sdk/core": "3.658.0",
26
- "@aws-sdk/credential-provider-node": "3.658.0",
27
- "@aws-sdk/middleware-host-header": "3.654.0",
28
- "@aws-sdk/middleware-logger": "3.654.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.654.0",
30
- "@aws-sdk/middleware-user-agent": "3.654.0",
31
- "@aws-sdk/region-config-resolver": "3.654.0",
32
- "@aws-sdk/types": "3.654.0",
33
- "@aws-sdk/util-endpoints": "3.654.0",
34
- "@aws-sdk/util-user-agent-browser": "3.654.0",
35
- "@aws-sdk/util-user-agent-node": "3.654.0",
36
- "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
39
- "@smithy/hash-node": "^3.0.6",
40
- "@smithy/invalid-dependency": "^3.0.6",
41
- "@smithy/middleware-content-length": "^3.0.8",
42
- "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
44
- "@smithy/middleware-serde": "^3.0.6",
45
- "@smithy/middleware-stack": "^3.0.6",
46
- "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
48
- "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
50
- "@smithy/types": "^3.4.2",
51
- "@smithy/url-parser": "^3.0.6",
23
+ "@aws-sdk/client-sso-oidc": "3.662.0",
24
+ "@aws-sdk/client-sts": "3.662.0",
25
+ "@aws-sdk/core": "3.662.0",
26
+ "@aws-sdk/credential-provider-node": "3.662.0",
27
+ "@aws-sdk/middleware-host-header": "3.662.0",
28
+ "@aws-sdk/middleware-logger": "3.662.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.662.0",
30
+ "@aws-sdk/middleware-user-agent": "3.662.0",
31
+ "@aws-sdk/region-config-resolver": "3.662.0",
32
+ "@aws-sdk/types": "3.662.0",
33
+ "@aws-sdk/util-endpoints": "3.662.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.662.0",
35
+ "@aws-sdk/util-user-agent-node": "3.662.0",
36
+ "@smithy/config-resolver": "^3.0.9",
37
+ "@smithy/core": "^2.4.7",
38
+ "@smithy/fetch-http-handler": "^3.2.9",
39
+ "@smithy/hash-node": "^3.0.7",
40
+ "@smithy/invalid-dependency": "^3.0.7",
41
+ "@smithy/middleware-content-length": "^3.0.9",
42
+ "@smithy/middleware-endpoint": "^3.1.4",
43
+ "@smithy/middleware-retry": "^3.0.22",
44
+ "@smithy/middleware-serde": "^3.0.7",
45
+ "@smithy/middleware-stack": "^3.0.7",
46
+ "@smithy/node-config-provider": "^3.1.8",
47
+ "@smithy/node-http-handler": "^3.2.4",
48
+ "@smithy/protocol-http": "^4.1.4",
49
+ "@smithy/smithy-client": "^3.3.6",
50
+ "@smithy/types": "^3.5.0",
51
+ "@smithy/url-parser": "^3.0.7",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
57
- "@smithy/util-endpoints": "^2.1.2",
58
- "@smithy/util-middleware": "^3.0.6",
59
- "@smithy/util-retry": "^3.0.6",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.22",
56
+ "@smithy/util-defaults-mode-node": "^3.0.22",
57
+ "@smithy/util-endpoints": "^2.1.3",
58
+ "@smithy/util-middleware": "^3.0.7",
59
+ "@smithy/util-retry": "^3.0.7",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
- "@smithy/util-waiter": "^3.1.5",
61
+ "@smithy/util-waiter": "^3.1.6",
62
62
  "tslib": "^2.6.2",
63
63
  "uuid": "^9.0.1"
64
64
  },