From 0ee4d0373530a2cf943ed35321323e77781c9bc0 Mon Sep 17 00:00:00 2001 From: Tom Lee Date: Thu, 2 Nov 2023 18:59:32 -0700 Subject: [PATCH] align react-native naming --- ECMAScript/react-native/package.json | 3 ++- ECMAScript/react-native/src/components/QuilttConnector.tsx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ECMAScript/react-native/package.json b/ECMAScript/react-native/package.json index d6aa5d51..9a9a1999 100644 --- a/ECMAScript/react-native/package.json +++ b/ECMAScript/react-native/package.json @@ -13,8 +13,9 @@ "repository": { "type": "git", "url": "https://github.com/quiltt/quiltt-public.git", - "directory": "ECMAScript/react_native" + "directory": "ECMAScript/react-native" }, + "homepage": "https://github.com/quiltt/quiltt-public/tree/main/ECMAScript/react-native#readme", "scripts": { "build": "tsup", "clean": "rimraf .turbo dist", diff --git a/ECMAScript/react-native/src/components/QuilttConnector.tsx b/ECMAScript/react-native/src/components/QuilttConnector.tsx index 3ec6f5ad..33085249 100644 --- a/ECMAScript/react-native/src/components/QuilttConnector.tsx +++ b/ECMAScript/react-native/src/components/QuilttConnector.tsx @@ -31,7 +31,7 @@ export const QuilttConnector = ({ const webViewRef = useRef(null) const { session } = useQuilttSession() oauthRedirectUrl = encodeURIComponent(oauthRedirectUrl) - const connectorUrl = `https://${connectorId}.quiltt.app/?mode=webview&oauth_redirect_url=${oauthRedirectUrl}&sdk=react_native` // @todo append version from package.json + const connectorUrl = `https://${connectorId}.quiltt.app/?mode=webview&oauth_redirect_url=${oauthRedirectUrl}&sdk=react-native` // @todo append version from package.json const initInjectedJavaScript = useCallback(() => { const script = `\