@aws-amplify/core 6.0.1-console-preview.d807e55.0 → 6.0.1-console-preview.5f040a2.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 (110) hide show
  1. package/internals/aws-clients/pinpoint/package.json +4 -4
  2. package/lib/Platform/types.d.ts +28 -4
  3. package/lib/Platform/types.js +26 -35
  4. package/lib/Platform/version.d.ts +1 -1
  5. package/lib/Platform/version.js +1 -1
  6. package/lib/clients/middleware/signing/signer/signatureV4/index.d.ts +1 -0
  7. package/lib/clients/middleware/signing/signer/signatureV4/index.js +1 -0
  8. package/lib/clients/middleware/signing/signer/signatureV4/polyfills/index.d.ts +0 -0
  9. package/lib/clients/middleware/signing/signer/signatureV4/polyfills/index.js +4 -0
  10. package/lib/clients/middleware/signing/signer/signatureV4/polyfills/index.native.d.ts +1 -0
  11. package/lib/clients/middleware/signing/signer/signatureV4/polyfills/index.native.js +6 -0
  12. package/lib/index.d.ts +1 -1
  13. package/lib/index.js +3 -3
  14. package/lib/providers/pinpoint/apis/updateEndpoint.js +2 -2
  15. package/lib/providers/pinpoint/utils/PinpointEventBuffer.js +2 -2
  16. package/lib/tsconfig.tsbuildinfo +1 -1
  17. package/lib/utils/globalHelpers/index.native.d.ts +2 -3
  18. package/lib/utils/globalHelpers/index.native.js +3 -3
  19. package/lib-esm/Platform/types.d.ts +28 -4
  20. package/lib-esm/Platform/types.js +26 -35
  21. package/lib-esm/Platform/version.d.ts +1 -1
  22. package/lib-esm/Platform/version.js +1 -1
  23. package/lib-esm/clients/middleware/signing/signer/signatureV4/index.d.ts +1 -0
  24. package/lib-esm/clients/middleware/signing/signer/signatureV4/index.js +1 -0
  25. package/lib-esm/clients/middleware/signing/signer/signatureV4/polyfills/index.d.ts +0 -0
  26. package/lib-esm/clients/middleware/signing/signer/signatureV4/polyfills/index.js +4 -0
  27. package/lib-esm/clients/middleware/signing/signer/signatureV4/polyfills/index.native.d.ts +1 -0
  28. package/lib-esm/clients/middleware/signing/signer/signatureV4/polyfills/index.native.js +4 -0
  29. package/lib-esm/index.d.ts +1 -1
  30. package/lib-esm/index.js +1 -1
  31. package/lib-esm/providers/pinpoint/apis/updateEndpoint.js +1 -1
  32. package/lib-esm/providers/pinpoint/utils/PinpointEventBuffer.js +1 -1
  33. package/lib-esm/tsconfig.tsbuildinfo +1 -1
  34. package/lib-esm/utils/globalHelpers/index.native.d.ts +2 -3
  35. package/lib-esm/utils/globalHelpers/index.native.js +2 -2
  36. package/package.json +3 -3
  37. package/src/Platform/types.ts +26 -35
  38. package/src/Platform/version.ts +1 -1
  39. package/src/clients/middleware/signing/signer/signatureV4/index.ts +2 -0
  40. package/src/clients/middleware/signing/signer/signatureV4/polyfills/index.native.ts +5 -0
  41. package/src/clients/middleware/signing/signer/signatureV4/polyfills/index.ts +4 -0
  42. package/src/index.ts +1 -1
  43. package/src/providers/pinpoint/apis/updateEndpoint.ts +1 -1
  44. package/src/providers/pinpoint/utils/PinpointEventBuffer.ts +1 -1
  45. package/src/utils/globalHelpers/index.native.ts +2 -2
  46. package/lib/clients/middleware/signing/signer/signatureV4/index.native.d.ts +0 -4
  47. package/lib/clients/middleware/signing/signer/signatureV4/index.native.js +0 -16
  48. package/lib-esm/clients/middleware/signing/signer/signatureV4/index.native.d.ts +0 -4
  49. package/lib-esm/clients/middleware/signing/signer/signatureV4/index.native.js +0 -9
  50. package/src/clients/middleware/signing/signer/signatureV4/index.native.ts +0 -12
  51. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/base.d.ts +0 -0
  52. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/base.js +0 -0
  53. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getCredentialsForIdentity.d.ts +0 -0
  54. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getCredentialsForIdentity.js +0 -0
  55. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getId.d.ts +0 -0
  56. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getId.js +0 -0
  57. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/index.d.ts +0 -0
  58. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/index.js +0 -0
  59. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/types.d.ts +0 -0
  60. /package/lib/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/types.js +0 -0
  61. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/base.d.ts +0 -0
  62. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/base.js +0 -0
  63. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/errorHelpers.d.ts +0 -0
  64. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/errorHelpers.js +0 -0
  65. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/getInAppMessages.d.ts +0 -0
  66. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/getInAppMessages.js +0 -0
  67. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/index.d.ts +0 -0
  68. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/index.js +0 -0
  69. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/putEvents.d.ts +0 -0
  70. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/putEvents.js +0 -0
  71. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/types.d.ts +0 -0
  72. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/types.js +0 -0
  73. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/updateEndpoint.d.ts +0 -0
  74. /package/lib/{AwsClients/Pinpoint → awsClients/pinpoint}/updateEndpoint.js +0 -0
  75. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/base.d.ts +0 -0
  76. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/base.js +0 -0
  77. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getCredentialsForIdentity.d.ts +0 -0
  78. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getCredentialsForIdentity.js +0 -0
  79. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getId.d.ts +0 -0
  80. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getId.js +0 -0
  81. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/index.d.ts +0 -0
  82. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/index.js +0 -0
  83. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/types.d.ts +0 -0
  84. /package/lib-esm/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/types.js +0 -0
  85. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/base.d.ts +0 -0
  86. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/base.js +0 -0
  87. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/errorHelpers.d.ts +0 -0
  88. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/errorHelpers.js +0 -0
  89. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/getInAppMessages.d.ts +0 -0
  90. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/getInAppMessages.js +0 -0
  91. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/index.d.ts +0 -0
  92. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/index.js +0 -0
  93. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/putEvents.d.ts +0 -0
  94. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/putEvents.js +0 -0
  95. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/types.d.ts +0 -0
  96. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/types.js +0 -0
  97. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/updateEndpoint.d.ts +0 -0
  98. /package/lib-esm/{AwsClients/Pinpoint → awsClients/pinpoint}/updateEndpoint.js +0 -0
  99. /package/src/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/base.ts +0 -0
  100. /package/src/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getCredentialsForIdentity.ts +0 -0
  101. /package/src/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/getId.ts +0 -0
  102. /package/src/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/index.ts +0 -0
  103. /package/src/{AwsClients/CognitoIdentity → awsClients/cognitoIdentity}/types.ts +0 -0
  104. /package/src/{AwsClients/Pinpoint → awsClients/pinpoint}/base.ts +0 -0
  105. /package/src/{AwsClients/Pinpoint → awsClients/pinpoint}/errorHelpers.ts +0 -0
  106. /package/src/{AwsClients/Pinpoint → awsClients/pinpoint}/getInAppMessages.ts +0 -0
  107. /package/src/{AwsClients/Pinpoint → awsClients/pinpoint}/index.ts +0 -0
  108. /package/src/{AwsClients/Pinpoint → awsClients/pinpoint}/putEvents.ts +0 -0
  109. /package/src/{AwsClients/Pinpoint → awsClients/pinpoint}/types.ts +0 -0
  110. /package/src/{AwsClients/Pinpoint → awsClients/pinpoint}/updateEndpoint.ts +0 -0
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@aws-amplify/core/internals/aws-clients/pinpoint",
3
- "types": "../../../lib-esm/AwsClients/Pinpoint/index.d.ts",
4
- "main": "../../../lib/AwsClients/Pinpoint/index.js",
5
- "module": "../../../lib-esm/AwsClients/Pinpoint/index.js",
6
- "react-native": "../../../lib-esm/AwsClients/Pinpoint/index.js",
3
+ "types": "../../../lib-esm/awsClients/pinpoint/index.d.ts",
4
+ "main": "../../../lib/awsClients/pinpoint/index.js",
5
+ "module": "../../../lib-esm/awsClients/pinpoint/index.js",
6
+ "react-native": "../../../lib-esm/awsClients/pinpoint/index.js",
7
7
  "sideEffects": false
