@aws-sdk/client-cloudwatch 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
@@ -828,18 +828,9 @@ const RecentlyActive = {
828
828
  PT3H: "PT3H",
829
829
  };
830
830
 
831
- Object.defineProperty(exports, "$Command", {
832
- enumerable: true,
833
- get: function () { return smithyClient.Command; }
834
- });
835
- Object.defineProperty(exports, "__Client", {
836
- enumerable: true,
837
- get: function () { return smithyClient.Client; }
838
- });
839
- Object.defineProperty(exports, "CloudWatchServiceException", {
840
- enumerable: true,
841
- get: function () { return CloudWatchServiceException.CloudWatchServiceException; }
842
- });
831
+ exports.$Command = smithyClient.Command;
832
+ exports.__Client = smithyClient.Client;
833
+ exports.CloudWatchServiceException = CloudWatchServiceException.CloudWatchServiceException;
843
834
  exports.ActionsSuppressedBy = ActionsSuppressedBy;
844
835
  exports.AlarmType = AlarmType;
845
836
  exports.AnomalyDetectorStateValue = AnomalyDetectorStateValue;
@@ -908,15 +899,23 @@ exports.waitForAlarmExists = waitForAlarmExists;
908
899
  exports.waitForCompositeAlarmExists = waitForCompositeAlarmExists;
909
900
  exports.waitUntilAlarmExists = waitUntilAlarmExists;
910
901
  exports.waitUntilCompositeAlarmExists = waitUntilCompositeAlarmExists;
911
- Object.keys(schemas_0).forEach(function (k) {
912
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
902
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
903
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
904
+ Object.defineProperty(exports, '__proto__', {
913
905
  enumerable: true,
914
- get: function () { return schemas_0[k]; }
906
+ value: schemas_0['__proto__']
915
907
  });
908
+
909
+ Object.keys(schemas_0).forEach(function (k) {
910
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
916
911
  });
917
- Object.keys(errors).forEach(function (k) {
918
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
912
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
913
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
914
+ Object.defineProperty(exports, '__proto__', {
919
915
  enumerable: true,
920
- get: function () { return errors[k]; }
916
+ value: errors['__proto__']
921
917
  });
918
+
919
+ Object.keys(errors).forEach(function (k) {
920
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
922
921
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudwatch",
3
3
  "description": "AWS SDK for JavaScript Cloudwatch 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-cloudwatch",
@@ -23,17 +23,17 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.11",
27
- "@aws-sdk/credential-provider-node": "^3.972.10",
26
+ "@aws-sdk/core": "^3.973.12",
27
+ "@aws-sdk/credential-provider-node": "^3.972.11",
28
28
  "@aws-sdk/middleware-host-header": "^3.972.3",
29
29
  "@aws-sdk/middleware-logger": "^3.972.3",
30
30
  "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.11",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.12",
32
32
  "@aws-sdk/region-config-resolver": "^3.972.3",
33
33
  "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.994.0",
34
+ "@aws-sdk/util-endpoints": "3.996.0",
35
35
  "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.9",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.11",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
38
  "@smithy/core": "^3.23.2",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",