Skip to content

Commit a6f1e1d

Browse files
🔄 synced file(s) with circlefin/w3s-rn-sample-app-wallets-internal (#3)
2 parents adcc770 + 60d9c04 commit a6f1e1d

6 files changed

Lines changed: 19 additions & 25 deletions

File tree

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,9 @@ Create a Personal Access Token (PAT) in your [GitHub setting](https://github.com
3535
- [Creating a personal access token (classic)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic)
3636

3737

38-
Next, add `.npmrc` file as below:
39-
```properties
40-
@circlefin:registry=https://npm.pkg.github.com
41-
//npm.pkg.github.com/:_authToken=<GITHUB_PAT>
42-
```
4338
## Installation
4439
```shell
45-
yarn add @circlefin/w3s-pw-react-native-sdk
40+
yarn add @circle-fin/w3s-pw-react-native-sdk
4641
```
4742
### Android
4843
Add the maven repository to your `android/build.gradle`. It's suggested that load settings from the `local.properties`:

android/app/src/main/assets/index.android.bundle

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"build:ios": "react-native bundle --entry-file='index.js' --bundle-output='./ios/main.jsbundle' --dev=false --platform='ios' --assets-dest ios"
1313
},
1414
"dependencies": {
15-
"@circle-fin/w3s-pw-react-native-sdk": "^0.0.175",
16-
"@circlefin/w3s-pw-react-native-sdk": "^0.0.225",
15+
"@circle-fin/w3s-pw-react-native-sdk": "^1.0.4",
1716
"@react-navigation/native": "^6.1.9",
1817
"@react-navigation/native-stack": "^6.9.17",
1918
"i18next": "^23.7.12",

src/customize/DefaultCustomizer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
TextKey,
2727
TextsKey,
2828
WalletSdk
29-
} from "@circlefin/w3s-pw-react-native-sdk"
29+
} from "@circle-fin/w3s-pw-react-native-sdk"
3030
import { colors } from "../styles.ts"
3131

3232
export const DefaultCustomizer = {

src/screens/ForgotPinScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import * as React from "react"
1818

1919
import { Platform, SafeAreaView, Text, View } from "react-native"
20-
import { WalletSdk } from "@circlefin/w3s-pw-react-native-sdk"
20+
import { WalletSdk } from "@circle-fin/w3s-pw-react-native-sdk"
2121
import { MainButton } from "../components/MainButton"
2222
import { useTranslation } from "react-i18next"
2323
import { commonStyles } from "../styles"

src/screens/MainScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import * as React from "react"
1818

1919
import { Platform, SafeAreaView, ScrollView, StyleSheet, Switch, Text, View } from "react-native"
20-
import { WalletSdk } from "@circlefin/w3s-pw-react-native-sdk"
20+
import { WalletSdk } from "@circle-fin/w3s-pw-react-native-sdk"
2121
import { toast } from "../Helpers.ts"
2222
import { DefaultCustomizer } from "../customize/DefaultCustomizer.ts"
2323
import { useTranslation } from "react-i18next"
@@ -26,7 +26,7 @@ import CommonInputText from "../components/CommonInputText.tsx"
2626
import { MainButton } from "../components/MainButton.tsx"
2727
import { pw_app_id, pw_endpoint } from "../config.json"
2828
import { version } from "../../package.json"
29-
import { ExecuteEvent } from "@circlefin/w3s-pw-react-native-sdk/lib/typescript/src/types"
29+
import { ExecuteEvent } from "@circle-fin/w3s-pw-react-native-sdk/lib/typescript/src/types"
3030
// @ts-ignore
3131
export default function MainScreen({ navigation }: Props) {
3232
const { t } = useTranslation()

0 commit comments

Comments
 (0)