8
8
  }
@@ -43,7 +43,30 @@ export declare enum ApiAction {
43
43
  Head = "7"
44
44
  }
45
45
  export declare enum AuthAction {
46
- FederatedSignIn = "30"
46
+ SignUp = "1",
47
+ ConfirmSignUp = "2",
48
+ ResendSignUpCode = "3",
49
+ SignIn = "4",
50
+ FetchMFAPreference = "6",
51
+ UpdateMFAPreference = "7",
52
+ SetUpTOTP = "10",
53
+ VerifyTOTPSetup = "11",
54
+ ConfirmSignIn = "12",
55
+ DeleteUserAttributes = "15",
56
+ DeleteUser = "16",
57
+ UpdateUserAttributes = "17",
58
+ FetchUserAttributes = "18",
59
+ ConfirmUserAttribute = "22",
60
+ SignOut = "26",
61
+ UpdatePassword = "27",
62
+ ResetPassword = "28",
63
+ ConfirmResetPassword = "29",
64
+ FederatedSignIn = "30",
65
+ RememberDevice = "32",
66
+ ForgetDevice = "33",
67
+ FetchDevices = "34",
68
+ SendUserAttributeVerificationCode = "35",
69
+ SignInWithRedirect = "36"
47
70
  }
48
71
  export declare enum DataStoreAction {
49
72
  Subscribe = "1",
@@ -71,12 +94,13 @@ export declare enum PushNotificationAction {
71
94
  None = "0"
72
95
  }
73
96
  export declare enum StorageAction {
74
- Put = "1",
75
- Get = "2",
97
+ UploadData = "1",
98
+ DownloadData = "2",
76
99
  List = "3",
77
100
  Copy = "4",
78
101
  Remove = "5",
79
- GetProperties = "6"
102
+ GetProperties = "6",
103
+ GetUrl = "7"
80
104
  }
81
105
  type ActionMap = {
82
106
  [Category.Auth]: AuthAction;
@@ -56,40 +56,30 @@ var ApiAction;
56
56
  })(ApiAction = exports.ApiAction || (exports.ApiAction = {}));
