Skip to content

Commit

Permalink
chore: version packages (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 15, 2022
1 parent 233a6d7 commit e82caf0
Show file tree
Hide file tree
Showing 20 changed files with 139 additions and 70 deletions.
61 changes: 0 additions & 61 deletions .changeset/funny-tips-eat.md

This file was deleted.

8 changes: 8 additions & 0 deletions examples/with-create-react-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# with-create-react-app

## 0.1.2

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.1.1

### Patch Changes

- Updated dependencies [ce473cd]
Expand Down
2 changes: 1 addition & 1 deletion examples/with-create-react-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "with-create-react-app",
"version": "0.1.1",
"version": "0.1.2",
"private": true,
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
Expand Down
8 changes: 8 additions & 0 deletions examples/with-next-custom-button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# with-next-custom-button

## 0.0.2

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.0.1

### Patch Changes

- Updated dependencies [ce473cd]
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-custom-button/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "with-next-custom-button",
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
8 changes: 8 additions & 0 deletions examples/with-next-mint-nft/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# with-next-mint-nft

## 0.0.2

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.0.1

### Patch Changes

- Updated dependencies [ce473cd]
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next-mint-nft/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "with-next-mint-nft",
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
8 changes: 8 additions & 0 deletions examples/with-next/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# with-next

## 0.0.2

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.0.1

### Patch Changes

- Updated dependencies [ce473cd]
Expand Down
2 changes: 1 addition & 1 deletion examples/with-next/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "with-next",
"private": true,
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
8 changes: 8 additions & 0 deletions examples/with-remix/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# with-remix

## null

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## null

### Patch Changes

- Updated dependencies [ce473cd]
Expand Down
7 changes: 7 additions & 0 deletions packages/create-rainbowkit/generated-test-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# generated-test-app

## 0.1.4

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.1.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-rainbowkit/generated-test-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "generated-test-app",
"private": true,
"version": "0.1.3",
"version": "0.1.4",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
7 changes: 7 additions & 0 deletions packages/create-rainbowkit/templates/next-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# rainbowkit-next-app

## 0.0.4

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-rainbowkit/templates/next-app/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "rainbowkit-next-app",
"private": true,
"version": "0.0.3",
"version": "0.0.4",
"scripts": {
"dev": "next dev",
"build": "next build",
Expand Down
7 changes: 7 additions & 0 deletions packages/example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# example

## 0.0.12

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.0.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/example/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "example",
"version": "0.0.11",
"version": "0.0.12",
"description": "",
"private": true,
"main": "index.js",
Expand Down
62 changes: 62 additions & 0 deletions packages/rainbowkit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,67 @@
# @rainbow-me/rainbowkit

## 0.3.0

### Minor Changes

- 233a6d7: **Breaking:** Removed the `chainId` parameter from `createConnector` on the `Wallet` type (Custom Wallets).

**Note that all built-in wallets are using the new API. Most consumers will be unaffected. This change only affects consumers that have created/consumed [custom wallets](rainbowkit.com/docs/custom-wallets).**

If you previously derived RPC URLs from the `chainId` on `createConnector`, you can now remove that logic as `wagmi` now handles RPC URLs internally when used with `configureChains`.

```diff
import { connectorsForWallets, wallet, Chain, Wallet } from '@rainbow-me/rainbowkit';
import { chain, configureChains } from 'wagmi';
import { alchemyProvider } from 'wagmi/providers/alchemy';
import { publicProvider } from 'wagmi/providers/public';
import { WalletConnectConnector } from 'wagmi/connectors/walletConnect';

export interface MyWalletOptions {
chains: Chain[];
}

-const chains = [chain.mainnet]
+const { chains } = configureChains(
+ [chain.mainnet],
+ [
+ alchemyProvider({ alchemyId: process.env.ALCHEMY_ID }),
+ publicProvider(),
+ ]
+);

export const rainbow = ({ chains }: MyWalletOptions): Wallet => ({
...
- createConnector: ({ chainId }) => {
+ createConnector: () => {
- const rpc = chains.reduce(
- (rpcUrlMap, chain) => ({
- ...rpcUrlMap,
- [chainId]: chain.rpcUrls.default,
- }),
- {}
- );
const connector = new WalletConnectConnector({
chains,
options: {
qrcode: false,
- rpc,
},
});
}
...
}

const connectors = connectorsForWallets([
{
groupName: 'Recommended',
wallets: [
rainbow({ chains }),
],
},
]);
```

## 0.2.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rainbowkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rainbow-me/rainbowkit",
"version": "0.2.5",
"version": "0.3.0",
"description": "The best way to connect a wallet",
"files": [
"dist"
Expand Down
7 changes: 7 additions & 0 deletions site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# site

## 0.0.12

### Patch Changes

- Updated dependencies [233a6d7]
- @rainbow-me/rainbowkit@0.3.0

## 0.0.11

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "site",
"version": "0.0.11",
"version": "0.0.12",
"description": "Site and docs for RainbowKit.",
"private": true,
"dependencies": {
Expand Down

2 comments on commit e82caf0

@vercel
Copy link

@vercel vercel bot commented on e82caf0 Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on e82caf0 Jun 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.