@aws-amplify/core 4.3.12-custom-pk.97 → 4.3.12-custom-pk.98
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/CHANGELOG.md +26 -112
- package/dist/aws-amplify-core.js +9 -3
- package/dist/aws-amplify-core.js.map +1 -1
- package/dist/aws-amplify-core.min.js +1 -1
- package/dist/aws-amplify-core.min.js.map +1 -1
- package/lib/Parser.js +1 -0
- package/lib/Parser.js.map +1 -1
- package/lib/Platform/version.d.ts +1 -1
- package/lib/Platform/version.js +1 -1
- package/lib/Platform/version.js.map +1 -1
- package/lib/Signer.js +4 -5
- package/lib/Signer.js.map +1 -1
- package/lib-esm/Parser.js +1 -0
- package/lib-esm/Parser.js.map +1 -1
- package/lib-esm/Platform/version.d.ts +1 -1
- package/lib-esm/Platform/version.js +1 -1
- package/lib-esm/Platform/version.js.map +1 -1
- package/lib-esm/Signer.js +4 -5
- package/lib-esm/Signer.js.map +1 -1
- package/package.json +2 -2
- package/src/Parser.ts +2 -0
- package/src/Platform/version.ts +1 -1
- package/src/Signer.ts +25 -25
package/CHANGELOG.md
CHANGED
|
@@ -3,240 +3,154 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [4.
|
|
6
|
+
## [4.7.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.7.1...@aws-amplify/core@4.7.2) (2022-08-23)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @aws-amplify/core
|
|
9
9
|
|
|
10
|
+
## [4.7.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.7.0...@aws-amplify/core@4.7.1) (2022-08-18)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
11
13
|
|
|
14
|
+
# [4.7.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.6.1...@aws-amplify/core@4.7.0) (2022-08-16)
|
|
12
15
|
|
|
16
|
+
### Features
|
|
13
17
|
|
|
14
|
-
|
|
18
|
+
- **@aws-amplify/core:** Throw Error if body attribute passed to Sign… ([#10137](https://github.com/aws-amplify/amplify-js/issues/10137)) ([360bde2](https://github.com/aws-amplify/amplify-js/commit/360bde20716778b69af339f4f66b42c05ccf4639))
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
## [4.6.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.6.0...@aws-amplify/core@4.6.1) (2022-08-01)
|
|
17
21
|
|
|
22
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
18
23
|
|
|
24
|
+
# [4.6.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.10...@aws-amplify/core@4.6.0) (2022-07-28)
|
|
19
25
|
|
|
26
|
+
### Features
|
|
20
27
|
|
|
28
|
+
- **@aws-amplify/auth:** Auto sign in after sign up ([#10126](https://github.com/aws-amplify/amplify-js/issues/10126)) ([e54617f](https://github.com/aws-amplify/amplify-js/commit/e54617f2878244f0e391d2d49f5cd2e8a8c069f9)), closes [#6320](https://github.com/aws-amplify/amplify-js/issues/6320) [#3882](https://github.com/aws-amplify/amplify-js/issues/3882) [#3631](https://github.com/aws-amplify/amplify-js/issues/3631) [#6018](https://github.com/aws-amplify/amplify-js/issues/6018)
|
|
21
29
|
|
|
22
|
-
## [4.5.
|
|
30
|
+
## [4.5.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.9...@aws-amplify/core@4.5.10) (2022-07-21)
|
|
23
31
|
|
|
24
32
|
**Note:** Version bump only for package @aws-amplify/core
|
|
25
33
|
|
|
34
|
+
## [4.5.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.8...@aws-amplify/core@4.5.9) (2022-07-07)
|
|
26
35
|
|
|
36
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
27
37
|
|
|
38
|
+
## [4.5.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.7...@aws-amplify/core@4.5.8) (2022-06-18)
|
|
28
39
|
|
|
40
|
+
**Note:** Version bump only for package @aws-amplify/core
|
|
29
41
|
|
|
30
42
|
## [4.5.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.6...@aws-amplify/core@4.5.7) (2022-06-15)
|
|
31
43
|
|
|
32
44
|
**Note:** Version bump only for package @aws-amplify/core
|
|
33
45
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
46
|
## [4.5.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.5...@aws-amplify/core@4.5.6) (2022-05-24)
|
|
39
47
|
|
|
40
48
|
**Note:** Version bump only for package @aws-amplify/core
|
|
41
49
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
50
|
## [4.5.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.4...@aws-amplify/core@4.5.5) (2022-05-23)
|
|
47
51
|
|
|
48
52
|
**Note:** Version bump only for package @aws-amplify/core
|
|
49
53
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
54
|
## [4.5.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.3...@aws-amplify/core@4.5.4) (2022-05-12)
|
|
55
55
|
|
|
56
56
|
**Note:** Version bump only for package @aws-amplify/core
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
58
|
## [4.5.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.2...@aws-amplify/core@4.5.3) (2022-05-03)
|
|
63
59
|
|
|
64
60
|
**Note:** Version bump only for package @aws-amplify/core
|
|
65
61
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
62
|
## [4.5.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.1...@aws-amplify/core@4.5.2) (2022-04-14)
|
|
71
63
|
|
|
72
|
-
|
|
73
64
|
### Bug Fixes
|
|
74
65
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
66
|
+
- PubSub - Resolve ts strict errors in the AWSAppSyncRealTimeProvider ([#9731](https://github.com/aws-amplify/amplify-js/issues/9731)) ([0c9c401](https://github.com/aws-amplify/amplify-js/commit/0c9c4018573df31f7e4739207be22eefb8bf8a56))
|
|
80
67
|
|
|
81
68
|
## [4.5.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.5.0...@aws-amplify/core@4.5.1) (2022-04-04)
|
|
82
69
|
|
|
83
70
|
**Note:** Version bump only for package @aws-amplify/core
|
|
84
71
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
72
|
# [4.5.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.4.2...@aws-amplify/core@4.5.0) (2022-03-28)
|
|
90
73
|
|
|
91
|
-
|
|
92
74
|
### Features
|
|
93
75
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
76
|
+
- PubSub Add Options objects for all Providers and fix: Spelling error and deprecation of old exports ([#9683](https://github.com/aws-amplify/amplify-js/issues/9683)) ([b535af2](https://github.com/aws-amplify/amplify-js/commit/b535af2133b5460c6e8e2fcfd89e1fe235872c27))
|
|
99
77
|
|
|
100
78
|
## [4.4.2](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.4.1...@aws-amplify/core@4.4.2) (2022-03-22)
|
|
101
79
|
|
|
102
|
-
|
|
103
80
|
### Bug Fixes
|
|
104
81
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
82
|
+
- **@aws-amplify/datastore:** fix mutations to retry indefinitely on network error ([#9724](https://github.com/aws-amplify/amplify-js/issues/9724)) ([5371380](https://github.com/aws-amplify/amplify-js/commit/53713804b79df9c69ac29b75ffc576b4c2002507))
|
|
110
83
|
|
|
111
84
|
## [4.4.1](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.4.0...@aws-amplify/core@4.4.1) (2022-03-10)
|
|
112
85
|
|
|
113
86
|
**Note:** Version bump only for package @aws-amplify/core
|
|
114
87
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
88
|
# [4.4.0](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.14...@aws-amplify/core@4.4.0) (2022-02-28)
|
|
120
89
|
|
|
121
|
-
|
|
122
90
|
### Bug Fixes
|
|
123
91
|
|
|
124
|
-
|
|
125
|
-
|
|
92
|
+
- pin async storage to 1.15.17 ([#9570](https://github.com/aws-amplify/amplify-js/issues/9570)) ([bc5235a](https://github.com/aws-amplify/amplify-js/commit/bc5235ac0d15242f7a13457f40999b5331823395))
|
|
126
93
|
|
|
127
94
|
### Features
|
|
128
95
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
96
|
+
- **@aws-amplify/core:** add ui protected channel ([#9554](https://github.com/aws-amplify/amplify-js/issues/9554)) ([86e07fc](https://github.com/aws-amplify/amplify-js/commit/86e07fcd3ebbaa5f03d65ed8009b7531ee300e39))
|
|
134
97
|
|
|
135
98
|
## [4.3.14](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.13...@aws-amplify/core@4.3.14) (2022-02-03)
|
|
136
99
|
|
|
137
100
|
**Note:** Version bump only for package @aws-amplify/core
|
|
138
101
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
102
|
## [4.3.13](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.12...@aws-amplify/core@4.3.13) (2022-01-27)
|
|
144
103
|
|
|
145
|
-
|
|
146
104
|
### Reverts
|
|
147
105
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
106
|
+
- Revert "chore(amplify-js): consolidate react-native dependencies (#9451)" (#9473) ([9924a31](https://github.com/aws-amplify/amplify-js/commit/9924a31397761fccd03f53336d754b98367199a8)), closes [#9451](https://github.com/aws-amplify/amplify-js/issues/9451) [#9473](https://github.com/aws-amplify/amplify-js/issues/9473)
|
|
153
107
|
|
|
154
108
|
## [4.3.12](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.11...@aws-amplify/core@4.3.12) (2022-01-07)
|
|
155
109
|
|
|
156
|
-
|
|
157
110
|
### Bug Fixes
|
|
158
111
|
|
|
159
|
-
|
|
160
|
-
|
|
112
|
+
- **@aws-amplify/core:** use empty string as translation ([#9403](https://github.com/aws-amplify/amplify-js/issues/9403)) ([512fd99](https://github.com/aws-amplify/amplify-js/commit/512fd99a0d6751ffc3915de6a043d2e6fe01f1e4))
|
|
161
113
|
|
|
162
114
|
### Reverts
|
|
163
115
|
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
116
|
+
- Revert "fix(@aws-amplify/core): use empty string as translation (#9403)" (#9436) ([711259b](https://github.com/aws-amplify/amplify-js/commit/711259b482d721f66d4acc728ff96a8a26965787)), closes [#9403](https://github.com/aws-amplify/amplify-js/issues/9403) [#9436](https://github.com/aws-amplify/amplify-js/issues/9436)
|
|
169
117
|
|
|
170
118
|
## [4.3.11](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.10...@aws-amplify/core@4.3.11) (2021-12-16)
|
|
171
119
|
|
|
172
120
|
**Note:** Version bump only for package @aws-amplify/core
|
|
173
121
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
122
|
## [4.3.10](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.9...@aws-amplify/core@4.3.10) (2021-12-03)
|
|
179
123
|
|
|
180
124
|
**Note:** Version bump only for package @aws-amplify/core
|
|
181
125
|
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
126
|
## [4.3.9](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.8...@aws-amplify/core@4.3.9) (2021-12-02)
|
|
187
127
|
|
|
188
|
-
|
|
189
128
|
### Bug Fixes
|
|
190
129
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
130
|
+
- **@aws-amplify/core:** Use undefined for default sequence token with CloudWatch logging ([#9181](https://github.com/aws-amplify/amplify-js/issues/9181)) ([6f217aa](https://github.com/aws-amplify/amplify-js/commit/6f217aa89e672fc4665816756994e6245b19227e))
|
|
196
131
|
|
|
197
132
|
## [4.3.8](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.7...@aws-amplify/core@4.3.8) (2021-11-18)
|
|
198
133
|
|
|
199
134
|
**Note:** Version bump only for package @aws-amplify/core
|
|
200
135
|
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
136
|
## [4.3.7](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.6...@aws-amplify/core@4.3.7) (2021-11-16)
|
|
206
137
|
|
|
207
138
|
**Note:** Version bump only for package @aws-amplify/core
|
|
208
139
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
140
|
## [4.3.6](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.5...@aws-amplify/core@4.3.6) (2021-11-12)
|
|
214
141
|
|
|
215
|
-
|
|
216
142
|
### Reverts
|
|
217
143
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
144
|
+
- Revert "chore:update-@aws-sdk/client-cloudwatch-logs (#9189)" (#9192) ([36fe262](https://github.com/aws-amplify/amplify-js/commit/36fe26243247c45cdb3f5391d91f0641c9cd5b99)), closes [#9189](https://github.com/aws-amplify/amplify-js/issues/9189) [#9192](https://github.com/aws-amplify/amplify-js/issues/9192)
|
|
223
145
|
|
|
224
146
|
## [4.3.5](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.4...@aws-amplify/core@4.3.5) (2021-11-09)
|
|
225
147
|
|
|
226
148
|
**Note:** Version bump only for package @aws-amplify/core
|
|
227
149
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
150
|
## [4.3.4](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.3...@aws-amplify/core@4.3.4) (2021-10-28)
|
|
233
151
|
|
|
234
152
|
**Note:** Version bump only for package @aws-amplify/core
|
|
235
153
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
154
|
## [4.3.3](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/core@4.3.2...@aws-amplify/core@4.3.3) (2021-10-21)
|
|
241
155
|
|
|
242
156
|
**Note:** Version bump only for package @aws-amplify/core
|
package/dist/aws-amplify-core.js
CHANGED
|
@@ -32607,7 +32607,8 @@ var parseMobileHubConfig = function parseMobileHubConfig(config) {
|
|
|
32607
32607
|
region: config['aws_cognito_region'],
|
|
32608
32608
|
identityPoolId: config['aws_cognito_identity_pool_id'],
|
|
32609
32609
|
identityPoolRegion: config['aws_cognito_region'],
|
|
32610
|
-
mandatorySignIn: config['aws_mandatory_sign_in'] === 'enable'
|
|
32610
|
+
mandatorySignIn: config['aws_mandatory_sign_in'] === 'enable',
|
|
32611
|
+
signUpVerificationMethod: config['aws_cognito_sign_up_verification_method'] || 'code'
|
|
32611
32612
|
};
|
|
32612
32613
|
} // Storage
|
|
32613
32614
|
|
|
@@ -32745,7 +32746,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent(content) {
|
|
|
32745
32746
|
__webpack_require__.r(__webpack_exports__);
|
|
32746
32747
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
|
|
32747
32748
|
// generated by genversion
|
|
32748
|
-
var version = '4.
|
|
32749
|
+
var version = '4.7.2';
|
|
32749
32750
|
|
|
32750
32751
|
/***/ }),
|
|
32751
32752
|
|
|
@@ -34411,7 +34412,12 @@ function () {
|
|
|
34411
34412
|
service_info = null;
|
|
34412
34413
|
}
|
|
34413
34414
|
|
|
34414
|
-
request.headers = request.headers || {};
|
|
34415
|
+
request.headers = request.headers || {};
|
|
34416
|
+
|
|
34417
|
+
if (request.body && !request.data) {
|
|
34418
|
+
throw new Error('The attribute "body" was found on the request object. Please use the attribute "data" instead.');
|
|
34419
|
+
} // datetime string and date string
|
|
34420
|
+
|
|
34415
34421
|
|
|
34416
34422
|
var dt = _Util__WEBPACK_IMPORTED_MODULE_4__["DateUtils"].getDateWithClockOffset(),
|
|
34417
34423
|
dt_str = dt.toISOString().replace(/[:\-]|\.\d{3}/g, ''),
|