Skip to content

Commit

Permalink
Chore/prep 1.3.0.alpha (#142)
Browse files Browse the repository at this point in the history
* chore: bump to 1.3.0-alpha.0

* chore: fixed tests
  • Loading branch information
Ignacio Santise authored Feb 22, 2024
1 parent 6e34fcd commit 0ee1639
Show file tree
Hide file tree
Showing 32 changed files with 169 additions and 68 deletions.
30 changes: 14 additions & 16 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
{
"mode": "pre",
"mode": "exit",
"tag": "alpha",
"initialVersions": {
"@apps/gallery": "1.0.4",
"@apps/native": "1.0.4",
"@apps/native-cli": "1.0.4",
"@web3modal/coinbase-ethers-react-native": "1.2.0-alpha.0",
"@web3modal/coinbase-wagmi-react-native": "1.2.0",
"@web3modal/core-react-native": "1.2.0",
"@web3modal/ethers5-react-native": "1.2.0-alpha.0",
"@web3modal/scaffold-react-native": "1.2.0",
"@web3modal/scaffold-utils-react-native": "1.2.0",
"@web3modal/ui-react-native": "1.2.0",
"@web3modal/wagmi-react-native": "1.2.0",
"@web3modal/ethers-react-native": "1.2.0-alpha.0"
"@apps/gallery": "1.0.5-alpha.0",
"@apps/native": "1.0.5-alpha.0",
"@apps/native-cli": "1.0.5-alpha.0",
"@web3modal/coinbase-ethers-react-native": "1.3.0-alpha.0",
"@web3modal/coinbase-wagmi-react-native": "1.3.0-alpha.0",
"@web3modal/core-react-native": "1.3.0-alpha.0",
"@web3modal/ethers-react-native": "1.3.0-alpha.0",
"@web3modal/ethers5-react-native": "1.3.0-alpha.0",
"@web3modal/scaffold-react-native": "1.3.0-alpha.0",
"@web3modal/scaffold-utils-react-native": "1.3.0-alpha.0",
"@web3modal/ui-react-native": "1.3.0-alpha.0",
"@web3modal/wagmi-react-native": "1.3.0-alpha.0"
},
"changesets": [
"shy-ravens-perform"
]
"changesets": []
}
6 changes: 0 additions & 6 deletions .changeset/shy-ravens-perform.md

This file was deleted.

3 changes: 1 addition & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"react-hooks/exhaustive-deps": "warn",
"no-console": ["error", { "allow": ["warn"] }],
"newline-before-return": "error",
"radix": "off",
"no-bitwise": "off"
"radix": "off"
},
"parserOptions": {
"requireConfigFile": false
Expand Down
7 changes: 7 additions & 0 deletions apps/gallery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @apps/gallery

## 1.0.5-alpha.0

### Patch Changes

- Updated dependencies []:
- @web3modal/ui-react-native@1.3.0-alpha.0

## 1.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/gallery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/gallery",
"version": "1.0.4",
"version": "1.0.5-alpha.0",
"main": "index.js",
"private": true,
"devDependencies": {
Expand Down Expand Up @@ -33,6 +33,6 @@
},
"dependencies": {
"@storybook/theming": "^7.4.6",
"@web3modal/ui-react-native": "1.2.0"
"@web3modal/ui-react-native": "1.3.0-alpha.0"
}
}
7 changes: 7 additions & 0 deletions apps/native-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @apps/native-cli

## 1.0.5-alpha.0

### Patch Changes

- Updated dependencies []:
- @web3modal/wagmi-react-native@1.3.0-alpha.0

## 1.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/native-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/native-cli",
"version": "1.0.4",
"version": "1.0.5-alpha.0",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand All @@ -15,7 +15,7 @@
"@react-native-clipboard/clipboard": "1.13.0",
"@react-native-community/netinfo": "9.3.10",
"@walletconnect/react-native-compat": "2.10.5",
"@web3modal/wagmi-react-native": "1.2.0",
"@web3modal/wagmi-react-native": "1.3.0-alpha.0",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-get-random-values": "~1.9.0",
Expand Down
7 changes: 7 additions & 0 deletions apps/native/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @apps/native

## 1.0.5-alpha.0

### Patch Changes

- Updated dependencies []:
- @web3modal/wagmi-react-native@1.3.0-alpha.0

