Skip to content

Commit f4986b0

Browse files
committed
ENG-8704 - Upgrade React Native to 0.79.4 and add support for React 19.
1 parent def71d6 commit f4986b0

3 files changed

Lines changed: 480 additions & 765 deletions

File tree

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"react-native-uuid": "^2.0.3"
2727
},
2828
"peerDependencies": {
29-
"react-native": "0.76.9",
29+
"react-native": "^0.79.0",
3030
"react": "^18.3.1 || >= 18.2.0"
3131
},
3232
"devDependencies": {
@@ -36,15 +36,15 @@
3636
"@babel/runtime": "^7.26.0",
3737
"@eslint/compat": "^1.2.3",
3838
"@eslint/eslintrc": "^3.2.0",
39-
"@react-native-community/cli-platform-android": "15.0.1",
40-
"@react-native-community/cli-platform-ios": "15.0.1",
41-
"@react-native-community/cli": "15.0.1",
42-
"@react-native/babel-preset": "^0.76.2",
39+
"@react-native-community/cli-platform-android": "^18.0.0",
40+
"@react-native-community/cli-platform-ios": "^18.0.0",
41+
"@react-native-community/cli": "^18.0.0",
42+
"@react-native/babel-preset": "^0.79.0",
4343
"@react-native/eslint-config": "^0.76.2",
44-
"@react-native/metro-config": "^0.76.2",
44+
"@react-native/metro-config": "^0.79.0",
4545
"@react-native/typescript-config": "^0.76.2",
4646
"@react-navigation/native-stack": "^7.1.1",
47-
"@react-navigation/native": "^7.0.4",
47+
"@react-navigation/native": "^6.0.8",
4848
"@semantic-release/changelog": "^6.0.3",
4949
"@semantic-release/commit-analyzer": "^13.0.0",
5050
"@semantic-release/exec": "^6.0.3",
@@ -64,14 +64,14 @@
6464
"eslint-plugin-ft-flow": "^3.0.11",
6565
"eslint-plugin-prettier": "5.2.1",
6666
"eslint": "^9.15.0",
67-
"jest": "^29.7.0",
67+
"jest": "^29.2.1",
6868
"prettier": "^3.3.3",
6969
"react-native-builder-bob": "^0.32.1",
70-
"react-native-safe-area-context": "^4.14.0",
71-
"react-native-screens": "^4.3.0",
72-
"react-native": "0.76.9",
73-
"react-test-renderer": "18.3.1",
74-
"react": "18.3.1",
70+
"react-native-safe-area-context": "^5.4.0",
71+
"react-native-screens": "^4.10.0",
72+
"react-native": "^0.79.0",
73+
"react-test-renderer": "19.0.0",
74+
"react": "19.0.0",
7575
"semantic-release": "^24.2.0",
7676
"semver": "^7.6.3",
7777
"typescript": "5.6.3"

src/useBasisTheory.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1+
import { BasisTheory } from '@basis-theory/basis-theory-js';
12
import type {
23
BasisTheoryInitOptionsWithoutElements,
34
BasisTheory as BasisTheoryType,
45
} from '@basis-theory/basis-theory-js/types/sdk';
56
import { useEffect, useState } from 'react';
6-
import { BasisTheory } from '@basis-theory/basis-theory-js';
77

8+
import { useBasisTheoryFromContext } from './BasisTheoryProvider';
89
import { Proxy } from './modules/proxy';
910
import { Sessions } from './modules/sessions';
10-
import { Tokens } from './modules/tokens';
11-
import { useBasisTheoryFromContext } from './BasisTheoryProvider';
1211
import { TokenIntents } from './modules/tokenIntents';
12+
import { Tokens } from './modules/tokens';
1313

1414
const _BasisTheoryElements = async ({
1515
apiKey,

0 commit comments

Comments
 (0)