57
57
  var AuthAction;
58
58
  (function (AuthAction) {
59
- // SignUp = '1',
60
- // ConfirmSignUp = '2',
61
- // ResendSignUp = '3',
62
- // SignIn = '4',
63
- // GetMFAOptions = '5',
64
- // GetPreferredMFA = '6',
65
- // SetPreferredMFA = '7',
66
- // DisableSMS = '8',
67
- // EnableSMS = '9',
68
- // SetupTOTP = '10',
69
- // VerifyTotpToken = '11',
70
- // ConfirmSignIn = '12',
71
- // CompleteNewPassword = '13',
72
- // SendCustomChallengeAnswer = '14',
73
- // DeleteUserAttributes = '15',
74
- // DeleteUser = '16',
75
- // UpdateUserAttributes = '17',
76
- // UserAttributes = '18',
77
- // CurrentUserPoolUser = '19',
78
- // CurrentAuthenticatedUser = '20',
79
- // CurrentSession = '21',
80
- // VerifyUserAttribute = '22',
81
- // VerifyUserAttributeSubmit = '23',
82
- // VerifyCurrentUserAttribute = '24',
83
- // VerifyCurrentUserAttributeSubmit = '25',
84
- // SignOut = '26',
85
- // ChangePassword = '27',
86
- // ForgotPassword = '28',
87
- // ForgotPasswordSubmit = '29',
59
+ AuthAction["SignUp"] = "1";
60
+ AuthAction["ConfirmSignUp"] = "2";
61
+ AuthAction["ResendSignUpCode"] = "3";
62
+ AuthAction["SignIn"] = "4";
63
+ AuthAction["FetchMFAPreference"] = "6";
64
+ AuthAction["UpdateMFAPreference"] = "7";
65
+ AuthAction["SetUpTOTP"] = "10";
66
+ AuthAction["VerifyTOTPSetup"] = "11";
67
+ AuthAction["ConfirmSignIn"] = "12";
68
+ AuthAction["DeleteUserAttributes"] = "15";
69
+ AuthAction["DeleteUser"] = "16";
70
+ AuthAction["UpdateUserAttributes"] = "17";
71
+ AuthAction["FetchUserAttributes"] = "18";
72
+ AuthAction["ConfirmUserAttribute"] = "22";
73
+ AuthAction["SignOut"] = "26";
74
+ AuthAction["UpdatePassword"] = "27";
75
+ AuthAction["ResetPassword"] = "28";
76
+ AuthAction["ConfirmResetPassword"] = "29";
88
77
  AuthAction["FederatedSignIn"] = "30";
89
- // CurrentUserInfo = '31',
90
- // RememberDevice = '32',
91
- // ForgetDevice = '33',
92
- // FetchDevices = '34',
78
+ AuthAction["RememberDevice"] = "32";
79
+ AuthAction["ForgetDevice"] = "33";
80
+ AuthAction["FetchDevices"] = "34";
81
+ AuthAction["SendUserAttributeVerificationCode"] = "35";
82
+ AuthAction["SignInWithRedirect"] = "36";
93
83
  })(AuthAction = exports.AuthAction || (exports.AuthAction = {}));
