@aws-sdk/client-signer 3.241.0 → 3.252.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.
|
@@ -140,11 +140,11 @@ const serializeAws_restJson1ListSigningJobsCommand = async (input, context) => {
|
|
|
140
140
|
isRevoked: [() => input.isRevoked !== void 0, () => input.isRevoked.toString()],
|
|
141
141
|
signatureExpiresBefore: [
|
|
142
142
|
() => input.signatureExpiresBefore !== void 0,
|
|
143
|
-
() =>
|
|
143
|
+
() => input.signatureExpiresBefore.toISOString().split(".")[0] + "Z",
|
|
144
144
|
],
|
|
145
145
|
signatureExpiresAfter: [
|
|
146
146
|
() => input.signatureExpiresAfter !== void 0,
|
|
147
|
-
() =>
|
|
147
|
+
() => input.signatureExpiresAfter.toISOString().split(".")[0] + "Z",
|
|
148
148
|
],
|
|
149
149
|
jobInvoker: [, input.jobInvoker],
|
|
150
150
|
});
|
|
@@ -316,7 +316,7 @@ const serializeAws_restJson1RevokeSigningProfileCommand = async (input, context)
|
|
|
316
316
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "profileName", () => input.profileName, "{profileName}", false);
|
|
317
317
|
let body;
|
|
318
318
|
body = JSON.stringify({
|
|
319
|
-
...(input.effectiveTime != null && { effectiveTime: Math.round(input.effectiveTime.getTime() / 1000) }),
|
|
319
|
+
...(input.effectiveTime != null && { effectiveTime: Math.round(input.effectiveTime.getTime() / 1000).toString() }),
|
|
320
320
|
...(input.profileVersion != null && { profileVersion: input.profileVersion }),
|
|
321
321
|
...(input.reason != null && { reason: input.reason }),
|
|
322
322
|
});
|
|
@@ -131,11 +131,11 @@ export const serializeAws_restJson1ListSigningJobsCommand = async (input, contex
|
|
|
131
131
|
isRevoked: [() => input.isRevoked !== void 0, () => input.isRevoked.toString()],
|
|
132
132
|
signatureExpiresBefore: [
|
|
133
133
|
() => input.signatureExpiresBefore !== void 0,
|
|
134
|
-
() =>
|
|
134
|
+
() => input.signatureExpiresBefore.toISOString().split(".")[0] + "Z",
|
|
135
135
|
],
|
|
136
136
|
signatureExpiresAfter: [
|
|
137
137
|
() => input.signatureExpiresAfter !== void 0,
|
|
138
|
-
() =>
|
|
138
|
+
() => input.signatureExpiresAfter.toISOString().split(".")[0] + "Z",
|
|
139
139
|
],
|
|
140
140
|
jobInvoker: [, input.jobInvoker],
|
|
141
141
|
});
|
|
@@ -300,7 +300,7 @@ export const serializeAws_restJson1RevokeSigningProfileCommand = async (input, c
|
|
|
300
300
|
resolvedPath = __resolvedPath(resolvedPath, input, "profileName", () => input.profileName, "{profileName}", false);
|
|
301
301
|
let body;
|
|
302
302
|
body = JSON.stringify({
|
|
303
|
-
...(input.effectiveTime != null && { effectiveTime: Math.round(input.effectiveTime.getTime() / 1000) }),
|
|
303
|
+
...(input.effectiveTime != null && { effectiveTime: Math.round(input.effectiveTime.getTime() / 1000).toString() }),
|
|
304
304
|
...(input.profileVersion != null && { profileVersion: input.profileVersion }),
|
|
305
305
|
...(input.reason != null && { reason: input.reason }),
|
|
306
306
|
});
|
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.252.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
-
"generate:client": "
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo signer"
|
|
15
15
|
},
|
|
16
16
|
"main": "./dist-cjs/index.js",
|
|
17
17
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.252.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.234.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.252.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.226.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.234.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-node": "3.234.0",
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.245.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.229.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-node": "3.226.0",
|