Skip to content

Commit ec26317

Browse files
Merge pull request #368 from reown-com/fix/valtio-vanilla
chore: bump valtio to 1.13.2 and remove vanilla imports
2 parents 3241fe8 + c425b73 commit ec26317

File tree

13 files changed

+267
-296
lines changed

13 files changed

+267
-296
lines changed

.changeset/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"baseBranch": "main",
66
"commit": false,
77
"updateInternalDependencies": "patch",
8-
"ignore": ["@apps/gallery", "@apps/native"]
8+
"ignore": ["@apps/*"]
99
}

.changeset/slow-toes-dream.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
'@reown/appkit-coinbase-ethers-react-native': patch
3+
'@reown/appkit-coinbase-wagmi-react-native': patch
4+
'@reown/appkit-scaffold-utils-react-native': patch
5+
'@reown/appkit-auth-ethers-react-native': patch
6+
'@reown/appkit-auth-wagmi-react-native': patch
7+
'@reown/appkit-scaffold-react-native': patch
8+
'@reown/appkit-ethers5-react-native': patch
9+
'@reown/appkit-common-react-native': patch
10+
'@reown/appkit-ethers-react-native': patch
11+
'@reown/appkit-wallet-react-native': patch
12+
'@reown/appkit-wagmi-react-native': patch
13+
'@reown/appkit-core-react-native': patch
14+
'@reown/appkit-siwe-react-native': patch
15+
'@reown/appkit-ui-react-native': patch
16+
---
17+
18+
chore: bump valtio to 1.13.2

apps/gallery/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"version": "1.0.8",
33
"main": "index.js",
44
"private": true,
5+
"name": "@apps/gallery",
56
"devDependencies": {
67
"@babel/core": "*",
78
"@babel/preset-env": "^7.22.10",

apps/native/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"version": "1.0.8",
33
"main": "index.js",
44
"private": true,
5+
"name": "@apps/native",
56
"scripts": {
67
"start": "expo start",
78
"android": "expo start --android",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
"@babel/plugin-proposal-class-properties": "^7.18.6",
4343
"@babel/plugin-proposal-private-methods": "^7.18.6",
4444
"@babel/plugin-transform-flow-strip-types": "^7.26.5",
45-
"@changesets/changelog-github": "0.5.0",
46-
"@changesets/cli": "2.27.7",
45+
"@changesets/changelog-github": "0.5.1",
46+
"@changesets/cli": "2.29.5",
4747
"@coinbase/wallet-mobile-sdk": "1.1.2",
4848
"@react-native-async-storage/async-storage": "2.1.2",
4949
"@react-native/babel-preset": "0.76.7",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"dependencies": {
4141
"@reown/appkit-common-react-native": "1.2.5",
42-
"valtio": "1.11.2"
42+
"valtio": "1.13.2"
4343
},
4444
"peerDependencies": {
4545
"@react-native-async-storage/async-storage": ">=1.17.0",

packages/core/src/controllers/EnsController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { subscribeKey as subKey } from 'valtio/vanilla/utils';
2-
import { proxy, subscribe as sub } from 'valtio/vanilla';
1+
import { subscribeKey as subKey } from 'valtio/utils';
2+
import { proxy, subscribe as sub } from 'valtio';
33
import { BlockchainApiController } from './BlockchainApiController';
44
import type { BlockchainApiEnsError } from '../utils/TypeUtil';
55

packages/core/src/controllers/EventsController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { proxy, subscribe as sub } from 'valtio/vanilla';
1+
import { proxy, subscribe as sub } from 'valtio';
22
import { ApiController } from './ApiController';
33
import { OptionsController } from './OptionsController';
44
import { CoreHelperUtil } from '../utils/CoreHelperUtil';

packages/core/src/controllers/SendController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { subscribeKey as subKey } from 'valtio/vanilla/utils';
2-
import { proxy, ref, subscribe as sub } from 'valtio/vanilla';
1+
import { subscribeKey as subKey } from 'valtio/utils';
2+
import { proxy, ref, subscribe as sub } from 'valtio';
33
import { ContractUtil, type Balance } from '@reown/appkit-common-react-native';
44
import { AccountController } from './AccountController';
55
import { ConnectionController } from './ConnectionController';

packages/core/src/controllers/TransactionsController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { Transaction } from '@reown/appkit-common-react-native';
2-
import { proxy, subscribe as sub } from 'valtio/vanilla';
2+
import { proxy, subscribe as sub } from 'valtio';
33
import { OptionsController } from './OptionsController';
44
import { EventsController } from './EventsController';
55
import { SnackController } from './SnackController';

0 commit comments

Comments
 (0)