@aws-sdk/client-sns 3.995.0 → 3.997.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 +37 -37
package/dist-cjs/index.js CHANGED
@@ -721,18 +721,9 @@ const SMSSandboxPhoneNumberVerificationStatus = {
721
721
  Verified: "Verified",
722
722
  };
723
723
 
724
- Object.defineProperty(exports, "$Command", {
725
- enumerable: true,
726
- get: function () { return smithyClient.Command; }
727
- });
728
- Object.defineProperty(exports, "__Client", {
729
- enumerable: true,
730
- get: function () { return smithyClient.Client; }
731
- });
732
- Object.defineProperty(exports, "SNSServiceException", {
733
- enumerable: true,
734
- get: function () { return SNSServiceException.SNSServiceException; }
735
- });
724
+ exports.$Command = smithyClient.Command;
725
+ exports.__Client = smithyClient.Client;
726
+ exports.SNSServiceException = SNSServiceException.SNSServiceException;
736
727
  exports.AddPermissionCommand = AddPermissionCommand;
737
728
  exports.CheckIfPhoneNumberIsOptedOutCommand = CheckIfPhoneNumberIsOptedOutCommand;
738
729
  exports.ConfirmSubscriptionCommand = ConfirmSubscriptionCommand;
@@ -789,15 +780,23 @@ exports.paginateListSMSSandboxPhoneNumbers = paginateListSMSSandboxPhoneNumbers;
789
780
  exports.paginateListSubscriptions = paginateListSubscriptions;
790
781
  exports.paginateListSubscriptionsByTopic = paginateListSubscriptionsByTopic;
791
782
  exports.paginateListTopics = paginateListTopics;
792
- Object.keys(schemas_0).forEach(function (k) {
793
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
783
+ Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
784
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
785
+ Object.defineProperty(exports, '__proto__', {
794
786
  enumerable: true,
795
- get: function () { return schemas_0[k]; }
787
+ value: schemas_0['__proto__']
796
788
  });
789
+
790
+ Object.keys(schemas_0).forEach(function (k) {
791
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
797
792
  });
798
- Object.keys(errors).forEach(function (k) {
799
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
793
+ Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
794
+ !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
795
+ Object.defineProperty(exports, '__proto__', {
800
796
  enumerable: true,
801
- get: function () { return errors[k]; }
797
+ value: errors['__proto__']
802
798
  });
799
+
800
+ Object.keys(errors).forEach(function (k) {
801
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
803
802
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sns",
3
3
  "description": "AWS SDK for JavaScript Sns Client for Node.js, Browser and React Native",
4
- "version": "3.995.0",
4
+ "version": "3.997.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-sns",
@@ -23,42 +23,42 @@
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",
28
- "@aws-sdk/middleware-host-header": "^3.972.3",
29
- "@aws-sdk/middleware-logger": "^3.972.3",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
- "@aws-sdk/middleware-user-agent": "^3.972.11",
32
- "@aws-sdk/region-config-resolver": "^3.972.3",
33
- "@aws-sdk/types": "^3.973.1",
34
- "@aws-sdk/util-endpoints": "3.995.0",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
- "@aws-sdk/util-user-agent-node": "^3.972.10",
37
- "@smithy/config-resolver": "^4.4.6",
38
- "@smithy/core": "^3.23.2",
39
- "@smithy/fetch-http-handler": "^5.3.9",
40
- "@smithy/hash-node": "^4.2.8",
41
- "@smithy/invalid-dependency": "^4.2.8",
42
- "@smithy/middleware-content-length": "^4.2.8",
43
- "@smithy/middleware-endpoint": "^4.4.16",
44
- "@smithy/middleware-retry": "^4.4.33",
45
- "@smithy/middleware-serde": "^4.2.9",
46
- "@smithy/middleware-stack": "^4.2.8",
47
- "@smithy/node-config-provider": "^4.3.8",
48
- "@smithy/node-http-handler": "^4.4.10",
49
- "@smithy/protocol-http": "^5.3.8",
50
- "@smithy/smithy-client": "^4.11.5",
51
- "@smithy/types": "^4.12.0",
52
- "@smithy/url-parser": "^4.2.8",
53
- "@smithy/util-base64": "^4.3.0",
54
- "@smithy/util-body-length-browser": "^4.2.0",
55
- "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.32",
57
- "@smithy/util-defaults-mode-node": "^4.2.35",
58
- "@smithy/util-endpoints": "^3.2.8",
59
- "@smithy/util-middleware": "^4.2.8",
60
- "@smithy/util-retry": "^4.2.8",
61
- "@smithy/util-utf8": "^4.2.0",
26
+ "@aws-sdk/core": "^3.973.13",
27
+ "@aws-sdk/credential-provider-node": "^3.972.12",
28
+ "@aws-sdk/middleware-host-header": "^3.972.4",
29
+ "@aws-sdk/middleware-logger": "^3.972.4",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.4",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.13",
32
+ "@aws-sdk/region-config-resolver": "^3.972.4",
33
+ "@aws-sdk/types": "^3.973.2",
34
+ "@aws-sdk/util-endpoints": "^3.996.1",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.4",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.12",
37
+ "@smithy/config-resolver": "^4.4.7",
38
+ "@smithy/core": "^3.23.4",
39
+ "@smithy/fetch-http-handler": "^5.3.10",
40
+ "@smithy/hash-node": "^4.2.9",
41
+ "@smithy/invalid-dependency": "^4.2.9",
42
+ "@smithy/middleware-content-length": "^4.2.9",
43
+ "@smithy/middleware-endpoint": "^4.4.18",
44
+ "@smithy/middleware-retry": "^4.4.35",
45
+ "@smithy/middleware-serde": "^4.2.10",
46
+ "@smithy/middleware-stack": "^4.2.9",
47
+ "@smithy/node-config-provider": "^4.3.9",
48
+ "@smithy/node-http-handler": "^4.4.11",
49
+ "@smithy/protocol-http": "^5.3.9",
50
+ "@smithy/smithy-client": "^4.11.7",
51
+ "@smithy/types": "^4.12.1",
52
+ "@smithy/url-parser": "^4.2.9",
53
+ "@smithy/util-base64": "^4.3.1",
54
+ "@smithy/util-body-length-browser": "^4.2.1",
55
+ "@smithy/util-body-length-node": "^4.2.2",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.34",
57
+ "@smithy/util-defaults-mode-node": "^4.2.37",
58
+ "@smithy/util-endpoints": "^3.2.9",
59
+ "@smithy/util-middleware": "^4.2.9",
60
+ "@smithy/util-retry": "^4.2.9",
61
+ "@smithy/util-utf8": "^4.2.1",
62
62
  "tslib": "^2.6.2"
63
63
  },
64
64
  "devDependencies": {