@aws-sdk/client-payment-cryptography 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
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
|
ConflictException: () => ConflictException,
|
|
26
26
|
CreateAliasCommand: () => CreateAliasCommand,
|
|
@@ -88,7 +88,7 @@ __export(src_exports, {
|
|
|
88
88
|
paginateListKeys: () => paginateListKeys,
|
|
89
89
|
paginateListTagsForResource: () => paginateListTagsForResource
|
|
90
90
|
});
|
|
91
|
-
module.exports = __toCommonJS(
|
|
91
|
+
module.exports = __toCommonJS(index_exports);
|
|
92
92
|
|
|
93
93
|
// src/PaymentCryptographyClient.ts
|
|
94
94
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -215,9 +215,9 @@ var PaymentCryptographyClient = class extends import_smithy_client.Client {
|
|
|
215
215
|
this.middlewareStack.use(
|
|
216
216
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
217
217
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultPaymentCryptographyHttpAuthSchemeParametersProvider,
|
|
218
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
218
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
219
219
|
"aws.auth#sigv4": config.credentials
|
|
220
|
-
})
|
|
220
|
+
}), "identityProviderConfigProvider")
|
|
221
221
|
})
|
|
222
222
|
);
|
|
223
223
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -500,12 +500,9 @@ var Tr34KeyBlockFormat = {
|
|
|
500
500
|
var ExportKeyMaterial;
|
|
501
501
|
((ExportKeyMaterial3) => {
|
|
502
502
|
ExportKeyMaterial3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
503
|
-
if (value.Tr31KeyBlock !== void 0)
|
|
504
|
-
|
|
505
|
-
if (value.
|
|
506
|
-
return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
|
|
507
|
-
if (value.KeyCryptogram !== void 0)
|
|
508
|
-
return visitor.KeyCryptogram(value.KeyCryptogram);
|
|
503
|
+
if (value.Tr31KeyBlock !== void 0) return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
|
|
504
|
+
if (value.Tr34KeyBlock !== void 0) return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
|
|
505
|
+
if (value.KeyCryptogram !== void 0) return visitor.KeyCryptogram(value.KeyCryptogram);
|
|
509
506
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
510
507
|
}, "visit");
|
|
511
508
|
})(ExportKeyMaterial || (ExportKeyMaterial = {}));
|
|
@@ -528,12 +525,9 @@ var ImportKeyMaterial;
|
|
|
528
525
|
return visitor.RootCertificatePublicKey(value.RootCertificatePublicKey);
|
|
529
526
|
if (value.TrustedCertificatePublicKey !== void 0)
|
|
530
527
|
return visitor.TrustedCertificatePublicKey(value.TrustedCertificatePublicKey);
|
|
531
|
-
if (value.Tr31KeyBlock !== void 0)
|
|
532
|
-
|
|
533
|
-
if (value.
|
|
534
|
-
return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
|
|
535
|
-
if (value.KeyCryptogram !== void 0)
|
|
536
|
-
return visitor.KeyCryptogram(value.KeyCryptogram);
|
|
528
|
+
if (value.Tr31KeyBlock !== void 0) return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
|
|
529
|
+
if (value.Tr34KeyBlock !== void 0) return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
|
|
530
|
+
if (value.KeyCryptogram !== void 0) return visitor.KeyCryptogram(value.KeyCryptogram);
|
|
537
531
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
538
532
|
}, "visit");
|
|
539
533
|
})(ImportKeyMaterial || (ImportKeyMaterial = {}));
|
|
@@ -555,14 +549,11 @@ var ExportTr34KeyBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
555
549
|
...obj.KeyBlockHeaders && { KeyBlockHeaders: KeyBlockHeadersFilterSensitiveLog(obj.KeyBlockHeaders) }
|
|
556
550
|
}), "ExportTr34KeyBlockFilterSensitiveLog");
|
|
557
551
|
var ExportKeyMaterialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
558
|
-
if (obj.Tr31KeyBlock !== void 0)
|
|
559
|
-
|
|
560
|
-
if (obj.Tr34KeyBlock !== void 0)
|
|
561
|
-
return { Tr34KeyBlock: ExportTr34KeyBlockFilterSensitiveLog(obj.Tr34KeyBlock) };
|
|
552
|
+
if (obj.Tr31KeyBlock !== void 0) return { Tr31KeyBlock: ExportTr31KeyBlockFilterSensitiveLog(obj.Tr31KeyBlock) };
|
|
553
|
+
if (obj.Tr34KeyBlock !== void 0) return { Tr34KeyBlock: ExportTr34KeyBlockFilterSensitiveLog(obj.Tr34KeyBlock) };
|
|
562
554
|
if (obj.KeyCryptogram !== void 0)
|
|
563
555
|
return { KeyCryptogram: ExportKeyCryptogramFilterSensitiveLog(obj.KeyCryptogram) };
|
|
564
|
-
if (obj.$unknown !== void 0)
|
|
565
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
556
|
+
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
566
557
|
}, "ExportKeyMaterialFilterSensitiveLog");
|
|
567
558
|
var ExportKeyInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
568
559
|
...obj,
|
|
@@ -619,14 +610,11 @@ var ImportKeyMaterialFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
|
619
610
|
return {
|
|
620
611
|
TrustedCertificatePublicKey: TrustedCertificatePublicKeyFilterSensitiveLog(obj.TrustedCertificatePublicKey)
|
|
621
612
|
};
|
|
622
|
-
if (obj.Tr31KeyBlock !== void 0)
|
|
623
|
-
|
|
624
|
-
if (obj.Tr34KeyBlock !== void 0)
|
|
625
|
-
return { Tr34KeyBlock: ImportTr34KeyBlockFilterSensitiveLog(obj.Tr34KeyBlock) };
|
|
613
|
+
if (obj.Tr31KeyBlock !== void 0) return { Tr31KeyBlock: ImportTr31KeyBlockFilterSensitiveLog(obj.Tr31KeyBlock) };
|
|
614
|
+
if (obj.Tr34KeyBlock !== void 0) return { Tr34KeyBlock: ImportTr34KeyBlockFilterSensitiveLog(obj.Tr34KeyBlock) };
|
|
626
615
|
if (obj.KeyCryptogram !== void 0)
|
|
627
616
|
return { KeyCryptogram: ImportKeyCryptogramFilterSensitiveLog(obj.KeyCryptogram) };
|
|
628
|
-
if (obj.$unknown !== void 0)
|
|
629
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
617
|
+
if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
630
618
|
}, "ImportKeyMaterialFilterSensitiveLog");
|
|
631
619
|
var ImportKeyInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
632
620
|
...obj,
|
|
@@ -1128,23 +1116,23 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1128
1116
|
}, "de_ValidationExceptionRes");
|
|
1129
1117
|
var de_CreateKeyOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1130
1118
|
return (0, import_smithy_client.take)(output, {
|
|
1131
|
-
Key: (_) => de_Key(_, context)
|
|
1119
|
+
Key: /* @__PURE__ */ __name((_) => de_Key(_, context), "Key")
|
|
1132
1120
|
});
|
|
1133
1121
|
}, "de_CreateKeyOutput");
|
|
1134
1122
|
var de_DeleteKeyOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1135
1123
|
return (0, import_smithy_client.take)(output, {
|
|
1136
|
-
Key: (_) => de_Key(_, context)
|
|
1124
|
+
Key: /* @__PURE__ */ __name((_) => de_Key(_, context), "Key")
|
|
1137
1125
|
});
|
|
1138
1126
|
}, "de_DeleteKeyOutput");
|
|
1139
1127
|
var de_GetKeyOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1140
1128
|
return (0, import_smithy_client.take)(output, {
|
|
1141
|
-
Key: (_) => de_Key(_, context)
|
|
1129
|
+
Key: /* @__PURE__ */ __name((_) => de_Key(_, context), "Key")
|
|
1142
1130
|
});
|
|
1143
1131
|
}, "de_GetKeyOutput");
|
|
1144
1132
|
var de_GetParametersForExportOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1145
1133
|
return (0, import_smithy_client.take)(output, {
|
|
1146
1134
|
ExportToken: import_smithy_client.expectString,
|
|
1147
|
-
ParametersValidUntilTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1135
|
+
ParametersValidUntilTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ParametersValidUntilTimestamp"),
|
|
1148
1136
|
SigningKeyAlgorithm: import_smithy_client.expectString,
|
|
1149
1137
|
SigningKeyCertificate: import_smithy_client.expectString,
|
|
1150
1138
|
SigningKeyCertificateChain: import_smithy_client.expectString
|
|
@@ -1153,7 +1141,7 @@ var de_GetParametersForExportOutput = /* @__PURE__ */ __name((output, context) =
|
|
|
1153
1141
|
var de_GetParametersForImportOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1154
1142
|
return (0, import_smithy_client.take)(output, {
|
|
1155
1143
|
ImportToken: import_smithy_client.expectString,
|
|
1156
|
-
ParametersValidUntilTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1144
|
+
ParametersValidUntilTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ParametersValidUntilTimestamp"),
|
|
1157
1145
|
WrappingKeyAlgorithm: import_smithy_client.expectString,
|
|
1158
1146
|
WrappingKeyCertificate: import_smithy_client.expectString,
|
|
1159
1147
|
WrappingKeyCertificateChain: import_smithy_client.expectString
|
|
@@ -1161,14 +1149,14 @@ var de_GetParametersForImportOutput = /* @__PURE__ */ __name((output, context) =
|
|
|
1161
1149
|
}, "de_GetParametersForImportOutput");
|
|
1162
1150
|
var de_ImportKeyOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1163
1151
|
return (0, import_smithy_client.take)(output, {
|
|
1164
|
-
Key: (_) => de_Key(_, context)
|
|
1152
|
+
Key: /* @__PURE__ */ __name((_) => de_Key(_, context), "Key")
|
|
1165
1153
|
});
|
|
1166
1154
|
}, "de_ImportKeyOutput");
|
|
1167
1155
|
var de_Key = /* @__PURE__ */ __name((output, context) => {
|
|
1168
1156
|
return (0, import_smithy_client.take)(output, {
|
|
1169
|
-
CreateTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1170
|
-
DeletePendingTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1171
|
-
DeleteTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1157
|
+
CreateTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreateTimestamp"),
|
|
1158
|
+
DeletePendingTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeletePendingTimestamp"),
|
|
1159
|
+
DeleteTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "DeleteTimestamp"),
|
|
1172
1160
|
Enabled: import_smithy_client.expectBoolean,
|
|
1173
1161
|
Exportable: import_smithy_client.expectBoolean,
|
|
1174
1162
|
KeyArn: import_smithy_client.expectString,
|
|
@@ -1177,23 +1165,23 @@ var de_Key = /* @__PURE__ */ __name((output, context) => {
|
|
|
1177
1165
|
KeyCheckValueAlgorithm: import_smithy_client.expectString,
|
|
1178
1166
|
KeyOrigin: import_smithy_client.expectString,
|
|
1179
1167
|
KeyState: import_smithy_client.expectString,
|
|
1180
|
-
UsageStartTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1181
|
-
UsageStopTimestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
1168
|
+
UsageStartTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UsageStartTimestamp"),
|
|
1169
|
+
UsageStopTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "UsageStopTimestamp")
|
|
1182
1170
|
});
|
|
1183
1171
|
}, "de_Key");
|
|
1184
1172
|
var de_RestoreKeyOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1185
1173
|
return (0, import_smithy_client.take)(output, {
|
|
1186
|
-
Key: (_) => de_Key(_, context)
|
|
1174
|
+
Key: /* @__PURE__ */ __name((_) => de_Key(_, context), "Key")
|
|
1187
1175
|
});
|
|
1188
1176
|
}, "de_RestoreKeyOutput");
|
|
1189
1177
|
var de_StartKeyUsageOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1190
1178
|
return (0, import_smithy_client.take)(output, {
|
|
1191
|
-
Key: (_) => de_Key(_, context)
|
|
1179
|
+
Key: /* @__PURE__ */ __name((_) => de_Key(_, context), "Key")
|
|
1192
1180
|
});
|
|
1193
1181
|
}, "de_StartKeyUsageOutput");
|
|
1194
1182
|
var de_StopKeyUsageOutput = /* @__PURE__ */ __name((output, context) => {
|
|
1195
1183
|
return (0, import_smithy_client.take)(output, {
|
|
1196
|
-
Key: (_) => de_Key(_, context)
|
|
1184
|
+
Key: /* @__PURE__ */ __name((_) => de_Key(_, context), "Key")
|
|
1197
1185
|
});
|
|
1198
1186
|
}, "de_StopKeyUsageOutput");
|
|
1199
1187
|
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
@@ -45,8 +45,5 @@ export declare const getRuntimeConfig: (config: PaymentCryptographyClientConfig)
|
|
|
45
45
|
signingEscapePath?: boolean | undefined;
|
|
46
46
|
systemClockOffset?: number | undefined;
|
|
47
47
|
signingRegion?: string | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
48
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
52
49
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-payment-cryptography",
|
|
3
3
|
"description": "AWS SDK for JavaScript Payment Cryptography 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-payment-cryptography",
|
|
@@ -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",
|