From f545645459a79bfc391295e5e3bb8a007f96b9e5 Mon Sep 17 00:00:00 2001 From: Cesare Naldi Date: Thu, 4 Jul 2024 13:21:41 +0200 Subject: [PATCH 1/7] fix: simple collect module recipient not optional w/ amount --- .changeset/two-avocados-accept.md | 7 +++++++ .../domain/src/use-cases/publications/OpenActionConfig.ts | 2 ++ .../adapters/publications/resolveOpenActionModuleInput.ts | 3 ++- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/two-avocados-accept.md diff --git a/.changeset/two-avocados-accept.md b/.changeset/two-avocados-accept.md new file mode 100644 index 0000000000..88985ceeef --- /dev/null +++ b/.changeset/two-avocados-accept.md @@ -0,0 +1,7 @@ +--- +"@lens-protocol/react-native": patch +"@lens-protocol/react-web": patch +"@lens-protocol/react": patch +--- + +**fix:** Simple Collect Module recipient is not optional when amount is specified. diff --git a/packages/domain/src/use-cases/publications/OpenActionConfig.ts b/packages/domain/src/use-cases/publications/OpenActionConfig.ts index e1de1d0212..6e43262199 100644 --- a/packages/domain/src/use-cases/publications/OpenActionConfig.ts +++ b/packages/domain/src/use-cases/publications/OpenActionConfig.ts @@ -42,6 +42,8 @@ export type SimpleCollectActionConfig = { referralFee?: number; /** * The recipient of the collect fee. + * + * You MUST provide a recipient if you provide an amount. */ recipient?: EvmAddress; /** diff --git a/packages/react/src/transactions/adapters/publications/resolveOpenActionModuleInput.ts b/packages/react/src/transactions/adapters/publications/resolveOpenActionModuleInput.ts index 81f845b644..21de79f1c8 100644 --- a/packages/react/src/transactions/adapters/publications/resolveOpenActionModuleInput.ts +++ b/packages/react/src/transactions/adapters/publications/resolveOpenActionModuleInput.ts @@ -1,3 +1,4 @@ +import { AddressZero } from '@ethersproject/constants'; import { OpenActionModuleInput } from '@lens-protocol/api-bindings'; import { OpenActionConfig, OpenActionType } from '@lens-protocol/domain/use-cases/publications'; @@ -15,7 +16,7 @@ export function resolveOpenActionModuleInput(config: OpenActionConfig): OpenActi referralFee: config.referralFee, - recipient: config.recipient ?? null, + recipient: config.recipient ?? AddressZero, }), collectLimit: config.collectLimit?.toString() ?? null, From a3796be07a5c3f52db212e4d3ec766c5766feabf Mon Sep 17 00:00:00 2001 From: Paul Burke Date: Wed, 10 Jul 2024 09:08:24 -0400 Subject: [PATCH 2/7] feat: adds lens-next-privy-app example --- .changeset/config.json | 2 +- .vscode/settings.json | 1 + examples/lens-next-privy-app/.env.example | 1 + examples/lens-next-privy-app/.eslintrc.json | 3 + examples/lens-next-privy-app/.gitignore | 41 + examples/lens-next-privy-app/README.md | 25 + .../lens-next-privy-app/e2e/desktop.spec.ts | 13 + .../lens-next-privy-app/e2e/mobile.spec.ts | 13 + examples/lens-next-privy-app/next.config.mjs | 19 + examples/lens-next-privy-app/package.json | 38 + .../lens-next-privy-app/playwright.config.ts | 38 + .../lens-next-privy-app/postcss.config.js | 6 + examples/lens-next-privy-app/public/lens.png | Bin 0 -> 10409 bytes .../lens-next-privy-app/src/app/globals.css | 33 + examples/lens-next-privy-app/src/app/icon.svg | 20 + .../lens-next-privy-app/src/app/layout.tsx | 25 + examples/lens-next-privy-app/src/app/page.tsx | 76 ++ .../src/components/Button.tsx | 21 + .../src/components/ConnectWalletButton.tsx | 17 + .../src/components/CreateProfileForm.tsx | 52 + .../src/components/DisconnectWalletButton.tsx | 14 + .../src/components/ErrorMessage.tsx | 12 + .../src/components/Loading.tsx | 23 + .../src/components/LoginForm.tsx | 93 ++ .../src/components/LogoutButton.tsx | 18 + .../src/components/Web3Provider.tsx | 46 + .../src/components/WelcomeToLens.tsx | 56 + .../src/utils/truncateEthAddress.ts | 8 + .../lens-next-privy-app/tailwind.config.ts | 20 + examples/lens-next-privy-app/tsconfig.json | 26 + pnpm-lock.yaml | 1148 +++++++++++++++-- pnpm-workspace.yaml | 1 + 32 files changed, 1799 insertions(+), 110 deletions(-) create mode 100644 examples/lens-next-privy-app/.env.example create mode 100644 examples/lens-next-privy-app/.eslintrc.json create mode 100644 examples/lens-next-privy-app/.gitignore create mode 100644 examples/lens-next-privy-app/README.md create mode 100644 examples/lens-next-privy-app/e2e/desktop.spec.ts create mode 100644 examples/lens-next-privy-app/e2e/mobile.spec.ts create mode 100644 examples/lens-next-privy-app/next.config.mjs create mode 100644 examples/lens-next-privy-app/package.json create mode 100644 examples/lens-next-privy-app/playwright.config.ts create mode 100644 examples/lens-next-privy-app/postcss.config.js create mode 100644 examples/lens-next-privy-app/public/lens.png create mode 100644 examples/lens-next-privy-app/src/app/globals.css create mode 100644 examples/lens-next-privy-app/src/app/icon.svg create mode 100644 examples/lens-next-privy-app/src/app/layout.tsx create mode 100644 examples/lens-next-privy-app/src/app/page.tsx create mode 100644 examples/lens-next-privy-app/src/components/Button.tsx create mode 100644 examples/lens-next-privy-app/src/components/ConnectWalletButton.tsx create mode 100644 examples/lens-next-privy-app/src/components/CreateProfileForm.tsx create mode 100644 examples/lens-next-privy-app/src/components/DisconnectWalletButton.tsx create mode 100644 examples/lens-next-privy-app/src/components/ErrorMessage.tsx create mode 100644 examples/lens-next-privy-app/src/components/Loading.tsx create mode 100644 examples/lens-next-privy-app/src/components/LoginForm.tsx create mode 100644 examples/lens-next-privy-app/src/components/LogoutButton.tsx create mode 100644 examples/lens-next-privy-app/src/components/Web3Provider.tsx create mode 100644 examples/lens-next-privy-app/src/components/WelcomeToLens.tsx create mode 100644 examples/lens-next-privy-app/src/utils/truncateEthAddress.ts create mode 100644 examples/lens-next-privy-app/tailwind.config.ts create mode 100644 examples/lens-next-privy-app/tsconfig.json diff --git a/.changeset/config.json b/.changeset/config.json index 4d0499a859..1b38970f3e 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -7,5 +7,5 @@ "access": "public", "baseBranch": "develop", "updateInternalDependencies": "patch", - "ignore": ["example-*", "lens-next-app"] + "ignore": ["example-*", "lens-next-app", "lens-next-privy-app"] } diff --git a/.vscode/settings.json b/.vscode/settings.json index e9226b8c8f..7e3450adf3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,7 @@ { "eslint.workingDirectories": [ "examples/lens-next-app", + "examples/lens-next-privy-app", "examples/node", "examples/react-native", "examples/shared", diff --git a/examples/lens-next-privy-app/.env.example b/examples/lens-next-privy-app/.env.example new file mode 100644 index 0000000000..88c1ecbd2d --- /dev/null +++ b/examples/lens-next-privy-app/.env.example @@ -0,0 +1 @@ +NEXT_PUBLIC_PRIVY_APP_ID= diff --git a/examples/lens-next-privy-app/.eslintrc.json b/examples/lens-next-privy-app/.eslintrc.json new file mode 100644 index 0000000000..bffb357a71 --- /dev/null +++ b/examples/lens-next-privy-app/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "next/core-web-vitals" +} diff --git a/examples/lens-next-privy-app/.gitignore b/examples/lens-next-privy-app/.gitignore new file mode 100644 index 0000000000..ce90350d0f --- /dev/null +++ b/examples/lens-next-privy-app/.gitignore @@ -0,0 +1,41 @@ +# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. + +# dependencies +/node_modules +/.pnp +.pnp.js +.yarn/install-state.gz + +# testing +/coverage + +# next.js +/.next/ +/out/ + +# production +/build + +# misc +.DS_Store +*.pem + +# debug +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# local env files +.env*.local + +# vercel +.vercel + +# typescript +*.tsbuildinfo +next-env.d.ts + +# playwright +/test-results/ +/playwright-report/ +/playwright/.cache/ \ No newline at end of file diff --git a/examples/lens-next-privy-app/README.md b/examples/lens-next-privy-app/README.md new file mode 100644 index 0000000000..9a165d37e0 --- /dev/null +++ b/examples/lens-next-privy-app/README.md @@ -0,0 +1,25 @@ +This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). + +## Getting Started + +Start by renaming the `.env.example` file to `.env` and then populate it with the necessary values: + +- `NEXT_PUBLIC_PRIVY_APP_ID` - This is the App ID for Privy. You can create a free App ID at [Privy](https://privy.io). + +After setting up the environment variables, launch the development server: + +```bash +npm run dev +# or +yarn dev +# or +pnpm dev +# or +bun dev +``` + +Once the server is running, open http://localhost:3000 in your browser to view the result. + +You can begin editing the page by modifying `app/page.tsx`. The page will automatically update as you make changes to the file. + +Happy coding! diff --git a/examples/lens-next-privy-app/e2e/desktop.spec.ts b/examples/lens-next-privy-app/e2e/desktop.spec.ts new file mode 100644 index 0000000000..d980e2aade --- /dev/null +++ b/examples/lens-next-privy-app/e2e/desktop.spec.ts @@ -0,0 +1,13 @@ +import { devices, test, expect } from "@playwright/test"; + +test.use(devices["Desktop Chrome"]); + +test.describe("Given a desktop browser", async () => { + test.describe("When opening the default page", async () => { + test("Then the welcome text should appear", async ({ page }) => { + await page.goto("/"); + + await expect(page.getByRole("heading", { name: "Welcome to Lens" })).toBeVisible(); + }); + }); +}); diff --git a/examples/lens-next-privy-app/e2e/mobile.spec.ts b/examples/lens-next-privy-app/e2e/mobile.spec.ts new file mode 100644 index 0000000000..c0f142ad69 --- /dev/null +++ b/examples/lens-next-privy-app/e2e/mobile.spec.ts @@ -0,0 +1,13 @@ +import { devices, test, expect } from "@playwright/test"; + +test.use(devices["iPhone 13"]); + +test.describe("Given a mobile browser", async () => { + test.describe("When opening the default page", async () => { + test("Then the welcome text should appear", async ({ page }) => { + await page.goto("/"); + + await expect(page.getByRole("heading", { name: "Welcome to Lens" })).toBeVisible(); + }); + }); +}); diff --git a/examples/lens-next-privy-app/next.config.mjs b/examples/lens-next-privy-app/next.config.mjs new file mode 100644 index 0000000000..7e329435ea --- /dev/null +++ b/examples/lens-next-privy-app/next.config.mjs @@ -0,0 +1,19 @@ +/** @type {import('next').NextConfig} */ +const nextConfig = { + // Until the @apollo-client fixes the ESM modules support (https://github.com/apollographql/apollo-feature-requests/issues/287) + // it's required to either transpile the `@lens-protocol` packages or make sure they won't get `imported` during SSR. + transpilePackages: ["@lens-protocol"], + + webpack: (config) => { + // Ignore warnings from the 3rd party packages + config.ignoreWarnings = [ + { module: /pino/ }, + { module: /node-gyp-build/ }, + { module: /@metamask/ }, + ]; + + return config; + }, +}; + +export default nextConfig; diff --git a/examples/lens-next-privy-app/package.json b/examples/lens-next-privy-app/package.json new file mode 100644 index 0000000000..9f9c1a46fb --- /dev/null +++ b/examples/lens-next-privy-app/package.json @@ -0,0 +1,38 @@ +{ + "name": "lens-next-privy-app", + "description": "Lens SDK Next.js Starter App with Privy SDK", + "version": "0.1.0", + "private": true, + "scripts": { + "dev": "next dev", + "build": "next build", + "start": "next start", + "lint": "next lint", + "test:e2e": "playwright test" + }, + "dependencies": { + "@lens-protocol/react-web": "latest", + "@lens-protocol/wagmi": "latest", + "@privy-io/react-auth": "^1.73.1", + "@privy-io/wagmi": "^0.2.10", + "@tanstack/react-query": "^5.29.2", + "next": "^14.2.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "viem": "^2.9.16", + "wagmi": "^2.5.19" + }, + "devDependencies": { + "@playwright/test": "^1.43.1", + "@types/node": "^20.12.7", + "@types/react": "^18.2.79", + "@types/react-dom": "^18.2.25", + "autoprefixer": "^10.4.19", + "dotenv": "^16.4.5", + "eslint": "^8.57.0", + "eslint-config-next": "14.1.1", + "postcss": "^8.4.38", + "tailwindcss": "^3.4.3", + "typescript": "^5.4.5" + } +} diff --git a/examples/lens-next-privy-app/playwright.config.ts b/examples/lens-next-privy-app/playwright.config.ts new file mode 100644 index 0000000000..1ca69bd5db --- /dev/null +++ b/examples/lens-next-privy-app/playwright.config.ts @@ -0,0 +1,38 @@ +import { defineConfig } from "@playwright/test"; +import dotenv from "dotenv"; + +/** + * Read environment variables from file. + * https://github.com/motdotla/dotenv + */ +dotenv.config(); + +/** + * See https://playwright.dev/docs/test-configuration. + */ +export default defineConfig({ + testDir: "./e2e", + /* Run tests in files in parallel */ + fullyParallel: true, + /* Fail the build on CI if you accidentally left test.only in the source code. */ + forbidOnly: !!process.env.CI, + /* Retry on CI only */ + retries: process.env.CI ? 2 : 0, + /* Opt out of parallel tests on CI. */ + workers: process.env.CI ? 1 : undefined, + /* Reporter to use. See https://playwright.dev/docs/test-reporters */ + reporter: "html", + /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */ + use: { + /* Base URL to use in actions like `await page.goto('/')`. */ + baseURL: "http://localhost:3000", + /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */ + trace: "on-first-retry", + }, + /* Run your local dev server before starting the tests */ + webServer: { + command: "npm run dev", + url: "http://localhost:3000", + reuseExistingServer: !process.env.CI, + }, +}); diff --git a/examples/lens-next-privy-app/postcss.config.js b/examples/lens-next-privy-app/postcss.config.js new file mode 100644 index 0000000000..12a703d900 --- /dev/null +++ b/examples/lens-next-privy-app/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +}; diff --git a/examples/lens-next-privy-app/public/lens.png b/examples/lens-next-privy-app/public/lens.png new file mode 100644 index 0000000000000000000000000000000000000000..48f0feec3af69be8c8a7bfd46ef170ffdb1f2ddc GIT binary patch literal 10409 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 Y3Yt#m#Ll5ZpDe^shG-~MgDu1U54FLhiU0rr literal 0 HcmV?d00001 diff --git a/examples/lens-next-privy-app/src/app/globals.css b/examples/lens-next-privy-app/src/app/globals.css new file mode 100644 index 0000000000..875c01e819 --- /dev/null +++ b/examples/lens-next-privy-app/src/app/globals.css @@ -0,0 +1,33 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +:root { + --foreground-rgb: 0, 0, 0; + --background-start-rgb: 214, 219, 220; + --background-end-rgb: 255, 255, 255; +} + +@media (prefers-color-scheme: dark) { + :root { + --foreground-rgb: 255, 255, 255; + --background-start-rgb: 0, 0, 0; + --background-end-rgb: 0, 0, 0; + } +} + +body { + color: rgb(var(--foreground-rgb)); + background: linear-gradient( + to bottom, + transparent, + rgb(var(--background-end-rgb)) + ) + rgb(var(--background-start-rgb)); +} + +@layer utilities { + .text-balance { + text-wrap: balance; + } +} diff --git a/examples/lens-next-privy-app/src/app/icon.svg b/examples/lens-next-privy-app/src/app/icon.svg new file mode 100644 index 0000000000..bc8ac7449b --- /dev/null +++ b/examples/lens-next-privy-app/src/app/icon.svg @@ -0,0 +1,20 @@ + + + + + + + \ No newline at end of file diff --git a/examples/lens-next-privy-app/src/app/layout.tsx b/examples/lens-next-privy-app/src/app/layout.tsx new file mode 100644 index 0000000000..9932e48b12 --- /dev/null +++ b/examples/lens-next-privy-app/src/app/layout.tsx @@ -0,0 +1,25 @@ +import type { Metadata } from "next"; +import { Inter } from "next/font/google"; +import { Web3Provider } from "@/components/Web3Provider"; +import "./globals.css"; + +const inter = Inter({ subsets: ["latin"] }); + +export const metadata: Metadata = { + title: "Lens SDK + ConnectKit + Next.js App", + description: "Generated by create next app", +}; + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + + {children} + + + ); +} diff --git a/examples/lens-next-privy-app/src/app/page.tsx b/examples/lens-next-privy-app/src/app/page.tsx new file mode 100644 index 0000000000..e945e43f96 --- /dev/null +++ b/examples/lens-next-privy-app/src/app/page.tsx @@ -0,0 +1,76 @@ +"use client"; + +import { WelcomeToLens } from "@/components/WelcomeToLens"; +import Image from "next/image"; + +export default function Home() { + return ( +
+
+

+ Get started by editing  + src/app/page.tsx +

+ +
+ +
+

Welcome to Lens

+ +
+ + +
+ ); +} diff --git a/examples/lens-next-privy-app/src/components/Button.tsx b/examples/lens-next-privy-app/src/components/Button.tsx new file mode 100644 index 0000000000..3dbaa984e6 --- /dev/null +++ b/examples/lens-next-privy-app/src/components/Button.tsx @@ -0,0 +1,21 @@ +export function Button({ children, ...props }: React.ButtonHTMLAttributes) { + return ( + + ); +} + +export function ButtonAlt({ children, ...props }: React.ButtonHTMLAttributes) { + return ( + + ); +} diff --git a/examples/lens-next-privy-app/src/components/ConnectWalletButton.tsx b/examples/lens-next-privy-app/src/components/ConnectWalletButton.tsx new file mode 100644 index 0000000000..5e895a0b93 --- /dev/null +++ b/examples/lens-next-privy-app/src/components/ConnectWalletButton.tsx @@ -0,0 +1,17 @@ +import { Button } from "./Button"; +import { usePrivy } from "@privy-io/react-auth"; +import { truncateEthAddress } from "@/utils/truncateEthAddress"; +import { useAccount } from "wagmi"; + +export function ConnectWalletButton() { + const { ready, authenticated, login } = usePrivy(); + const { address } = useAccount(); + + return !ready ? ( + + ) : ( + + ); +} diff --git a/examples/lens-next-privy-app/src/components/CreateProfileForm.tsx b/examples/lens-next-privy-app/src/components/CreateProfileForm.tsx new file mode 100644 index 0000000000..52e1786f70 --- /dev/null +++ b/examples/lens-next-privy-app/src/components/CreateProfileForm.tsx @@ -0,0 +1,52 @@ +import { useState } from "react"; +import { useCreateProfile, useValidateHandle } from "@lens-protocol/react-web"; +import { Address } from "viem"; +import { ButtonAlt } from "@/components/Button"; + +type CreateProfileFormProps = { + address: Address; +}; + +export function CreateProfileForm({ address }: CreateProfileFormProps) { + const [localName, setLocalName] = useState(""); + const { execute: validateHandle, loading: verifying } = useValidateHandle(); + const { execute: createProfile, loading: creating } = useCreateProfile(); + + const submit = async (event: React.FormEvent) => { + event.preventDefault(); + + const validity = await validateHandle({ localName }); + + if (validity.isFailure()) { + window.alert(validity.error.message); + return; + } + + const result = await createProfile({ localName, to: address }); + + if (result.isFailure()) { + window.alert(result.error.message); + return; + } + + const profile = result.value; + window.alert(`Congratulations! You now own: ${profile.handle?.fullHandle}!`); + }; + + return ( +
+ setLocalName(e.target.value)} + /> + + + Create + +
+ ); +} diff --git a/examples/lens-next-privy-app/src/components/DisconnectWalletButton.tsx b/examples/lens-next-privy-app/src/components/DisconnectWalletButton.tsx new file mode 100644 index 0000000000..440bf37469 --- /dev/null +++ b/examples/lens-next-privy-app/src/components/DisconnectWalletButton.tsx @@ -0,0 +1,14 @@ +import { usePrivy } from "@privy-io/react-auth"; +import { ButtonAlt } from "./Button"; + +export function DisconnectWalletButton() { + const { ready, logout, authenticated } = usePrivy(); + + return ready ? ( + !authenticated ? null : ( + Disconnect Wallet + ) + ) : ( + Loading... + ); +} diff --git a/examples/lens-next-privy-app/src/components/ErrorMessage.tsx b/examples/lens-next-privy-app/src/components/ErrorMessage.tsx new file mode 100644 index 0000000000..8dfedc4cdc --- /dev/null +++ b/examples/lens-next-privy-app/src/components/ErrorMessage.tsx @@ -0,0 +1,12 @@ +type ErrorMessageProps = { + error: Error | null; +}; + +export function ErrorMessage({ error }: ErrorMessageProps) { + return ( +
+

Something went wrong

+
{error?.message ?? "Unknown error"}
+
+ ); +} diff --git a/examples/lens-next-privy-app/src/components/Loading.tsx b/examples/lens-next-privy-app/src/components/Loading.tsx new file mode 100644 index 0000000000..70aec7db80 --- /dev/null +++ b/examples/lens-next-privy-app/src/components/Loading.tsx @@ -0,0 +1,23 @@ +export function Loading() { + return ( +
+ + Loading... +
+ ); +} diff --git a/examples/lens-next-privy-app/src/components/LoginForm.tsx b/examples/lens-next-privy-app/src/components/LoginForm.tsx new file mode 100644 index 0000000000..bb62e72e4d --- /dev/null +++ b/examples/lens-next-privy-app/src/components/LoginForm.tsx @@ -0,0 +1,93 @@ +import { profileId, useLogin, useProfilesManaged } from "@lens-protocol/react-web"; + +import { ErrorMessage } from "./ErrorMessage"; +import { Loading } from "./Loading"; +import { Button } from "./Button"; +import { CreateProfileForm } from "@/components/CreateProfileForm"; +import { useAccount } from "wagmi"; + +export function LoginForm({ owner, onSuccess }: { owner: string; onSuccess?: () => void }) { + const { execute: login, loading: isLoginPending } = useLogin(); + const { data: profiles, error, loading } = useProfilesManaged({ for: owner, includeOwned: true }); + const { address } = useAccount(); + + const onSubmit = async (event: React.FormEvent) => { + event.preventDefault(); + + const form = event.currentTarget; + const formData = new FormData(form); + + const id = profileId(formData.get("id") as string); + + const result = await login({ + address: owner, + profileId: id, + }); + + if (result.isSuccess()) { + console.info(`Welcome ${String(result.value?.handle?.fullHandle ?? result.value?.id)}`); + return onSuccess?.(); + } + + console.error(result.error.message); + }; + + if (!address) { + return null; + } + + if (loading) { + return ; + } + + if (error) { + return ; + } + + if (profiles.length === 0) { + return ( +
+

No Lens Profiles found in this wallet.

+ +
+ ); + } + + return ( +
+ +
+
+ Select a Lens Profile to login with. + +
+ {profiles.map((profile, idx) => ( + + ))} +
+ +
+ +
+
+
+
+ ); +} diff --git a/examples/lens-next-privy-app/src/components/LogoutButton.tsx b/examples/lens-next-privy-app/src/components/LogoutButton.tsx new file mode 100644 index 0000000000..625d8bb2c7 --- /dev/null +++ b/examples/lens-next-privy-app/src/components/LogoutButton.tsx @@ -0,0 +1,18 @@ +import { useLogout } from "@lens-protocol/react-web"; +import { useAccount } from "wagmi"; +import { Button } from "./Button"; + +export function LogoutButton() { + const { isConnected } = useAccount(); + const { execute } = useLogout(); + + const logout = async () => { + void execute(); + }; + + if (!isConnected) { + return null; + } + + return ; +} diff --git a/examples/lens-next-privy-app/src/components/Web3Provider.tsx b/examples/lens-next-privy-app/src/components/Web3Provider.tsx new file mode 100644 index 0000000000..91b536d0bb --- /dev/null +++ b/examples/lens-next-privy-app/src/components/Web3Provider.tsx @@ -0,0 +1,46 @@ +"use client"; + +import React from "react"; +import { http } from "wagmi"; +import { polygon, polygonAmoy } from "wagmi/chains"; +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { LensConfig, LensProvider, development } from "@lens-protocol/react-web"; +import { bindings } from "@lens-protocol/wagmi"; +import { WagmiProvider, createConfig } from "@privy-io/wagmi"; +import { PrivyClientConfig, PrivyProvider } from "@privy-io/react-auth"; + +const wagmiConfig = createConfig({ + chains: [polygon, polygonAmoy], + transports: { + [polygon.id]: http(), + [polygonAmoy.id]: http(), + }, +}); + +const privyConfig: PrivyClientConfig = { + defaultChain: polygonAmoy, // or polygon + supportedChains: [polygon, polygonAmoy], + embeddedWallets: { + createOnLogin: "users-without-wallets", + }, +}; + +const queryClient = new QueryClient(); + +const lensConfig: LensConfig = { + environment: development, // or production + bindings: bindings(wagmiConfig), + debug: true, +}; + +export function Web3Provider({ children }: { children: React.ReactNode }) { + return ( + + + + {children} + + + + ); +} diff --git a/examples/lens-next-privy-app/src/components/WelcomeToLens.tsx b/examples/lens-next-privy-app/src/components/WelcomeToLens.tsx new file mode 100644 index 0000000000..f5bfeb8c58 --- /dev/null +++ b/examples/lens-next-privy-app/src/components/WelcomeToLens.tsx @@ -0,0 +1,56 @@ +import { SessionType, useSession as useLensSession } from "@lens-protocol/react-web"; +import { useAccount as useWagmiAccount } from "wagmi"; + +import { ConnectWalletButton } from "./ConnectWalletButton"; +import { LoginForm } from "./LoginForm"; +import { LogoutButton } from "./LogoutButton"; +import { truncateEthAddress } from "@/utils/truncateEthAddress"; +import { DisconnectWalletButton } from "./DisconnectWalletButton"; + +export function WelcomeToLens() { + const { isConnected, address } = useWagmiAccount(); + const { data: session } = useLensSession(); + + // step 1. connect wallet + if (!isConnected) { + return ( + <> +

Connect your wallet to get started.

+ + + ); + } + + // step 2. connect Lens Profile + if (!session?.authenticated && address) { + return ( + <> +

