diff --git a/packages/aws-amplify/package.json b/packages/aws-amplify/package.json index 8d612208830..55449c10653 100644 --- a/packages/aws-amplify/package.json +++ b/packages/aws-amplify/package.json @@ -317,7 +317,7 @@ "name": "[Analytics] identifyUser (Pinpoint)", "path": "./dist/esm/analytics/index.mjs", "import": "{ identifyUser }", - "limit": "15.95 kB" + "limit": "15.97 kB" }, { "name": "[Analytics] enable", @@ -497,7 +497,7 @@ "name": "[Storage] uploadData (S3)", "path": "./dist/esm/storage/index.mjs", "import": "{ uploadData }", - "limit": "20.15 kB" + "limit": "20.17 kB" } ] } diff --git a/packages/core/polyfills/URL/index.js b/packages/core/polyfills/URL/index.js deleted file mode 100644 index 6745cf86f3f..00000000000 --- a/packages/core/polyfills/URL/index.js +++ /dev/null @@ -1 +0,0 @@ -(()=>{var e,r={515:e=>{"use strict";e.exports=require("react-native-url-polyfill/auto")}},o={},t={};"test"!==(null===(e=null===process||void 0===process?void 0:process.env)||void 0===e?void 0:e.NODE_ENV)&&function e(t){var s=o[t];if(void 0!==s)return s.exports;var i=o[t]={exports:{}};return r[t](i,i.exports,e),i.exports}(515);var s=exports;for(var i in t)s[i]=t[i];t.__esModule&&Object.defineProperty(s,"__esModule",{value:!0})})(); \ No newline at end of file diff --git a/packages/core/src/storage/utils.ts b/packages/core/src/storage/utils.ts index dc639987c86..3d27578c839 100644 --- a/packages/core/src/storage/utils.ts +++ b/packages/core/src/storage/utils.ts @@ -20,7 +20,9 @@ export const getLocalStorageWithFallback = (): Storage => { } } catch (e) { // Handle any errors related to localStorage access - logger.info('localStorage access failed. InMemoryStorage is used as a fallback.'); + logger.info( + 'localStorage not found. InMemoryStorage is used as a fallback.', + ); } // Return in-memory storage as a fallback if localStorage is not accessible @@ -45,7 +47,7 @@ export const getSessionStorageWithFallback = (): Storage => { } catch (e) { // Handle any errors related to sessionStorage access logger.info( - 'sessionStorage access failed. InMemoryStorage is used as a fallback.', + 'sessionStorage not found. InMemoryStorage is used as a fallback.', ); return new InMemoryStorage();