From 37b82a6058d2c6e839769b1bac04b0deb5fd5d59 Mon Sep 17 00:00:00 2001 From: G Date: Mon, 13 May 2024 16:56:50 +0000 Subject: [PATCH] react nativa base64 to encode basic authentication with axios --- package.json | 2 ++ yarn.lock | 10 ++++++++++ 2 files changed, 12 insertions(+) diff --git a/package.json b/package.json index e4d1d21..6410649 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "expo-status-bar": "~1.11.1", "react": "18.2.0", "react-native": "0.73.6", + "react-native-base64": "^0.2.1", "react-native-safe-area-context": "4.8.2", "react-native-screens": "~3.29.0" }, @@ -31,6 +32,7 @@ "@babel/core": "^7.20.0", "@biomejs/biome": "1.7.1", "@types/react": "~18.2.45", + "@types/react-native-base64": "^0.2.2", "husky": "^9.0.11", "lint-staged": "^15.2.2", "typescript": "^5.1.3" diff --git a/yarn.lock b/yarn.lock index e657105..2a47c3a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2314,6 +2314,11 @@ resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.12.tgz#12bb1e2be27293c1406acb6af1c3f3a1481d98c6" integrity sha512-5zvhXYtRNRluoE/jAp4GVsSduVUzNWKkOZrCDBWYtE7biZywwdC2AcEzg+cSMLFRfVgeAFqpfNabiPjxFddV1Q== +"@types/react-native-base64@^0.2.2": + version "0.2.2" + resolved "https://registry.yarnpkg.com/@types/react-native-base64/-/react-native-base64-0.2.2.tgz#d4e1d537e6d547d23d96a1e64627acc13587ae6b" + integrity sha512-obr+/L9Jaxdr+xCVS/IQcYgreg5xtnui4Wqw/G1acBUtW2CnqVJj6lK6F/5F3+5d2oZEo5xDDLqy8GVn2HbEmw== + "@types/react@~18.2.45": version "18.2.79" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.79.tgz#c40efb4f255711f554d47b449f796d1c7756d865" @@ -6053,6 +6058,11 @@ react-is@^17.0.1: resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-native-base64@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/react-native-base64/-/react-native-base64-0.2.1.tgz#3d0e73a649c4c0129f7b7695d3912456aebae847" + integrity sha512-eHgt/MA8y5ZF0aHfZ1aTPcIkDWxza9AaEk4GcpIX+ZYfZ04RcaNahO+527KR7J44/mD3efYfM23O2C1N44ByWA== + react-native-safe-area-context@4.8.2: version "4.8.2" resolved "https://registry.yarnpkg.com/react-native-safe-area-context/-/react-native-safe-area-context-4.8.2.tgz#e6b3d8acf3c6afcb4b5db03a97f9c37df7668f65" -- libgit2 0.27.1