-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #841 from lens-protocol/release/20240213
Release/20240213
- Loading branch information
Showing
690 changed files
with
5,891 additions
and
59,266 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@lens-protocol/wagmi": major | ||
--- | ||
|
||
**feat:** Wagmi v2 support |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@lens-protocol/react": minor | ||
"@lens-protocol/react-native": minor | ||
"@lens-protocol/react-web": minor | ||
--- | ||
|
||
**feat:** Added `useLazyProfilesManaged` hook |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@lens-protocol/api-bindings": patch | ||
"@lens-protocol/react-native": patch | ||
"@lens-protocol/react-web": patch | ||
"@lens-protocol/react": patch | ||
--- | ||
|
||
**fixed:** make `useAccessToken` reactive |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
"@lens-protocol/react-web": minor | ||
"@lens-protocol/react": minor | ||
"@lens-protocol/react-native": minor | ||
"@lens-protocol/blockchain-bindings": patch | ||
"@lens-protocol/api-bindings": patch | ||
"@lens-protocol/domain": patch | ||
--- | ||
|
||
**feat:** `useCreateProfile` hook |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
"use client"; | ||
|
||
import { LensConfig, LensProvider, development } from "@lens-protocol/react-web"; | ||
import { bindings } from "@lens-protocol/wagmi"; | ||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; | ||
import { WagmiProvider, createConfig, http } from "wagmi"; | ||
import { polygon, polygonMumbai } from "wagmi/chains"; | ||
|
||
const queryClient = new QueryClient(); | ||
|
||
const wagmiConfig = createConfig({ | ||
chains: [polygonMumbai, polygon], | ||
transports: { | ||
[polygonMumbai.id]: http(), | ||
[polygon.id]: http(), | ||
}, | ||
}); | ||
|
||
const lensConfig: LensConfig = { | ||
environment: development, | ||
bindings: bindings(wagmiConfig), | ||
}; | ||
|
||
export function Providers({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<WagmiProvider config={wagmiConfig}> | ||
<QueryClientProvider client={queryClient}> | ||
<LensProvider config={lensConfig}>{children}</LensProvider> | ||
</QueryClientProvider> | ||
</WagmiProvider> | ||
); | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.