Connected wallet: {truncateEthAddress(address)}

+ + +
+ +
+ + ); + } + + // step 3. show Profile details + if (session && session.type === SessionType.WithProfile) { + return ( + <> +

+ You are logged in as{" "} + + {session.profile.handle?.fullHandle ?? session.profile.id} + + . +

+ + + ); + } + + // you can handle other session types here + return null; +} diff --git a/examples/lens-next-privy-app/src/utils/truncateEthAddress.ts b/examples/lens-next-privy-app/src/utils/truncateEthAddress.ts new file mode 100644 index 0000000000..0a74df73f9 --- /dev/null +++ b/examples/lens-next-privy-app/src/utils/truncateEthAddress.ts @@ -0,0 +1,8 @@ +const truncateRegex = /^(0x[a-zA-Z0-9]{4})[a-zA-Z0-9]+([a-zA-Z0-9]{4})$/; + +export const truncateEthAddress = (address?: string, separator: string = "••••") => { + if (!address) return ""; + const match = address.match(truncateRegex); + if (!match) return address; + return `${match[1]}${separator}${match[2]}`; +}; diff --git a/examples/lens-next-privy-app/tailwind.config.ts b/examples/lens-next-privy-app/tailwind.config.ts new file mode 100644 index 0000000000..e9a0944e7b --- /dev/null +++ b/examples/lens-next-privy-app/tailwind.config.ts @@ -0,0 +1,20 @@ +import type { Config } from "tailwindcss"; + +const config: Config = { + content: [ + "./src/pages/**/*.{js,ts,jsx,tsx,mdx}", + "./src/components/**/*.{js,ts,jsx,tsx,mdx}", + "./src/app/**/*.{js,ts,jsx,tsx,mdx}", + ], + theme: { + extend: { + backgroundImage: { + "gradient-radial": "radial-gradient(var(--tw-gradient-stops))", + "gradient-conic": + "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))", + }, + }, + }, + plugins: [], +}; +export default config; diff --git a/examples/lens-next-privy-app/tsconfig.json b/examples/lens-next-privy-app/tsconfig.json new file mode 100644 index 0000000000..7b28589304 --- /dev/null +++ b/examples/lens-next-privy-app/tsconfig.json @@ -0,0 +1,26 @@ +{ + "compilerOptions": { + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "preserve", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./src/*"] + } + }, + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b3368b351e..4c293f61e3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,7 +5,6 @@ settings: excludeLinksFromLockfile: false overrides: - ethereumjs-abi: https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz ganache: 7.7.4 importers: @@ -44,10 +43,10 @@ importers: dependencies: '@lens-protocol/react-web': specifier: latest - version: 2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) + version: 2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) '@lens-protocol/wagmi': specifier: latest - version: 4.1.0(@lens-protocol/react-web@2.1.0)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19) + version: 4.1.4(@lens-protocol/react-web@2.3.1)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19) '@tanstack/react-query': specifier: ^5.29.2 version: 5.29.2(react@18.2.0) @@ -104,6 +103,73 @@ importers: specifier: ^5.4.5 version: 5.4.5 + examples/lens-next-privy-app: + dependencies: + '@lens-protocol/react-web': + specifier: latest + version: 2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) + '@lens-protocol/wagmi': + specifier: latest + version: 4.1.4(@lens-protocol/react-web@2.3.1)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19) + '@privy-io/react-auth': + specifier: ^1.73.1 + version: 1.73.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@privy-io/wagmi': + specifier: ^0.2.10 + version: 0.2.10(@privy-io/react-auth@1.73.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19) + '@tanstack/react-query': + specifier: ^5.29.2 + version: 5.29.2(react@18.2.0) + next: + specifier: ^14.2.2 + version: 14.2.2(@playwright/test@1.43.1)(react-dom@18.2.0)(react@18.2.0) + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) + viem: + specifier: ^2.9.16 + version: 2.9.16(typescript@5.4.5) + wagmi: + specifier: ^2.5.19 + version: 2.5.19(@tanstack/react-query@5.29.2)(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)(viem@2.9.16) + devDependencies: + '@playwright/test': + specifier: ^1.43.1 + version: 1.43.1 + '@types/node': + specifier: ^20.12.7 + version: 20.12.7 + '@types/react': + specifier: ^18.2.79 + version: 18.2.79 + '@types/react-dom': + specifier: ^18.2.25 + version: 18.2.25 + autoprefixer: + specifier: ^10.4.19 + version: 10.4.19(postcss@8.4.38) + dotenv: + specifier: ^16.4.5 + version: 16.4.5 + eslint: + specifier: ^8.57.0 + version: 8.57.0 + eslint-config-next: + specifier: 14.1.1 + version: 14.1.1(eslint@8.57.0)(typescript@5.4.5) + postcss: + specifier: ^8.4.38 + version: 8.4.38 + tailwindcss: + specifier: ^3.4.3 + version: 3.4.3 + typescript: + specifier: ^5.4.5 + version: 5.4.5 + examples/node: dependencies: '@ethersproject/abi': @@ -1504,8 +1570,8 @@ packages: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.20 - /@apollo/client@3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-H7e9m7cRcFO93tokwzqrsbnfKorkpV24xU30hFH5u2g6B+c1DMo/ouyF/YrBPdrTzqxQCjTUmds/FLmJ7626GA==} + /@apollo/client@3.9.5(@types/react@18.2.38)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-7y+c8MTPU+hhTwvcGVtMMGIgWduzrvG1mz5yJMRyqYbheBkkky3Lki6ADWVSBXG1lZoOtPYvB2zDgVfKb2HSsw==} peerDependencies: graphql: ^15.0.0 || ^16.0.0 graphql-ws: ^5.5.5 @@ -1533,7 +1599,7 @@ packages: prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - rehackt: 0.0.6(@types/react@18.2.79)(react@18.2.0) + rehackt: 0.0.5(@types/react@18.2.38)(react@18.2.0) response-iterator: 0.2.6 symbol-observable: 4.0.0 ts-invariant: 0.10.3 @@ -1541,9 +1607,8 @@ packages: zen-observable-ts: 1.2.5 transitivePeerDependencies: - '@types/react' - dev: false - /@apollo/client@3.9.5(@types/react@18.2.38)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): + /@apollo/client@3.9.5(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-7y+c8MTPU+hhTwvcGVtMMGIgWduzrvG1mz5yJMRyqYbheBkkky3Lki6ADWVSBXG1lZoOtPYvB2zDgVfKb2HSsw==} peerDependencies: graphql: ^15.0.0 || ^16.0.0 @@ -1572,7 +1637,7 @@ packages: prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - rehackt: 0.0.5(@types/react@18.2.38)(react@18.2.0) + rehackt: 0.0.5(@types/react@18.2.79)(react@18.2.0) response-iterator: 0.2.6 symbol-observable: 4.0.0 ts-invariant: 0.10.3 @@ -1580,6 +1645,7 @@ packages: zen-observable-ts: 1.2.5 transitivePeerDependencies: - '@types/react' + dev: false /@aptos-labs/aptos-client@0.0.2: resolution: {integrity: sha512-FgKZb5zDPz8MmAcVxXzYhxP6OkzuIPoDRJp48YJ8+vrZ9EOZ35HaWGN2M3u+GPdnFE9mODFqkxw3azh3kHGZjQ==} @@ -1624,7 +1690,7 @@ packages: resolution: {integrity: sha512-xhlTqH0m31mnsG0tIP4ETgfSB6gXDaYYsUWTrlUV93fFQPI9dd8hE0Ot6MHLCtqgB32hwJAC3YZMWlXZw7AleA==} engines: {node: '>=14'} dependencies: - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) transitivePeerDependencies: - encoding dev: true @@ -4906,6 +4972,17 @@ packages: transitivePeerDependencies: - supports-color + /@coinbase/wallet-sdk@4.0.3: + resolution: {integrity: sha512-y/OGEjlvosikjfB+wk+4CVb9OxD1ob9cidEBLI5h8Hxaf/Qoob2XoVT1uvhtAzBx34KpGYSd+alKvh/GCRre4Q==} + dependencies: + buffer: 6.0.3 + clsx: 1.2.1 + eventemitter3: 5.0.1 + keccak: 3.0.4 + preact: 10.20.2 + sha.js: 2.4.11 + dev: false + /@commander-js/extra-typings@12.0.1(commander@12.0.0): resolution: {integrity: sha512-OvkMobb1eMqOCuJdbuSin/KJkkZr7n24/UNV+Lcz/0Dhepf3r2p9PaGwpRpAWej7A+gQnny4h8mGhpFl4giKkg==} peerDependencies: @@ -5621,7 +5698,7 @@ packages: '@types/node-fetch': 2.6.9 ethers: 5.7.2 mkdirp: 0.5.6 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) solc: 0.8.15 typechain: 8.3.2(typescript@5.2.2) transitivePeerDependencies: @@ -6069,8 +6146,8 @@ packages: '@ethersproject/properties': 5.7.0 '@ethersproject/strings': 5.7.0 - /@expo/html-elements@0.9.1: - resolution: {integrity: sha512-HOWw6tkOknG98CTTCaT3S+wRRcS00FY6v6JIc3b8LEcIxppFnNDDhxzvtdMbATzg+wQ6c2xxqfxA6FeibGNSNQ==} + /@expo/html-elements@0.10.1: + resolution: {integrity: sha512-3PTmtkV15D7+lykXVtvkH1jQ5Y6JE+e3zCaoMMux7z2cSLGQUNwDEUwG37gew3OEB1/E4/SEWgjvg8m7E6/e2Q==} dev: false /@faker-js/faker@7.6.0: @@ -6780,7 +6857,7 @@ packages: react-native: optional: true dependencies: - '@expo/html-elements': 0.9.1 + '@expo/html-elements': 0.10.1 '@gluestack-style/animation-resolver': 1.0.4(@gluestack-style/react@1.0.54) '@gluestack-style/legend-motion-animation-driver': 1.0.3(@gluestack-style/react@1.0.54)(@legendapp/motion@2.3.0) '@gluestack-style/react': 1.0.54 @@ -7905,7 +7982,7 @@ packages: '@whatwg-node/fetch': 0.9.14 chalk: 4.1.2 debug: 4.3.4(supports-color@5.5.0) - dotenv: 16.3.1 + dotenv: 16.4.5 graphql: 16.8.1 graphql-request: 6.1.0(graphql@16.8.1) http-proxy-agent: 7.0.0 @@ -8106,6 +8183,33 @@ packages: dependencies: '@hapi/hoek': 9.3.0 + /@headlessui/react@1.7.19(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-Ll+8q3OlMJfJbAKM/+/Y2q6PPYbryqNTXDbryx7SXLIDamkF6iQFbriYHga0dY44PvDhvvBWCx1Xj4U5+G4hOw==} + engines: {node: '>=10'} + peerDependencies: + react: ^16 || ^17 || ^18 + react-dom: ^16 || ^17 || ^18 + peerDependenciesMeta: + react: + optional: true + dependencies: + '@tanstack/react-virtual': 3.8.1(react-dom@18.2.0)(react@18.2.0) + client-only: 0.0.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@heroicons/react@2.1.4(react@18.2.0): + resolution: {integrity: sha512-ju0wj0wwrUTMQ2Yceyrma7TKuI3BpSjp+qKqV81K9KGcUHdvTMdiwfRc2cwXBp3uXtKuDZkh0v03nWOQnJFv2Q==} + peerDependencies: + react: '>= 16' + peerDependenciesMeta: + react: + optional: true + dependencies: + react: 18.2.0 + dev: false + /@humanwhocodes/config-array@0.11.13: resolution: {integrity: sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==} engines: {node: '>=10.10.0'} @@ -8119,6 +8223,7 @@ packages: /@humanwhocodes/config-array@0.11.14: resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} + deprecated: Use @eslint/config-array instead dependencies: '@humanwhocodes/object-schema': 2.0.2 debug: 4.3.4(supports-color@5.5.0) @@ -8136,6 +8241,7 @@ packages: /@humanwhocodes/object-schema@2.0.2: resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} + deprecated: Use @eslint/object-schema instead dev: true /@internationalized/date@3.5.2: @@ -8580,8 +8686,8 @@ packages: react: 18.2.0 dev: false - /@lens-protocol/api-bindings@0.12.0(@apollo/client@3.9.11)(react@18.2.0): - resolution: {integrity: sha512-UHNEZwWEkKB7IBwWX3ulAShvUwBRJAthj2W9P5+OgrU1XLFA8mexBOKkivdYHjs2+UqKmoLkS5KmoSo01pqCaw==} + /@lens-protocol/api-bindings@0.12.3(@apollo/client@3.9.5)(react@18.2.0): + resolution: {integrity: sha512-lHkdQjU/iD2U6bBsk8SB4N30EWzyxufibkJn6ZXWVzcFBKV7gcQzNEBK9R0OhWc8VSu6mwM11X59Xc10DbcliA==} peerDependencies: '@apollo/client': ^3.9.5 '@faker-js/faker': ^7.6.0 @@ -8595,8 +8701,8 @@ packages: react: optional: true dependencies: - '@apollo/client': 3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) - '@lens-protocol/domain': 0.11.1 + '@apollo/client': 3.9.5(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) + '@lens-protocol/domain': 0.12.0 '@lens-protocol/shared-kernel': 0.12.0 graphql: 16.8.1 graphql-tag: 2.12.6(graphql@16.8.1) @@ -8629,6 +8735,27 @@ packages: - wait-for-expect dev: false + /@lens-protocol/blockchain-bindings@0.10.2: + resolution: {integrity: sha512-WIlp30gohy/EuTD+Oqb2ACftpIkBE3wOC1WgiaFeu1ybpnIY0PnUn0hAQeecG6TIekhP3VvMXK82BXppsv2Nhw==} + dependencies: + '@ethersproject/abi': 5.7.0 + '@ethersproject/contracts': 5.7.0 + '@ethersproject/providers': 5.7.2 + '@ethersproject/units': 5.7.0 + '@lens-protocol/domain': 0.12.0 + '@lens-protocol/shared-kernel': 0.12.0 + ethers: 5.7.2 + tslib: 2.6.2 + transitivePeerDependencies: + - '@faker-js/faker' + - '@jest/globals' + - bufferutil + - jest-mock-extended + - jest-when + - utf-8-validate + - wait-for-expect + dev: false + /@lens-protocol/client@2.1.1: resolution: {integrity: sha512-mUsssdHuP83jWsXeo6acGX0n0AcI3JIo6cms9WtdFMvodzBHoX69nYccmbdYEPGTK8y5AQtlxR1MiyVd1cVwmg==} engines: {node: '>=18 <21'} @@ -8708,6 +8835,30 @@ packages: tslib: 2.6.2 dev: false + /@lens-protocol/domain@0.12.0: + resolution: {integrity: sha512-uyCuHstIPq3vtNkxOFiDah/EfNMjppHDOXnbnstDLpXD7xXZInYtdDqd0ENtg2j+0egGqHwvQJXciSDqGBJzmA==} + peerDependencies: + '@faker-js/faker': ^7.6.0 + '@jest/globals': ^29.7.0 + jest-mock-extended: ^3.0.5 + jest-when: ^3.6.0 + wait-for-expect: ^3.0.2 + peerDependenciesMeta: + '@faker-js/faker': + optional: true + '@jest/globals': + optional: true + jest-mock-extended: + optional: true + jest-when: + optional: true + wait-for-expect: + optional: true + dependencies: + '@lens-protocol/shared-kernel': 0.12.0 + tslib: 2.6.2 + dev: false + /@lens-protocol/gated-content@0.5.1(@ethersproject/abi@5.7.0)(@ethersproject/address@5.7.0)(@ethersproject/bignumber@5.7.0)(@ethersproject/contracts@5.7.0)(@ethersproject/hash@5.7.0)(@ethersproject/providers@5.7.2)(@ethersproject/wallet@5.7.0)(zod@3.22.4): resolution: {integrity: sha512-rXD0/lkdFIGrwi7+LLgxYwb1Bbsnbi3XouUxfXbqBD32YwKkpYRNb0EfYcB3HZOQv9vmeTTlyrozNKxWoCBJ3A==} peerDependencies: @@ -8773,8 +8924,8 @@ packages: uuid: 9.0.1 zod: 3.22.4 - /@lens-protocol/react-web@2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-LbGka8T4GO9H6Fr19INy6y0hvw9Pn+kPS6uhELbTI/zcFMzGEWJfmis5U7Xnwp44BGHe9KIgo2vA00otc5nfGw==} + /@lens-protocol/react-web@2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-9DdrMRNSr79iYx5a/DAZyPuvW+itSyruXGzmQ3hq3BpA51LeJ7aWfMZWCMsk/6NOdTqiusJSLiVCijkUO/x2uA==} peerDependencies: '@types/react': ^18.0.0 '@xmtp/react-sdk': ^3.0.0 @@ -8787,8 +8938,8 @@ packages: react: optional: true dependencies: - '@lens-protocol/domain': 0.11.1 - '@lens-protocol/react': 2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) + '@lens-protocol/domain': 0.12.0 + '@lens-protocol/react': 2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) '@lens-protocol/shared-kernel': 0.12.0 '@lens-protocol/storage': 0.8.1 '@types/react': 18.2.79 @@ -8797,7 +8948,6 @@ packages: transitivePeerDependencies: - '@faker-js/faker' - '@jest/globals' - - '@lens-protocol/metadata' - bufferutil - graphql-ws - jest-mock-extended @@ -8808,21 +8958,18 @@ packages: - wait-for-expect dev: false - /@lens-protocol/react@2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-3C2u5aa8UwgyqhMbwGFDGHqOvUZMcMwWMopDu6L5hDFNmfkN08rN16mFD1f9HXfJsDiHAb6zzfUe4yvankla0A==} + /@lens-protocol/react@2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-cl8JchlUJT/RbHIYaBZ+8oQfbUI/TkSXVjzPoZ1a5QyDeTjrVHcAHzpDMS4R0J+Set9I1VMVFLnOovcQMfwdtg==} peerDependencies: - '@lens-protocol/metadata': ^1.0.0 '@types/react': ^18.0.0 react: ^18.2.0 peerDependenciesMeta: - '@lens-protocol/metadata': - optional: true '@types/react': optional: true react: optional: true dependencies: - '@apollo/client': 3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) + '@apollo/client': 3.9.5(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) '@ethersproject/abstract-signer': 5.7.0 '@ethersproject/address': 5.7.0 '@ethersproject/bignumber': 5.7.0 @@ -8833,9 +8980,10 @@ packages: '@ethersproject/logger': 5.7.0 '@ethersproject/providers': 5.7.2 '@ethersproject/wallet': 5.7.0 - '@lens-protocol/api-bindings': 0.12.0(@apollo/client@3.9.11)(react@18.2.0) - '@lens-protocol/blockchain-bindings': 0.10.1 - '@lens-protocol/domain': 0.11.1 + '@lens-protocol/api-bindings': 0.12.3(@apollo/client@3.9.5)(react@18.2.0) + '@lens-protocol/blockchain-bindings': 0.10.2 + '@lens-protocol/domain': 0.12.0 + '@lens-protocol/metadata': 1.1.6(zod@3.22.4) '@lens-protocol/shared-kernel': 0.12.0 '@lens-protocol/storage': 0.8.1 '@types/react': 18.2.79 @@ -8878,16 +9026,16 @@ packages: zod: 3.22.4 dev: false - /@lens-protocol/wagmi@4.1.0(@lens-protocol/react-web@2.1.0)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19): - resolution: {integrity: sha512-fQHP4sktoIHxSUK1yh+tjJe2UqUW27KwTuppqPaXqOvouh5V8iQ5qjbUfNmX37Y8iapaAibulx8dzzesxaOXAA==} + /@lens-protocol/wagmi@4.1.4(@lens-protocol/react-web@2.3.1)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19): + resolution: {integrity: sha512-T6zr56C+0o47ZNTj1SSTs5KyFZ6YVJWhxbxX0pQQTHfwZXEQBisGjGZWaTMXw66mqQz3gpk5K+s6Qix3hQa8kQ==} peerDependencies: - '@lens-protocol/react-web': 2.1.0 + '@lens-protocol/react-web': 2.3.1 '@tanstack/react-query': '>=5.0.0' viem: 2.x - wagmi: ^2.5.6 + wagmi: ^2.5.19 dependencies: '@ethersproject/providers': 5.7.2 - '@lens-protocol/react-web': 2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) + '@lens-protocol/react-web': 2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) '@lens-protocol/shared-kernel': 0.12.0 '@tanstack/react-query': 5.29.2(react@18.2.0) viem: 2.9.16(typescript@5.4.5) @@ -9059,7 +9207,7 @@ packages: jszip: 3.10.1 lit-connect-modal: 0.1.11 lit-siwe: 1.1.8(@ethersproject/contracts@5.7.0)(@ethersproject/hash@5.7.0)(@ethersproject/providers@5.7.2)(@ethersproject/wallet@5.7.0) - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) tslib: 2.6.2 tweetnacl: 1.0.3 tweetnacl-util: 0.15.1 @@ -9122,10 +9270,33 @@ packages: read-yaml-file: 1.1.0 dev: true + /@marsidev/react-turnstile@0.4.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-uZusUW9mPr0csWpls8bApe5iuRK0YK7H1PCKqfM4djW3OA9GB9rU68irjk7xRO8qlHyj0aDTeVu9tTLPExBO4Q==} + peerDependencies: + react: '>=16.8.0' + react-dom: '>=16.8.0' + peerDependenciesMeta: + react: + optional: true + dependencies: + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + /@material/material-color-utilities@0.2.7: resolution: {integrity: sha512-0FCeqG6WvK4/Cc06F/xXMd/pv4FeisI0c1tUpBbfhA2n9Y8eZEv4Karjbmf2ZqQCPUWMrGp8A571tCjizxoTiQ==} dev: true + /@metamask/abi-utils@1.2.0: + resolution: {integrity: sha512-Hf7fnBDM9ptCPDtq/wQffWbw859CdVGMwlpWUEsTH6gLXhXONGrRXHA2piyYPRuia8YYTdJvRC/zSK1/nyLvYg==} + engines: {node: '>=14.0.0'} + dependencies: + '@metamask/utils': 3.6.0 + superstruct: 1.0.4 + transitivePeerDependencies: + - supports-color + dev: false + /@metamask/eth-json-rpc-provider@1.0.1: resolution: {integrity: sha512-whiUMPlAOrVGmX8aKYVPvlKyG4CpQXiNNyt74vE1xb5sPvmx5oA7B/kOi/JdBvhGQq97U1/AVdXEdk2zkP8qyA==} engines: {node: '>=14.0.0'} @@ -9136,6 +9307,21 @@ packages: transitivePeerDependencies: - supports-color + /@metamask/eth-sig-util@6.0.2: + resolution: {integrity: sha512-D6IIefM2vS+4GUGGtezdBbkwUYQC4bCosYx/JteUuF0zfe6lyxR4cruA8+2QHoUg7F7edNH1xymYpqYq1BeOkw==} + engines: {node: '>=14.0.0'} + dependencies: + '@ethereumjs/util': 8.1.0 + '@metamask/abi-utils': 1.2.0 + '@metamask/utils': 5.0.2 + ethereum-cryptography: 2.1.3 + ethjs-util: 0.1.6 + tweetnacl: 1.0.3 + tweetnacl-util: 0.15.1 + transitivePeerDependencies: + - supports-color + dev: false + /@metamask/json-rpc-engine@7.3.3: resolution: {integrity: sha512-dwZPq8wx9yV3IX2caLi9q9xZBw2XeIoYqdyihDDDpuHVCEiqadJLwqM3zy+uwf6F1QYQ65A8aOMQg1Uw7LMLNg==} engines: {node: '>=16.0.0'} @@ -9205,7 +9391,7 @@ packages: resolution: {integrity: sha512-yjSbj8y7fFbQXv2HBzUX6D9C8BimkCYP6BDV7hdw53W8b/GlYCtXVxUFajQ9tuO1xPTRjR/xt/dkdr2aCi6WGw==} dependencies: bufferutil: 4.0.8 - cross-fetch: 3.1.8 + cross-fetch: 3.1.8(encoding@0.1.13) date-fns: 2.30.0 eciesjs: 0.3.18 eventemitter2: 6.4.9 @@ -9264,7 +9450,7 @@ packages: '@react-native-async-storage/async-storage': 1.23.1(react-native@0.73.7) '@types/dom-screen-wake-lock': 1.0.3 bowser: 2.11.0 - cross-fetch: 4.0.0 + cross-fetch: 4.0.0(encoding@0.1.13) eciesjs: 0.3.18 eth-rpc-errors: 4.0.3 eventemitter2: 6.4.9 @@ -9310,7 +9496,7 @@ packages: '@react-native-async-storage/async-storage': 1.23.1(react-native@0.73.7) '@types/dom-screen-wake-lock': 1.0.3 bowser: 2.11.0 - cross-fetch: 4.0.0 + cross-fetch: 4.0.0(encoding@0.1.13) eciesjs: 0.3.18 eth-rpc-errors: 4.0.3 eventemitter2: 6.4.9 @@ -9338,6 +9524,18 @@ packages: - utf-8-validate dev: false + /@metamask/utils@3.6.0: + resolution: {integrity: sha512-9cIRrfkWvHblSiNDVXsjivqa9Ak0RYo/1H6tqTqTbAx+oBK2Sva0lWDHxGchOqA7bySGUJKAWSNJvH6gdHZ0gQ==} + engines: {node: '>=14.0.0'} + dependencies: + '@types/debug': 4.1.12 + debug: 4.3.4(supports-color@5.5.0) + semver: 7.6.0 + superstruct: 1.0.4 + transitivePeerDependencies: + - supports-color + dev: false + /@metamask/utils@5.0.2: resolution: {integrity: sha512-yfmE79bRQtnMzarnKfX7AEJBwFTxvTyw3nBQlu/5rmGXrjAeAMltoGxO62TFurxrQAFMNa/fEjIHNvungZp0+g==} engines: {node: '>=14.0.0'} @@ -9492,7 +9690,7 @@ packages: borsh: 0.7.0 http-errors: 1.8.1 optionalDependencies: - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) transitivePeerDependencies: - encoding @@ -9659,7 +9857,6 @@ packages: resolution: {integrity: sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA==} dependencies: '@noble/hashes': 1.3.1 - dev: true /@noble/curves@1.2.0: resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} @@ -9685,7 +9882,6 @@ packages: /@noble/hashes@1.3.1: resolution: {integrity: sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA==} engines: {node: '>= 16'} - dev: true /@noble/hashes@1.3.2: resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} @@ -10135,6 +10331,149 @@ packages: - supports-color dev: true + /@privy-io/api-base@1.2.0: + resolution: {integrity: sha512-Y8ltHqrvW6rysuMXKs8N7Nsn8iDFHSYQx0yZ6B7gakMvvu7GIGFXgPXVWxhd6aSOTKPe3OxQFZdE/TfKhym11g==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + dependencies: + zod: 3.22.4 + dev: false + + /@privy-io/api-base@1.2.1: + resolution: {integrity: sha512-Ka7pHIkQcXzHzYucFZwPfEUuRkpJDE03WJtlgG9o7TcB1RKKYCemmnd4XhH3aY90aVmpmbUkKgSAuopSEIoKYQ==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + dependencies: + zod: 3.22.4 + dev: false + + /@privy-io/js-sdk-core@0.23.3: + resolution: {integrity: sha512-xtIa7KO3PWLAukZrIOg8wRzj77rhoEriLYmL5ew6CfU0kJfs3jKSw6kORwLuFO2z5jFQr5lOEEi9XjWwsLlI9Q==} + dependencies: + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/contracts': 5.7.0 + '@ethersproject/providers': 5.7.2 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/units': 5.7.0 + '@privy-io/api-base': 1.2.1 + '@privy-io/public-api': 2.6.1 + eventemitter3: 5.0.1 + fetch-retry: 5.0.6 + jose: 4.15.9 + js-cookie: 3.0.5 + set-cookie-parser: 2.6.0 + uuid: 9.0.1 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: false + + /@privy-io/public-api@2.6.1: + resolution: {integrity: sha512-3BRMvixlRVVv7WQ/VZL9lxjTx8UrEQRwxSDfDytloHk/eaD7G54ZlivXbg2ZwXxKih0rs6B4PD04Qol7cQTuYA==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + dependencies: + '@privy-io/api-base': 1.2.0 + ethers: 5.7.2 + libphonenumber-js: 1.11.4 + zod: 3.22.4 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: false + + /@privy-io/react-auth@1.73.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5): + resolution: {integrity: sha512-sZq1T8R0nsWvd2bL+J5JX77tLM01xBKkVYlrBWU98cFqVm3A2QP1LMeJ53zO6GAjLrBEYT4ToWIiJNoeFk/Bcg==} + peerDependencies: + react: ^18 + react-dom: ^18 + peerDependenciesMeta: + react: + optional: true + dependencies: + '@coinbase/wallet-sdk': 4.0.3 + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/contracts': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/providers': 5.7.2 + '@ethersproject/strings': 5.7.0 + '@ethersproject/transactions': 5.7.0 + '@ethersproject/units': 5.7.0 + '@headlessui/react': 1.7.19(react-dom@18.2.0)(react@18.2.0) + '@heroicons/react': 2.1.4(react@18.2.0) + '@marsidev/react-turnstile': 0.4.1(react-dom@18.2.0)(react@18.2.0) + '@metamask/eth-sig-util': 6.0.2 + '@privy-io/js-sdk-core': 0.23.3 + '@simplewebauthn/browser': 9.0.1 + '@walletconnect/ethereum-provider': 2.13.3(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0) + '@walletconnect/modal': 2.6.2(@types/react@18.2.79)(react@18.2.0) + base64-js: 1.5.1 + dotenv: 16.4.5 + encoding: 0.1.13 + eventemitter3: 5.0.1 + fast-password-entropy: 1.1.1 + jose: 4.15.9 + js-cookie: 3.0.5 + libphonenumber-js: 1.11.4 + lokijs: 1.5.12 + md5: 2.3.0 + mipd: 0.0.7(typescript@5.4.5) + ofetch: 1.3.4 + pino-pretty: 10.3.1 + qrcode: 1.5.3 + react: 18.2.0 + react-device-detect: 2.2.3(react-dom@18.2.0)(react@18.2.0) + react-dom: 18.2.0(react@18.2.0) + secure-password-utilities: 0.2.1 + styled-components: 5.3.11(react-dom@18.2.0)(react@18.2.0) + tinycolor2: 1.6.0 + uuid: 9.0.1 + web3-core: 1.10.4(encoding@0.1.13) + web3-core-helpers: 1.10.3 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@babel/core' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@types/react' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - ioredis + - react-is + - supports-color + - typescript + - uWebSockets.js + - utf-8-validate + dev: false + + /@privy-io/wagmi@0.2.10(@privy-io/react-auth@1.73.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19): + resolution: {integrity: sha512-tU8ZMuLaGasvct8KmYpL/oPyvwiLh5n3FA2Se39BhGxKCK/OcFDGu1VxHdkc1WCx0DB0DCNNZJeJTimCke5Xpw==} + peerDependencies: + '@privy-io/react-auth': ^1.64.1 + react: ^18 + react-dom: ^18 + viem: ^2 + wagmi: ^2 + peerDependenciesMeta: + react: + optional: true + dependencies: + '@privy-io/react-auth': 1.73.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + viem: 2.9.16(typescript@5.4.5) + wagmi: 2.5.19(@tanstack/react-query@5.29.2)(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)(viem@2.9.16) + dev: false + /@protobufjs/aspromise@1.1.2: resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} @@ -10968,7 +11307,7 @@ packages: chalk: 4.1.2 find-up: 5.0.0 mime: 2.6.0 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) open: 6.4.0 ora: 5.4.1 semver: 7.6.0 @@ -10984,7 +11323,7 @@ packages: chalk: 4.1.2 find-up: 5.0.0 mime: 2.6.0 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) open: 6.4.0 ora: 5.4.1 semver: 7.6.0 @@ -11298,7 +11637,7 @@ packages: metro: 0.80.6 metro-config: 0.80.6 metro-core: 0.80.6 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) readline: 1.3.0 transitivePeerDependencies: - '@babel/core' @@ -11322,7 +11661,7 @@ packages: chromium-edge-launcher: 1.0.0 connect: 3.7.0 debug: 2.6.9(supports-color@4.5.0) - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) open: 7.4.2 serve-static: 1.15.0 temp-dir: 2.0.0 @@ -12515,7 +12854,6 @@ packages: '@noble/curves': 1.1.0 '@noble/hashes': 1.3.3 '@scure/base': 1.1.6 - dev: true /@scure/bip32@1.3.2: resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} @@ -12560,6 +12898,16 @@ packages: /@sideway/pinpoint@2.0.0: resolution: {integrity: sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==} + /@simplewebauthn/browser@9.0.1: + resolution: {integrity: sha512-wD2WpbkaEP4170s13/HUxPcAV5y4ZXaKo1TfNklS5zDefPinIgXOpgz1kpEvobAsaLPa2KeH7AKKX/od1mrBJw==} + dependencies: + '@simplewebauthn/types': 9.0.1 + dev: false + + /@simplewebauthn/types@9.0.1: + resolution: {integrity: sha512-tGSRP1QvsAvsJmnOlRQyw/mvK9gnPtjEc5fg2+m8n+QUa+D7rvrKkOYyfpy42GTs90X3RDOnqJgfHt+qO67/+w==} + dev: false + /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} @@ -12602,7 +12950,7 @@ packages: buffer: 6.0.3 fast-stable-stringify: 1.0.0 jayson: 4.1.0 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) rpc-websockets: 7.8.0 superstruct: 0.14.2 transitivePeerDependencies: @@ -12800,6 +13148,24 @@ packages: react: 18.2.0 dev: false + /@tanstack/react-virtual@3.8.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-dP5a7giEM4BQWLJ7K07ToZv8rF51mzbrBMkf0scg1QNYuFx3utnPUBPUHdzaowZhIez1K2XS78amuzD+YGRA5Q==} + peerDependencies: + react: ^16.8.0 || ^17.0.0 || ^18.0.0 + react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 + peerDependenciesMeta: + react: + optional: true + dependencies: + '@tanstack/virtual-core': 3.8.1 + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + dev: false + + /@tanstack/virtual-core@3.8.1: + resolution: {integrity: sha512-uNtAwenT276M9QYCjTBoHZ8X3MUeCRoGK59zPi92hMIxdfS9AyHjkDWJ94WroDxnv48UE+hIeo21BU84jKc8aQ==} + dev: false + /@testing-library/dom@8.20.1: resolution: {integrity: sha512-/DiOQ5xBxgdYRC8LNk7U+RWat0S3qRLeIw3ZIkMQ9kkVlRmwD/Eg8k8CqIpD6GW7u20JIUOfMKbxtiLutpjQ4g==} engines: {node: '>=12'} @@ -12933,7 +13299,6 @@ packages: resolution: {integrity: sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A==} dependencies: '@types/node': 18.19.31 - dev: true /@types/cacheable-request@6.0.3: resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==} @@ -13804,7 +14169,7 @@ packages: '@walletconnect/types': 2.11.0(@react-native-async-storage/async-storage@1.23.1) '@walletconnect/utils': 2.11.0(@react-native-async-storage/async-storage@1.23.1) events: 3.3.0 - isomorphic-unfetch: 3.1.0 + isomorphic-unfetch: 3.1.0(encoding@0.1.13) lodash.isequal: 4.5.0 uint8arrays: 3.1.1 transitivePeerDependencies: @@ -13844,7 +14209,7 @@ packages: '@walletconnect/types': 2.11.2 '@walletconnect/utils': 2.11.2 events: 3.3.0 - isomorphic-unfetch: 3.1.0 + isomorphic-unfetch: 3.1.0(encoding@0.1.13) lodash.isequal: 4.5.0 uint8arrays: 3.1.1 transitivePeerDependencies: @@ -13866,6 +14231,46 @@ packages: - uWebSockets.js - utf-8-validate + /@walletconnect/core@2.13.3(encoding@0.1.13): + resolution: {integrity: sha512-TdF+rC6rONJGyOUtt/nLkbyQWjnkwbD3kXq3ZA0Q7+tYtmSjTDE4wbArlLbHIbtf69g+9/DpEVEQimWWcEOn2g==} + dependencies: + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/jsonrpc-ws-connection': 1.0.14 + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.23.1) + '@walletconnect/logger': 2.1.2 + '@walletconnect/relay-api': 1.0.10 + '@walletconnect/relay-auth': 1.0.4 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.13.3 + '@walletconnect/utils': 2.13.3 + events: 3.3.0 + isomorphic-unfetch: 3.1.0(encoding@0.1.13) + lodash.isequal: 4.5.0 + uint8arrays: 3.1.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - uWebSockets.js + - utf-8-validate + dev: false + /@walletconnect/environment@1.0.1: resolution: {integrity: sha512-T426LLZtHj8e8rYnKfzsw1aG6+M0BT1ZxayMdv/p8yM0MU+eJDISqNY3/bccxRr4LrF9csq02Rhqt08Ibl0VRg==} dependencies: @@ -14010,6 +14415,41 @@ packages: - utf-8-validate dev: false + /@walletconnect/ethereum-provider@2.13.3(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0): + resolution: {integrity: sha512-gThsYguFJ7XZp18GP23W6TooQaS6XlF4faFDXPCQVqlWjzEatkkQ2R6Hhv4a4qk4D21qNXirCFnI59Xhbj0KJQ==} + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/modal': 2.6.2(@types/react@18.2.79)(react@18.2.0) + '@walletconnect/sign-client': 2.13.3(encoding@0.1.13) + '@walletconnect/types': 2.13.3 + '@walletconnect/universal-provider': 2.13.3(encoding@0.1.13) + '@walletconnect/utils': 2.13.3 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@types/react' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - react + - uWebSockets.js + - utf-8-validate + dev: false + /@walletconnect/events@1.0.1: resolution: {integrity: sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==} dependencies: @@ -14023,16 +14463,35 @@ packages: '@walletconnect/time': 1.0.2 tslib: 1.14.1 + /@walletconnect/heartbeat@1.2.2: + resolution: {integrity: sha512-uASiRmC5MwhuRuf05vq4AT48Pq8RMi876zV8rr8cV969uTOzWdB/k+Lj5yI2PBtB1bGQisGen7MM1GcZlQTBXw==} + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/time': 1.0.2 + events: 3.3.0 + dev: false + /@walletconnect/jsonrpc-http-connection@1.0.7: resolution: {integrity: sha512-qlfh8fCfu8LOM9JRR9KE0s0wxP6ZG9/Jom8M0qsoIQeKF3Ni0FyV4V1qy/cc7nfI46SLQLSl4tgWSfLiE1swyQ==} dependencies: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 - cross-fetch: 3.1.8 + cross-fetch: 3.1.8(encoding@0.1.13) tslib: 1.14.1 transitivePeerDependencies: - encoding + /@walletconnect/jsonrpc-http-connection@1.0.8(encoding@0.1.13): + resolution: {integrity: sha512-+B7cRuaxijLeFDJUq5hAzNyef3e3tBDIxyaCNmFtjwnod5AGis3RToNqzFU33vpVcxFhofkpE7Cx+5MYejbMGw==} + dependencies: + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/safe-json': 1.0.2 + cross-fetch: 3.1.8(encoding@0.1.13) + events: 3.3.0 + transitivePeerDependencies: + - encoding + dev: false + /@walletconnect/jsonrpc-provider@1.0.13: resolution: {integrity: sha512-K73EpThqHnSR26gOyNEL+acEex3P7VWZe6KE12ZwKzAt2H4e5gldZHbjsu2QR9cLeJ8AXuO7kEMOIcRv1QEc7g==} dependencies: @@ -14040,12 +14499,27 @@ packages: '@walletconnect/safe-json': 1.0.2 tslib: 1.14.1 + /@walletconnect/jsonrpc-provider@1.0.14: + resolution: {integrity: sha512-rtsNY1XqHvWj0EtITNeuf8PHMvlCLiS3EjQL+WOkxEOA4KPxsohFnBDeyPYiNm4ZvkQdLnece36opYidmtbmow==} + dependencies: + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/safe-json': 1.0.2 + events: 3.3.0 + dev: false + /@walletconnect/jsonrpc-types@1.0.3: resolution: {integrity: sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw==} dependencies: keyvaluestorage-interface: 1.0.0 tslib: 1.14.1 + /@walletconnect/jsonrpc-types@1.0.4: + resolution: {integrity: sha512-P6679fG/M+wuWg9TY8mh6xFSdYnFyFjwFelxyISxMDrlbXokorEVXYOxiqEbrU3x1BmBoCAJJ+vtEaEoMlpCBQ==} + dependencies: + events: 3.3.0 + keyvaluestorage-interface: 1.0.0 + dev: false + /@walletconnect/jsonrpc-utils@1.0.8: resolution: {integrity: sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw==} dependencies: @@ -14236,6 +14710,12 @@ packages: - react-native dev: false + /@walletconnect/relay-api@1.0.10: + resolution: {integrity: sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw==} + dependencies: + '@walletconnect/jsonrpc-types': 1.0.4 + dev: false + /@walletconnect/relay-api@1.0.9: resolution: {integrity: sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg==} dependencies: @@ -14351,6 +14831,38 @@ packages: - uWebSockets.js - utf-8-validate + /@walletconnect/sign-client@2.13.3(encoding@0.1.13): + resolution: {integrity: sha512-3Pcq6trHWdBZn5X0VUFQ3zJaaqyEbMW9WNVKcZ2SakIpQAwySd08Mztvq48G98jfucdgP3tjGPbBvzHX9vJX7w==} + dependencies: + '@walletconnect/core': 2.13.3(encoding@0.1.13) + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/logger': 2.1.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.13.3 + '@walletconnect/utils': 2.13.3 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - uWebSockets.js + - utf-8-validate + dev: false + /@walletconnect/time@1.0.2: resolution: {integrity: sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==} dependencies: @@ -14433,6 +14945,32 @@ packages: - ioredis - uWebSockets.js + /@walletconnect/types@2.13.3: + resolution: {integrity: sha512-9UdtLoQqwGFfepCPprUAXeUbKg9zyDarPRmEJVco51OWXHCOpvRgroWk54fQHDhCUIfDELjObY6XNAzNrmNYUA==} + dependencies: + '@walletconnect/events': 1.0.1 + '@walletconnect/heartbeat': 1.2.2 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.23.1) + '@walletconnect/logger': 2.1.2 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + dev: false + /@walletconnect/universal-provider@2.10.6: resolution: {integrity: sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==} dependencies: @@ -14528,8 +15066,74 @@ packages: - uWebSockets.js - utf-8-validate - /@walletconnect/utils@2.10.6: - resolution: {integrity: sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==} + /@walletconnect/universal-provider@2.13.3(encoding@0.1.13): + resolution: {integrity: sha512-2tuV2d8AdB4Fg/uMs8IdNHrjYy1Tz1uT5kzaT8X1/wx5DHHa/oaheoY5kDZHI0L1oNIg/OlM0/ovonGIcI5ddw==} + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/logger': 2.1.2 + '@walletconnect/sign-client': 2.13.3(encoding@0.1.13) + '@walletconnect/types': 2.13.3 + '@walletconnect/utils': 2.13.3 + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - bufferutil + - encoding + - ioredis + - uWebSockets.js + - utf-8-validate + dev: false + + /@walletconnect/utils@2.10.6: + resolution: {integrity: sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==} + dependencies: + '@stablelib/chacha20poly1305': 1.0.1 + '@stablelib/hkdf': 1.0.1 + '@stablelib/random': 1.0.2 + '@stablelib/sha256': 1.0.1 + '@stablelib/x25519': 1.0.3 + '@walletconnect/relay-api': 1.0.9 + '@walletconnect/safe-json': 1.0.2 + '@walletconnect/time': 1.0.2 + '@walletconnect/types': 2.10.6 + '@walletconnect/window-getters': 1.0.1 + '@walletconnect/window-metadata': 1.0.1 + detect-browser: 5.3.0 + query-string: 7.1.3 + uint8arrays: 3.1.1 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@upstash/redis' + - '@vercel/kv' + - ioredis + - uWebSockets.js + dev: false + + /@walletconnect/utils@2.11.0(@react-native-async-storage/async-storage@1.23.1): + resolution: {integrity: sha512-hxkHPlTlDQILHfIKXlmzgNJau/YcSBC3XHUSuZuKZbNEw3duFT6h6pm3HT/1+j1a22IG05WDsNBuTCRkwss+BQ==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 @@ -14539,7 +15143,7 @@ packages: '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.10.6 + '@walletconnect/types': 2.11.0(@react-native-async-storage/async-storage@1.23.1) '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 @@ -14562,8 +15166,8 @@ packages: - uWebSockets.js dev: false - /@walletconnect/utils@2.11.0(@react-native-async-storage/async-storage@1.23.1): - resolution: {integrity: sha512-hxkHPlTlDQILHfIKXlmzgNJau/YcSBC3XHUSuZuKZbNEw3duFT6h6pm3HT/1+j1a22IG05WDsNBuTCRkwss+BQ==} + /@walletconnect/utils@2.11.2: + resolution: {integrity: sha512-LyfdmrnZY6dWqlF4eDrx5jpUwsB2bEPjoqR5Z6rXPiHJKUOdJt7az+mNOn5KTSOlRpd1DmozrBrWr+G9fFLYVw==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 @@ -14573,7 +15177,7 @@ packages: '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.11.0(@react-native-async-storage/async-storage@1.23.1) + '@walletconnect/types': 2.11.2 '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 @@ -14594,25 +15198,24 @@ packages: - '@vercel/kv' - ioredis - uWebSockets.js - dev: false - /@walletconnect/utils@2.11.2: - resolution: {integrity: sha512-LyfdmrnZY6dWqlF4eDrx5jpUwsB2bEPjoqR5Z6rXPiHJKUOdJt7az+mNOn5KTSOlRpd1DmozrBrWr+G9fFLYVw==} + /@walletconnect/utils@2.13.3: + resolution: {integrity: sha512-hjyyNhnhTCezGNr6OCfKRzqRsiak+p+YP57iRo1Tsf222fsj/9JD++MP97YiDwc4e4xXaZp/boiLB+8hJHsCog==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.9 + '@walletconnect/relay-api': 1.0.10 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.11.2 + '@walletconnect/types': 2.13.3 '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 query-string: 7.1.3 - uint8arrays: 3.1.1 + uint8arrays: 3.1.0 transitivePeerDependencies: - '@azure/app-configuration' - '@azure/cosmos' @@ -14628,6 +15231,7 @@ packages: - '@vercel/kv' - ioredis - uWebSockets.js + dev: false /@walletconnect/window-getters@1.0.1: resolution: {integrity: sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==} @@ -14882,6 +15486,10 @@ packages: dependencies: event-target-shim: 5.0.1 + /abortcontroller-polyfill@1.7.5: + resolution: {integrity: sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ==} + dev: false + /abstract-level@1.0.3: resolution: {integrity: sha512-t6jv+xHy+VYwc4xqZMn2Pa9DjcdzvzZmQGRjTFc8spIbRGHgBrEKbPq+rYXc7CCo0lxgYvSgKVg9qZAhpVQSjA==} engines: {node: '>=12'} @@ -15057,7 +15665,7 @@ packages: dependencies: algo-msgpack-with-bigint: 2.1.1 buffer: 6.0.3 - cross-fetch: 3.1.8 + cross-fetch: 3.1.8(encoding@0.1.13) hi-base32: 0.5.1 js-sha256: 0.9.0 js-sha3: 0.8.0 @@ -16235,7 +16843,6 @@ packages: /bn.js@4.11.6: resolution: {integrity: sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA==} - dev: true /bn.js@4.12.0: resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} @@ -16723,6 +17330,10 @@ packages: /chardet@0.7.0: resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + /charenc@0.0.2: + resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==} + dev: false + /chokidar@2.1.8(supports-color@4.5.0): resolution: {integrity: sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==} deprecated: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies @@ -16984,7 +17595,6 @@ packages: /colorette@2.0.20: resolution: {integrity: sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w==} - dev: true /combined-stream@1.0.8: resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} @@ -17073,7 +17683,7 @@ packages: - supports-color /concat-map@0.0.1: - resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} + resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} requiresBuild: true /connect@3.7.0: @@ -17282,17 +17892,17 @@ packages: resolution: {integrity: sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==} dev: true - /cross-fetch@3.1.8: + /cross-fetch@3.1.8(encoding@0.1.13): resolution: {integrity: sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==} dependencies: - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) transitivePeerDependencies: - encoding - /cross-fetch@4.0.0: + /cross-fetch@4.0.0(encoding@0.1.13): resolution: {integrity: sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g==} dependencies: - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) transitivePeerDependencies: - encoding @@ -17338,6 +17948,10 @@ packages: uWebSockets.js: optional: true + /crypt@0.0.2: + resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==} + dev: false + /crypto-browserify@3.12.0: resolution: {integrity: sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==} dependencies: @@ -17446,7 +18060,6 @@ packages: dependencies: es5-ext: 0.10.62 type: 1.2.0 - dev: true /damerau-levenshtein@1.0.8: resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} @@ -17502,6 +18115,10 @@ packages: dependencies: '@babel/runtime': 7.24.4 + /dateformat@4.6.3: + resolution: {integrity: sha512-2P0p0pFGzHS5EMnhdxQi7aJN+iMheud0UhG4dlE1DLAlvL8JHjJJTX/CSm4JXwV0Ka5nGk3zC5mcb5bUQUxxMA==} + dev: false + /dayjs@1.11.10: resolution: {integrity: sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ==} @@ -17921,7 +18538,6 @@ packages: /dotenv@16.4.5: resolution: {integrity: sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==} engines: {node: '>=12'} - dev: true /dset@3.1.3: resolution: {integrity: sha512-20TuZZHCEZ2O71q9/+8BwKwZ0QtD9D8ObhrihJPr+vLLYlSuAU3/zL4cSlgbfeoGHTjCSJBa7NGcrF9/Bx/WJQ==} @@ -18030,6 +18646,11 @@ packages: level-errors: 2.0.1 dev: true + /encoding@0.1.13: + resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} + dependencies: + iconv-lite: 0.6.3 + /end-of-stream@1.4.4: resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} dependencies: @@ -18312,7 +18933,17 @@ packages: es6-iterator: 2.0.3 es6-symbol: 3.1.3 next-tick: 1.1.0 - dev: true + + /es5-ext@0.10.64: + resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==} + engines: {node: '>=0.10'} + requiresBuild: true + dependencies: + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + esniff: 2.0.1 + next-tick: 1.1.0 + dev: false /es6-iterator@2.0.3: resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} @@ -18320,7 +18951,6 @@ packages: d: 1.0.1 es5-ext: 0.10.62 es6-symbol: 3.1.3 - dev: true /es6-map@0.1.5: resolution: {integrity: sha512-mz3UqCh0uPCIqsw1SSAkB/p0rOzF/M0V++vyN7JqlPtSW/VsYgQBvVvqMLmfBuyMzTpLnNqi6JmcSizs4jy19A==} @@ -18358,7 +18988,6 @@ packages: dependencies: d: 1.0.1 ext: 1.7.0 - dev: true /es6-weak-map@2.0.3: resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==} @@ -18965,6 +19594,16 @@ packages: - supports-color dev: true + /esniff@2.0.1: + resolution: {integrity: sha512-kTUIGKQ/mDPFoJ0oVfcmyJn4iBDRptjNVIzwIFR7tqWXdVI9xfA2RMwY/gbSpJG3lkdWNEjLap/NqVHZiJsdfg==} + engines: {node: '>=0.10'} + dependencies: + d: 1.0.1 + es5-ext: 0.10.64 + event-emitter: 0.3.5 + type: 2.7.2 + dev: false + /espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -19059,7 +19698,6 @@ packages: resolution: {integrity: sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA==} dependencies: js-sha3: 0.8.0 - dev: true /ethereum-cryptography@0.1.3: resolution: {integrity: sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ==} @@ -19088,7 +19726,6 @@ packages: '@noble/hashes': 1.3.1 '@scure/bip32': 1.3.1 '@scure/bip39': 1.2.1 - dev: true /ethereum-cryptography@2.1.3: resolution: {integrity: sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA==} @@ -19218,7 +19855,6 @@ packages: dependencies: bn.js: 4.11.6 number-to-bn: 1.7.0 - dev: true /ethjs-util@0.1.6: resolution: {integrity: sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==} @@ -19226,14 +19862,12 @@ packages: dependencies: is-hex-prefixed: 1.0.0 strip-hex-prefix: 1.0.0 - dev: true /event-emitter@0.3.5: resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} dependencies: d: 1.0.1 es5-ext: 0.10.62 - dev: true /event-target-shim@5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} @@ -19242,6 +19876,10 @@ packages: /eventemitter2@6.4.9: resolution: {integrity: sha512-JEPTiaOt9f04oa6NOkc4aH+nVp5I3wEjpHbIPqfgCdD5v5bUzy7xQqwcVO2aDQgOWhI28da57HksMrzK9HlRxg==} + /eventemitter3@4.0.4: + resolution: {integrity: sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ==} + dev: false + /eventemitter3@4.0.7: resolution: {integrity: sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==} @@ -19370,7 +20008,6 @@ packages: resolution: {integrity: sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw==} dependencies: type: 2.7.2 - dev: true /extend-shallow@2.0.1: resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} @@ -19449,6 +20086,10 @@ packages: resolution: {integrity: sha512-qwaScUgUGBYeDNRnbc/KyllVU88Jk1pRHPStuF/lO7B0/RTRLj7U0lkdTAutlBblY08rwZDff6tNU9cjv6j//Q==} dev: false + /fast-copy@3.0.2: + resolution: {integrity: sha512-dl0O9Vhju8IrcLndv2eU4ldt1ftXMqqfgN4H1cpmGV7P6jeB9FwpN9a2c8DPGE1Ys88rNUJVYDHq73CGAGOPfQ==} + dev: false + /fast-decode-uri-component@1.0.1: resolution: {integrity: sha512-WKgKWg5eUxvRZGwW8FvfbaH7AXSh2cL+3j5fMGzUMCxWBJ3dV3a7Wz8y2f/uQ0e3B6WmodD3oS54jTQ9HVTIIg==} dev: true @@ -19483,6 +20124,10 @@ packages: resolution: {integrity: sha512-8EZzEP0eKkEEVX+drtd9mtuQ+/QrlfW/5MlwcwK5Nds6EkZ/tRzEexkzUY2mIssnAyVLT+TKHuRXmFNNXYUd6g==} dev: false + /fast-password-entropy@1.1.1: + resolution: {integrity: sha512-dxm29/BPFrNgyEDygg/lf9c2xQR0vnQhG7+hZjAI39M/3um9fD4xiqG6F0ZjW6bya5m9CI0u6YryHGRtxCGCiw==} + dev: false + /fast-querystring@1.1.2: resolution: {integrity: sha512-g6KuKWmFXc0fID8WWH0jit4g0AGBoJhCkJMb1RmbsSEUNvQ+ZC8D6CUZ+GtF8nMzSPXnhiePyyqqipzNNEnHjg==} dependencies: @@ -19531,7 +20176,7 @@ packages: /fbjs@3.0.5: resolution: {integrity: sha512-ztsSx77JBtkuMrEypfhgc3cI0+0h+svqeie7xHbh1k/IKdcydnvadp/mUaGgjAOXQmQSxsqgaRhS3q9fy+1kxg==} dependencies: - cross-fetch: 3.1.8 + cross-fetch: 3.1.8(encoding@0.1.13) fbjs-css-vars: 1.0.2 loose-envify: 1.4.0 object-assign: 4.1.1 @@ -19541,6 +20186,10 @@ packages: transitivePeerDependencies: - encoding + /fetch-retry@5.0.6: + resolution: {integrity: sha512-3yurQZ2hD9VISAhJJP9bpYFNQrHHBXE2JxxjY5aLEcDi46RmAzJE2OC9FAde0yis5ElW0jTTzs0zfg/Cca4XqQ==} + dev: false + /figures@3.2.0: resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} engines: {node: '>=8'} @@ -20231,7 +20880,7 @@ packages: graphql: 14 - 16 dependencies: '@graphql-typed-document-node/core': 3.2.0(graphql@16.8.1) - cross-fetch: 3.1.8 + cross-fetch: 3.1.8(encoding@0.1.13) graphql: 16.8.1 transitivePeerDependencies: - encoding @@ -20428,6 +21077,10 @@ packages: tslib: 2.6.2 dev: true + /help-me@5.0.0: + resolution: {integrity: sha512-7xgomUX6ADmcYzFik0HzAxh/73YlKR9bmFzf51CZwR+b6YtzU2m0u49hQCqV6SvlqIqsaxovfwdvbnsw3b/zpg==} + dev: false + /hermes-estree@0.12.0: resolution: {integrity: sha512-+e8xR6SCen0wyAKrMT3UD0ZCCLymKhRgjEB5sS28rKiFir/fXgLoeRilRUssFCILmGHb+OvHDUlhxs0+IEyvQw==} dev: true @@ -20522,6 +21175,10 @@ packages: statuses: 2.0.1 toidentifier: 1.0.1 + /http-https@1.0.0: + resolution: {integrity: sha512-o0PWwVCSp3O0wS6FvNr6xfBCHgt0m1tvPLFOCc2iFDKTRAXhB7m8klDf7ErowFH8POa6dVdGatKU5I1YYwzUyg==} + dev: false + /http-proxy-agent@5.0.0: resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} engines: {node: '>= 6'} @@ -20653,7 +21310,6 @@ packages: engines: {node: '>=0.10.0'} dependencies: safer-buffer: 2.1.2 - dev: true /idb-keyval@6.2.1: resolution: {integrity: sha512-8Sb3veuYCyrZL+VBt9LJfZjLUPWVvqn8tG28VqYNFCo43KHcKuq+b4EiXGeuaLAQWL2YmyDgMp2aSpH9JHsEQg==} @@ -20927,7 +21583,6 @@ packages: /is-buffer@1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} requiresBuild: true - dev: true /is-buffer@2.0.5: resolution: {integrity: sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==} @@ -21099,7 +21754,6 @@ packages: /is-hex-prefixed@1.0.0: resolution: {integrity: sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==} engines: {node: '>=6.5.0', npm: '>=3'} - dev: true /is-inside-container@1.0.0: resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==} @@ -21265,7 +21919,6 @@ packages: /is-typedarray@1.0.0: resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} - dev: true /is-unc-path@1.0.0: resolution: {integrity: sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==} @@ -21363,10 +22016,10 @@ packages: engines: {node: '>=10'} dev: true - /isomorphic-unfetch@3.1.0: + /isomorphic-unfetch@3.1.0(encoding@0.1.13): resolution: {integrity: sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q==} dependencies: - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) unfetch: 4.2.0 transitivePeerDependencies: - encoding @@ -22058,6 +22711,10 @@ packages: resolution: {integrity: sha512-W+oqK4H+r5sITxfxpSU+MMdr/YSWGvgZMQDIsNoBDGGy4i7GBPTtvFKibQzW06n3U3TqHjhvBJsirShsEJ6eeQ==} dev: true + /jose@4.15.9: + resolution: {integrity: sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==} + dev: false + /jose@5.1.1: resolution: {integrity: sha512-bfB+lNxowY49LfrBO0ITUn93JbUhxUN8I11K6oI5hJu/G6PO6fEUddVLjqdD0cQ9SXIHWXuWh7eJYwZF7Z0N/g==} dev: true @@ -22065,7 +22722,11 @@ packages: /joycon@3.1.1: resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} engines: {node: '>=10'} - dev: true + + /js-cookie@3.0.5: + resolution: {integrity: sha512-cEiJEAEoIbWfCZYKWhVwFuvPX1gETRYPw6LlaTKoxD3s2AkXzkCjnp6h0V77ozyqj0jakteJ4YqDJT830+lVGw==} + engines: {node: '>=14'} + dev: false /js-sha256@0.9.0: resolution: {integrity: sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==} @@ -22579,6 +23240,10 @@ packages: prelude-ls: 1.2.1 type-check: 0.4.0 + /libphonenumber-js@1.11.4: + resolution: {integrity: sha512-F/R50HQuWWYcmU/esP5jrH5LiWYaN7DpN0a/99U8+mnGGtnx8kmRE+649dQh3v+CowXXZc8vpkf5AmYkO0AQ7Q==} + dev: false + /lie@3.3.0: resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==} dependencies: @@ -22845,6 +23510,10 @@ packages: dayjs: 1.11.10 yargs: 15.4.1 + /lokijs@1.5.12: + resolution: {integrity: sha512-Q5ALD6JiS6xAUWCwX3taQmgwxyveCtIIuL08+ml0nHwT3k0S/GIFJN+Hd38b1qYIMaE5X++iqsqWVksz7SYW+Q==} + dev: false + /long@5.2.3: resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} @@ -23004,6 +23673,14 @@ packages: inherits: 2.0.4 safe-buffer: 5.2.1 + /md5@2.3.0: + resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==} + dependencies: + charenc: 0.0.2 + crypt: 0.0.2 + is-buffer: 1.1.6 + dev: false + /mdn-data@2.0.14: resolution: {integrity: sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==} dev: false @@ -23277,7 +23954,7 @@ packages: dependencies: connect: 3.7.0 debug: 2.6.9(supports-color@4.5.0) - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) ws: 7.5.9 yargs: 17.7.2 transitivePeerDependencies: @@ -23617,7 +24294,7 @@ packages: metro-transform-plugins: 0.76.8 metro-transform-worker: 0.76.8 mime-types: 2.1.35 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) nullthrows: 1.1.1 rimraf: 3.0.2 serialize-error: 2.1.0 @@ -23672,7 +24349,7 @@ packages: metro-transform-plugins: 0.80.6 metro-transform-worker: 0.80.6 mime-types: 2.1.35 - node-fetch: 2.7.0 + node-fetch: 2.7.0(encoding@0.1.13) nullthrows: 1.1.1 rimraf: 3.0.2 serialize-error: 2.1.0 @@ -23878,6 +24555,17 @@ packages: - zod dev: false + /mipd@0.0.7(typescript@5.4.5): + resolution: {integrity: sha512-aAPZPNDQ3uMTdKbuO2YmAw2TxLHO0moa4YKAyETM/DTj5FloZo+a+8tU+iv4GmW+sOxKLSRwcSFuczk+Cpt6fg==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + typescript: 5.4.5 + dev: false + /mixin-deep@1.3.2: resolution: {integrity: sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==} engines: {node: '>=0.10.0'} @@ -24045,7 +24733,6 @@ packages: /next-tick@1.1.0: resolution: {integrity: sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ==} - dev: true /next@14.2.2(@playwright/test@1.43.1)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-oGwUaa2bCs47FbuxWMpOoXtBMPYpvTPgdZr3UAo+pu7Ns00z9otmYpoeV1HEiYL06AlRQQIA/ypK526KjJfaxg==} @@ -24133,7 +24820,7 @@ packages: /node-fetch-native@1.6.4: resolution: {integrity: sha512-IhOigYzAKHd244OC0JIMIUrjzctirCmPkaIfhDeGcEETWof5zKYUW7e7MYvChGWh/4CJeXEgsRyGzuF334rOOQ==} - /node-fetch@2.7.0: + /node-fetch@2.7.0(encoding@0.1.13): resolution: {integrity: sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==} engines: {node: 4.x || >=6.0.0} peerDependencies: @@ -24142,6 +24829,7 @@ packages: encoding: optional: true dependencies: + encoding: 0.1.13 whatwg-url: 5.0.0 /node-forge@1.3.1: @@ -24335,7 +25023,6 @@ packages: dependencies: bn.js: 4.11.6 strip-hex-prefix: 1.0.0 - dev: true /nwsapi@2.2.7: resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} @@ -24511,6 +25198,12 @@ packages: es-object-atoms: 1.0.0 dev: true + /oboe@2.1.5: + resolution: {integrity: sha512-zRFWiF+FoicxEs3jNI/WYUrVEgA7DeET/InK0XQuudGHRg8iIob3cNPrJTKaz4004uaA9Pbe+Dwa8iluhjLZWA==} + dependencies: + http-https: 1.0.0 + dev: false + /ofetch@1.3.4: resolution: {integrity: sha512-KLIET85ik3vhEfS+3fDlc/BAZiAp+43QEC/yCo5zkNoY2YaKvNkOaFr/6wCFgFH1kuYQM5pMNi0Tg8koiIemtw==} dependencies: @@ -24524,6 +25217,11 @@ packages: /on-exit-leak-free@0.2.0: resolution: {integrity: sha512-dqaz3u44QbRXQooZLTUKU41ZrzYrcvLISVgbrzbyCMxpmSLJvZ3ZamIJIZ29P6OhZIkNIQKosdeM6t1LYbA9hg==} + /on-exit-leak-free@2.1.2: + resolution: {integrity: sha512-0eJJY6hXLGf1udHwfNftBqH+g73EU4B504nZeKpz1sYRKafAghwxEJunB2O7rDZkL4PGfsMVnTXZ2EjibbqcsA==} + engines: {node: '>=14.0.0'} + dev: false + /on-finished@2.3.0: resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} engines: {node: '>= 0.8'} @@ -25020,6 +25718,33 @@ packages: duplexify: 4.1.3 split2: 4.2.0 + /pino-abstract-transport@1.2.0: + resolution: {integrity: sha512-Guhh8EZfPCfH+PMXAb6rKOjGQEoy0xlAIn+irODG5kgfYV+BQ0rGYYWTIel3P5mmyXqkYkPmdIkywsn6QKUR1Q==} + dependencies: + readable-stream: 4.5.2 + split2: 4.2.0 + dev: false + + /pino-pretty@10.3.1: + resolution: {integrity: sha512-az8JbIYeN/1iLj2t0jR9DV48/LQ3RC6hZPpapKPkb84Q+yTidMCpgWxIT3N0flnBDilyBQ1luWNpOeJptjdp/g==} + hasBin: true + dependencies: + colorette: 2.0.20 + dateformat: 4.6.3 + fast-copy: 3.0.2 + fast-safe-stringify: 2.1.1 + help-me: 5.0.0 + joycon: 3.1.1 + minimist: 1.2.8 + on-exit-leak-free: 2.1.2 + pino-abstract-transport: 1.2.0 + pump: 3.0.0 + readable-stream: 4.5.2 + secure-json-parse: 2.7.0 + sonic-boom: 3.8.1 + strip-json-comments: 3.1.1 + dev: false + /pino-std-serializers@4.0.0: resolution: {integrity: sha512-cK0pekc1Kjy5w9V2/n+8MkZwusa6EyyxfeQCB799CQRhRt/CqYKiWs5adeu8Shve2ZNffvfC/7J64A2PJo1W/Q==} @@ -25286,7 +26011,6 @@ packages: /process@0.11.10: resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} engines: {node: '>= 0.6.0'} - dev: true /promise@7.3.1: resolution: {integrity: sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==} @@ -25497,6 +26221,20 @@ packages: react: 18.2.0 dev: false + /react-device-detect@2.2.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-buYY3qrCnQVlIFHrC5UcUoAj7iANs/+srdkwsnNjI7anr3Tt7UY6MqNxtMLlr0tMBied0O49UZVK8XKs3ZIiPw==} + peerDependencies: + react: '>= 0.14.0' + react-dom: '>= 0.14.0' + peerDependenciesMeta: + react: + optional: true + dependencies: + react: 18.2.0 + react-dom: 18.2.0(react@18.2.0) + ua-parser-js: 1.0.37 + dev: false + /react-devtools-core@4.28.5: resolution: {integrity: sha512-cq/o30z9W2Wb4rzBefjv5fBalHU0rJGZCHAkf/RHSBWSSYwh8PlQTqqOJmgIIbBtpj27T6FIPXeomIjZtCNVqA==} dependencies: @@ -26169,6 +26907,17 @@ packages: string_decoder: 1.3.0 util-deprecate: 1.0.2 + /readable-stream@4.5.2: + resolution: {integrity: sha512-yjavECdqeZ3GLXNgRXgeQEdz9fvDDkNKyHnbHRFtOr7/LcfgBcmct7t/ET+HaCTqfh06OzoAxrkN/IfjJBVe+g==} + engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + dependencies: + abort-controller: 3.0.0 + buffer: 6.0.3 + events: 3.3.0 + process: 0.11.10 + string_decoder: 1.3.0 + dev: false + /readable-web-to-node-stream@3.0.2: resolution: {integrity: sha512-ePeK6cc1EcKLEhJFt/AebMCLL+GgSKhuygrZ/GLaKZYEecIgIECf4UaUuaByiGtzckwR4ain9VzUh95T1exYGw==} engines: {node: '>=8'} @@ -26321,8 +27070,8 @@ packages: '@types/react': 18.2.38 react: 18.2.0 - /rehackt@0.0.6(@types/react@18.2.79)(react@18.2.0): - resolution: {integrity: sha512-l3WEzkt4ntlEc/IB3/mF6SRgNHA6zfQR7BlGOgBTOmx7IJJXojDASav+NsgXHFjHn+6RmwqsGPFgZpabWpeOdw==} + /rehackt@0.0.5(@types/react@18.2.79)(react@18.2.0): + resolution: {integrity: sha512-BI1rV+miEkaHj8zd2n+gaMgzu/fKz7BGlb4zZ6HAiY9adDmJMkaDcmuXlJFv0eyKUob+oszs3/2gdnXUrzx2Tg==} peerDependencies: '@types/react': '*' react: '*' @@ -26794,6 +27543,14 @@ packages: node-addon-api: 5.1.0 node-gyp-build: 4.7.0 + /secure-json-parse@2.7.0: + resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} + dev: false + + /secure-password-utilities@0.2.1: + resolution: {integrity: sha512-znUg8ae3cpuAaogiFBhP82gD2daVkSz4Qv/L7OWjB7wWvfbCdeqqQuJkm2/IvhKQPOV0T739YPR6rb7vs0uWaw==} + dev: false + /seedrandom@3.0.5: resolution: {integrity: sha512-8OwmbklUNzwezjGInmZ+2clQmExQPvomqjL7LFqOYqtmuxRgQYqOD3mHaU+MvZn5FLUeVxVfQjwLZW/n/JFuqg==} dev: true @@ -26871,6 +27628,10 @@ packages: /set-blocking@2.0.0: resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + /set-cookie-parser@2.6.0: + resolution: {integrity: sha512-RVnVQxTXuerk653XfuliOxBP81Sf0+qfQE73LIYKcyMYHG94AuH0kgrQpRDuTZnSmjpysHmzxJXKNfa6PjFhyQ==} + dev: false + /set-function-length@1.1.1: resolution: {integrity: sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==} engines: {node: '>= 0.4'} @@ -27178,6 +27939,12 @@ packages: dependencies: atomic-sleep: 1.0.0 + /sonic-boom@3.8.1: + resolution: {integrity: sha512-y4Z8LCDBuum+PBP3lSV7RHrXscqksve/bi0as7mhwVnBW+/wUqKT/2Kb7um8yqcFy0duYbbPxzt89Zy2nOCaxg==} + dependencies: + atomic-sleep: 1.0.0 + dev: false + /source-list-map@2.0.1: resolution: {integrity: sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==} dev: true @@ -27622,7 +28389,6 @@ packages: engines: {node: '>=6.5.0', npm: '>=3'} dependencies: is-hex-prefixed: 1.0.0 - dev: true /strip-indent@3.0.0: resolution: {integrity: sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==} @@ -27905,6 +28671,10 @@ packages: setimmediate: 1.0.5 dev: true + /tinycolor2@1.6.0: + resolution: {integrity: sha512-XPaBkWQJdsf3pLKJV9p4qN/S+fm2Oj8AIPo1BTUhg5oxkvm9+SVEGFdhyOz7tTdUTfvxMiAs4sp6/eZO2Ew+pw==} + dev: false + /title-case@3.0.3: resolution: {integrity: sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA==} dependencies: @@ -28418,11 +29188,9 @@ packages: /type@1.2.0: resolution: {integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==} - dev: true /type@2.7.2: resolution: {integrity: sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw==} - dev: true /typechain@8.3.2(typescript@5.2.2): resolution: {integrity: sha512-x/sQYr5w9K7yv3es7jo4KTX05CLxOf7TRWwoHlrjRh8H82G64g+k7VuWPJlgMo6qrjfCulOdfBjiaDtmhFYD/Q==} @@ -28518,6 +29286,12 @@ packages: is-typed-array: 1.1.13 possible-typed-array-names: 1.0.0 + /typedarray-to-buffer@3.1.5: + resolution: {integrity: sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==} + dependencies: + is-typedarray: 1.0.0 + dev: false + /typedarray.prototype.slice@1.0.3: resolution: {integrity: sha512-8WbVAQAUlENo1q3c3zZYuy5k9VzBQvp8AX9WOtbvyWlLM1v5JaSRmjubLjzHF4JFtptjH/5c/i95yaElvcjC0A==} engines: {node: '>= 0.4'} @@ -28632,6 +29406,12 @@ packages: webpack-sources: 1.4.3 dev: true + /uint8arrays@3.1.0: + resolution: {integrity: sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog==} + dependencies: + multiformats: 9.9.0 + dev: false + /uint8arrays@3.1.1: resolution: {integrity: sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==} dependencies: @@ -28932,7 +29712,6 @@ packages: /utf8@3.0.0: resolution: {integrity: sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ==} - dev: true /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -29377,6 +30156,125 @@ packages: resolution: {integrity: sha512-f5YnCHVG9Y6uLCePD4tY8bO/Ge15NPEQWtvm3tPzDKygloiqtb4SVqRHBcrIAqo2ztqX5XueqDn97zHF0LdT6w==} dev: false + /web3-core-helpers@1.10.3: + resolution: {integrity: sha512-Yv7dQC3B9ipOc5sWm3VAz1ys70Izfzb8n9rSiQYIPjpqtJM+3V4EeK6ghzNR6CO2es0+Yu9CtCkw0h8gQhrTxA==} + engines: {node: '>=8.0.0'} + dependencies: + web3-eth-iban: 1.10.3 + web3-utils: 1.10.3 + dev: false + + /web3-core-helpers@1.10.4: + resolution: {integrity: sha512-r+L5ylA17JlD1vwS8rjhWr0qg7zVoVMDvWhajWA5r5+USdh91jRUYosp19Kd1m2vE034v7Dfqe1xYRoH2zvG0g==} + engines: {node: '>=8.0.0'} + dependencies: + web3-eth-iban: 1.10.4 + web3-utils: 1.10.4 + dev: false + + /web3-core-method@1.10.4: + resolution: {integrity: sha512-uZTb7flr+Xl6LaDsyTeE2L1TylokCJwTDrIVfIfnrGmnwLc6bmTWCCrm71sSrQ0hqs6vp/MKbQYIYqUN0J8WyA==} + engines: {node: '>=8.0.0'} + dependencies: + '@ethersproject/transactions': 5.7.0 + web3-core-helpers: 1.10.4 + web3-core-promievent: 1.10.4 + web3-core-subscriptions: 1.10.4 + web3-utils: 1.10.4 + dev: false + + /web3-core-promievent@1.10.4: + resolution: {integrity: sha512-2de5WnJQ72YcIhYwV/jHLc4/cWJnznuoGTJGD29ncFQHAfwW/MItHFSVKPPA5v8AhJe+r6y4Y12EKvZKjQVBvQ==} + engines: {node: '>=8.0.0'} + dependencies: + eventemitter3: 4.0.4 + dev: false + + /web3-core-requestmanager@1.10.4(encoding@0.1.13): + resolution: {integrity: sha512-vqP6pKH8RrhT/2MoaU+DY/OsYK9h7HmEBNCdoMj+4ZwujQtw/Mq2JifjwsJ7gits7Q+HWJwx8q6WmQoVZAWugg==} + engines: {node: '>=8.0.0'} + dependencies: + util: 0.12.5 + web3-core-helpers: 1.10.4 + web3-providers-http: 1.10.4(encoding@0.1.13) + web3-providers-ipc: 1.10.4 + web3-providers-ws: 1.10.4 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + + /web3-core-subscriptions@1.10.4: + resolution: {integrity: sha512-o0lSQo/N/f7/L76C0HV63+S54loXiE9fUPfHFcTtpJRQNDBVsSDdWRdePbWwR206XlsBqD5VHApck1//jEafTw==} + engines: {node: '>=8.0.0'} + dependencies: + eventemitter3: 4.0.4 + web3-core-helpers: 1.10.4 + dev: false + + /web3-core@1.10.4(encoding@0.1.13): + resolution: {integrity: sha512-B6elffYm81MYZDTrat7aEhnhdtVE3lDBUZft16Z8awYMZYJDbnykEbJVS+l3mnA7AQTnSDr/1MjWofGDLBJPww==} + engines: {node: '>=8.0.0'} + dependencies: + '@types/bn.js': 5.1.5 + '@types/node': 12.20.55 + bignumber.js: 9.1.2 + web3-core-helpers: 1.10.4 + web3-core-method: 1.10.4 + web3-core-requestmanager: 1.10.4(encoding@0.1.13) + web3-utils: 1.10.4 + transitivePeerDependencies: + - encoding + - supports-color + dev: false + + /web3-eth-iban@1.10.3: + resolution: {integrity: sha512-ZCfOjYKAjaX2TGI8uif5ah+J3BYFuo+47JOIV1RIz2l7kD9VfnxvRH5UiQDRyMALQC7KFd2hUqIEtHklapNyKA==} + engines: {node: '>=8.0.0'} + dependencies: + bn.js: 5.2.1 + web3-utils: 1.10.3 + dev: false + + /web3-eth-iban@1.10.4: + resolution: {integrity: sha512-0gE5iNmOkmtBmbKH2aTodeompnNE8jEyvwFJ6s/AF6jkw9ky9Op9cqfzS56AYAbrqEFuClsqB/AoRves7LDELw==} + engines: {node: '>=8.0.0'} + dependencies: + bn.js: 5.2.1 + web3-utils: 1.10.4 + dev: false + + /web3-providers-http@1.10.4(encoding@0.1.13): + resolution: {integrity: sha512-m2P5Idc8hdiO0l60O6DSCPw0kw64Zgi0pMjbEFRmxKIck2Py57RQMu4bxvkxJwkF06SlGaEQF8rFZBmuX7aagQ==} + engines: {node: '>=8.0.0'} + dependencies: + abortcontroller-polyfill: 1.7.5 + cross-fetch: 4.0.0(encoding@0.1.13) + es6-promise: 4.2.8 + web3-core-helpers: 1.10.4 + transitivePeerDependencies: + - encoding + dev: false + + /web3-providers-ipc@1.10.4: + resolution: {integrity: sha512-YRF/bpQk9z3WwjT+A6FI/GmWRCASgd+gC0si7f9zbBWLXjwzYAKG73bQBaFRAHex1hl4CVcM5WUMaQXf3Opeuw==} + engines: {node: '>=8.0.0'} + dependencies: + oboe: 2.1.5 + web3-core-helpers: 1.10.4 + dev: false + + /web3-providers-ws@1.10.4: + resolution: {integrity: sha512-j3FBMifyuFFmUIPVQR4pj+t5ILhAexAui0opgcpu9R5LxQrLRUZxHSnU+YO25UycSOa/NAX8A+qkqZNpcFAlxA==} + engines: {node: '>=8.0.0'} + dependencies: + eventemitter3: 4.0.4 + web3-core-helpers: 1.10.4 + websocket: 1.0.35 + transitivePeerDependencies: + - supports-color + dev: false + /web3-utils@1.10.3: resolution: {integrity: sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ==} engines: {node: '>=8.0.0'} @@ -29389,7 +30287,20 @@ packages: number-to-bn: 1.7.0 randombytes: 2.1.0 utf8: 3.0.0 - dev: true + + /web3-utils@1.10.4: + resolution: {integrity: sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A==} + engines: {node: '>=8.0.0'} + dependencies: + '@ethereumjs/util': 8.1.0 + bn.js: 5.2.1 + ethereum-bloom-filters: 1.0.10 + ethereum-cryptography: 2.1.3 + ethjs-unit: 0.1.6 + number-to-bn: 1.7.0 + randombytes: 2.1.0 + utf8: 3.0.0 + dev: false /webcrypto-core@1.7.7: resolution: {integrity: sha512-7FjigXNsBfopEj+5DV2nhNpfic2vumtjjgPmeDKk45z+MJwXKKfhPB7118Pfzrmh4jqOMST6Ch37iPAHoImg5g==} @@ -29475,6 +30386,20 @@ packages: yargs: 8.0.2 dev: true + /websocket@1.0.35: + resolution: {integrity: sha512-/REy6amwPZl44DDzvRCkaI1q1bIiQB0mEFQLUrhz3z2EK91cp3n72rAjUlrTP0zV22HJIUOVHQGPxhFRjxjt+Q==} + engines: {node: '>=4.0.0'} + dependencies: + bufferutil: 4.0.8 + debug: 2.6.9(supports-color@4.5.0) + es5-ext: 0.10.64 + typedarray-to-buffer: 3.1.5 + utf-8-validate: 5.0.10 + yaeti: 0.0.6 + transitivePeerDependencies: + - supports-color + dev: false + /whatwg-encoding@2.0.0: resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} engines: {node: '>=12'} @@ -29825,6 +30750,11 @@ packages: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} + /yaeti@0.0.6: + resolution: {integrity: sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug==} + engines: {node: '>=0.10.32'} + dev: false + /yallist@2.1.2: resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} dev: true diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 7976b5b973..a201cb4954 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,6 +1,7 @@ packages: - "packages/*" - "examples/lens-next-app" + - "examples/lens-next-privy-app" - "examples/node" - "examples/react-native" - "examples/shared" From 03588ee83bd01420e24a8d759cf70bd3d92102cd Mon Sep 17 00:00:00 2001 From: Paul Burke Date: Thu, 11 Jul 2024 09:29:05 -0400 Subject: [PATCH 3/7] chore: upgrades privy react-auth --- examples/lens-next-privy-app/package.json | 2 +- pnpm-lock.yaml | 151 ++++++++++------------ 2 files changed, 67 insertions(+), 86 deletions(-) diff --git a/examples/lens-next-privy-app/package.json b/examples/lens-next-privy-app/package.json index 9f9c1a46fb..c10c9ed1eb 100644 --- a/examples/lens-next-privy-app/package.json +++ b/examples/lens-next-privy-app/package.json @@ -13,7 +13,7 @@ "dependencies": { "@lens-protocol/react-web": "latest", "@lens-protocol/wagmi": "latest", - "@privy-io/react-auth": "^1.73.1", + "@privy-io/react-auth": "^1.74.1", "@privy-io/wagmi": "^0.2.10", "@tanstack/react-query": "^5.29.2", "next": "^14.2.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4c293f61e3..27b321cdb5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -112,11 +112,11 @@ importers: specifier: latest version: 4.1.4(@lens-protocol/react-web@2.3.1)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19) '@privy-io/react-auth': - specifier: ^1.73.1 - version: 1.73.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + specifier: ^1.74.1 + version: 1.74.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) '@privy-io/wagmi': specifier: ^0.2.10 - version: 0.2.10(@privy-io/react-auth@1.73.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19) + version: 0.2.10(@privy-io/react-auth@1.74.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19) '@tanstack/react-query': specifier: ^5.29.2 version: 5.29.2(react@18.2.0) @@ -10331,22 +10331,15 @@ packages: - supports-color dev: true - /@privy-io/api-base@1.2.0: - resolution: {integrity: sha512-Y8ltHqrvW6rysuMXKs8N7Nsn8iDFHSYQx0yZ6B7gakMvvu7GIGFXgPXVWxhd6aSOTKPe3OxQFZdE/TfKhym11g==} + /@privy-io/api-base@1.2.2: + resolution: {integrity: sha512-z9G7Kd/Mz/t8Frl6DTIzGHcu0ITF+eG4BHw+XzExuxmTH/iljDJWQwGoiosbu2k2T1p4OEOqZhaxhgRTA6CeaA==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} dependencies: zod: 3.22.4 dev: false - /@privy-io/api-base@1.2.1: - resolution: {integrity: sha512-Ka7pHIkQcXzHzYucFZwPfEUuRkpJDE03WJtlgG9o7TcB1RKKYCemmnd4XhH3aY90aVmpmbUkKgSAuopSEIoKYQ==} - engines: {node: '>=18.0.0', npm: '>=8.0.0'} - dependencies: - zod: 3.22.4 - dev: false - - /@privy-io/js-sdk-core@0.23.3: - resolution: {integrity: sha512-xtIa7KO3PWLAukZrIOg8wRzj77rhoEriLYmL5ew6CfU0kJfs3jKSw6kORwLuFO2z5jFQr5lOEEi9XjWwsLlI9Q==} + /@privy-io/js-sdk-core@0.23.6: + resolution: {integrity: sha512-lX4/h5shrJOR0Cq+NGSAvJo7P8QD39UhmM0AWAm7TZxTta3gDwQLnHFulCr1XV/6IYS1u9zI3x+EOa07ti5CLQ==} dependencies: '@ethersproject/abstract-signer': 5.7.0 '@ethersproject/bignumber': 5.7.0 @@ -10354,8 +10347,8 @@ packages: '@ethersproject/providers': 5.7.2 '@ethersproject/transactions': 5.7.0 '@ethersproject/units': 5.7.0 - '@privy-io/api-base': 1.2.1 - '@privy-io/public-api': 2.6.1 + '@privy-io/api-base': 1.2.2 + '@privy-io/public-api': 2.6.3 eventemitter3: 5.0.1 fetch-retry: 5.0.6 jose: 4.15.9 @@ -10367,11 +10360,11 @@ packages: - utf-8-validate dev: false - /@privy-io/public-api@2.6.1: - resolution: {integrity: sha512-3BRMvixlRVVv7WQ/VZL9lxjTx8UrEQRwxSDfDytloHk/eaD7G54ZlivXbg2ZwXxKih0rs6B4PD04Qol7cQTuYA==} + /@privy-io/public-api@2.6.3: + resolution: {integrity: sha512-VjoU8pBstn0JfpzbmnNiRknWRclMDISRW6YWCt97dyTbZg67KML3o1lb9P/79edNVg33R4re9vcbePz9eUpEww==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} dependencies: - '@privy-io/api-base': 1.2.0 + '@privy-io/api-base': 1.2.2 ethers: 5.7.2 libphonenumber-js: 1.11.4 zod: 3.22.4 @@ -10380,8 +10373,8 @@ packages: - utf-8-validate dev: false - /@privy-io/react-auth@1.73.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5): - resolution: {integrity: sha512-sZq1T8R0nsWvd2bL+J5JX77tLM01xBKkVYlrBWU98cFqVm3A2QP1LMeJ53zO6GAjLrBEYT4ToWIiJNoeFk/Bcg==} + /@privy-io/react-auth@1.74.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5): + resolution: {integrity: sha512-hJMwVqwW3xQr/Xj2uKBHz/7cHDdKnmrcTtJu2fm8g3GDbK2tRVRqNiJ9K3W6eHzv+iGgQJB4P2qcXgPha/5kNw==} peerDependencies: react: ^18 react-dom: ^18 @@ -10404,7 +10397,7 @@ packages: '@heroicons/react': 2.1.4(react@18.2.0) '@marsidev/react-turnstile': 0.4.1(react-dom@18.2.0)(react@18.2.0) '@metamask/eth-sig-util': 6.0.2 - '@privy-io/js-sdk-core': 0.23.3 + '@privy-io/js-sdk-core': 0.23.6 '@simplewebauthn/browser': 9.0.1 '@walletconnect/ethereum-provider': 2.13.3(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0) '@walletconnect/modal': 2.6.2(@types/react@18.2.79)(react@18.2.0) @@ -10455,7 +10448,7 @@ packages: - utf-8-validate dev: false - /@privy-io/wagmi@0.2.10(@privy-io/react-auth@1.73.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19): + /@privy-io/wagmi@0.2.10(@privy-io/react-auth@1.74.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19): resolution: {integrity: sha512-tU8ZMuLaGasvct8KmYpL/oPyvwiLh5n3FA2Se39BhGxKCK/OcFDGu1VxHdkc1WCx0DB0DCNNZJeJTimCke5Xpw==} peerDependencies: '@privy-io/react-auth': ^1.64.1 @@ -10467,7 +10460,7 @@ packages: react: optional: true dependencies: - '@privy-io/react-auth': 1.73.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@privy-io/react-auth': 1.74.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) viem: 2.9.16(typescript@5.4.5) @@ -14124,7 +14117,7 @@ packages: '@walletconnect/jsonrpc-ws-connection': 1.0.14 '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.23.1) '@walletconnect/logger': 2.1.2 - '@walletconnect/relay-api': 1.0.9 + '@walletconnect/relay-api': 1.0.10 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 @@ -14202,7 +14195,7 @@ packages: '@walletconnect/jsonrpc-ws-connection': 1.0.14 '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.23.1) '@walletconnect/logger': 2.1.2 - '@walletconnect/relay-api': 1.0.9 + '@walletconnect/relay-api': 1.0.10 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 @@ -14314,9 +14307,9 @@ packages: /@walletconnect/ethereum-provider@2.11.2: resolution: {integrity: sha512-BUDqee0Uy2rCZVkW5Ao3q6Ado/3fePYnFdryVF+YL6bPhj+xQZ5OfKodl+uvs7Rwq++O5wTX2RqOTzpW7+v+Mg==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.7 - '@walletconnect/jsonrpc-provider': 1.0.13 - '@walletconnect/jsonrpc-types': 1.0.3 + '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2 '@walletconnect/sign-client': 2.11.2 @@ -14349,9 +14342,9 @@ packages: /@walletconnect/ethereum-provider@2.11.2(@types/react@18.2.38)(react@18.2.0): resolution: {integrity: sha512-BUDqee0Uy2rCZVkW5Ao3q6Ado/3fePYnFdryVF+YL6bPhj+xQZ5OfKodl+uvs7Rwq++O5wTX2RqOTzpW7+v+Mg==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.7 - '@walletconnect/jsonrpc-provider': 1.0.13 - '@walletconnect/jsonrpc-types': 1.0.3 + '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2(@types/react@18.2.38)(react@18.2.0) '@walletconnect/sign-client': 2.11.2 @@ -14383,9 +14376,9 @@ packages: /@walletconnect/ethereum-provider@2.11.2(@types/react@18.2.79)(react@18.2.0): resolution: {integrity: sha512-BUDqee0Uy2rCZVkW5Ao3q6Ado/3fePYnFdryVF+YL6bPhj+xQZ5OfKodl+uvs7Rwq++O5wTX2RqOTzpW7+v+Mg==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.7 - '@walletconnect/jsonrpc-provider': 1.0.13 - '@walletconnect/jsonrpc-types': 1.0.3 + '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2(@types/react@18.2.79)(react@18.2.0) '@walletconnect/sign-client': 2.11.2 @@ -14480,6 +14473,7 @@ packages: tslib: 1.14.1 transitivePeerDependencies: - encoding + dev: false /@walletconnect/jsonrpc-http-connection@1.0.8(encoding@0.1.13): resolution: {integrity: sha512-+B7cRuaxijLeFDJUq5hAzNyef3e3tBDIxyaCNmFtjwnod5AGis3RToNqzFU33vpVcxFhofkpE7Cx+5MYejbMGw==} @@ -14490,7 +14484,6 @@ packages: events: 3.3.0 transitivePeerDependencies: - encoding - dev: false /@walletconnect/jsonrpc-provider@1.0.13: resolution: {integrity: sha512-K73EpThqHnSR26gOyNEL+acEex3P7VWZe6KE12ZwKzAt2H4e5gldZHbjsu2QR9cLeJ8AXuO7kEMOIcRv1QEc7g==} @@ -14505,7 +14498,6 @@ packages: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 events: 3.3.0 - dev: false /@walletconnect/jsonrpc-types@1.0.3: resolution: {integrity: sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw==} @@ -14518,13 +14510,12 @@ packages: dependencies: events: 3.3.0 keyvaluestorage-interface: 1.0.0 - dev: false /@walletconnect/jsonrpc-utils@1.0.8: resolution: {integrity: sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw==} dependencies: '@walletconnect/environment': 1.0.1 - '@walletconnect/jsonrpc-types': 1.0.3 + '@walletconnect/jsonrpc-types': 1.0.4 tslib: 1.14.1 /@walletconnect/jsonrpc-ws-connection@1.0.14: @@ -14714,13 +14705,13 @@ packages: resolution: {integrity: sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw==} dependencies: '@walletconnect/jsonrpc-types': 1.0.4 - dev: false /@walletconnect/relay-api@1.0.9: resolution: {integrity: sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg==} dependencies: - '@walletconnect/jsonrpc-types': 1.0.3 + '@walletconnect/jsonrpc-types': 1.0.4 tslib: 1.14.1 + dev: false /@walletconnect/relay-auth@1.0.4: resolution: {integrity: sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==} @@ -14974,9 +14965,9 @@ packages: /@walletconnect/universal-provider@2.10.6: resolution: {integrity: sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.7 + '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.13 - '@walletconnect/jsonrpc-types': 1.0.3 + '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/sign-client': 2.10.6 @@ -15038,9 +15029,9 @@ packages: /@walletconnect/universal-provider@2.11.2: resolution: {integrity: sha512-cNtIn5AVoDxKAJ4PmB8m5adnf5mYQMUamEUPKMVvOPscfGtIMQEh9peKsh2AN5xcRVDbgluC01Id545evFyymw==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.7 + '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.13 - '@walletconnect/jsonrpc-types': 1.0.3 + '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/sign-client': 2.11.2 @@ -15106,7 +15097,7 @@ packages: '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.9 + '@walletconnect/relay-api': 1.0.10 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.10.6 @@ -15140,7 +15131,7 @@ packages: '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.9 + '@walletconnect/relay-api': 1.0.10 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.11.0(@react-native-async-storage/async-storage@1.23.1) @@ -15174,7 +15165,7 @@ packages: '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.9 + '@walletconnect/relay-api': 1.0.10 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.11.2 @@ -17071,7 +17062,7 @@ packages: engines: {node: '>=6.14.2'} requiresBuild: true dependencies: - node-gyp-build: 4.7.0 + node-gyp-build: 4.8.0 /builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} @@ -18058,7 +18049,7 @@ packages: /d@1.0.1: resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} dependencies: - es5-ext: 0.10.62 + es5-ext: 0.10.64 type: 1.2.0 /damerau-levenshtein@1.0.8: @@ -18840,7 +18831,7 @@ packages: /es-get-iterator@1.1.3: resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 get-intrinsic: 1.2.2 has-symbols: 1.0.3 is-arguments: 1.1.1 @@ -18925,15 +18916,6 @@ packages: is-date-object: 1.0.5 is-symbol: 1.0.4 - /es5-ext@0.10.62: - resolution: {integrity: sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==} - engines: {node: '>=0.10'} - requiresBuild: true - dependencies: - es6-iterator: 2.0.3 - es6-symbol: 3.1.3 - next-tick: 1.1.0 - /es5-ext@0.10.64: resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==} engines: {node: '>=0.10'} @@ -18943,20 +18925,19 @@ packages: es6-symbol: 3.1.3 esniff: 2.0.1 next-tick: 1.1.0 - dev: false /es6-iterator@2.0.3: resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} dependencies: d: 1.0.1 - es5-ext: 0.10.62 + es5-ext: 0.10.64 es6-symbol: 3.1.3 /es6-map@0.1.5: resolution: {integrity: sha512-mz3UqCh0uPCIqsw1SSAkB/p0rOzF/M0V++vyN7JqlPtSW/VsYgQBvVvqMLmfBuyMzTpLnNqi6JmcSizs4jy19A==} dependencies: d: 1.0.1 - es5-ext: 0.10.62 + es5-ext: 0.10.64 es6-iterator: 2.0.3 es6-set: 0.1.6 es6-symbol: 3.1.3 @@ -18976,7 +18957,7 @@ packages: engines: {node: '>=0.12'} dependencies: d: 1.0.1 - es5-ext: 0.10.62 + es5-ext: 0.10.64 es6-iterator: 2.0.3 es6-symbol: 3.1.3 event-emitter: 0.3.5 @@ -18993,7 +18974,7 @@ packages: resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==} dependencies: d: 1.0.1 - es5-ext: 0.10.62 + es5-ext: 0.10.64 es6-iterator: 2.0.3 es6-symbol: 3.1.3 dev: true @@ -19602,7 +19583,6 @@ packages: es5-ext: 0.10.64 event-emitter: 0.3.5 type: 2.7.2 - dev: false /espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} @@ -19867,7 +19847,7 @@ packages: resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} dependencies: d: 1.0.1 - es5-ext: 0.10.62 + es5-ext: 0.10.64 /event-target-shim@5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} @@ -21525,8 +21505,8 @@ packages: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + call-bind: 1.0.7 + has-tostringtag: 1.0.2 /is-array-buffer@3.0.2: resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} @@ -21549,7 +21529,7 @@ packages: resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 dev: true /is-bigint@1.0.4: @@ -21577,8 +21557,8 @@ packages: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.5 - has-tostringtag: 1.0.0 + call-bind: 1.0.7 + has-tostringtag: 1.0.2 /is-buffer@1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} @@ -21631,7 +21611,7 @@ packages: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 /is-descriptor@0.1.7: resolution: {integrity: sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==} @@ -21700,7 +21680,7 @@ packages: /is-finalizationregistry@1.0.2: resolution: {integrity: sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 dev: true /is-fullwidth-code-point@1.0.0: @@ -21727,7 +21707,7 @@ packages: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 /is-glob@2.0.1: resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==} @@ -21800,7 +21780,7 @@ packages: resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 /is-number@3.0.0: resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==} @@ -21957,7 +21937,7 @@ packages: /is-weakset@2.0.2: resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} dependencies: - call-bind: 1.0.5 + call-bind: 1.0.7 get-intrinsic: 1.2.2 dev: true @@ -23028,7 +23008,7 @@ packages: requiresBuild: true dependencies: node-addon-api: 2.0.2 - node-gyp-build: 4.7.0 + node-gyp-build: 4.8.0 dev: true /keccak@3.0.2: @@ -23047,7 +23027,7 @@ packages: requiresBuild: true dependencies: node-addon-api: 2.0.2 - node-gyp-build: 4.7.0 + node-gyp-build: 4.8.0 readable-stream: 3.6.2 /keyv@4.5.4: @@ -24851,6 +24831,7 @@ packages: /node-gyp-build@4.7.0: resolution: {integrity: sha512-PbZERfeFdrHQOOXiAKOY0VPbykZy90ndPKk0d+CFDegTKmWp1VgOTz2xACVbr1BjCWxrQp68CXtvNsveFhqDJg==} hasBin: true + dev: true /node-gyp-build@4.8.0: resolution: {integrity: sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==} @@ -27541,7 +27522,7 @@ packages: dependencies: elliptic: 6.5.5 node-addon-api: 5.1.0 - node-gyp-build: 4.7.0 + node-gyp-build: 4.8.0 /secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} @@ -29692,7 +29673,7 @@ packages: engines: {node: '>=6.14.2'} requiresBuild: true dependencies: - node-gyp-build: 4.7.0 + node-gyp-build: 4.8.0 /utf-8-validate@5.0.7: resolution: {integrity: sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==} @@ -29734,8 +29715,8 @@ packages: inherits: 2.0.4 is-arguments: 1.1.1 is-generator-function: 1.0.10 - is-typed-array: 1.1.12 - which-typed-array: 1.1.13 + is-typed-array: 1.1.13 + which-typed-array: 1.1.15 /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} @@ -30461,7 +30442,7 @@ packages: engines: {node: '>= 0.4'} dependencies: function.prototype.name: 1.1.6 - has-tostringtag: 1.0.0 + has-tostringtag: 1.0.2 is-async-function: 2.0.0 is-date-object: 1.0.5 is-finalizationregistry: 1.0.2 @@ -30471,7 +30452,7 @@ packages: isarray: 2.0.5 which-boxed-primitive: 1.0.2 which-collection: 1.0.1 - which-typed-array: 1.1.13 + which-typed-array: 1.1.15 dev: true /which-collection@1.0.1: From 9e749c00317c7ca4feb2e123a7973d0dbdef373f Mon Sep 17 00:00:00 2001 From: Paul Burke Date: Thu, 11 Jul 2024 10:06:03 -0400 Subject: [PATCH 4/7] fix: lens-next-privy-app page title --- examples/lens-next-privy-app/src/app/layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/lens-next-privy-app/src/app/layout.tsx b/examples/lens-next-privy-app/src/app/layout.tsx index 9932e48b12..270d248368 100644 --- a/examples/lens-next-privy-app/src/app/layout.tsx +++ b/examples/lens-next-privy-app/src/app/layout.tsx @@ -6,7 +6,7 @@ import "./globals.css"; const inter = Inter({ subsets: ["latin"] }); export const metadata: Metadata = { - title: "Lens SDK + ConnectKit + Next.js App", + title: "Lens SDK + Privy + Next.js App", description: "Generated by create next app", }; From af28a93b65c190bbe11c600179e1df68da689110 Mon Sep 17 00:00:00 2001 From: Cesare Naldi Date: Thu, 18 Jul 2024 12:25:09 +0200 Subject: [PATCH 5/7] chore: updates lock file --- pnpm-lock.yaml | 448 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 334 insertions(+), 114 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 27b321cdb5..4b6dbd7f8c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: + ethereumjs-abi: https://registry.npmjs.org/ethereumjs-abi/-/ethereumjs-abi-0.6.8.tgz ganache: 7.7.4 importers: @@ -43,10 +44,10 @@ importers: dependencies: '@lens-protocol/react-web': specifier: latest - version: 2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) + version: 2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) '@lens-protocol/wagmi': specifier: latest - version: 4.1.4(@lens-protocol/react-web@2.3.1)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19) + version: 4.1.0(@lens-protocol/react-web@2.1.0)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19) '@tanstack/react-query': specifier: ^5.29.2 version: 5.29.2(react@18.2.0) @@ -113,10 +114,10 @@ importers: version: 4.1.4(@lens-protocol/react-web@2.3.1)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19) '@privy-io/react-auth': specifier: ^1.74.1 - version: 1.74.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + version: 1.75.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) '@privy-io/wagmi': specifier: ^0.2.10 - version: 0.2.10(@privy-io/react-auth@1.74.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19) + version: 0.2.12(@privy-io/react-auth@1.75.0)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19) '@tanstack/react-query': specifier: ^5.29.2 version: 5.29.2(react@18.2.0) @@ -1570,8 +1571,8 @@ packages: '@jridgewell/gen-mapping': 0.3.3 '@jridgewell/trace-mapping': 0.3.20 - /@apollo/client@3.9.5(@types/react@18.2.38)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-7y+c8MTPU+hhTwvcGVtMMGIgWduzrvG1mz5yJMRyqYbheBkkky3Lki6ADWVSBXG1lZoOtPYvB2zDgVfKb2HSsw==} + /@apollo/client@3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-H7e9m7cRcFO93tokwzqrsbnfKorkpV24xU30hFH5u2g6B+c1DMo/ouyF/YrBPdrTzqxQCjTUmds/FLmJ7626GA==} peerDependencies: graphql: ^15.0.0 || ^16.0.0 graphql-ws: ^5.5.5 @@ -1599,7 +1600,7 @@ packages: prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - rehackt: 0.0.5(@types/react@18.2.38)(react@18.2.0) + rehackt: 0.0.6(@types/react@18.2.79)(react@18.2.0) response-iterator: 0.2.6 symbol-observable: 4.0.0 ts-invariant: 0.10.3 @@ -1607,8 +1608,9 @@ packages: zen-observable-ts: 1.2.5 transitivePeerDependencies: - '@types/react' + dev: false - /@apollo/client@3.9.5(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): + /@apollo/client@3.9.5(@types/react@18.2.38)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-7y+c8MTPU+hhTwvcGVtMMGIgWduzrvG1mz5yJMRyqYbheBkkky3Lki6ADWVSBXG1lZoOtPYvB2zDgVfKb2HSsw==} peerDependencies: graphql: ^15.0.0 || ^16.0.0 @@ -1637,7 +1639,7 @@ packages: prop-types: 15.8.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - rehackt: 0.0.5(@types/react@18.2.79)(react@18.2.0) + rehackt: 0.0.5(@types/react@18.2.38)(react@18.2.0) response-iterator: 0.2.6 symbol-observable: 4.0.0 ts-invariant: 0.10.3 @@ -1645,7 +1647,6 @@ packages: zen-observable-ts: 1.2.5 transitivePeerDependencies: - '@types/react' - dev: false /@aptos-labs/aptos-client@0.0.2: resolution: {integrity: sha512-FgKZb5zDPz8MmAcVxXzYhxP6OkzuIPoDRJp48YJ8+vrZ9EOZ35HaWGN2M3u+GPdnFE9mODFqkxw3azh3kHGZjQ==} @@ -8193,14 +8194,14 @@ packages: react: optional: true dependencies: - '@tanstack/react-virtual': 3.8.1(react-dom@18.2.0)(react@18.2.0) + '@tanstack/react-virtual': 3.8.3(react-dom@18.2.0)(react@18.2.0) client-only: 0.0.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@heroicons/react@2.1.4(react@18.2.0): - resolution: {integrity: sha512-ju0wj0wwrUTMQ2Yceyrma7TKuI3BpSjp+qKqV81K9KGcUHdvTMdiwfRc2cwXBp3uXtKuDZkh0v03nWOQnJFv2Q==} + /@heroicons/react@2.1.5(react@18.2.0): + resolution: {integrity: sha512-FuzFN+BsHa+7OxbvAERtgBTNeZpUjgM/MIizfVkSCL2/edriN0Hx/DWRCR//aPYwO5QX/YlgLGXk+E3PcfZwjA==} peerDependencies: react: '>= 16' peerDependenciesMeta: @@ -8223,7 +8224,6 @@ packages: /@humanwhocodes/config-array@0.11.14: resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==} engines: {node: '>=10.10.0'} - deprecated: Use @eslint/config-array instead dependencies: '@humanwhocodes/object-schema': 2.0.2 debug: 4.3.4(supports-color@5.5.0) @@ -8241,7 +8241,6 @@ packages: /@humanwhocodes/object-schema@2.0.2: resolution: {integrity: sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==} - deprecated: Use @eslint/object-schema instead dev: true /@internationalized/date@3.5.2: @@ -8686,7 +8685,35 @@ packages: react: 18.2.0 dev: false - /@lens-protocol/api-bindings@0.12.3(@apollo/client@3.9.5)(react@18.2.0): + /@lens-protocol/api-bindings@0.12.0(@apollo/client@3.9.11)(react@18.2.0): + resolution: {integrity: sha512-UHNEZwWEkKB7IBwWX3ulAShvUwBRJAthj2W9P5+OgrU1XLFA8mexBOKkivdYHjs2+UqKmoLkS5KmoSo01pqCaw==} + peerDependencies: + '@apollo/client': ^3.9.5 + '@faker-js/faker': ^7.6.0 + jest-mock-extended: ^3.0.5 + react: ^18.2.0 + peerDependenciesMeta: + '@faker-js/faker': + optional: true + jest-mock-extended: + optional: true + react: + optional: true + dependencies: + '@apollo/client': 3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) + '@lens-protocol/domain': 0.11.1 + '@lens-protocol/shared-kernel': 0.12.0 + graphql: 16.8.1 + graphql-tag: 2.12.6(graphql@16.8.1) + react: 18.2.0 + tslib: 2.6.2 + transitivePeerDependencies: + - '@jest/globals' + - jest-when + - wait-for-expect + dev: false + + /@lens-protocol/api-bindings@0.12.3(@apollo/client@3.9.11)(react@18.2.0): resolution: {integrity: sha512-lHkdQjU/iD2U6bBsk8SB4N30EWzyxufibkJn6ZXWVzcFBKV7gcQzNEBK9R0OhWc8VSu6mwM11X59Xc10DbcliA==} peerDependencies: '@apollo/client': ^3.9.5 @@ -8701,7 +8728,7 @@ packages: react: optional: true dependencies: - '@apollo/client': 3.9.5(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) + '@apollo/client': 3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) '@lens-protocol/domain': 0.12.0 '@lens-protocol/shared-kernel': 0.12.0 graphql: 16.8.1 @@ -8924,6 +8951,41 @@ packages: uuid: 9.0.1 zod: 3.22.4 + /@lens-protocol/react-web@2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-LbGka8T4GO9H6Fr19INy6y0hvw9Pn+kPS6uhELbTI/zcFMzGEWJfmis5U7Xnwp44BGHe9KIgo2vA00otc5nfGw==} + peerDependencies: + '@types/react': ^18.0.0 + '@xmtp/react-sdk': ^3.0.0 + react: ^18.2.0 + peerDependenciesMeta: + '@types/react': + optional: true + '@xmtp/react-sdk': + optional: true + react: + optional: true + dependencies: + '@lens-protocol/domain': 0.11.1 + '@lens-protocol/react': 2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) + '@lens-protocol/shared-kernel': 0.12.0 + '@lens-protocol/storage': 0.8.1 + '@types/react': 18.2.79 + react: 18.2.0 + tslib: 2.6.2 + transitivePeerDependencies: + - '@faker-js/faker' + - '@jest/globals' + - '@lens-protocol/metadata' + - bufferutil + - graphql-ws + - jest-mock-extended + - jest-when + - react-dom + - subscriptions-transport-ws + - utf-8-validate + - wait-for-expect + dev: false + /@lens-protocol/react-web@2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-9DdrMRNSr79iYx5a/DAZyPuvW+itSyruXGzmQ3hq3BpA51LeJ7aWfMZWCMsk/6NOdTqiusJSLiVCijkUO/x2uA==} peerDependencies: @@ -8958,6 +9020,58 @@ packages: - wait-for-expect dev: false + /@lens-protocol/react@2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-3C2u5aa8UwgyqhMbwGFDGHqOvUZMcMwWMopDu6L5hDFNmfkN08rN16mFD1f9HXfJsDiHAb6zzfUe4yvankla0A==} + peerDependencies: + '@lens-protocol/metadata': ^1.0.0 + '@types/react': ^18.0.0 + react: ^18.2.0 + peerDependenciesMeta: + '@lens-protocol/metadata': + optional: true + '@types/react': + optional: true + react: + optional: true + dependencies: + '@apollo/client': 3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) + '@ethersproject/abstract-signer': 5.7.0 + '@ethersproject/address': 5.7.0 + '@ethersproject/bignumber': 5.7.0 + '@ethersproject/bytes': 5.7.0 + '@ethersproject/constants': 5.7.0 + '@ethersproject/contracts': 5.7.0 + '@ethersproject/hash': 5.7.0 + '@ethersproject/logger': 5.7.0 + '@ethersproject/providers': 5.7.2 + '@ethersproject/wallet': 5.7.0 + '@lens-protocol/api-bindings': 0.12.0(@apollo/client@3.9.11)(react@18.2.0) + '@lens-protocol/blockchain-bindings': 0.10.1 + '@lens-protocol/domain': 0.11.1 + '@lens-protocol/shared-kernel': 0.12.0 + '@lens-protocol/storage': 0.8.1 + '@types/react': 18.2.79 + eth-rpc-errors: 4.0.3 + graphql: 16.8.1 + jwt-decode: 3.1.2 + lodash: 4.17.21 + react: 18.2.0 + tslib: 2.6.2 + uuid: 9.0.1 + zod: 3.22.4 + transitivePeerDependencies: + - '@faker-js/faker' + - '@jest/globals' + - bufferutil + - graphql-ws + - jest-mock-extended + - jest-when + - react-dom + - subscriptions-transport-ws + - utf-8-validate + - wait-for-expect + dev: false + /@lens-protocol/react@2.3.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-cl8JchlUJT/RbHIYaBZ+8oQfbUI/TkSXVjzPoZ1a5QyDeTjrVHcAHzpDMS4R0J+Set9I1VMVFLnOovcQMfwdtg==} peerDependencies: @@ -8969,7 +9083,7 @@ packages: react: optional: true dependencies: - '@apollo/client': 3.9.5(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) + '@apollo/client': 3.9.11(@types/react@18.2.79)(graphql@16.8.1)(react-dom@18.2.0)(react@18.2.0) '@ethersproject/abstract-signer': 5.7.0 '@ethersproject/address': 5.7.0 '@ethersproject/bignumber': 5.7.0 @@ -8980,7 +9094,7 @@ packages: '@ethersproject/logger': 5.7.0 '@ethersproject/providers': 5.7.2 '@ethersproject/wallet': 5.7.0 - '@lens-protocol/api-bindings': 0.12.3(@apollo/client@3.9.5)(react@18.2.0) + '@lens-protocol/api-bindings': 0.12.3(@apollo/client@3.9.11)(react@18.2.0) '@lens-protocol/blockchain-bindings': 0.10.2 '@lens-protocol/domain': 0.12.0 '@lens-protocol/metadata': 1.1.6(zod@3.22.4) @@ -9026,6 +9140,25 @@ packages: zod: 3.22.4 dev: false + /@lens-protocol/wagmi@4.1.0(@lens-protocol/react-web@2.1.0)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19): + resolution: {integrity: sha512-fQHP4sktoIHxSUK1yh+tjJe2UqUW27KwTuppqPaXqOvouh5V8iQ5qjbUfNmX37Y8iapaAibulx8dzzesxaOXAA==} + peerDependencies: + '@lens-protocol/react-web': 2.1.0 + '@tanstack/react-query': '>=5.0.0' + viem: 2.x + wagmi: ^2.5.6 + dependencies: + '@ethersproject/providers': 5.7.2 + '@lens-protocol/react-web': 2.1.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0) + '@lens-protocol/shared-kernel': 0.12.0 + '@tanstack/react-query': 5.29.2(react@18.2.0) + viem: 2.9.16(typescript@5.4.5) + wagmi: 2.5.19(@tanstack/react-query@5.29.2)(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5)(viem@2.9.16) + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: false + /@lens-protocol/wagmi@4.1.4(@lens-protocol/react-web@2.3.1)(@tanstack/react-query@5.29.2)(viem@2.9.16)(wagmi@2.5.19): resolution: {integrity: sha512-T6zr56C+0o47ZNTj1SSTs5KyFZ6YVJWhxbxX0pQQTHfwZXEQBisGjGZWaTMXw66mqQz3gpk5K+s6Qix3hQa8kQ==} peerDependencies: @@ -10338,8 +10471,8 @@ packages: zod: 3.22.4 dev: false - /@privy-io/js-sdk-core@0.23.6: - resolution: {integrity: sha512-lX4/h5shrJOR0Cq+NGSAvJo7P8QD39UhmM0AWAm7TZxTta3gDwQLnHFulCr1XV/6IYS1u9zI3x+EOa07ti5CLQ==} + /@privy-io/js-sdk-core@0.23.7: + resolution: {integrity: sha512-+2vGRRS9NSZ5pMG9BYdwusIgrCUnqBFsDn0xxwUUnruPXyg08D4FD2L56vF9/Mn9qRROZizrq93fuw6b5o6ivA==} dependencies: '@ethersproject/abstract-signer': 5.7.0 '@ethersproject/bignumber': 5.7.0 @@ -10348,7 +10481,7 @@ packages: '@ethersproject/transactions': 5.7.0 '@ethersproject/units': 5.7.0 '@privy-io/api-base': 1.2.2 - '@privy-io/public-api': 2.6.3 + '@privy-io/public-api': 2.7.0 eventemitter3: 5.0.1 fetch-retry: 5.0.6 jose: 4.15.9 @@ -10360,8 +10493,8 @@ packages: - utf-8-validate dev: false - /@privy-io/public-api@2.6.3: - resolution: {integrity: sha512-VjoU8pBstn0JfpzbmnNiRknWRclMDISRW6YWCt97dyTbZg67KML3o1lb9P/79edNVg33R4re9vcbePz9eUpEww==} + /@privy-io/public-api@2.7.0: + resolution: {integrity: sha512-vjsVfDHNzQw2Rz1cPEa3yT9EmTxiCRONc68XIvG6lML+AJd3k6+RWm/kNQt34o2bp5Wb41emhPPwhUpS27yfDg==} engines: {node: '>=18.0.0', npm: '>=8.0.0'} dependencies: '@privy-io/api-base': 1.2.2 @@ -10373,8 +10506,8 @@ packages: - utf-8-validate dev: false - /@privy-io/react-auth@1.74.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5): - resolution: {integrity: sha512-hJMwVqwW3xQr/Xj2uKBHz/7cHDdKnmrcTtJu2fm8g3GDbK2tRVRqNiJ9K3W6eHzv+iGgQJB4P2qcXgPha/5kNw==} + /@privy-io/react-auth@1.75.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5): + resolution: {integrity: sha512-J+uh795lfTN8IczdBJD/WOl9cE1LILyjK9N8R1W3aXEFirzMCpEk74ymrRu+DF31rOLyIwHxgp8bwTK4jQ82ow==} peerDependencies: react: ^18 react-dom: ^18 @@ -10394,12 +10527,12 @@ packages: '@ethersproject/transactions': 5.7.0 '@ethersproject/units': 5.7.0 '@headlessui/react': 1.7.19(react-dom@18.2.0)(react@18.2.0) - '@heroicons/react': 2.1.4(react@18.2.0) + '@heroicons/react': 2.1.5(react@18.2.0) '@marsidev/react-turnstile': 0.4.1(react-dom@18.2.0)(react@18.2.0) '@metamask/eth-sig-util': 6.0.2 - '@privy-io/js-sdk-core': 0.23.6 + '@privy-io/js-sdk-core': 0.23.7 '@simplewebauthn/browser': 9.0.1 - '@walletconnect/ethereum-provider': 2.13.3(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0) + '@walletconnect/ethereum-provider': 2.14.0(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0) '@walletconnect/modal': 2.6.2(@types/react@18.2.79)(react@18.2.0) base64-js: 1.5.1 dotenv: 16.4.5 @@ -10422,6 +10555,7 @@ packages: styled-components: 5.3.11(react-dom@18.2.0)(react@18.2.0) tinycolor2: 1.6.0 uuid: 9.0.1 + viem: 2.17.5(typescript@5.4.5) web3-core: 1.10.4(encoding@0.1.13) web3-core-helpers: 1.10.3 transitivePeerDependencies: @@ -10446,10 +10580,11 @@ packages: - typescript - uWebSockets.js - utf-8-validate + - zod dev: false - /@privy-io/wagmi@0.2.10(@privy-io/react-auth@1.74.1)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19): - resolution: {integrity: sha512-tU8ZMuLaGasvct8KmYpL/oPyvwiLh5n3FA2Se39BhGxKCK/OcFDGu1VxHdkc1WCx0DB0DCNNZJeJTimCke5Xpw==} + /@privy-io/wagmi@0.2.12(@privy-io/react-auth@1.75.0)(react-dom@18.2.0)(react@18.2.0)(viem@2.9.16)(wagmi@2.5.19): + resolution: {integrity: sha512-MJQVnrsA1BVT4SUOLCGiDB58qj0JvEaXBSle7R8yTXtmLuEfsRsXZTA9b0CKMe9wGUQfX4U6BligLBZBhreT0Q==} peerDependencies: '@privy-io/react-auth': ^1.64.1 react: ^18 @@ -10460,7 +10595,7 @@ packages: react: optional: true dependencies: - '@privy-io/react-auth': 1.74.1(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) + '@privy-io/react-auth': 1.75.0(@types/react@18.2.79)(react-dom@18.2.0)(react@18.2.0)(typescript@5.4.5) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) viem: 2.9.16(typescript@5.4.5) @@ -12862,6 +12997,14 @@ packages: '@noble/hashes': 1.3.3 '@scure/base': 1.1.6 + /@scure/bip32@1.4.0: + resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} + dependencies: + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@scure/base': 1.1.6 + dev: false + /@scure/bip39@1.1.0: resolution: {integrity: sha512-pwrPOS16VeTKg98dYXQyIjJEcWfz7/1YJIwxUEPFfQPtc86Ym/1sVgQ2RLoD43AazMk2l/unK4ITySSpW2+82w==} dependencies: @@ -12880,6 +13023,13 @@ packages: '@noble/hashes': 1.3.3 '@scure/base': 1.1.6 + /@scure/bip39@1.3.0: + resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} + dependencies: + '@noble/hashes': 1.4.0 + '@scure/base': 1.1.6 + dev: false + /@sideway/address@4.1.4: resolution: {integrity: sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw==} dependencies: @@ -13141,8 +13291,8 @@ packages: react: 18.2.0 dev: false - /@tanstack/react-virtual@3.8.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-dP5a7giEM4BQWLJ7K07ToZv8rF51mzbrBMkf0scg1QNYuFx3utnPUBPUHdzaowZhIez1K2XS78amuzD+YGRA5Q==} + /@tanstack/react-virtual@3.8.3(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-9ICwbDUUzN99CJIGc373i8NLoj6zFTKI2Hlcmo0+lCSAhPQ5mxq4dGOMKmLYoEFyHcGQ64Bd6ZVbnPpM6lNK5w==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -13150,13 +13300,13 @@ packages: react: optional: true dependencies: - '@tanstack/virtual-core': 3.8.1 + '@tanstack/virtual-core': 3.8.3 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@tanstack/virtual-core@3.8.1: - resolution: {integrity: sha512-uNtAwenT276M9QYCjTBoHZ8X3MUeCRoGK59zPi92hMIxdfS9AyHjkDWJ94WroDxnv48UE+hIeo21BU84jKc8aQ==} + /@tanstack/virtual-core@3.8.3: + resolution: {integrity: sha512-vd2A2TnM5lbnWZnHi9B+L2gPtkSeOtJOAw358JqokIH1+v2J7vUAzFVPwB/wrye12RFOurffXu33plm4uQ+JBQ==} dev: false /@testing-library/dom@8.20.1: @@ -14117,7 +14267,7 @@ packages: '@walletconnect/jsonrpc-ws-connection': 1.0.14 '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.23.1) '@walletconnect/logger': 2.1.2 - '@walletconnect/relay-api': 1.0.10 + '@walletconnect/relay-api': 1.0.9 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 @@ -14195,7 +14345,7 @@ packages: '@walletconnect/jsonrpc-ws-connection': 1.0.14 '@walletconnect/keyvaluestorage': 1.1.1(@react-native-async-storage/async-storage@1.23.1) '@walletconnect/logger': 2.1.2 - '@walletconnect/relay-api': 1.0.10 + '@walletconnect/relay-api': 1.0.9 '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 @@ -14224,8 +14374,8 @@ packages: - uWebSockets.js - utf-8-validate - /@walletconnect/core@2.13.3(encoding@0.1.13): - resolution: {integrity: sha512-TdF+rC6rONJGyOUtt/nLkbyQWjnkwbD3kXq3ZA0Q7+tYtmSjTDE4wbArlLbHIbtf69g+9/DpEVEQimWWcEOn2g==} + /@walletconnect/core@2.14.0(encoding@0.1.13): + resolution: {integrity: sha512-E/dgBM9q3judXnTfZQ5ILvDpeSdDpabBLsXtYXa3Nyc26cfNplfLJ2nXm9FgtTdhM1nZ7yx4+zDPiXawBRZl2g==} dependencies: '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-provider': 1.0.14 @@ -14238,8 +14388,8 @@ packages: '@walletconnect/relay-auth': 1.0.4 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.13.3 - '@walletconnect/utils': 2.13.3 + '@walletconnect/types': 2.14.0 + '@walletconnect/utils': 2.14.0 events: 3.3.0 isomorphic-unfetch: 3.1.0(encoding@0.1.13) lodash.isequal: 4.5.0 @@ -14307,9 +14457,9 @@ packages: /@walletconnect/ethereum-provider@2.11.2: resolution: {integrity: sha512-BUDqee0Uy2rCZVkW5Ao3q6Ado/3fePYnFdryVF+YL6bPhj+xQZ5OfKodl+uvs7Rwq++O5wTX2RqOTzpW7+v+Mg==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) - '@walletconnect/jsonrpc-provider': 1.0.14 - '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-http-connection': 1.0.7 + '@walletconnect/jsonrpc-provider': 1.0.13 + '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2 '@walletconnect/sign-client': 2.11.2 @@ -14342,9 +14492,9 @@ packages: /@walletconnect/ethereum-provider@2.11.2(@types/react@18.2.38)(react@18.2.0): resolution: {integrity: sha512-BUDqee0Uy2rCZVkW5Ao3q6Ado/3fePYnFdryVF+YL6bPhj+xQZ5OfKodl+uvs7Rwq++O5wTX2RqOTzpW7+v+Mg==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) - '@walletconnect/jsonrpc-provider': 1.0.14 - '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-http-connection': 1.0.7 + '@walletconnect/jsonrpc-provider': 1.0.13 + '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2(@types/react@18.2.38)(react@18.2.0) '@walletconnect/sign-client': 2.11.2 @@ -14376,9 +14526,9 @@ packages: /@walletconnect/ethereum-provider@2.11.2(@types/react@18.2.79)(react@18.2.0): resolution: {integrity: sha512-BUDqee0Uy2rCZVkW5Ao3q6Ado/3fePYnFdryVF+YL6bPhj+xQZ5OfKodl+uvs7Rwq++O5wTX2RqOTzpW7+v+Mg==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) - '@walletconnect/jsonrpc-provider': 1.0.14 - '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-http-connection': 1.0.7 + '@walletconnect/jsonrpc-provider': 1.0.13 + '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2(@types/react@18.2.79)(react@18.2.0) '@walletconnect/sign-client': 2.11.2 @@ -14408,18 +14558,18 @@ packages: - utf-8-validate dev: false - /@walletconnect/ethereum-provider@2.13.3(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0): - resolution: {integrity: sha512-gThsYguFJ7XZp18GP23W6TooQaS6XlF4faFDXPCQVqlWjzEatkkQ2R6Hhv4a4qk4D21qNXirCFnI59Xhbj0KJQ==} + /@walletconnect/ethereum-provider@2.14.0(@types/react@18.2.79)(encoding@0.1.13)(react@18.2.0): + resolution: {integrity: sha512-Cc2/DCn85VciA10BrsNWFM//3VC1D8yjwrjfUKjGndLPDz0YIdAxTgYZViIlMjE0lzQC/DMvPYEAnGfW0O1Bwg==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/modal': 2.6.2(@types/react@18.2.79)(react@18.2.0) - '@walletconnect/sign-client': 2.13.3(encoding@0.1.13) - '@walletconnect/types': 2.13.3 - '@walletconnect/universal-provider': 2.13.3(encoding@0.1.13) - '@walletconnect/utils': 2.13.3 + '@walletconnect/sign-client': 2.14.0(encoding@0.1.13) + '@walletconnect/types': 2.14.0 + '@walletconnect/universal-provider': 2.14.0(encoding@0.1.13) + '@walletconnect/utils': 2.14.0 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -14473,7 +14623,6 @@ packages: tslib: 1.14.1 transitivePeerDependencies: - encoding - dev: false /@walletconnect/jsonrpc-http-connection@1.0.8(encoding@0.1.13): resolution: {integrity: sha512-+B7cRuaxijLeFDJUq5hAzNyef3e3tBDIxyaCNmFtjwnod5AGis3RToNqzFU33vpVcxFhofkpE7Cx+5MYejbMGw==} @@ -14484,6 +14633,7 @@ packages: events: 3.3.0 transitivePeerDependencies: - encoding + dev: false /@walletconnect/jsonrpc-provider@1.0.13: resolution: {integrity: sha512-K73EpThqHnSR26gOyNEL+acEex3P7VWZe6KE12ZwKzAt2H4e5gldZHbjsu2QR9cLeJ8AXuO7kEMOIcRv1QEc7g==} @@ -14498,6 +14648,7 @@ packages: '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/safe-json': 1.0.2 events: 3.3.0 + dev: false /@walletconnect/jsonrpc-types@1.0.3: resolution: {integrity: sha512-iIQ8hboBl3o5ufmJ8cuduGad0CQm3ZlsHtujv9Eu16xq89q+BG7Nh5VLxxUgmtpnrePgFkTwXirCTkwJH1v+Yw==} @@ -14510,12 +14661,13 @@ packages: dependencies: events: 3.3.0 keyvaluestorage-interface: 1.0.0 + dev: false /@walletconnect/jsonrpc-utils@1.0.8: resolution: {integrity: sha512-vdeb03bD8VzJUL6ZtzRYsFMq1eZQcM3EAzT0a3st59dyLfJ0wq+tKMpmGH7HlB7waD858UWgfIcudbPFsbzVdw==} dependencies: '@walletconnect/environment': 1.0.1 - '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-types': 1.0.3 tslib: 1.14.1 /@walletconnect/jsonrpc-ws-connection@1.0.14: @@ -14705,13 +14857,13 @@ packages: resolution: {integrity: sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw==} dependencies: '@walletconnect/jsonrpc-types': 1.0.4 + dev: false /@walletconnect/relay-api@1.0.9: resolution: {integrity: sha512-Q3+rylJOqRkO1D9Su0DPE3mmznbAalYapJ9qmzDgK28mYF9alcP3UwG/og5V7l7CFOqzCLi7B8BvcBUrpDj0Rg==} dependencies: - '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-types': 1.0.3 tslib: 1.14.1 - dev: false /@walletconnect/relay-auth@1.0.4: resolution: {integrity: sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==} @@ -14822,17 +14974,17 @@ packages: - uWebSockets.js - utf-8-validate - /@walletconnect/sign-client@2.13.3(encoding@0.1.13): - resolution: {integrity: sha512-3Pcq6trHWdBZn5X0VUFQ3zJaaqyEbMW9WNVKcZ2SakIpQAwySd08Mztvq48G98jfucdgP3tjGPbBvzHX9vJX7w==} + /@walletconnect/sign-client@2.14.0(encoding@0.1.13): + resolution: {integrity: sha512-UrB3S3eLjPYfBLCN3WJ5u7+WcZ8kFMe/QIDqLf76Jk6TaLwkSUy563LvnSw4KW/kA+/cY1KBSdUDfX1tzYJJXg==} dependencies: - '@walletconnect/core': 2.13.3(encoding@0.1.13) + '@walletconnect/core': 2.14.0(encoding@0.1.13) '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.13.3 - '@walletconnect/utils': 2.13.3 + '@walletconnect/types': 2.14.0 + '@walletconnect/utils': 2.14.0 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -14936,8 +15088,8 @@ packages: - ioredis - uWebSockets.js - /@walletconnect/types@2.13.3: - resolution: {integrity: sha512-9UdtLoQqwGFfepCPprUAXeUbKg9zyDarPRmEJVco51OWXHCOpvRgroWk54fQHDhCUIfDELjObY6XNAzNrmNYUA==} + /@walletconnect/types@2.14.0: + resolution: {integrity: sha512-vevMi4jZLJ55vLuFOicQFmBBbLyb+S0sZS4IsaBdZkQflfGIq34HkN13c/KPl4Ye0aoR4/cUcUSitmGIzEQM5g==} dependencies: '@walletconnect/events': 1.0.1 '@walletconnect/heartbeat': 1.2.2 @@ -14965,9 +15117,9 @@ packages: /@walletconnect/universal-provider@2.10.6: resolution: {integrity: sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) + '@walletconnect/jsonrpc-http-connection': 1.0.7 '@walletconnect/jsonrpc-provider': 1.0.13 - '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/sign-client': 2.10.6 @@ -15029,9 +15181,9 @@ packages: /@walletconnect/universal-provider@2.11.2: resolution: {integrity: sha512-cNtIn5AVoDxKAJ4PmB8m5adnf5mYQMUamEUPKMVvOPscfGtIMQEh9peKsh2AN5xcRVDbgluC01Id545evFyymw==} dependencies: - '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) + '@walletconnect/jsonrpc-http-connection': 1.0.7 '@walletconnect/jsonrpc-provider': 1.0.13 - '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 '@walletconnect/sign-client': 2.11.2 @@ -15057,17 +15209,17 @@ packages: - uWebSockets.js - utf-8-validate - /@walletconnect/universal-provider@2.13.3(encoding@0.1.13): - resolution: {integrity: sha512-2tuV2d8AdB4Fg/uMs8IdNHrjYy1Tz1uT5kzaT8X1/wx5DHHa/oaheoY5kDZHI0L1oNIg/OlM0/ovonGIcI5ddw==} + /@walletconnect/universal-provider@2.14.0(encoding@0.1.13): + resolution: {integrity: sha512-Mr8uoTmD6H0+Hh+3gxBu4l3T2uP/nNPR02sVtwEujNum++F727mMk+ifPRIpkVo21V/bvXFEy8sHTs5hqyq5iA==} dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8(encoding@0.1.13) '@walletconnect/jsonrpc-provider': 1.0.14 '@walletconnect/jsonrpc-types': 1.0.4 '@walletconnect/jsonrpc-utils': 1.0.8 '@walletconnect/logger': 2.1.2 - '@walletconnect/sign-client': 2.13.3(encoding@0.1.13) - '@walletconnect/types': 2.13.3 - '@walletconnect/utils': 2.13.3 + '@walletconnect/sign-client': 2.14.0(encoding@0.1.13) + '@walletconnect/types': 2.14.0 + '@walletconnect/utils': 2.14.0 events: 3.3.0 transitivePeerDependencies: - '@azure/app-configuration' @@ -15097,7 +15249,7 @@ packages: '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.10 + '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.10.6 @@ -15131,7 +15283,7 @@ packages: '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.10 + '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.11.0(@react-native-async-storage/async-storage@1.23.1) @@ -15165,7 +15317,7 @@ packages: '@stablelib/random': 1.0.2 '@stablelib/sha256': 1.0.1 '@stablelib/x25519': 1.0.3 - '@walletconnect/relay-api': 1.0.10 + '@walletconnect/relay-api': 1.0.9 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 '@walletconnect/types': 2.11.2 @@ -15190,8 +15342,8 @@ packages: - ioredis - uWebSockets.js - /@walletconnect/utils@2.13.3: - resolution: {integrity: sha512-hjyyNhnhTCezGNr6OCfKRzqRsiak+p+YP57iRo1Tsf222fsj/9JD++MP97YiDwc4e4xXaZp/boiLB+8hJHsCog==} + /@walletconnect/utils@2.14.0: + resolution: {integrity: sha512-vRVomYQEtEAyCK2c5bzzEvtgxaGGITF8mWuIL+WYSAMyEJLY97mirP2urDucNwcUczwxUgI+no9RiNFbUHreQQ==} dependencies: '@stablelib/chacha20poly1305': 1.0.1 '@stablelib/hkdf': 1.0.1 @@ -15201,7 +15353,7 @@ packages: '@walletconnect/relay-api': 1.0.10 '@walletconnect/safe-json': 1.0.2 '@walletconnect/time': 1.0.2 - '@walletconnect/types': 2.13.3 + '@walletconnect/types': 2.14.0 '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata': 1.0.1 detect-browser: 5.3.0 @@ -15471,6 +15623,20 @@ packages: typescript: 5.4.5 dev: false + /abitype@1.0.5(typescript@5.4.5): + resolution: {integrity: sha512-YzDhti7cjlfaBhHutMaboYB21Ha3rXR9QTkNJFzYC4kC8YclaiwPBBBJY8ejFdu2wnJeZCVZSMlQJ7fi8S6hsw==} + peerDependencies: + typescript: '>=5.0.4' + zod: ^3 >=3.22.0 + peerDependenciesMeta: + typescript: + optional: true + zod: + optional: true + dependencies: + typescript: 5.4.5 + dev: false + /abort-controller@3.0.0: resolution: {integrity: sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==} engines: {node: '>=6.5'} @@ -17062,7 +17228,7 @@ packages: engines: {node: '>=6.14.2'} requiresBuild: true dependencies: - node-gyp-build: 4.8.0 + node-gyp-build: 4.7.0 /builtin-modules@3.3.0: resolution: {integrity: sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==} @@ -17674,7 +17840,7 @@ packages: - supports-color /concat-map@0.0.1: - resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} requiresBuild: true /connect@3.7.0: @@ -18049,7 +18215,7 @@ packages: /d@1.0.1: resolution: {integrity: sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==} dependencies: - es5-ext: 0.10.64 + es5-ext: 0.10.62 type: 1.2.0 /damerau-levenshtein@1.0.8: @@ -18831,7 +18997,7 @@ packages: /es-get-iterator@1.1.3: resolution: {integrity: sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==} dependencies: - call-bind: 1.0.7 + call-bind: 1.0.5 get-intrinsic: 1.2.2 has-symbols: 1.0.3 is-arguments: 1.1.1 @@ -18916,6 +19082,15 @@ packages: is-date-object: 1.0.5 is-symbol: 1.0.4 + /es5-ext@0.10.62: + resolution: {integrity: sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA==} + engines: {node: '>=0.10'} + requiresBuild: true + dependencies: + es6-iterator: 2.0.3 + es6-symbol: 3.1.3 + next-tick: 1.1.0 + /es5-ext@0.10.64: resolution: {integrity: sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg==} engines: {node: '>=0.10'} @@ -18925,19 +19100,20 @@ packages: es6-symbol: 3.1.3 esniff: 2.0.1 next-tick: 1.1.0 + dev: false /es6-iterator@2.0.3: resolution: {integrity: sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g==} dependencies: d: 1.0.1 - es5-ext: 0.10.64 + es5-ext: 0.10.62 es6-symbol: 3.1.3 /es6-map@0.1.5: resolution: {integrity: sha512-mz3UqCh0uPCIqsw1SSAkB/p0rOzF/M0V++vyN7JqlPtSW/VsYgQBvVvqMLmfBuyMzTpLnNqi6JmcSizs4jy19A==} dependencies: d: 1.0.1 - es5-ext: 0.10.64 + es5-ext: 0.10.62 es6-iterator: 2.0.3 es6-set: 0.1.6 es6-symbol: 3.1.3 @@ -18957,7 +19133,7 @@ packages: engines: {node: '>=0.12'} dependencies: d: 1.0.1 - es5-ext: 0.10.64 + es5-ext: 0.10.62 es6-iterator: 2.0.3 es6-symbol: 3.1.3 event-emitter: 0.3.5 @@ -18974,7 +19150,7 @@ packages: resolution: {integrity: sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA==} dependencies: d: 1.0.1 - es5-ext: 0.10.64 + es5-ext: 0.10.62 es6-iterator: 2.0.3 es6-symbol: 3.1.3 dev: true @@ -19583,6 +19759,7 @@ packages: es5-ext: 0.10.64 event-emitter: 0.3.5 type: 2.7.2 + dev: false /espree@9.6.1: resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==} @@ -19847,7 +20024,7 @@ packages: resolution: {integrity: sha512-D9rRn9y7kLPnJ+hMq7S/nhvoKwwvVJahBi2BPmx3bvbsEdK3W9ii8cBSGjP+72/LnM4n6fo3+dkCX5FeTQruXA==} dependencies: d: 1.0.1 - es5-ext: 0.10.64 + es5-ext: 0.10.62 /event-target-shim@5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} @@ -21505,8 +21682,8 @@ packages: resolution: {integrity: sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 + call-bind: 1.0.5 + has-tostringtag: 1.0.0 /is-array-buffer@3.0.2: resolution: {integrity: sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==} @@ -21529,7 +21706,7 @@ packages: resolution: {integrity: sha512-Y1JXKrfykRJGdlDwdKlLpLyMIiWqWvuSd17TvZk68PLAOGOoF4Xyav1z0Xhoi+gCYjZVeC5SI+hYFOfvXmGRCA==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.2 + has-tostringtag: 1.0.0 dev: true /is-bigint@1.0.4: @@ -21557,8 +21734,8 @@ packages: resolution: {integrity: sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==} engines: {node: '>= 0.4'} dependencies: - call-bind: 1.0.7 - has-tostringtag: 1.0.2 + call-bind: 1.0.5 + has-tostringtag: 1.0.0 /is-buffer@1.1.6: resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} @@ -21611,7 +21788,7 @@ packages: resolution: {integrity: sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.2 + has-tostringtag: 1.0.0 /is-descriptor@0.1.7: resolution: {integrity: sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==} @@ -21680,7 +21857,7 @@ packages: /is-finalizationregistry@1.0.2: resolution: {integrity: sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==} dependencies: - call-bind: 1.0.7 + call-bind: 1.0.5 dev: true /is-fullwidth-code-point@1.0.0: @@ -21707,7 +21884,7 @@ packages: resolution: {integrity: sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.2 + has-tostringtag: 1.0.0 /is-glob@2.0.1: resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==} @@ -21780,7 +21957,7 @@ packages: resolution: {integrity: sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==} engines: {node: '>= 0.4'} dependencies: - has-tostringtag: 1.0.2 + has-tostringtag: 1.0.0 /is-number@3.0.0: resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==} @@ -21937,7 +22114,7 @@ packages: /is-weakset@2.0.2: resolution: {integrity: sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg==} dependencies: - call-bind: 1.0.7 + call-bind: 1.0.5 get-intrinsic: 1.2.2 dev: true @@ -22042,6 +22219,14 @@ packages: dependencies: ws: 8.13.0 + /isows@1.0.4(ws@8.17.1): + resolution: {integrity: sha512-hEzjY+x9u9hPmBom9IIAqdJCwNLax+xrPb51vEPpERoFlIxgmZcHzsT5jKG06nvInKOBGvReAVz80Umed5CczQ==} + peerDependencies: + ws: '*' + dependencies: + ws: 8.17.1 + dev: false + /isstream@0.1.2: resolution: {integrity: sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==} dev: true @@ -23008,7 +23193,7 @@ packages: requiresBuild: true dependencies: node-addon-api: 2.0.2 - node-gyp-build: 4.8.0 + node-gyp-build: 4.7.0 dev: true /keccak@3.0.2: @@ -23027,7 +23212,7 @@ packages: requiresBuild: true dependencies: node-addon-api: 2.0.2 - node-gyp-build: 4.8.0 + node-gyp-build: 4.7.0 readable-stream: 3.6.2 /keyv@4.5.4: @@ -24831,7 +25016,6 @@ packages: /node-gyp-build@4.7.0: resolution: {integrity: sha512-PbZERfeFdrHQOOXiAKOY0VPbykZy90ndPKk0d+CFDegTKmWp1VgOTz2xACVbr1BjCWxrQp68CXtvNsveFhqDJg==} hasBin: true - dev: true /node-gyp-build@4.8.0: resolution: {integrity: sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==} @@ -27051,8 +27235,8 @@ packages: '@types/react': 18.2.38 react: 18.2.0 - /rehackt@0.0.5(@types/react@18.2.79)(react@18.2.0): - resolution: {integrity: sha512-BI1rV+miEkaHj8zd2n+gaMgzu/fKz7BGlb4zZ6HAiY9adDmJMkaDcmuXlJFv0eyKUob+oszs3/2gdnXUrzx2Tg==} + /rehackt@0.0.6(@types/react@18.2.79)(react@18.2.0): + resolution: {integrity: sha512-l3WEzkt4ntlEc/IB3/mF6SRgNHA6zfQR7BlGOgBTOmx7IJJXojDASav+NsgXHFjHn+6RmwqsGPFgZpabWpeOdw==} peerDependencies: '@types/react': '*' react: '*' @@ -27522,7 +27706,7 @@ packages: dependencies: elliptic: 6.5.5 node-addon-api: 5.1.0 - node-gyp-build: 4.8.0 + node-gyp-build: 4.7.0 /secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} @@ -29673,7 +29857,7 @@ packages: engines: {node: '>=6.14.2'} requiresBuild: true dependencies: - node-gyp-build: 4.8.0 + node-gyp-build: 4.7.0 /utf-8-validate@5.0.7: resolution: {integrity: sha512-vLt1O5Pp+flcArHGIyKEQq883nBt8nN8tVBcoL0qUXj2XT1n7p70yGIq2VK98I5FdZ1YHc0wk/koOnHjnXWk1Q==} @@ -29715,8 +29899,8 @@ packages: inherits: 2.0.4 is-arguments: 1.1.1 is-generator-function: 1.0.10 - is-typed-array: 1.1.13 - which-typed-array: 1.1.15 + is-typed-array: 1.1.12 + which-typed-array: 1.1.13 /utils-merge@1.0.1: resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} @@ -29875,6 +30059,29 @@ packages: - zod dev: false + /viem@2.17.5(typescript@5.4.5): + resolution: {integrity: sha512-m0QIKQF1uqTFWAYNeAdhNUBFMaIs0Mwhu2VmZuXmBMkzJ0IL0ViblLH13JRwbDnOaY82KYzNhCARmfnLBWVdkA==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@adraffy/ens-normalize': 1.10.0 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@scure/bip32': 1.4.0 + '@scure/bip39': 1.3.0 + abitype: 1.0.5(typescript@5.4.5) + isows: 1.0.4(ws@8.17.1) + typescript: 5.4.5 + ws: 8.17.1 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + - zod + dev: false + /viem@2.9.16(typescript@5.2.2): resolution: {integrity: sha512-FQRfN4G7uKEUs5DYvVrH/kZmTkwcSDpTBxnadpwG1EEP8nHm57WDpSaGN7PwSPVgJ6rMo5MENT5hgnqaNTlb2w==} peerDependencies: @@ -30442,7 +30649,7 @@ packages: engines: {node: '>= 0.4'} dependencies: function.prototype.name: 1.1.6 - has-tostringtag: 1.0.2 + has-tostringtag: 1.0.0 is-async-function: 2.0.0 is-date-object: 1.0.5 is-finalizationregistry: 1.0.2 @@ -30452,7 +30659,7 @@ packages: isarray: 2.0.5 which-boxed-primitive: 1.0.2 which-collection: 1.0.1 - which-typed-array: 1.1.15 + which-typed-array: 1.1.13 dev: true /which-collection@1.0.1: @@ -30678,6 +30885,19 @@ packages: bufferutil: 4.0.8 utf-8-validate: 5.0.10 + /ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: false + /xml-formatter@2.6.1: resolution: {integrity: sha512-dOiGwoqm8y22QdTNI7A+N03tyVfBlQ0/oehAzxIZtwnFAHGeSlrfjF73YQvzSsa/Kt6+YZasKsrdu6OIpuBggw==} engines: {node: '>= 10'} From 0ef40413289dabff5bb7758e1430fd203154f5f2 Mon Sep 17 00:00:00 2001 From: Norman Xu Date: Tue, 26 Nov 2024 13:35:27 +0000 Subject: [PATCH 6/7] chore: bump node engine upper limit to support new LTS --- .changeset/thirty-apes-hear.md | 6 ++++++ packages/cli/package.json | 2 +- packages/client/package.json | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .changeset/thirty-apes-hear.md diff --git a/.changeset/thirty-apes-hear.md b/.changeset/thirty-apes-hear.md new file mode 100644 index 0000000000..da2c55c1ef --- /dev/null +++ b/.changeset/thirty-apes-hear.md @@ -0,0 +1,6 @@ +--- +"@lens-protocol/client": patch +"@lens-protocol/cli": patch +--- + +up the node engine restriction to allow new node lts ver 22 diff --git a/packages/cli/package.json b/packages/cli/package.json index 5f69b4c06f..0d0b87ede9 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -48,7 +48,7 @@ "typescript": "5.2.2" }, "engines": { - "node": ">=18 <21" + "node": ">=18 <=22" }, "prettier": "@lens-protocol/prettier-config" } diff --git a/packages/client/package.json b/packages/client/package.json index 734f1537c4..33fb0dcb70 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -97,7 +97,7 @@ "typescript": "5.2.2" }, "engines": { - "node": ">=18 <21" + "node": ">=18 <=22" }, "prettier": "@lens-protocol/prettier-config", "babel": { From 1a3605708115489c4fa03a6d59975ffccdd8d650 Mon Sep 17 00:00:00 2001 From: Cesare Naldi Date: Wed, 27 Nov 2024 20:22:41 +0100 Subject: [PATCH 7/7] chore: bumps up versions --- .changeset/thirty-apes-hear.md | 6 ------ .changeset/two-avocados-accept.md | 7 ------- packages/cli/CHANGELOG.md | 8 ++++++++ packages/cli/package.json | 2 +- packages/client/CHANGELOG.md | 6 ++++++ packages/client/package.json | 2 +- packages/react-native/CHANGELOG.md | 8 ++++++++ packages/react-native/package.json | 2 +- packages/react-web/CHANGELOG.md | 8 ++++++++ packages/react-web/package.json | 2 +- packages/react/CHANGELOG.md | 6 ++++++ packages/react/package.json | 2 +- packages/wagmi/CHANGELOG.md | 7 +++++++ packages/wagmi/package.json | 2 +- 14 files changed, 49 insertions(+), 19 deletions(-) delete mode 100644 .changeset/thirty-apes-hear.md delete mode 100644 .changeset/two-avocados-accept.md diff --git a/.changeset/thirty-apes-hear.md b/.changeset/thirty-apes-hear.md deleted file mode 100644 index da2c55c1ef..0000000000 --- a/.changeset/thirty-apes-hear.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@lens-protocol/client": patch -"@lens-protocol/cli": patch ---- - -up the node engine restriction to allow new node lts ver 22 diff --git a/.changeset/two-avocados-accept.md b/.changeset/two-avocados-accept.md deleted file mode 100644 index 88985ceeef..0000000000 --- a/.changeset/two-avocados-accept.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@lens-protocol/react-native": patch -"@lens-protocol/react-web": patch -"@lens-protocol/react": patch ---- - -**fix:** Simple Collect Module recipient is not optional when amount is specified. diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index e97c9be85c..e43cf179fe 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,13 @@ # @lens-protocol/cli +## 0.1.1 + +### Patch Changes + +- 0ef404132: **chore:** up the node engine restriction to allow new node lts ver 22 +- Updated dependencies [0ef404132] + - @lens-protocol/client@2.3.2 + ## 0.1.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 0d0b87ede9..8ea3b329e0 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@lens-protocol/cli", - "version": "0.1.0", + "version": "0.1.1", "description": "Lens CLI", "repository": { "directory": "packages/cli", diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 6822a3e297..31f3bc22d5 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,11 @@ # @lens-protocol/client +## 2.3.2 + +### Patch Changes + +- 0ef404132: **chore:** up the node engine restriction to allow new node lts ver 22 + ## 2.3.1 ### Patch Changes diff --git a/packages/client/package.json b/packages/client/package.json index 33fb0dcb70..b82cb4a006 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@lens-protocol/client", - "version": "2.3.1", + "version": "2.3.2", "description": "Low level Lens API client", "repository": { "directory": "packages/client", diff --git a/packages/react-native/CHANGELOG.md b/packages/react-native/CHANGELOG.md index e4137abb95..6ab7877d8c 100644 --- a/packages/react-native/CHANGELOG.md +++ b/packages/react-native/CHANGELOG.md @@ -1,5 +1,13 @@ # @lens-protocol/react-native +## 2.3.2 + +### Patch Changes + +- f54564545: **fix:** Simple Collect Module recipient is not optional when amount is specified. +- Updated dependencies [f54564545] + - @lens-protocol/react@2.3.2 + ## 2.3.1 ### Patch Changes diff --git a/packages/react-native/package.json b/packages/react-native/package.json index b35f4454cb..1169b8b60c 100644 --- a/packages/react-native/package.json +++ b/packages/react-native/package.json @@ -1,6 +1,6 @@ { "name": "@lens-protocol/react-native", - "version": "2.3.1", + "version": "2.3.2", "description": "Lens Protocol SDK for React Native", "main": "dist/lens-protocol-react-native.cjs.js", "module": "dist/lens-protocol-react-native.esm.js", diff --git a/packages/react-web/CHANGELOG.md b/packages/react-web/CHANGELOG.md index 764c56dc97..f52ba66f7f 100644 --- a/packages/react-web/CHANGELOG.md +++ b/packages/react-web/CHANGELOG.md @@ -1,5 +1,13 @@ # @lens-protocol/react-web +## 2.3.2 + +### Patch Changes + +- f54564545: **fix:** Simple Collect Module recipient is not optional when amount is specified. +- Updated dependencies [f54564545] + - @lens-protocol/react@2.3.2 + ## 2.3.1 ### Patch Changes diff --git a/packages/react-web/package.json b/packages/react-web/package.json index a1d8efda65..a3a1170df3 100644 --- a/packages/react-web/package.json +++ b/packages/react-web/package.json @@ -1,6 +1,6 @@ { "name": "@lens-protocol/react-web", - "version": "2.3.1", + "version": "2.3.2", "description": "Lens Protocol SDK for React web applications", "main": "dist/lens-protocol-react-web.cjs.js", "module": "dist/lens-protocol-react-web.esm.js", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 3937ad0389..cea176a8ac 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @lens-protocol/react +## 2.3.2 + +### Patch Changes + +- f54564545: **fix:** Simple Collect Module recipient is not optional when amount is specified. + ## 2.3.1 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index b700ca8fab..5d7b1f9fd2 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@lens-protocol/react", - "version": "2.3.1", + "version": "2.3.2", "description": "Interacting with the Lens Protocol API using React.", "main": "dist/lens-protocol-react.cjs.js", "module": "dist/lens-protocol-react.esm.js", diff --git a/packages/wagmi/CHANGELOG.md b/packages/wagmi/CHANGELOG.md index c91ed73402..7b18775e0f 100644 --- a/packages/wagmi/CHANGELOG.md +++ b/packages/wagmi/CHANGELOG.md @@ -1,5 +1,12 @@ # @lens-protocol/wagmi +## 4.1.5 + +### Patch Changes + +- Updated dependencies [f54564545] + - @lens-protocol/react-web@2.3.2 + ## 4.1.4 ### Patch Changes diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index 2307764c3b..69c36f923c 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@lens-protocol/wagmi", - "version": "4.1.4", + "version": "4.1.5", "description": "wagmi bindings for @lens-protocol/react", "repository": { "directory": "packages/wagmi",