@aws-sdk/client-signer 3.758.0 → 3.774.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 +26 -26
- package/package.json +7 -7
package/dist-cjs/index.js
CHANGED
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
AccessDeniedException: () => AccessDeniedException,
|
|
25
25
|
AddProfilePermissionCommand: () => AddProfilePermissionCommand,
|
|
26
26
|
BadRequestException: () => BadRequestException,
|
|
@@ -67,7 +67,7 @@ __export(src_exports, {
|
|
|
67
67
|
waitForSuccessfulSigningJob: () => waitForSuccessfulSigningJob,
|
|
68
68
|
waitUntilSuccessfulSigningJob: () => waitUntilSuccessfulSigningJob
|
|
69
69
|
});
|
|
70
|
-
module.exports = __toCommonJS(
|
|
70
|
+
module.exports = __toCommonJS(index_exports);
|
|
71
71
|
|
|
72
72
|
// src/SignerClient.ts
|
|
73
73
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -194,9 +194,9 @@ var SignerClient = class extends import_smithy_client.Client {
|
|
|
194
194
|
this.middlewareStack.use(
|
|
195
195
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
196
196
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSignerHttpAuthSchemeParametersProvider,
|
|
197
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
197
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
198
198
|
"aws.auth#sigv4": config.credentials
|
|
199
|
-
})
|
|
199
|
+
}), "identityProviderConfigProvider")
|
|
200
200
|
})
|
|
201
201
|
);
|
|
202
202
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -640,12 +640,12 @@ var se_PutSigningProfileCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
640
640
|
let body;
|
|
641
641
|
body = JSON.stringify(
|
|
642
642
|
(0, import_smithy_client.take)(input, {
|
|
643
|
-
overrides: (_) => (0, import_smithy_client._json)(_),
|
|
643
|
+
overrides: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "overrides"),
|
|
644
644
|
platformId: [],
|
|
645
|
-
signatureValidityPeriod: (_) => (0, import_smithy_client._json)(_),
|
|
646
|
-
signingMaterial: (_) => (0, import_smithy_client._json)(_),
|
|
647
|
-
signingParameters: (_) => (0, import_smithy_client._json)(_),
|
|
648
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
645
|
+
signatureValidityPeriod: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "signatureValidityPeriod"),
|
|
646
|
+
signingMaterial: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "signingMaterial"),
|
|
647
|
+
signingParameters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "signingParameters"),
|
|
648
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
649
649
|
})
|
|
650
650
|
);
|
|
651
651
|
b.m("PUT").h(headers).b(body);
|
|
@@ -691,7 +691,7 @@ var se_RevokeSigningProfileCommand = /* @__PURE__ */ __name(async (input, contex
|
|
|
691
691
|
let body;
|
|
692
692
|
body = JSON.stringify(
|
|
693
693
|
(0, import_smithy_client.take)(input, {
|
|
694
|
-
effectiveTime: (_) => _.getTime() / 1e3,
|
|
694
|
+
effectiveTime: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "effectiveTime"),
|
|
695
695
|
profileVersion: [],
|
|
696
696
|
reason: []
|
|
697
697
|
})
|
|
@@ -708,7 +708,7 @@ var se_SignPayloadCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
708
708
|
let body;
|
|
709
709
|
body = JSON.stringify(
|
|
710
710
|
(0, import_smithy_client.take)(input, {
|
|
711
|
-
payload: (_) => context.base64Encoder(_),
|
|
711
|
+
payload: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "payload"),
|
|
712
712
|
payloadFormat: [],
|
|
713
713
|
profileName: [],
|
|
714
714
|
profileOwner: []
|
|
@@ -727,10 +727,10 @@ var se_StartSigningJobCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
727
727
|
body = JSON.stringify(
|
|
728
728
|
(0, import_smithy_client.take)(input, {
|
|
729
729
|
clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
730
|
-
destination: (_) => (0, import_smithy_client._json)(_),
|
|
730
|
+
destination: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "destination"),
|
|
731
731
|
profileName: [],
|
|
732
732
|
profileOwner: [],
|
|
733
|
-
source: (_) => (0, import_smithy_client._json)(_)
|
|
733
|
+
source: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "source")
|
|
734
734
|
})
|
|
735
735
|
);
|
|
736
736
|
b.m("POST").h(headers).b(body);
|
|
@@ -746,7 +746,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
746
746
|
let body;
|
|
747
747
|
body = JSON.stringify(
|
|
748
748
|
(0, import_smithy_client.take)(input, {
|
|
749
|
-
tags: (_) => (0, import_smithy_client._json)(_)
|
|
749
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
750
750
|
})
|
|
751
751
|
);
|
|
752
752
|
b.m("POST").h(headers).b(body);
|
|
@@ -797,8 +797,8 @@ var de_DescribeSigningJobCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
797
797
|
});
|
|
798
798
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
799
799
|
const doc = (0, import_smithy_client.take)(data, {
|
|
800
|
-
completedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
801
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
800
|
+
completedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "completedAt"),
|
|
801
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
802
802
|
jobId: import_smithy_client.expectString,
|
|
803
803
|
jobInvoker: import_smithy_client.expectString,
|
|
804
804
|
jobOwner: import_smithy_client.expectString,
|
|
@@ -808,8 +808,8 @@ var de_DescribeSigningJobCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
808
808
|
profileName: import_smithy_client.expectString,
|
|
809
809
|
profileVersion: import_smithy_client.expectString,
|
|
810
810
|
requestedBy: import_smithy_client.expectString,
|
|
811
|
-
revocationRecord: (_) => de_SigningJobRevocationRecord(_, context),
|
|
812
|
-
signatureExpiresAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
811
|
+
revocationRecord: /* @__PURE__ */ __name((_) => de_SigningJobRevocationRecord(_, context), "revocationRecord"),
|
|
812
|
+
signatureExpiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "signatureExpiresAt"),
|
|
813
813
|
signedObject: import_smithy_client._json,
|
|
814
814
|
signingMaterial: import_smithy_client._json,
|
|
815
815
|
signingParameters: import_smithy_client._json,
|
|
@@ -872,7 +872,7 @@ var de_GetSigningProfileCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
872
872
|
profileName: import_smithy_client.expectString,
|
|
873
873
|
profileVersion: import_smithy_client.expectString,
|
|
874
874
|
profileVersionArn: import_smithy_client.expectString,
|
|
875
|
-
revocationRecord: (_) => de_SigningProfileRevocationRecord(_, context),
|
|
875
|
+
revocationRecord: /* @__PURE__ */ __name((_) => de_SigningProfileRevocationRecord(_, context), "revocationRecord"),
|
|
876
876
|
signatureValidityPeriod: import_smithy_client._json,
|
|
877
877
|
signingMaterial: import_smithy_client._json,
|
|
878
878
|
signingParameters: import_smithy_client._json,
|
|
@@ -909,7 +909,7 @@ var de_ListSigningJobsCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
909
909
|
});
|
|
910
910
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
911
911
|
const doc = (0, import_smithy_client.take)(data, {
|
|
912
|
-
jobs: (_) => de_SigningJobs(_, context),
|
|
912
|
+
jobs: /* @__PURE__ */ __name((_) => de_SigningJobs(_, context), "jobs"),
|
|
913
913
|
nextToken: import_smithy_client.expectString
|
|
914
914
|
});
|
|
915
915
|
Object.assign(contents, doc);
|
|
@@ -1250,7 +1250,7 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1250
1250
|
}, "de_ValidationExceptionRes");
|
|
1251
1251
|
var de_SigningJob = /* @__PURE__ */ __name((output, context) => {
|
|
1252
1252
|
return (0, import_smithy_client.take)(output, {
|
|
1253
|
-
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1253
|
+
createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createdAt"),
|
|
1254
1254
|
isRevoked: import_smithy_client.expectBoolean,
|
|
1255
1255
|
jobId: import_smithy_client.expectString,
|
|
1256
1256
|
jobInvoker: import_smithy_client.expectString,
|
|
@@ -1259,7 +1259,7 @@ var de_SigningJob = /* @__PURE__ */ __name((output, context) => {
|
|
|
1259
1259
|
platformId: import_smithy_client.expectString,
|
|
1260
1260
|
profileName: import_smithy_client.expectString,
|
|
1261
1261
|
profileVersion: import_smithy_client.expectString,
|
|
1262
|
-
signatureExpiresAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1262
|
+
signatureExpiresAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "signatureExpiresAt"),
|
|
1263
1263
|
signedObject: import_smithy_client._json,
|
|
1264
1264
|
signingMaterial: import_smithy_client._json,
|
|
1265
1265
|
source: import_smithy_client._json,
|
|
@@ -1269,7 +1269,7 @@ var de_SigningJob = /* @__PURE__ */ __name((output, context) => {
|
|
|
1269
1269
|
var de_SigningJobRevocationRecord = /* @__PURE__ */ __name((output, context) => {
|
|
1270
1270
|
return (0, import_smithy_client.take)(output, {
|
|
1271
1271
|
reason: import_smithy_client.expectString,
|
|
1272
|
-
revokedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1272
|
+
revokedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "revokedAt"),
|
|
1273
1273
|
revokedBy: import_smithy_client.expectString
|
|
1274
1274
|
});
|
|
1275
1275
|
}, "de_SigningJobRevocationRecord");
|
|
@@ -1281,8 +1281,8 @@ var de_SigningJobs = /* @__PURE__ */ __name((output, context) => {
|
|
|
1281
1281
|
}, "de_SigningJobs");
|
|
1282
1282
|
var de_SigningProfileRevocationRecord = /* @__PURE__ */ __name((output, context) => {
|
|
1283
1283
|
return (0, import_smithy_client.take)(output, {
|
|
1284
|
-
revocationEffectiveFrom: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1285
|
-
revokedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1284
|
+
revocationEffectiveFrom: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "revocationEffectiveFrom"),
|
|
1285
|
+
revokedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "revokedAt"),
|
|
1286
1286
|
revokedBy: import_smithy_client.expectString
|
|
1287
1287
|
});
|
|
1288
1288
|
}, "de_SigningProfileRevocationRecord");
|
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.
|
|
4
|
+
"version": "3.774.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,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|