@aws-sdk/client-payment-cryptography 3.929.0 → 3.931.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
@@ -324,14 +324,6 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Pa
324
324
  this.Message = opts.Message;
325
325
  }
326
326
  };
327
- exports.DiffieHellmanDerivationData = void 0;
328
- (function (DiffieHellmanDerivationData) {
329
- DiffieHellmanDerivationData.visit = (value, visitor) => {
330
- if (value.SharedInformation !== undefined)
331
- return visitor.SharedInformation(value.SharedInformation);
332
- return visitor._(value.$unknown[0], value.$unknown[1]);
333
- };
334
- })(exports.DiffieHellmanDerivationData || (exports.DiffieHellmanDerivationData = {}));
335
327
  const SymmetricKeyAlgorithm = {
336
328
  AES_128: "AES_128",
337
329
  AES_192: "AES_192",
@@ -364,20 +356,6 @@ const WrappingKeySpec = {
364
356
  const Tr34KeyBlockFormat = {
365
357
  X9_TR34_2012: "X9_TR34_2012",
366
358
  };
367
- exports.ExportKeyMaterial = void 0;
368
- (function (ExportKeyMaterial) {
369
- ExportKeyMaterial.visit = (value, visitor) => {
370
- if (value.Tr31KeyBlock !== undefined)
371
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
372
- if (value.Tr34KeyBlock !== undefined)
373
- return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
374
- if (value.KeyCryptogram !== undefined)
375
- return visitor.KeyCryptogram(value.KeyCryptogram);
376
- if (value.DiffieHellmanTr31KeyBlock !== undefined)
377
- return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
378
- return visitor._(value.$unknown[0], value.$unknown[1]);
379
- };
380
- })(exports.ExportKeyMaterial || (exports.ExportKeyMaterial = {}));
381
359
  const WrappedKeyMaterialFormat = {
382
360
  KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
383
361
  TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
@@ -396,24 +374,6 @@ const KeyMaterialType = {
396
374
  TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
397
375
  TRUSTED_PUBLIC_KEY_CERTIFICATE: "TRUSTED_PUBLIC_KEY_CERTIFICATE",
398
376
  };
399
- exports.ImportKeyMaterial = void 0;
400
- (function (ImportKeyMaterial) {
401
- ImportKeyMaterial.visit = (value, visitor) => {
402
- if (value.RootCertificatePublicKey !== undefined)
403
- return visitor.RootCertificatePublicKey(value.RootCertificatePublicKey);
404
- if (value.TrustedCertificatePublicKey !== undefined)
405
- return visitor.TrustedCertificatePublicKey(value.TrustedCertificatePublicKey);
406
- if (value.Tr31KeyBlock !== undefined)
407
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
408
- if (value.Tr34KeyBlock !== undefined)
409
- return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
410
- if (value.KeyCryptogram !== undefined)
411
- return visitor.KeyCryptogram(value.KeyCryptogram);
412
- if (value.DiffieHellmanTr31KeyBlock !== undefined)
413
- return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
414
- return visitor._(value.$unknown[0], value.$unknown[1]);
415
- };
416
- })(exports.ImportKeyMaterial || (exports.ImportKeyMaterial = {}));
417
377
 
418
378
  const _A = "Alias";
419
379
  const _ADE = "AccessDeniedException";
@@ -206,14 +206,6 @@ export class ServiceUnavailableException extends __BaseException {
206
206
  this.Message = opts.Message;
207
207
  }
208
208
  }
209
- export var DiffieHellmanDerivationData;
210
- (function (DiffieHellmanDerivationData) {
211
- DiffieHellmanDerivationData.visit = (value, visitor) => {
212
- if (value.SharedInformation !== undefined)
213
- return visitor.SharedInformation(value.SharedInformation);
214
- return visitor._(value.$unknown[0], value.$unknown[1]);
215
- };
216
- })(DiffieHellmanDerivationData || (DiffieHellmanDerivationData = {}));
217
209
  export const SymmetricKeyAlgorithm = {
218
210
  AES_128: "AES_128",
219
211
  AES_192: "AES_192",
@@ -246,20 +238,6 @@ export const WrappingKeySpec = {
246
238
  export const Tr34KeyBlockFormat = {
247
239
  X9_TR34_2012: "X9_TR34_2012",
248
240
  };
249
- export var ExportKeyMaterial;
250
- (function (ExportKeyMaterial) {
251
- ExportKeyMaterial.visit = (value, visitor) => {
252
- if (value.Tr31KeyBlock !== undefined)
253
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
254
- if (value.Tr34KeyBlock !== undefined)
255
- return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
256
- if (value.KeyCryptogram !== undefined)
257
- return visitor.KeyCryptogram(value.KeyCryptogram);
258
- if (value.DiffieHellmanTr31KeyBlock !== undefined)
259
- return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
260
- return visitor._(value.$unknown[0], value.$unknown[1]);
261
- };
262
- })(ExportKeyMaterial || (ExportKeyMaterial = {}));
263
241
  export const WrappedKeyMaterialFormat = {
264
242
  KEY_CRYPTOGRAM: "KEY_CRYPTOGRAM",
265
243
  TR31_KEY_BLOCK: "TR31_KEY_BLOCK",
@@ -278,21 +256,3 @@ export const KeyMaterialType = {
278
256
  TR34_KEY_BLOCK: "TR34_KEY_BLOCK",
279
257
  TRUSTED_PUBLIC_KEY_CERTIFICATE: "TRUSTED_PUBLIC_KEY_CERTIFICATE",
280
258
  };
281
- export var ImportKeyMaterial;
282
- (function (ImportKeyMaterial) {
283
- ImportKeyMaterial.visit = (value, visitor) => {
284
- if (value.RootCertificatePublicKey !== undefined)
285
- return visitor.RootCertificatePublicKey(value.RootCertificatePublicKey);
286
- if (value.TrustedCertificatePublicKey !== undefined)
287
- return visitor.TrustedCertificatePublicKey(value.TrustedCertificatePublicKey);
288
- if (value.Tr31KeyBlock !== undefined)
289
- return visitor.Tr31KeyBlock(value.Tr31KeyBlock);
290
- if (value.Tr34KeyBlock !== undefined)
291
- return visitor.Tr34KeyBlock(value.Tr34KeyBlock);
292
- if (value.KeyCryptogram !== undefined)
293
- return visitor.KeyCryptogram(value.KeyCryptogram);
294
- if (value.DiffieHellmanTr31KeyBlock !== undefined)
295
- return visitor.DiffieHellmanTr31KeyBlock(value.DiffieHellmanTr31KeyBlock);
296
- return visitor._(value.$unknown[0], value.$unknown[1]);
297
- };
298
- })(ImportKeyMaterial || (ImportKeyMaterial = {}));
@@ -783,11 +783,14 @@ export declare namespace DiffieHellmanDerivationData {
783
783
  SharedInformation?: never;
784
784
  $unknown: [string, any];
785
785
  }
786
+ /**
787
+ * @deprecated unused in schema-serde mode.
788
+ *
789
+ */
786
790
  interface Visitor<T> {
787
791
  SharedInformation: (value: string) => T;
788
792
  _: (name: string, value: any) => T;
789
793
  }
790
- const visit: <T>(value: DiffieHellmanDerivationData, visitor: Visitor<T>) => T;
791
794
  }
792
795
  /**
793
796
  * <p>Input parameters for disabling default key replication regions for the account.</p>
@@ -1158,6 +1161,10 @@ export declare namespace ExportKeyMaterial {
1158
1161
  DiffieHellmanTr31KeyBlock?: never;
1159
1162
  $unknown: [string, any];
1160
1163
  }
1164
+ /**
1165
+ * @deprecated unused in schema-serde mode.
1166
+ *
1167
+ */
1161
1168
  interface Visitor<T> {
1162
1169
  Tr31KeyBlock: (value: ExportTr31KeyBlock) => T;
1163
1170
  Tr34KeyBlock: (value: ExportTr34KeyBlock) => T;
@@ -1165,7 +1172,6 @@ export declare namespace ExportKeyMaterial {
1165
1172
  DiffieHellmanTr31KeyBlock: (value: ExportDiffieHellmanTr31KeyBlock) => T;
1166
1173
  _: (name: string, value: any) => T;
1167
1174
  }
1168
- const visit: <T>(value: ExportKeyMaterial, visitor: Visitor<T>) => T;
1169
1175
  }
1170
1176
  /**
1171
1177
  * @public
@@ -1727,6 +1733,10 @@ export declare namespace ImportKeyMaterial {
1727
1733
  DiffieHellmanTr31KeyBlock?: never;
1728
1734
  $unknown: [string, any];
1729
1735
  }
1736
+ /**
1737
+ * @deprecated unused in schema-serde mode.
1738
+ *
1739
+ */
1730
1740
  interface Visitor<T> {
1731
1741
  RootCertificatePublicKey: (value: RootCertificatePublicKey) => T;
1732
1742
  TrustedCertificatePublicKey: (value: TrustedCertificatePublicKey) => T;
@@ -1736,7 +1746,6 @@ export declare namespace ImportKeyMaterial {
1736
1746
  DiffieHellmanTr31KeyBlock: (value: ImportDiffieHellmanTr31KeyBlock) => T;
1737
1747
  _: (name: string, value: any) => T;
1738
1748
  }
1739
- const visit: <T>(value: ImportKeyMaterial, visitor: Visitor<T>) => T;
1740
1749
  }
1741
1750
  /**
1742
1751
  * @public
@@ -303,10 +303,6 @@ export declare namespace DiffieHellmanDerivationData {
303
303
  SharedInformation: (value: string) => T;
304
304
  _: (name: string, value: any) => T;
305
305
  }
306
- const visit: <T>(
307
- value: DiffieHellmanDerivationData,
308
- visitor: Visitor<T>
309
- ) => T;
310
306
  }
311
307
  export interface DisableDefaultKeyReplicationRegionsInput {
312
308
  ReplicationRegions: string[] | undefined;
@@ -455,7 +451,6 @@ export declare namespace ExportKeyMaterial {
455
451
  DiffieHellmanTr31KeyBlock: (value: ExportDiffieHellmanTr31KeyBlock) => T;
456
452
  _: (name: string, value: any) => T;
457
453
  }
458
- const visit: <T>(value: ExportKeyMaterial, visitor: Visitor<T>) => T;
459
454
  }
460
455
  export interface ExportKeyInput {
461
456
  KeyMaterial: ExportKeyMaterial | undefined;
@@ -664,7 +659,6 @@ export declare namespace ImportKeyMaterial {
664
659
  DiffieHellmanTr31KeyBlock: (value: ImportDiffieHellmanTr31KeyBlock) => T;
665
660
  _: (name: string, value: any) => T;
666
661
  }
667
- const visit: <T>(value: ImportKeyMaterial, visitor: Visitor<T>) => T;
668
662
  }
669
663
  export interface ImportKeyInput {
670
664
  KeyMaterial: ImportKeyMaterial | undefined;
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.929.0",
4
+ "version": "3.931.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,41 +20,41 @@
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.928.0",
24
- "@aws-sdk/credential-provider-node": "3.929.0",
25
- "@aws-sdk/middleware-host-header": "3.922.0",
26
- "@aws-sdk/middleware-logger": "3.922.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.922.0",
28
- "@aws-sdk/middleware-user-agent": "3.928.0",
29
- "@aws-sdk/region-config-resolver": "3.925.0",
30
- "@aws-sdk/types": "3.922.0",
31
- "@aws-sdk/util-endpoints": "3.922.0",
32
- "@aws-sdk/util-user-agent-browser": "3.922.0",
33
- "@aws-sdk/util-user-agent-node": "3.928.0",
34
- "@smithy/config-resolver": "^4.4.2",
35
- "@smithy/core": "^3.17.2",
36
- "@smithy/fetch-http-handler": "^5.3.5",
37
- "@smithy/hash-node": "^4.2.4",
38
- "@smithy/invalid-dependency": "^4.2.4",
39
- "@smithy/middleware-content-length": "^4.2.4",
40
- "@smithy/middleware-endpoint": "^4.3.6",
41
- "@smithy/middleware-retry": "^4.4.6",
42
- "@smithy/middleware-serde": "^4.2.4",
43
- "@smithy/middleware-stack": "^4.2.4",
44
- "@smithy/node-config-provider": "^4.3.4",
45
- "@smithy/node-http-handler": "^4.4.4",
46
- "@smithy/protocol-http": "^5.3.4",
47
- "@smithy/smithy-client": "^4.9.2",
48
- "@smithy/types": "^4.8.1",
49
- "@smithy/url-parser": "^4.2.4",
23
+ "@aws-sdk/core": "3.931.0",
24
+ "@aws-sdk/credential-provider-node": "3.931.0",
25
+ "@aws-sdk/middleware-host-header": "3.930.0",
26
+ "@aws-sdk/middleware-logger": "3.930.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
+ "@aws-sdk/middleware-user-agent": "3.931.0",
29
+ "@aws-sdk/region-config-resolver": "3.930.0",
30
+ "@aws-sdk/types": "3.930.0",
31
+ "@aws-sdk/util-endpoints": "3.930.0",
32
+ "@aws-sdk/util-user-agent-browser": "3.930.0",
33
+ "@aws-sdk/util-user-agent-node": "3.931.0",
34
+ "@smithy/config-resolver": "^4.4.3",
35
+ "@smithy/core": "^3.18.2",
36
+ "@smithy/fetch-http-handler": "^5.3.6",
37
+ "@smithy/hash-node": "^4.2.5",
38
+ "@smithy/invalid-dependency": "^4.2.5",
39
+ "@smithy/middleware-content-length": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.9",
41
+ "@smithy/middleware-retry": "^4.4.9",
42
+ "@smithy/middleware-serde": "^4.2.5",
43
+ "@smithy/middleware-stack": "^4.2.5",
44
+ "@smithy/node-config-provider": "^4.3.5",
45
+ "@smithy/node-http-handler": "^4.4.5",
46
+ "@smithy/protocol-http": "^5.3.5",
47
+ "@smithy/smithy-client": "^4.9.5",
48
+ "@smithy/types": "^4.9.0",
49
+ "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.5",
54
- "@smithy/util-defaults-mode-node": "^4.2.8",
55
- "@smithy/util-endpoints": "^3.2.4",
56
- "@smithy/util-middleware": "^4.2.4",
57
- "@smithy/util-retry": "^4.2.4",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.8",
54
+ "@smithy/util-defaults-mode-node": "^4.2.11",
55
+ "@smithy/util-endpoints": "^3.2.5",
56
+ "@smithy/util-middleware": "^4.2.5",
57
+ "@smithy/util-retry": "^4.2.5",
58
58
  "@smithy/util-utf8": "^4.2.0",
59
59
  "tslib": "^2.6.2"
60
60
  },