From fc2468d514f69dd6d5a44a94dc6e41e939168367 Mon Sep 17 00:00:00 2001 From: Kris Urbas <605420+krzysu@users.noreply.github.com> Date: Tue, 19 Sep 2023 14:50:34 +0200 Subject: [PATCH] latest schema changes --- examples/node/package.json | 6 +- .../scripts/profile/changeProfileManagers.ts | 14 +-- .../profile/checkIfProfileManagerIsEnabled.ts | 2 +- examples/node/scripts/profile/fetchProfile.ts | 4 +- .../publication/createOnChainPostTypedData.ts | 4 +- .../client/src/graphql/fragments.generated.ts | 72 ++++++------ packages/client/src/graphql/fragments.graphql | 32 +++-- .../client/src/graphql/types.generated.ts | 44 ++----- pnpm-lock.yaml | 111 +++++++++++++++++- 9 files changed, 180 insertions(+), 109 deletions(-) diff --git a/examples/node/package.json b/examples/node/package.json index 2c60971e41..49babcb32f 100644 --- a/examples/node/package.json +++ b/examples/node/package.json @@ -19,10 +19,12 @@ "dependencies": { "@bundlr-network/client": "^0.11.9", "@lens-protocol/client": "workspace:*", + "@lens-protocol/metadata": "0.1.0-alpha.25", "dotenv": "^16.0.3", "ethers": "^5.7.2", "uuid": "^9.0.0", - "viem": "^1.0.0" + "viem": "^1.0.0", + "zod": "^3.22.0" }, "devDependencies": { "@lens-protocol/eslint-config": "workspace:*", @@ -31,7 +33,7 @@ "@types/uuid": "^9.0.0", "prettier": "^2.8.4", "ts-node": "^10.9.1", - "typescript": "^4.9.5" + "typescript": "^5.1.6" }, "prettier": "@lens-protocol/prettier-config" } diff --git a/examples/node/scripts/profile/changeProfileManagers.ts b/examples/node/scripts/profile/changeProfileManagers.ts index c0641893a2..6a3ca8a578 100644 --- a/examples/node/scripts/profile/changeProfileManagers.ts +++ b/examples/node/scripts/profile/changeProfileManagers.ts @@ -1,4 +1,4 @@ -import { ChangeProfileManagerActionType, isRelaySuccess } from '@lens-protocol/client'; +import { isRelaySuccess } from '@lens-protocol/client'; import { getAuthenticatedClientFromEthersWallet } from '../shared/getAuthenticatedClient'; import { setupWallet } from '../shared/setupWallet'; @@ -9,12 +9,12 @@ async function main() { const typedDataResult = await lensClient.profile.createChangeProfileManagersTypedData({ approveLensManager: true, - changeManagers: [ - { - action: ChangeProfileManagerActionType.Add, - address: '0x0000000000', - }, - ], + // changeManagers: [ + // { + // action: ChangeProfileManagerActionType.Add, + // address: '0x0000000000', + // }, + // ], }); const { id, typedData } = typedDataResult.unwrap(); diff --git a/examples/node/scripts/profile/checkIfProfileManagerIsEnabled.ts b/examples/node/scripts/profile/checkIfProfileManagerIsEnabled.ts index 7f890e5c93..dcb08fe95e 100644 --- a/examples/node/scripts/profile/checkIfProfileManagerIsEnabled.ts +++ b/examples/node/scripts/profile/checkIfProfileManagerIsEnabled.ts @@ -13,7 +13,7 @@ async function main() { forProfileId: profileId, }); - if (profile.sponsor) { + if (profile.lensManager) { console.log('Profile manager is enabled'); } else { console.log('Profile manager is disabled'); diff --git a/examples/node/scripts/profile/fetchProfile.ts b/examples/node/scripts/profile/fetchProfile.ts index add952e18b..3155c704a7 100644 --- a/examples/node/scripts/profile/fetchProfile.ts +++ b/examples/node/scripts/profile/fetchProfile.ts @@ -7,14 +7,14 @@ async function main() { // by id const profileById = await lensClient.profile.fetch({ - forProfileId: '0x0635', + forProfileId: '0x01', }); console.log(`Profile fetched by id: `, { id: profileById.id, handle: profileById.handle }); // by handle const profileByHandle = await lensClient.profile.fetch({ - forHandle: 'lensprotocol.test', + forHandle: 'test/@firstprofile', }); console.log(`Profile fetched by handle: `, { diff --git a/examples/node/scripts/publication/createOnChainPostTypedData.ts b/examples/node/scripts/publication/createOnChainPostTypedData.ts index 75b9c23685..b5a11fff71 100644 --- a/examples/node/scripts/publication/createOnChainPostTypedData.ts +++ b/examples/node/scripts/publication/createOnChainPostTypedData.ts @@ -7,8 +7,10 @@ async function main() { const wallet = setupWallet(); const client = await getAuthenticatedClientFromEthersWallet(wallet); + const contentURI = 'https://arweave.net/Ff8hn9iT0RXG3S_l0_AbYRb1OzY-4WS9QDRsEHBQpgw'; // await uploadWithBundlr(metadata); + const resultTypedData = await client.publication.createOnchainPostTypedData({ - contentURI: 'ipfs://Qm...', // or arweave + contentURI, referenceModule: { followerOnlyReferenceModule: false, // anybody can comment or mirror }, diff --git a/packages/client/src/graphql/fragments.generated.ts b/packages/client/src/graphql/fragments.generated.ts index 04c79cce0e..22bfb7af54 100644 --- a/packages/client/src/graphql/fragments.generated.ts +++ b/packages/client/src/graphql/fragments.generated.ts @@ -41,27 +41,27 @@ export type NetworkAddressFragment = { address: string; chainId: string }; export type ImageFragment = { uri: string; - mimeType: Types.ImageMimeType | null; + mimeType: string | null; width: number | null; height: number | null; }; -export type VideoFragment = { uri: string; mimeType: Types.VideoMimeType | null }; +export type VideoFragment = { uri: string; mimeType: string | null }; export type VideoSetFragment = { raw: VideoFragment; optimized: VideoFragment | null }; -export type EncryptableVideoFragment = { mimeType: Types.VideoMimeType | null; uri: string }; +export type EncryptableVideoFragment = { mimeType: string | null; uri: string }; export type EncryptableVideoSetFragment = { raw: EncryptableVideoFragment; optimized: VideoFragment | null; }; -export type AudioFragment = { uri: string; mimeType: Types.AudioMimeType | null }; +export type AudioFragment = { uri: string; mimeType: string | null }; export type AudioSetFragment = { raw: AudioFragment; optimized: AudioFragment | null }; -export type EncryptableAudioFragment = { mimeType: Types.AudioMimeType | null; uri: string }; +export type EncryptableAudioFragment = { mimeType: string | null; uri: string }; export type EncryptableAudioSetFragment = { raw: EncryptableAudioFragment; @@ -171,17 +171,17 @@ export type SimpleCollectOpenActionSettingsFragment = { recipient: string; referralFee: number; followerOnly: boolean; - collectLimitOptional: string | null; - endTimestampOptional: string | null; + collectLimit: string | null; + endsAt: string | null; contract: NetworkAddressFragment; - amountOptional: AmountFragment | null; + amount: AmountFragment; }; export type MultirecipientFeeCollectOpenActionSettingsFragment = { referralFee: number; followerOnly: boolean; - collectLimitOptional: string | null; - endTimestampOptional: string | null; + collectLimit: string | null; + endsAt: string | null; contract: NetworkAddressFragment; amount: AmountFragment; recipients: Array<{ recipient: string; split: number }>; @@ -206,7 +206,7 @@ export type LegacyFeeCollectModuleSettingsFragment = { }; export type LegacyLimitedFeeCollectModuleSettingsFragment = { - collectLimit: string; + collectLimit: string | null; recipient: string; referralFee: number; followerOnly: boolean; @@ -215,7 +215,7 @@ export type LegacyLimitedFeeCollectModuleSettingsFragment = { }; export type LegacyLimitedTimedFeeCollectModuleSettingsFragment = { - collectLimit: string; + collectLimit: string | null; recipient: string; referralFee: number; followerOnly: boolean; @@ -238,8 +238,8 @@ export type LegacyTimedFeeCollectModuleSettingsFragment = { export type LegacyMultirecipientFeeCollectModuleSettingsFragment = { referralFee: number; followerOnly: boolean; - collectLimitOptional: string | null; - endTimestampOptional: string | null; + collectLimit: string | null; + endsAt: string | null; contract: NetworkAddressFragment; amount: AmountFragment; recipients: Array<{ recipient: string; split: number }>; @@ -249,18 +249,18 @@ export type LegacySimpleCollectModuleSettingsFragment = { recipient: string; referralFee: number; followerOnly: boolean; - collectLimitOptional: string | null; - endTimestampOptional: string | null; + collectLimit: string | null; + endsAt: string | null; contract: NetworkAddressFragment; - amountOptional: AmountFragment | null; + amount: AmountFragment; }; export type LegacyErc4626FeeCollectModuleSettingsFragment = { recipient: string; referralFee: number; followerOnly: boolean; - collectLimitOptional: string | null; - endTimestampOptional: string | null; + collectLimit: string | null; + endsAt: string | null; contract: NetworkAddressFragment; vault: NetworkAddressFragment; amount: AmountFragment; @@ -270,8 +270,8 @@ export type LegacyAaveFeeCollectModuleSettingsFragment = { recipient: string; referralFee: number; followerOnly: boolean; - collectLimitOptional: string | null; - endTimestampOptional: string | null; + collectLimit: string | null; + endsAt: string | null; contract: NetworkAddressFragment; amount: AmountFragment; }; @@ -381,7 +381,7 @@ export type PublicationImageSetFragment = { export type EncryptableImageFragment = { uri: string; - mimeType: Types.ImageMimeType | null; + mimeType: string | null; width: number | null; height: number | null; }; @@ -2435,8 +2435,8 @@ export const LegacyMultirecipientFeeCollectModuleSettingsFragmentDoc = gql` } referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } ${NetworkAddressFragmentDoc} ${AmountFragmentDoc} @@ -2446,14 +2446,14 @@ export const LegacySimpleCollectModuleSettingsFragmentDoc = gql` contract { ...NetworkAddress } - amountOptional: amount { + amount { ...Amount } recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } ${NetworkAddressFragmentDoc} ${AmountFragmentDoc} @@ -2472,8 +2472,8 @@ export const LegacyErc4626FeeCollectModuleSettingsFragmentDoc = gql` recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } ${NetworkAddressFragmentDoc} ${AmountFragmentDoc} @@ -2489,8 +2489,8 @@ export const LegacyAaveFeeCollectModuleSettingsFragmentDoc = gql` recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } ${NetworkAddressFragmentDoc} ${AmountFragmentDoc} @@ -2509,8 +2509,8 @@ export const MultirecipientFeeCollectOpenActionSettingsFragmentDoc = gql` } referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } ${NetworkAddressFragmentDoc} ${AmountFragmentDoc} @@ -2520,14 +2520,14 @@ export const SimpleCollectOpenActionSettingsFragmentDoc = gql` contract { ...NetworkAddress } - amountOptional: amount { + amount { ...Amount } recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } ${NetworkAddressFragmentDoc} ${AmountFragmentDoc} diff --git a/packages/client/src/graphql/fragments.graphql b/packages/client/src/graphql/fragments.graphql index a1e690ba2b..a12d70b5a8 100644 --- a/packages/client/src/graphql/fragments.graphql +++ b/packages/client/src/graphql/fragments.graphql @@ -326,14 +326,14 @@ fragment SimpleCollectOpenActionSettings on SimpleCollectOpenActionSettings { contract { ...NetworkAddress } - amountOptional: amount { + amount { ...Amount } recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } fragment MultirecipientFeeCollectOpenActionSettings on MultirecipientFeeCollectOpenActionSettings { @@ -349,8 +349,8 @@ fragment MultirecipientFeeCollectOpenActionSettings on MultirecipientFeeCollectO } referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } fragment UnknownOpenActionModuleSettings on UnknownOpenActionModuleSettings { @@ -438,22 +438,22 @@ fragment LegacyMultirecipientFeeCollectModuleSettings on LegacyMultirecipientFee } referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } fragment LegacySimpleCollectModuleSettings on LegacySimpleCollectModuleSettings { contract { ...NetworkAddress } - amountOptional: amount { + amount { ...Amount } recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } fragment LegacyERC4626FeeCollectModuleSettings on LegacyERC4626FeeCollectModuleSettings { @@ -469,8 +469,8 @@ fragment LegacyERC4626FeeCollectModuleSettings on LegacyERC4626FeeCollectModuleS recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } fragment LegacyAaveFeeCollectModuleSettings on LegacyAaveFeeCollectModuleSettings { @@ -483,8 +483,8 @@ fragment LegacyAaveFeeCollectModuleSettings on LegacyAaveFeeCollectModuleSetting recipient referralFee followerOnly - collectLimitOptional: collectLimit - endTimestampOptional: endTimestamp + collectLimit + endsAt } fragment UnknownOpenActionResult on UnknownOpenActionResult { @@ -1343,7 +1343,6 @@ fragment Post on Post { ...App } isHidden - # isEncrypted momoka { ...MomokaInfo } @@ -1466,7 +1465,6 @@ fragment CommentBase on Comment { ...App } isHidden - # isEncrypted momoka { ...MomokaInfo } @@ -1610,7 +1608,6 @@ fragment Mirror on Mirror { ...App } isHidden - # isEncrypted momoka { ...MomokaInfo } @@ -1636,7 +1633,6 @@ fragment QuoteBase on Quote { ...App } isHidden - # isEncrypted momoka { ...MomokaInfo } diff --git a/packages/client/src/graphql/types.generated.ts b/packages/client/src/graphql/types.generated.ts index 8b5405d609..6cc03172e3 100644 --- a/packages/client/src/graphql/types.generated.ts +++ b/packages/client/src/graphql/types.generated.ts @@ -114,17 +114,6 @@ export enum AttributeType { String = 'STRING', } -export enum AudioMimeType { - Aac = 'AAC', - Flac = 'FLAC', - Mp3 = 'MP3', - Mp4Audio = 'MP4_AUDIO', - OggAudio = 'OGG_AUDIO', - Wav = 'WAV', - WavVnd = 'WAV_VND', - WebmAudio = 'WEBM_AUDIO', -} - export type BlockRequest = { profiles: Array; }; @@ -412,6 +401,13 @@ export type GenerateModuleCurrencyApprovalDataRequest = { module: ModuleCurrencyApproval; }; +export type GetProfileMetadataArgs = { + /** The app id to query the profile's metadata */ + appId?: InputMaybe; + /** If true, will fallback to global profile metadata, if there is no metadata set for that specific app id */ + useFallback?: InputMaybe; +}; + export type HandleLinkToProfileRequest = { handle: Scalars['Handle']['input']; }; @@ -439,19 +435,6 @@ export type IllegalReasonInput = { subreason: PublicationReportingIllegalSubreason; }; -export enum ImageMimeType { - Bmp = 'BMP', - Gif = 'GIF', - Heic = 'HEIC', - Jpeg = 'JPEG', - Jpg = 'JPG', - Png = 'PNG', - SvgXml = 'SVG_XML', - Tiff = 'TIFF', - Webp = 'WEBP', - XMsBmp = 'X_MS_BMP', -} - export type ImageTransform = { /** Set the transformed image's height */ height?: InputMaybe; @@ -1515,19 +1498,6 @@ export type VerifyRequest = { accessToken: Scalars['Jwt']['input']; }; -export enum VideoMimeType { - Gltf = 'GLTF', - GltfBinary = 'GLTF_BINARY', - M4V = 'M4V', - Mov = 'MOV', - Mp4 = 'MP4', - Mpeg = 'MPEG', - Ogg = 'OGG', - Ogv = 'OGV', - Quicktime = 'QUICKTIME', - Webm = 'WEBM', -} - export type WhoActedOnPublicationRequest = { cursor?: InputMaybe; limit?: InputMaybe; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cc929eaab1..1be04b7994 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -99,6 +99,9 @@ importers: '@lens-protocol/client': specifier: workspace:* version: link:../../packages/client + '@lens-protocol/metadata': + specifier: 0.1.0-alpha.25 + version: 0.1.0-alpha.25(zod@3.22.0) dotenv: specifier: ^16.0.3 version: 16.0.3 @@ -110,7 +113,10 @@ importers: version: 9.0.0 viem: specifier: ^1.0.0 - version: 1.0.0(typescript@4.9.5) + version: 1.0.0(typescript@5.1.6)(zod@3.22.0) + zod: + specifier: ^3.22.0 + version: 3.22.0 devDependencies: '@lens-protocol/eslint-config': specifier: workspace:* @@ -129,10 +135,10 @@ importers: version: 2.8.4 ts-node: specifier: ^10.9.1 - version: 10.9.1(@types/node@18.15.11)(typescript@4.9.5) + version: 10.9.1(@types/node@18.15.11)(typescript@5.1.6) typescript: - specifier: ^4.9.5 - version: 4.9.5 + specifier: ^5.1.6 + version: 5.1.6 examples/shared: {} @@ -6993,6 +6999,19 @@ packages: /@ledgerhq/connect-kit-loader@1.0.2: resolution: {integrity: sha512-TQ21IjcZOw/scqypaVFY3jHVqI7X7Hta3qN/us6FvTol3AY06UmrhhXGww0E9xHmAbdX241ddwXEiMBSQZFr9g==} + /@lens-protocol/metadata@0.1.0-alpha.25(zod@3.22.0): + resolution: {integrity: sha512-IhrseGuwW8AdsbA3B3cskrsUJmeevH/hHQkt6pPJRns2VC5l05ye+OpXR9ko7Wc+Yzg5wIrv3lWWAHoBKiDVOQ==} + engines: {node: ^v18.12.1, npm: ^8.19.2, pnpm: ^8.0.0} + peerDependencies: + zod: ^3.22.0 + peerDependenciesMeta: + zod: + optional: true + dependencies: + uuid: 9.0.1 + zod: 3.22.0 + dev: false + /@lit-labs/ssr-dom-shim@1.1.1: resolution: {integrity: sha512-kXOeFbfCm4fFf2A3WwVEeQj55tMZa8c8/f9AKHMobQMkzNUfUj+antR3fRPaZJawsa1aZiP/Da3ndpZrwEe4rQ==} @@ -8877,6 +8896,17 @@ packages: dependencies: typescript: 4.9.5 + /@wagmi/chains@1.1.0(typescript@5.1.6): + resolution: {integrity: sha512-pWZlxBk0Ql8E7DV8DwqlbBpOyUdaG9UDlQPBxJNALuEK1I0tbQ3AVvSDnlsEIt06UPmPo5o27gzs3hwPQ/A+UA==} + peerDependencies: + typescript: '>=5.0.4' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + typescript: 5.1.6 + dev: false + /@wagmi/connectors@2.1.0(@wagmi/chains@1.0.0)(react@18.2.0)(typescript@4.9.5)(viem@1.0.0): resolution: {integrity: sha512-bmBMHOEeLQsv9YedDkZwbmYIh82x9CsvSUjD7kAHeSHLOO8Fod6/sBuVKMrAAjoTOaCpliTqKit6TUlZxw8yOg==} peerDependencies: @@ -9661,6 +9691,19 @@ packages: dependencies: typescript: 4.9.5 + /abitype@0.8.7(typescript@5.1.6)(zod@3.22.0): + resolution: {integrity: sha512-wQ7hV8Yg/yKmGyFpqrNZufCxbszDe5es4AZGYPBitocfSqXtjrTG9JMWFcc4N30ukl2ve48aBTwt7NJxVQdU3w==} + peerDependencies: + typescript: '>=5.0.4' + zod: ^3 >=3.19.1 + peerDependenciesMeta: + zod: + optional: true + dependencies: + typescript: 5.1.6 + zod: 3.22.0 + dev: false + /abstract-level@1.0.3: resolution: {integrity: sha512-t6jv+xHy+VYwc4xqZMn2Pa9DjcdzvzZmQGRjTFc8spIbRGHgBrEKbPq+rYXc7CCo0lxgYvSgKVg9qZAhpVQSjA==} engines: {node: '>=12'} @@ -19986,6 +20029,37 @@ packages: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 + /ts-node@10.9.1(@types/node@18.15.11)(typescript@5.1.6): + resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} + hasBin: true + peerDependencies: + '@swc/core': '>=1.2.50' + '@swc/wasm': '>=1.2.50' + '@types/node': '*' + typescript: '>=2.7' + peerDependenciesMeta: + '@swc/core': + optional: true + '@swc/wasm': + optional: true + dependencies: + '@cspotcode/source-map-support': 0.8.1 + '@tsconfig/node10': 1.0.9 + '@tsconfig/node12': 1.0.11 + '@tsconfig/node14': 1.0.3 + '@tsconfig/node16': 1.0.3 + '@types/node': 18.15.11 + acorn: 8.8.2 + acorn-walk: 8.2.0 + arg: 4.1.3 + create-require: 1.1.1 + diff: 4.0.2 + make-error: 1.3.6 + typescript: 5.1.6 + v8-compile-cache-lib: 3.0.1 + yn: 3.1.1 + dev: true + /tsconfig-paths@3.14.1: resolution: {integrity: sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==} dependencies: @@ -20239,7 +20313,6 @@ packages: resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} engines: {node: '>=14.17'} hasBin: true - dev: true /typical@4.0.0: resolution: {integrity: sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==} @@ -20545,6 +20618,11 @@ packages: hasBin: true dev: false + /uuid@9.0.1: + resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==} + hasBin: true + dev: false + /v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} @@ -20613,6 +20691,25 @@ packages: - utf-8-validate - zod + /viem@1.0.0(typescript@5.1.6)(zod@3.22.0): + resolution: {integrity: sha512-JqdO5TYSuv+/cV9xOmHUKB6qXeyLHtl3gcYYHnfFstfdzivfBttmKtwHiZPdffvcr5DqKsYFT5LLrFnfz5vfLQ==} + dependencies: + '@adraffy/ens-normalize': 1.9.0 + '@noble/curves': 1.0.0 + '@noble/hashes': 1.3.0 + '@scure/bip32': 1.3.0 + '@scure/bip39': 1.2.0 + '@wagmi/chains': 1.1.0(typescript@5.1.6) + abitype: 0.8.7(typescript@5.1.6)(zod@3.22.0) + isomorphic-ws: 5.0.0(ws@8.12.0) + ws: 8.12.0 + transitivePeerDependencies: + - bufferutil + - typescript + - utf-8-validate + - zod + dev: false + /vite-plugin-node-polyfills@0.9.0(vite@4.4.3): resolution: {integrity: sha512-+i+WPUuIBhJy+ODfxx6S6FTl28URCxUszbl/IL4GwrZvbqqY/8VDIp+zpjMS8Us/a7GwN4Iaqr/fVIBtkNQojQ==} peerDependencies: @@ -21306,6 +21403,10 @@ packages: /zod@3.20.6: resolution: {integrity: sha512-oyu0m54SGCtzh6EClBVqDDlAYRz4jrVtKwQ7ZnsEmMI9HnzuZFj8QFwAY1M5uniIYACdGvv0PBWPF2kO0aNofA==} + /zod@3.22.0: + resolution: {integrity: sha512-y5KZY/ssf5n7hCGDGGtcJO/EBJEm5Pa+QQvFBeyMOtnFYOSflalxIFFvdaYevPhePcmcKC4aTbFkCcXN7D0O8Q==} + dev: false + /zustand@4.3.8(react@18.2.0): resolution: {integrity: sha512-4h28KCkHg5ii/wcFFJ5Fp+k1J3gJoasaIbppdgZFO4BPJnsNxL0mQXBSFgOgAdCdBj35aDTPvdAJReTMntFPGg==} engines: {node: '>=12.7.0'}