94
84
  var DataStoreAction;
95
85
  (function (DataStoreAction) {
@@ -125,10 +115,11 @@ var PushNotificationAction;
125
115
  })(PushNotificationAction = exports.PushNotificationAction || (exports.PushNotificationAction = {}));
126
116
  var StorageAction;
127
117
  (function (StorageAction) {
128
- StorageAction["Put"] = "1";
129
- StorageAction["Get"] = "2";
118
+ StorageAction["UploadData"] = "1";
119
+ StorageAction["DownloadData"] = "2";
130
120
  StorageAction["List"] = "3";
131
121
  StorageAction["Copy"] = "4";
132
122
  StorageAction["Remove"] = "5";
133
123
  StorageAction["GetProperties"] = "6";
124
+ StorageAction["GetUrl"] = "7";
134
125
  })(StorageAction = exports.StorageAction || (exports.StorageAction = {}));
@@ -1 +1 @@
1
- export declare const version = "6.0.1-console-preview.d807e55.0+d807e55";
1
+ export declare const version = "6.0.1-console-preview.5f040a2.0+5f040a2";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
4
  // generated by genversion
5
- exports.version = '6.0.1-console-preview.d807e55.0+d807e55';
5
+ exports.version = '6.0.1-console-preview.5f040a2.0+5f040a2';
@@ -1,3 +1,4 @@
1
+ import './polyfills';
1
2
  export { signRequest } from './signRequest';
2
3
  export { presignUrl } from './presignUrl';
3
4
  export { TOKEN_QUERY_PARAM } from './constants';
@@ -3,6 +3,7 @@
3
3
  // SPDX-License-Identifier: Apache-2.0
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getHashedPayload = exports.TOKEN_QUERY_PARAM = exports.presignUrl = exports.signRequest = void 0;
6
+ require("./polyfills");
6
7
  // TODO: V6 replace Signer
7
8
  var signRequest_1 = require("./signRequest");
8
9
  Object.defineProperty(exports, "signRequest", { enumerable: true, get: function () { return signRequest_1.signRequest; } });
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ // SPDX-License-Identifier: Apache-2.0
4
+ // noop - polyfills not required on platform
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
+ // SPDX-License-Identifier: Apache-2.0
5
+ var react_native_1 = require("@aws-amplify/react-native");
6
+ (0, react_native_1.loadUrlPolyfill)();
package/lib/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { HubCapsule, HubCallback, HubPayload } from './Hub/types';
3
3
  export { TokenProvider, AuthTokens, FetchAuthSessionOptions, AWSCredentialsAndIdentityIdProvider, AWSCredentialsAndIdentityId, Identity, OAuthConfig, CognitoUserPoolConfig, } from './singleton/Auth/types';
4
4
  export { AuthConfig, AuthUserPoolConfig, AuthUserPoolAndIdentityPoolConfig, StorageAccessLevel, StorageConfig, GetCredentialsOptions, ResourcesConfig, LibraryOptions, AnalyticsConfig, GeoConfig, } from './singleton/types';
5
5
  export { Amplify, fetchAuthSession, AmplifyClass as AmplifyClassV6, clearCredentials, } from './singleton';
