@aws-sdk/client-polly 3.994.0 → 3.996.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.
Files changed (2) hide show
  1. package/dist-cjs/index.js +17 -18
  2. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -421,18 +421,9 @@ const TextType = {
421
421
  TEXT: "text",
422
422
  };
423
423
 
424
- Object.defineProperty(exports, "$Command", {
425
- enumerable: true,
426
- get: function () { return smithyClient.Command; }
427
- });
428
- Object.defineProperty(exports, "__Client", {
429
- enumerable: true,
430
- get: function () { return smithyClient.Client; }
431
- });
432
- Object.defineProperty(exports, "PollyServiceException", {
433
- enumerable: true,
434
- get: function () { return PollyServiceException.PollyServiceException; }
435
- });
424
+ exports.$Command = smithyClient.Command;
425
+ exports.__Client = smithyClient.Client;
426
+ exports.PollyServiceException = PollyServiceException.PollyServiceException;
436
427
  exports.DeleteLexiconCommand = DeleteLexiconCommand;
437
428
  exports.DescribeVoicesCommand = DescribeVoicesCommand;
438
429
  exports.Engine = Engine;
@@ -453,15 +444,23 @@ exports.TaskStatus = TaskStatus;
453
444
  exports.TextType = TextType;
454
445
  exports.VoiceId = VoiceId;
455
446
  exports.paginateListSpeechSynthesisTasks = paginateListSpeechSynthesisTasks;
456
- Object.keys(schemas_0).forEach(function (k) {
457
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
447
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
448
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
449
+ Object.defineProperty(exports, '__proto__', {
458
450
  enumerable: true,
459
- get: function () { return schemas_0[k]; }
451
+ value: schemas_0['__proto__']
460
452
  });
453
+
454
+ Object.keys(schemas_0).forEach(function (k) {
455
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
461
456
  });
462
- Object.keys(errors).forEach(function (k) {
463
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
457
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
458
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
459
+ Object.defineProperty(exports, '__proto__', {
464
460
  enumerable: true,
465
- get: function () { return errors[k]; }
461
+ value: errors['__proto__']
466
462
  });
463
+
464
+ Object.keys(errors).forEach(function (k) {
465
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
467
466
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-polly",
3
3
  "description": "AWS SDK for JavaScript Polly Client for Node.js, Browser and React Native",
4
- "version": "3.994.0",
4
+ "version": "3.996.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-polly",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.11",
25
- "@aws-sdk/credential-provider-node": "^3.972.10",
24
+ "@aws-sdk/core": "^3.973.12",
25
+ "@aws-sdk/credential-provider-node": "^3.972.11",
26
26
  "@aws-sdk/middleware-host-header": "^3.972.3",
27
27
  "@aws-sdk/middleware-logger": "^3.972.3",
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
29
- "@aws-sdk/middleware-user-agent": "^3.972.11",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.12",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.3",
31
31
  "@aws-sdk/types": "^3.973.1",
32
- "@aws-sdk/util-endpoints": "3.994.0",
32
+ "@aws-sdk/util-endpoints": "3.996.0",
33
33
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
34
- "@aws-sdk/util-user-agent-node": "^3.972.9",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.11",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
36
  "@smithy/core": "^3.23.2",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",