@aws-amplify/core 4.6.1 → 4.6.2-unstable.11
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/dist/aws-amplify-core.js +7 -2
- 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/Platform/version.d.ts +1 -1
- package/lib/Platform/version.js +1 -1
- package/lib/Signer.js +4 -5
- package/lib/Signer.js.map +1 -1
- package/lib-esm/Platform/version.d.ts +1 -1
- package/lib-esm/Platform/version.js +1 -1
- package/lib-esm/Signer.js +4 -5
- package/lib-esm/Signer.js.map +1 -1
- package/package.json +2 -2
- package/src/Platform/version.ts +1 -1
- package/src/Signer.ts +7 -7
package/dist/aws-amplify-core.js
CHANGED
|
@@ -32746,7 +32746,7 @@ var getAmplifyUserAgent = function getAmplifyUserAgent(content) {
|
|
|
32746
32746
|
__webpack_require__.r(__webpack_exports__);
|
|
32747
32747
|
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "version", function() { return version; });
|
|
32748
32748
|
// generated by genversion
|
|
32749
|
-
var version = '4.6.
|
|
32749
|
+
var version = '4.6.1';
|
|
32750
32750
|
|
|
32751
32751
|
/***/ }),
|
|
32752
32752
|
|
|
@@ -34412,7 +34412,12 @@ function () {
|
|
|
34412
34412
|
service_info = null;
|
|
34413
34413
|
}
|
|
34414
34414
|
|
|
34415
|
-
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
|
+
|
|
34416
34421
|
|
|
34417
34422
|
var dt = _Util__WEBPACK_IMPORTED_MODULE_4__["DateUtils"].getDateWithClockOffset(),
|
|
34418
34423
|
dt_str = dt.toISOString().replace(/[:\-]|\.\d{3}/g, ''),
|