6
- export { getCredentialsForIdentity, getId, GetCredentialsForIdentityInput, GetCredentialsForIdentityOutput, } from './AwsClients/CognitoIdentity';
6
+ export { getCredentialsForIdentity, getId, GetCredentialsForIdentityInput, GetCredentialsForIdentityOutput, } from './awsClients/cognitoIdentity';
7
7
  export { UserProfile } from './types';
8
8
  export { CookieStorage, defaultStorage, sessionStorage, sharedInMemoryStorage, } from './storage';
9
9
  export { KeyValueStorageInterface } from './types';
package/lib/index.js CHANGED
@@ -15,9 +15,9 @@ Object.defineProperty(exports, "fetchAuthSession", { enumerable: true, get: func
15
15
  Object.defineProperty(exports, "AmplifyClassV6", { enumerable: true, get: function () { return singleton_1.AmplifyClass; } });
16
16
  Object.defineProperty(exports, "clearCredentials", { enumerable: true, get: function () { return singleton_1.clearCredentials; } });
17
17
  // AWSClients exports
18
- var CognitoIdentity_1 = require("./AwsClients/CognitoIdentity");
19
- Object.defineProperty(exports, "getCredentialsForIdentity", { enumerable: true, get: function () { return CognitoIdentity_1.getCredentialsForIdentity; } });
20
- Object.defineProperty(exports, "getId", { enumerable: true, get: function () { return CognitoIdentity_1.getId; } });
18
+ var cognitoIdentity_1 = require("./awsClients/cognitoIdentity");
19
+ Object.defineProperty(exports, "getCredentialsForIdentity", { enumerable: true, get: function () { return cognitoIdentity_1.getCredentialsForIdentity; } });
20
+ Object.defineProperty(exports, "getId", { enumerable: true, get: function () { return cognitoIdentity_1.getId; } });
21
21
  // Storage helpers
22
22
  var storage_1 = require("./storage");
23
23
  Object.defineProperty(exports, "CookieStorage", { enumerable: true, get: function () { return storage_1.CookieStorage; } });
@@ -52,7 +52,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
52
52
  exports.updateEndpoint = void 0;
53
53
  var uuid_1 = require("uuid");
54
54
  var ClientDevice_1 = require("../../../ClientDevice");
55
- var Pinpoint_1 = require("../../../AwsClients/Pinpoint");
55
+ var pinpoint_1 = require("../../../awsClients/pinpoint");
56
56
  var utils_1 = require("../utils");
57
57
  /**
58
58
  * @internal
@@ -107,7 +107,7 @@ var updateEndpoint = function (_a) {
107
107
  },
108
108
  },
109
109
  };
110
- return [4 /*yield*/, (0, Pinpoint_1.updateEndpoint)({ credentials: credentials, region: region, userAgentValue: userAgentValue }, input)];
110
+ return [4 /*yield*/, (0, pinpoint_1.updateEndpoint)({ credentials: credentials, region: region, userAgentValue: userAgentValue }, input)];
111
111
  case 2:
112
112
  _c.sent();
113
113
  // if we had to create an endpoint id, we need to now cache it
@@ -76,7 +76,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
76
76
  Object.defineProperty(exports, "__esModule", { value: true });
77
77
  exports.PinpointEventBuffer = void 0;
78
78
  var Logger_1 = require("../../../Logger");
79
- var Pinpoint_1 = require("../../../AwsClients/Pinpoint");
79
+ var pinpoint_1 = require("../../../awsClients/pinpoint");
80
80
  var isAppInForeground_1 = require("./isAppInForeground");
81
81
  var logger = new Logger_1.ConsoleLogger('PinpointEventBuffer');
82
82
  var RETRYABLE_CODES = [429, 500];
@@ -148,7 +148,7 @@ var PinpointEventBuffer = /** @class */ (function () {
148
148
  case 1:
149
149
  _b.trys.push([1, 3, , 4]);
150
150
  _a = this._config, credentials = _a.credentials, region = _a.region, userAgentValue = _a.userAgentValue;
151
- return [4 /*yield*/, (0, Pinpoint_1.putEvents)({
151
+ return [4 /*yield*/, (0, pinpoint_1.putEvents)({
152
152
  credentials: credentials,
153
153
  region: region,
154
154
  userAgentValue: userAgentValue,