-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing kit-connectors package and moving connectors into kit core (#99
- Loading branch information
1 parent
f4c7aa5
commit adff797
Showing
62 changed files
with
321 additions
and
909 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,9 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": [ | ||
"@changesets/changelog-github", | ||
{ "repo": "0xsequence/kit" } | ||
], | ||
"changelog": ["@changesets/changelog-github", { "repo": "0xsequence/kit" }], | ||
"commit": false, | ||
"linked": [], | ||
"fixed": [ | ||
[ | ||
"@0xsequence/kit", | ||
"@0xsequence/kit-connectors", | ||
"@0xsequence/kit-checkout", | ||
"@0xsequence/kit-wallet" | ||
] | ||
], | ||
"fixed": [["@0xsequence/kit", "@0xsequence/kit-checkout", "@0xsequence/kit-wallet"]], | ||
"access": "public", | ||
"baseBranch": "master", | ||
"updateInternalDependencies": "patch", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,11 +20,11 @@ View the [demo](https://0xsequence.github.io/kit)! 👀 | |
To install this package: | ||
|
||
```bash | ||
npm install @0xsequence/kit @0xsequence/kit-connectors wagmi [email protected] viem 0xsequence @tanstack/react-query | ||
npm install @0xsequence/kit wagmi [email protected] viem 0xsequence @tanstack/react-query | ||
# or | ||
pnpm install @0xsequence/kit @0xsequence/kit-connectors wagmi [email protected] viem 0xsequence @tanstack/react-query | ||
pnpm install @0xsequence/kit wagmi [email protected] viem 0xsequence @tanstack/react-query | ||
# or | ||
yarn add @0xsequence/kit @0xsequence/kit-connectors wagmi [email protected] viem 0xsequence @tanstack/react-query | ||
yarn add @0xsequence/kit wagmi [email protected] viem 0xsequence @tanstack/react-query | ||
``` | ||
|
||
### Setting up the Library | ||
|
@@ -33,8 +33,7 @@ React apps must be wrapped by a Wagmi client and the KitWalletProvider component | |
|
||
```js | ||
import MyPage from './components/MyPage' | ||
import { KitProvider } from '@0xsequence/kit' | ||
import { getDefaultConnectors } from '@0xsequence/kit-connectors' | ||
import { KitProvider, getDefaultConnectors } from '@0xsequence/kit' | ||
import { QueryClient, QueryClientProvider } from '@tanstack/react-query' | ||
import { createConfig, http, WagmiProvider } from 'wagmi' | ||
import { mainnet, polygon, Chain } from 'wagmi/chains' | ||
|
@@ -164,12 +163,11 @@ The settings are described in more detailed in the Sequence Kit documentation. | |
|
||
## Packages | ||
|
||
| Package | Description | Docs | | ||
| ----------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | ||
| [@0xsequence/kit](https://github.com/0xsequence/kit/tree/master/packages/kit) | Core package for Sequence Kit | [Read more](https://github.com/0xsequence/kit/blob/master/packages/kit/README.md) | | ||
| [@0xsequence/kit-connectors](https://github.com/0xsequence/kit/tree/master/packages/connectors) | Connectors for sequence kit including popular web3 wallets and social logins | [Read more](https://github.com/0xsequence/kit/blob/master/packages/connectors/README.md) | | ||
| [@0xsequence/kit-wallet](https://github.com/0xsequence/kit/tree/master/packages/wallet) | Embedded wallets for viewing and sending coins and collectibles | [Read more](https://github.com/0xsequence/kit/blob/master/packages/wallet/README.md) | | ||
| [@0xsequence/kit-checkout](https://github.com/0xsequence/kit/tree/master/packages/checkout) | Checkout modal with fiat onramp | [Read more](https://github.com/0xsequence/kit/blob/master/packages/checkout/README.md) | | ||
| Package | Description | Docs | | ||
| ------------------------------------------------------------------------------------------- | --------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | ||
| [@0xsequence/kit](https://github.com/0xsequence/kit/tree/master/packages/kit) | Core package for Sequence Kit | [Read more](https://github.com/0xsequence/kit/blob/master/packages/kit/README.md) | | ||
| [@0xsequence/kit-wallet](https://github.com/0xsequence/kit/tree/master/packages/wallet) | Embedded wallets for viewing and sending coins and collectibles | [Read more](https://github.com/0xsequence/kit/blob/master/packages/wallet/README.md) | | ||
| [@0xsequence/kit-checkout](https://github.com/0xsequence/kit/tree/master/packages/checkout) | Checkout modal with fiat onramp | [Read more](https://github.com/0xsequence/kit/blob/master/packages/checkout/README.md) | | ||
|
||
## Examples | ||
|
||
|
@@ -191,7 +189,6 @@ The React example can be used to test the library locally. | |
```js | ||
"@0xsequence/kit": "workspace:*", | ||
"@0xsequence/kit-checkout": "workspace:*", | ||
"@0xsequence/kit-connectors": "workspace:*", | ||
"@0xsequence/kit-wallet": "workspace:*", | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.