## 1.0.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/native",
"version": "1.0.4",
"version": "1.0.5-alpha.0",
"main": "index.js",
"private": true,
"scripts": {
Expand All @@ -18,7 +18,7 @@
"@react-native-async-storage/async-storage": "1.18.2",
"@react-native-community/netinfo": "9.3.10",
"@walletconnect/react-native-compat": "2.10.5",
"@web3modal/wagmi-react-native": "1.2.0",
"@web3modal/wagmi-react-native": "1.3.0-alpha.0",
"expo": "^49.0.0",
"expo-application": "~5.3.0",
"expo-clipboard": "~4.3.1",
Expand Down
6 changes: 6 additions & 0 deletions packages/coinbase-ethers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @web3modal/coinbase-ethers-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

## 1.2.0-alpha.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/coinbase-ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3modal/coinbase-ethers-react-native",
"version": "1.2.0-alpha.0",
"version": "1.3.0-alpha.0",
"main": "lib/commonjs/index.js",
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/coinbase-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @web3modal/coinbase-wagmi-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/coinbase-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3modal/coinbase-wagmi-react-native",
"version": "1.2.0",
"version": "1.3.0-alpha.0",
"main": "lib/commonjs/index.js",
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @web3modal/core-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

## 1.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3modal/core-react-native",
"version": "1.2.0",
"version": "1.3.0-alpha.0",
"main": "lib/commonjs/index.js",
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const MOCK_IDENTITY = {
// @ts-ignore
global.fetch = jest.fn(() =>
Promise.resolve({
ok: true,
headers: {
get: () => 'application/json'
},
json: () => Promise.resolve(MOCK_IDENTITY)
})
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ describe('ModalController', () => {
expect(ModalController.state.open).toEqual(false);
});

it('should update state correctly on open()', () => {
ModalController.open();
it('should update state correctly on open()', async () => {
await ModalController.open();
expect(ModalController.state.open).toEqual(true);
});

Expand Down
2 changes: 2 additions & 0 deletions packages/core/src/utils/CoreHelperUtil.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable no-bitwise */

import { Linking, Platform } from 'react-native';
import { ConstantsUtil } from './ConstantsUtil';
import type { CaipAddress, DataWallet, LinkingRecord } from './TypeUtil';
Expand Down
12 changes: 12 additions & 0 deletions packages/ethers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @web3modal/ethers5-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

### Patch Changes

- Updated dependencies []:
- @web3modal/scaffold-react-native@1.3.0-alpha.0
- @web3modal/scaffold-utils-react-native@1.3.0-alpha.0

## 1.2.0-alpha.1

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3modal/ethers-react-native",
"version": "1.2.0-alpha.1",
"version": "1.3.0-alpha.0",
"main": "lib/commonjs/index.js",
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
Expand Down Expand Up @@ -39,8 +39,8 @@
},
"dependencies": {
"@walletconnect/ethereum-provider": "2.11.1",
"@web3modal/scaffold-react-native": "1.2.0",
"@web3modal/scaffold-utils-react-native": "1.2.0"
"@web3modal/scaffold-react-native": "1.3.0-alpha.0",
"@web3modal/scaffold-utils-react-native": "1.3.0-alpha.0"
},
"peerDependencies": {
"@react-native-async-storage/async-storage": ">=1.17.0",
Expand Down
12 changes: 12 additions & 0 deletions packages/ethers5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @web3modal/ethers5-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

### Patch Changes

- Updated dependencies []:
- @web3modal/scaffold-react-native@1.3.0-alpha.0
- @web3modal/scaffold-utils-react-native@1.3.0-alpha.0

## 1.2.0-alpha.2

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/ethers5/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3modal/ethers5-react-native",
"version": "1.2.0-alpha.2",
"version": "1.3.0-alpha.0",
"main": "lib/commonjs/index.js",
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
Expand Down Expand Up @@ -39,8 +39,8 @@
},
"dependencies": {
"@walletconnect/ethereum-provider": "2.11.1",
"@web3modal/scaffold-react-native": "1.2.0",
"@web3modal/scaffold-utils-react-native": "1.2.0"
"@web3modal/scaffold-react-native": "1.3.0-alpha.0",
"@web3modal/scaffold-utils-react-native": "1.3.0-alpha.0"
},
"peerDependencies": {
"@ethersproject/shims": ">=5.0.0",
Expand Down
11 changes: 11 additions & 0 deletions packages/scaffold-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @web3modal/scaffold-utils-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

### Patch Changes

- Updated dependencies []:
- @web3modal/scaffold-react-native@1.3.0-alpha.0

## 1.2.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/scaffold-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3modal/scaffold-utils-react-native",
"version": "1.2.0",
"version": "1.3.0-alpha.0",
"main": "lib/commonjs/index.js",
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
Expand Down Expand Up @@ -35,7 +35,7 @@
"access": "public"
},
"dependencies": {
"@web3modal/scaffold-react-native": "1.2.0"
"@web3modal/scaffold-react-native": "1.3.0-alpha.0"
},
"react-native": "src/index.ts",
"react-native-builder-bob": {
Expand Down
2 changes: 1 addition & 1 deletion packages/scaffold-utils/src/utils/ConstantsUtil.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const ConstantsUtil = {
VERSION: '1.2.0',
VERSION: '1.3.0-alpha.0',
WALLET_CONNECT_CONNECTOR_ID: 'walletConnect',
COINBASE_CONNECTOR_ID: 'coinbaseWallet',
SAFE_CONNECTOR_ID: 'safe',
Expand Down
12 changes: 12 additions & 0 deletions packages/scaffold/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @web3modal/scaffold-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

### Patch Changes

- Updated dependencies []:
- @web3modal/core-react-native@1.3.0-alpha.0
- @web3modal/ui-react-native@1.3.0-alpha.0

## 1.2.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/scaffold/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3modal/scaffold-react-native",
"version": "1.2.0",
"version": "1.3.0-alpha.0",
"main": "lib/commonjs/index.js",
"types": "lib/typescript/index.d.ts",
"module": "lib/module/index.js",
Expand Down Expand Up @@ -37,8 +37,8 @@
"access": "public"
},
"dependencies": {
"@web3modal/core-react-native": "1.2.0",
"@web3modal/ui-react-native": "1.2.0"
"@web3modal/core-react-native": "1.3.0-alpha.0",
"@web3modal/ui-react-native": "1.3.0-alpha.0"
},
"peerDependencies": {
"react": ">=17",
Expand Down
6 changes: 6 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @web3modal/ui-react-native

## 1.3.0-alpha.0

### Minor Changes

- analytics alpha

## 1.2.0

### Minor Changes
Expand Down
Loading

0 comments on commit 0ee1639

Please sign in to comment.