From 43319980617f00d12ac11306c26a7f3e1c74aefc Mon Sep 17 00:00:00 2001 From: anthony2399 Date: Tue, 22 Oct 2024 11:59:28 +0300 Subject: [PATCH 01/57] fix: naming app name --- apps/console/src/app/providers.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/console/src/app/providers.tsx b/apps/console/src/app/providers.tsx index dc34a682..6da4fa2a 100644 --- a/apps/console/src/app/providers.tsx +++ b/apps/console/src/app/providers.tsx @@ -23,8 +23,8 @@ export const Providers: React.FC = (props) => { const { wallets } = getDefaultWallets(); const config = getDefaultConfig({ - appName: 'RainbowKit demo', - projectId: 'YOUR_PROJECT_ID', + appName: 'JAN Console Demo', + projectId: '', wallets: [ ...wallets, { From 6dd450f5d37b1f2d64e625ee0996a7cafcb5ece0 Mon Sep 17 00:00:00 2001 From: anthony2399 Date: Tue, 22 Oct 2024 13:06:40 +0300 Subject: [PATCH 02/57] fix: packages --- packages/@justaname.id/react/package.json | 2 +- yarn.lock | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/@justaname.id/react/package.json b/packages/@justaname.id/react/package.json index b28e0e34..9a7a42ef 100644 --- a/packages/@justaname.id/react/package.json +++ b/packages/@justaname.id/react/package.json @@ -4,8 +4,8 @@ "dependencies": { "@ensdomains/ensjs": "4.0.1-alpha.0", "@justaname.id/sdk": "0.2.100", - "lodash": "4.17.21", "axios": "^1.6.0", + "lodash": "4.17.21", "qs": "^6.12.0" }, "peerDependencies": { diff --git a/yarn.lock b/yarn.lock index 7fe97d3c..de957604 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6528,8 +6528,10 @@ __metadata: dependencies: "@ensdomains/ensjs": "npm:4.0.1-alpha.0" "@justaname.id/sdk": "npm:0.2.100" + axios: "npm:^1.6.0" jest: "npm:^29.4.1" lodash: "npm:4.17.21" + qs: "npm:^6.12.0" peerDependencies: "@tanstack/react-query": ^5.x ethers: ^6.x From 888773eab086cd278eaeb30db74f580dfe959673 Mon Sep 17 00:00:00 2001 From: anthony2399 Date: Tue, 22 Oct 2024 13:27:35 +0300 Subject: [PATCH 03/57] fix(console): deployment --- apps/console/src/app/providers.tsx | 2 +- package.json | 1 + yarn.lock | 109 ++++++++++++++++++++++++----- 3 files changed, 94 insertions(+), 18 deletions(-) diff --git a/apps/console/src/app/providers.tsx b/apps/console/src/app/providers.tsx index 6da4fa2a..2bffe89f 100644 --- a/apps/console/src/app/providers.tsx +++ b/apps/console/src/app/providers.tsx @@ -24,7 +24,7 @@ export const Providers: React.FC = (props) => { const config = getDefaultConfig({ appName: 'JAN Console Demo', - projectId: '', + projectId: 'PROJECT_ID', wallets: [ ...wallets, { diff --git a/package.json b/package.json index eb2d3b1c..b41fa5c6 100644 --- a/package.json +++ b/package.json @@ -116,6 +116,7 @@ "@ensdomains/ensjs": "4.0.1-alpha.0", "@hookform/resolvers": "^3.9.0", "@inquirer/prompts": "^4.3.0", + "@justverified/plugin": "^0.0.38", "@privy-io/react-auth": "^1.82.0", "@privy-io/wagmi": "^0.2.12", "@radix-ui/react-checkbox": "^1.1.2", diff --git a/yarn.lock b/yarn.lock index de957604..1be3b2d3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6506,23 +6506,7 @@ __metadata: languageName: node linkType: hard -"@justaname.id/react@npm:0.3.68": - version: 0.3.68 - resolution: "@justaname.id/react@npm:0.3.68" - dependencies: - "@justaname.id/sdk": "npm:0.2.65" - "@tanstack/react-query": "npm:^5.28.4" - peerDependencies: - "@tanstack/query-core": ">=5.0.0" - react: ">=17" - react-dom: ">=17" - viem: 2.x - wagmi: 2.x - checksum: 10c0/8d27984d29193ffc1562bf44e03a15c5920952794d70e527b2c55fea53a969586e633044da2426ca1221a9deca0c35b7a8051a20037d0d243ff658d4e21c94a4 - languageName: node - linkType: hard - -"@justaname.id/react@npm:^0.3.68, @justaname.id/react@workspace:packages/@justaname.id/react": +"@justaname.id/react@npm:0.3.103, @justaname.id/react@npm:^0.3.68, @justaname.id/react@workspace:packages/@justaname.id/react": version: 0.0.0-use.local resolution: "@justaname.id/react@workspace:packages/@justaname.id/react" dependencies: @@ -6541,6 +6525,22 @@ __metadata: languageName: unknown linkType: soft +"@justaname.id/react@npm:0.3.68": + version: 0.3.68 + resolution: "@justaname.id/react@npm:0.3.68" + dependencies: + "@justaname.id/sdk": "npm:0.2.65" + "@tanstack/react-query": "npm:^5.28.4" + peerDependencies: + "@tanstack/query-core": ">=5.0.0" + react: ">=17" + react-dom: ">=17" + viem: 2.x + wagmi: 2.x + checksum: 10c0/8d27984d29193ffc1562bf44e03a15c5920952794d70e527b2c55fea53a969586e633044da2426ca1221a9deca0c35b7a8051a20037d0d243ff658d4e21c94a4 + languageName: node + linkType: hard + "@justaname.id/sdk@npm:0.2.100, @justaname.id/sdk@workspace:packages/@justaname.id/sdk": version: 0.0.0-use.local resolution: "@justaname.id/sdk@workspace:packages/@justaname.id/sdk" @@ -6575,6 +6575,71 @@ __metadata: languageName: unknown linkType: soft +"@justverified/plugin@npm:^0.0.38": + version: 0.0.38 + resolution: "@justverified/plugin@npm:0.0.38" + dependencies: + "@justaname.id/react": "npm:0.3.103" + "@justaname.id/sdk": "npm:0.2.100" + "@justweb3/ui": "npm:0.0.39" + "@justweb3/widget": "npm:0.0.39" + axios: "npm:^1.6.0" + lodash: "npm:4.17.21" + moment: "npm:^2.30.1" + qs: "npm:^6.12.0" + peerDependencies: + "@tanstack/react-query": ^5.x + react: ">=17" + checksum: 10c0/4e6500adfb6395435e9a55149cffc2d9182deb938401fe63d1f782c79da121846d7bf1bad7b279a7ff389cf01525bd0fec860ff46a09bb82354eb32c4f9b17a2 + languageName: node + linkType: hard + +"@justweb3/ui@npm:0.0.39": + version: 0.0.39 + resolution: "@justweb3/ui@npm:0.0.39" + dependencies: + "@radix-ui/react-dialog": "npm:^1.1.1" + "@radix-ui/react-dropdown-menu": "npm:^2.1.2" + "@radix-ui/react-label": "npm:^2.1.0" + "@radix-ui/react-popover": "npm:^1.1.1" + "@radix-ui/react-slot": "npm:1.1.0" + embla-carousel-react: "npm:^8.3.0" + input-otp: "npm:^1.2.4" + react-hook-form: "npm:^7.49.2" + styled-components: "npm:^6.1.12" + peerDependencies: + react: ">=17" + checksum: 10c0/51d7d59cab465e75398523825a4e316c083044477f94841659f2b5d0af628a3c46910014db424da05bd94d0bf5d9c27e596d719ad4f6b60857724ae3e88f225a + languageName: node + linkType: hard + +"@justweb3/widget@npm:0.0.39": + version: 0.0.39 + resolution: "@justweb3/widget@npm:0.0.39" + dependencies: + "@ensdomains/address-encoder": "npm:^1.1.2" + "@ensdomains/ensjs": "npm:4.0.1-alpha.0" + "@hookform/resolvers": "npm:^3.9.0" + "@justaname.id/react": "npm:0.3.103" + "@justaname.id/sdk": "npm:0.2.100" + "@justweb3/ui": "npm:0.0.39" + "@tanstack/react-query": "npm:^5.28.4" + axios: "npm:^1.6.0" + cropperjs: "npm:^1.6.2" + lodash: "npm:4.17.21" + lucide-react: "npm:^0.436.0" + qs: "npm:^6.12.0" + react-hook-form: "npm:^7.53.0" + styled-components: "npm:^6.1.12" + yup: "npm:0.32.11" + peerDependencies: + react: ">=17" + viem: 2.x + wagmi: 2.x + checksum: 10c0/4440618a10774c158d999bc7ccb0afd9d0be8606020290ed5cdc0a7dc098ef7cbdc2309c89418737bdb2f3b7b93be4916a178c7accd270b13efabb264283de8f + languageName: node + linkType: hard + "@koa/cors@npm:^5.0.0": version: 5.0.0 resolution: "@koa/cors@npm:5.0.0" @@ -30678,6 +30743,7 @@ __metadata: "@ensdomains/ensjs": "npm:4.0.1-alpha.0" "@hookform/resolvers": "npm:^3.9.0" "@inquirer/prompts": "npm:^4.3.0" + "@justverified/plugin": "npm:^0.0.38" "@nx/cypress": "npm:19.7.3" "@nx/eslint": "npm:19.7.3" "@nx/eslint-plugin": "npm:19.7.3" @@ -37487,6 +37553,15 @@ __metadata: languageName: node linkType: hard +"react-hook-form@npm:^7.49.2": + version: 7.53.1 + resolution: "react-hook-form@npm:7.53.1" + peerDependencies: + react: ^16.8.0 || ^17 || ^18 || ^19 + checksum: 10c0/dd2466359a633f873755b366d367d51ab17100566b687fb3b098f704232bc6ab1c79d29f879151e492880ca5eeac35e9425fbe5a309e2a55f7a4b5baf7826e8d + languageName: node + linkType: hard + "react-hook-form@npm:^7.53.0": version: 7.53.0 resolution: "react-hook-form@npm:7.53.0" From 20eaeaf68a17c682067ae7711fe8a9083f0f6507 Mon Sep 17 00:00:00 2001 From: anthony2399 Date: Tue, 22 Oct 2024 13:50:22 +0300 Subject: [PATCH 04/57] fix: trial --- apps/console/src/app/providers.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/console/src/app/providers.tsx b/apps/console/src/app/providers.tsx index 2bffe89f..0e4927c4 100644 --- a/apps/console/src/app/providers.tsx +++ b/apps/console/src/app/providers.tsx @@ -59,7 +59,6 @@ export const Providers: React.FC = (props) => { }; const queryClient = new QueryClient(); - return ( From cb64d82a8010af9b50fa6b11708cb385581be111 Mon Sep 17 00:00:00 2001 From: anthony2399 Date: Tue, 22 Oct 2024 14:01:01 +0300 Subject: [PATCH 05/57] fix(console): trial --- apps/console/next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/console/next.config.js b/apps/console/next.config.js index 007b2aa5..5e139050 100644 --- a/apps/console/next.config.js +++ b/apps/console/next.config.js @@ -7,6 +7,7 @@ const { composePlugins, withNx } = require('@nx/next'); * @type {import('@nx/next/plugins/with-nx').WithNxOptions} **/ const nextConfig = { + distDir: '../../dist/apps/console', nx: { // Set this to true if you would like to use SVGR // See: https://github.com/gregberge/svgr From 2898c5211f8f732a32fe250d6d9fbaa10524c8d0 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Mon, 28 Oct 2024 16:21:53 +0200 Subject: [PATCH 06/57] feat: remove mapps from justverified --- package.json | 1 + .../src/lib/hooks/mApp/useIsMAppEnabled.ts | 4 +- .../react/src/lib/hooks/resolver/index.ts | 2 +- ....ts => useSetNameHashJustaNameResolver.ts} | 34 +- .../components/EmailCredentialItem/index.tsx | 3 +- .../src/lib/dialogs/EmailDialog/index.tsx | 4 +- .../lib/dialogs/JustVerifiedDialog/index.tsx | 4 +- .../src/lib/icons/DiscordIcon/index.tsx | 19 - .../plugin/src/lib/icons/EmailIcon/index.tsx | 35 -- .../plugin/src/lib/icons/GithubIcon/index.tsx | 11 - .../src/lib/icons/LinkedInIcon/index.tsx | 15 - .../src/lib/icons/TelegramIcon/index.tsx | 27 -- .../src/lib/icons/TwitterIcon/index.tsx | 11 - .../plugin/src/lib/icons/index.ts | 6 - .../@justverified/plugin/src/lib/index.ts | 1 - .../plugin/src/lib/plugins/index.tsx | 40 +- packages/@justweb3/ui/package.json | 3 +- .../ui/src/lib/ui/Tabs/Tabs.module.css | 82 ++++ .../@justweb3/ui/src/lib/ui/Tabs/index.tsx | 85 ++++ .../components/clickable-item.stories.tsx | 13 +- .../src/lib/components/MetadataCard/index.tsx | 4 - .../Profile/ContentHashSection/index.tsx | 1 - .../Profile/ContentSection/index.tsx | 2 +- .../lib/dialogs/AuthorizeMAppDialog/index.tsx | 2 +- .../src/lib/dialogs/MAppsDialog/index.tsx | 2 +- .../src/lib/dialogs/ProfileDialog/index.tsx | 2 +- .../lib/dialogs/RevokeMAppDialog/index.tsx | 2 +- .../src/lib/dialogs/SignInDialog/index.tsx | 2 +- .../lib/dialogs/UpdateRecordDialog/index.tsx | 2 +- .../@justweb3/widget/src/lib/plugins/index.ts | 4 +- .../lib/providers/JustWeb3Provider/index.tsx | 20 +- .../lib/providers/PluginProvider/index.tsx | 2 +- packages/plugins/efp/.babelrc | 12 + packages/plugins/efp/.env.example | 6 + packages/plugins/efp/.eslintrc.json | 34 ++ packages/plugins/efp/.gitignore | 1 + packages/plugins/efp/.storybook/main.ts | 33 ++ packages/plugins/efp/.storybook/preview.ts | 0 packages/plugins/efp/CHANGELOG.md | 391 ++++++++++++++++++ packages/plugins/efp/README.md | 7 + packages/plugins/efp/env.d.ts | 15 + packages/plugins/efp/jest.config.ts | 12 + packages/plugins/efp/package.json | 32 ++ packages/plugins/efp/project.json | 122 ++++++ packages/plugins/efp/release.config.js | 46 +++ packages/plugins/efp/rollup.config.cjs | 21 + packages/plugins/efp/src/index.ts | 1 + .../efp/src/lib/icons/EFPIcon/index.tsx | 14 + packages/plugins/efp/src/lib/icons/index.ts | 1 + packages/plugins/efp/src/lib/index.ts | 2 + .../plugins/efp/src/lib/plugins/index.tsx | 23 ++ .../plugins/efp/src/stories/efp.stories.tsx | 138 +++++++ packages/plugins/efp/tsconfig.json | 33 ++ packages/plugins/efp/tsconfig.lib.json | 39 ++ packages/plugins/efp/tsconfig.spec.json | 27 ++ packages/plugins/efp/tsconfig.storybook.json | 42 ++ packages/plugins/efp/update-package-json.js | 26 ++ yarn.lock | 27 ++ 58 files changed, 1354 insertions(+), 196 deletions(-) rename packages/@justaname.id/react/src/lib/hooks/resolver/{useSetJustaNameResolver.ts => useSetNameHashJustaNameResolver.ts} (83%) delete mode 100644 packages/@justverified/plugin/src/lib/icons/DiscordIcon/index.tsx delete mode 100644 packages/@justverified/plugin/src/lib/icons/EmailIcon/index.tsx delete mode 100644 packages/@justverified/plugin/src/lib/icons/GithubIcon/index.tsx delete mode 100644 packages/@justverified/plugin/src/lib/icons/LinkedInIcon/index.tsx delete mode 100644 packages/@justverified/plugin/src/lib/icons/TelegramIcon/index.tsx delete mode 100644 packages/@justverified/plugin/src/lib/icons/TwitterIcon/index.tsx delete mode 100644 packages/@justverified/plugin/src/lib/icons/index.ts create mode 100644 packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css create mode 100644 packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx create mode 100644 packages/plugins/efp/.babelrc create mode 100644 packages/plugins/efp/.env.example create mode 100644 packages/plugins/efp/.eslintrc.json create mode 100644 packages/plugins/efp/.gitignore create mode 100644 packages/plugins/efp/.storybook/main.ts create mode 100644 packages/plugins/efp/.storybook/preview.ts create mode 100644 packages/plugins/efp/CHANGELOG.md create mode 100644 packages/plugins/efp/README.md create mode 100644 packages/plugins/efp/env.d.ts create mode 100644 packages/plugins/efp/jest.config.ts create mode 100644 packages/plugins/efp/package.json create mode 100644 packages/plugins/efp/project.json create mode 100644 packages/plugins/efp/release.config.js create mode 100644 packages/plugins/efp/rollup.config.cjs create mode 100644 packages/plugins/efp/src/index.ts create mode 100644 packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx create mode 100644 packages/plugins/efp/src/lib/icons/index.ts create mode 100644 packages/plugins/efp/src/lib/index.ts create mode 100644 packages/plugins/efp/src/lib/plugins/index.tsx create mode 100644 packages/plugins/efp/src/stories/efp.stories.tsx create mode 100644 packages/plugins/efp/tsconfig.json create mode 100644 packages/plugins/efp/tsconfig.lib.json create mode 100644 packages/plugins/efp/tsconfig.spec.json create mode 100644 packages/plugins/efp/tsconfig.storybook.json create mode 100644 packages/plugins/efp/update-package-json.js diff --git a/package.json b/package.json index 7d3f3bf6..cf3b8dd9 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "@radix-ui/react-popover": "^1.1.1", "@radix-ui/react-radio-group": "^1.2.1", "@radix-ui/react-switch": "^1.1.1", + "@radix-ui/react-tabs": "^1.1.1", "@rainbow-me/rainbowkit": "^2.0.2", "@rollup/plugin-commonjs": "^25.0.7", "@rollup/plugin-json": "^6.1.0", diff --git a/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts b/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts index 62dd3a95..2d857db3 100644 --- a/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts +++ b/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts @@ -53,9 +53,9 @@ export const useIsMAppEnabled = (params: UseIsMAppEnabledParams): UseIsMAppEnabl if (!mAppFieldValue) { return false; } - return mAppFieldValue.mApps.includes(params.mApp); + return mAppFieldValue.mApps.includes(params?.mApp); }, - enabled: Boolean(params.ens) && Boolean(justaname) && params.ens.length > 0 && params.mApp.length > 0 && Boolean(_chainId) && Boolean(records), + enabled: Boolean(params.ens) && Boolean(justaname) && params.ens.length > 0 && params?.mApp?.length > 0 && Boolean(_chainId) && Boolean(records), }) useEffect(() => { diff --git a/packages/@justaname.id/react/src/lib/hooks/resolver/index.ts b/packages/@justaname.id/react/src/lib/hooks/resolver/index.ts index 7cbd946a..795f261f 100644 --- a/packages/@justaname.id/react/src/lib/hooks/resolver/index.ts +++ b/packages/@justaname.id/react/src/lib/hooks/resolver/index.ts @@ -1 +1 @@ -export * from './useSetJustaNameResolver'; \ No newline at end of file +export * from './useSetNameHashJustaNameResolver'; \ No newline at end of file diff --git a/packages/@justaname.id/react/src/lib/hooks/resolver/useSetJustaNameResolver.ts b/packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts similarity index 83% rename from packages/@justaname.id/react/src/lib/hooks/resolver/useSetJustaNameResolver.ts rename to packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts index 4854e8a2..6bc1e94f 100644 --- a/packages/@justaname.id/react/src/lib/hooks/resolver/useSetJustaNameResolver.ts +++ b/packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts @@ -97,28 +97,28 @@ const recordExistsABI = [ /** * Interface defining the parameters needed to set the JustaName resolver. * - * @typedef UseSetJustaNameResolver + * @typedef UseSetNameHashJustaNameResolver * @type {object} - * @property {function} setJustaNameResolver - The function to set the JustaName resolver. - * @property {boolean} justanameResolverSet - Indicates if the JustaName resolver is set. - * @property {boolean} isSetJustaNameResolverPending - Indicates if the mutation is currently pending. - * @property {boolean} setJustaNameResolverError - Indicates if the mutation has led to an error. + * @property {function} setNameHashJustaNameResolver - The function to set the JustaName resolver. + * @property {boolean} NameHashJustaNameResolverSet - Indicates if the JustaName resolver is set. + * @property {boolean} isSetNameHashJustaNameResolverPending - Indicates if the mutation is currently pending. + * @property {boolean} setNameHashJustaNameResolverError - Indicates if the mutation has led to an error. */ -export interface UseSetJustaNameResolver { - setJustaNameResolver: () => Promise; - justanameResolverSet: boolean; - isSetJustaNameResolverPending: boolean; - setJustaNameResolverError: boolean; +export interface UseSetNameHashJustaNameResolver { + setNameHashJustaNameResolver: () => Promise; + NameHashJustaNameResolverSet: boolean; + isSetNameHashJustaNameResolverPending: boolean; + setNameHashJustaNameResolverError: boolean; } /** * Custom hook for performing a mutation to set the JustaName resolver. * * @template T - The type of additional parameters that can be passed to the set JustaName resolver mutation, extending the base request. - * @returns {UseSetJustaNameResolver} An object containing the `setJustaNameResolver` async function to initiate the JustaName resolve,a boolean `justanameResolverSet` indicating if the resolver is set,a boolean `setJustaNameResolverPending` indicating the state of the process, and a boolean `setJustaNameResolverError` indicating if an error has occured. + * @returns {UseSetNameHashJustaNameResolver} An object containing the `setNameHashJustaNameResolver` async function to initiate the JustaName resolve,a boolean `NameHashJustaNameResolverSet` indicating if the resolver is set,a boolean `setNameHashJustaNameResolverPending` indicating the state of the process, and a boolean `setNameHashJustaNameResolverError` indicating if an error has occured. */ -export const useSetJustaNameResolver = < +export const useSetNameHashJustaNameResolver = < T = any ->(): UseSetJustaNameResolver => { +>(): UseSetNameHashJustaNameResolver => { const { chainId, address } = useMountedAccount(); const { offchainResolvers, isOffchainResolversPending } = useOffchainResolvers(); @@ -278,13 +278,13 @@ export const useSetJustaNameResolver = < }); return { - setJustaNameResolver: mutate.mutateAsync as () => Promise, - justanameResolverSet: + setNameHashJustaNameResolver: mutate.mutateAsync as () => Promise, + NameHashJustaNameResolverSet: isResolverConfigured && getResolverABIStatus !== 'pending', - isSetJustaNameResolverPending: + isSetNameHashJustaNameResolverPending: !noResultData && (setResolverConfigPending || setClaimWithResolverPending), - setJustaNameResolverError: + setNameHashJustaNameResolverError: !noResultData && (setResolverConfigDataIsError || setClaimWithResolverIsError), }; diff --git a/packages/@justverified/plugin/src/lib/components/EmailCredentialItem/index.tsx b/packages/@justverified/plugin/src/lib/components/EmailCredentialItem/index.tsx index 39bd2deb..d14c9e63 100644 --- a/packages/@justverified/plugin/src/lib/components/EmailCredentialItem/index.tsx +++ b/packages/@justverified/plugin/src/lib/components/EmailCredentialItem/index.tsx @@ -1,6 +1,5 @@ import { FC, useMemo, useState } from 'react'; -import { ArrowIcon, DoneIcon, Input } from '@justweb3/ui'; -import { EmailIcon } from '../../icons'; +import { ArrowIcon, DoneIcon, EmailIcon, Input } from '@justweb3/ui'; import { Credentials } from '../../types'; import { EmailDialog } from '../../dialogs/EmailDialog'; import { EthereumEip712Signature2021 } from '../../types/ethereumEip712Signature'; diff --git a/packages/@justverified/plugin/src/lib/dialogs/EmailDialog/index.tsx b/packages/@justverified/plugin/src/lib/dialogs/EmailDialog/index.tsx index 2928aa3a..2ac784b1 100644 --- a/packages/@justverified/plugin/src/lib/dialogs/EmailDialog/index.tsx +++ b/packages/@justverified/plugin/src/lib/dialogs/EmailDialog/index.tsx @@ -150,7 +150,9 @@ export const EmailDialog: FC = ({ }} > - + = ({ }} > - + ) => { - return ( - - - - - - - - - - - - ); -} diff --git a/packages/@justverified/plugin/src/lib/icons/EmailIcon/index.tsx b/packages/@justverified/plugin/src/lib/icons/EmailIcon/index.tsx deleted file mode 100644 index 32578aa0..00000000 --- a/packages/@justverified/plugin/src/lib/icons/EmailIcon/index.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import type { SVGProps } from 'react'; - -export const EmailIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - ); -}; diff --git a/packages/@justverified/plugin/src/lib/icons/GithubIcon/index.tsx b/packages/@justverified/plugin/src/lib/icons/GithubIcon/index.tsx deleted file mode 100644 index cad64e51..00000000 --- a/packages/@justverified/plugin/src/lib/icons/GithubIcon/index.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import type { SVGProps } from 'react'; - -export const GithubIcon = (props: SVGProps) => { - return ( - - - - ); -} diff --git a/packages/@justverified/plugin/src/lib/icons/LinkedInIcon/index.tsx b/packages/@justverified/plugin/src/lib/icons/LinkedInIcon/index.tsx deleted file mode 100644 index e7808dc6..00000000 --- a/packages/@justverified/plugin/src/lib/icons/LinkedInIcon/index.tsx +++ /dev/null @@ -1,15 +0,0 @@ -import type { SVGProps } from 'react'; - -export const LinkedInIcon = (props: SVGProps) => { - return ( - - - - - - ); -} diff --git a/packages/@justverified/plugin/src/lib/icons/TelegramIcon/index.tsx b/packages/@justverified/plugin/src/lib/icons/TelegramIcon/index.tsx deleted file mode 100644 index b922d080..00000000 --- a/packages/@justverified/plugin/src/lib/icons/TelegramIcon/index.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import type { SVGProps } from 'react'; - -export const TelegramIcon = (props: SVGProps) => { - return ( - - - - - - - - - - - - - - - - - ); -} diff --git a/packages/@justverified/plugin/src/lib/icons/TwitterIcon/index.tsx b/packages/@justverified/plugin/src/lib/icons/TwitterIcon/index.tsx deleted file mode 100644 index 23408850..00000000 --- a/packages/@justverified/plugin/src/lib/icons/TwitterIcon/index.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import type { SVGProps } from 'react'; - -export const TwitterIcon = (props: SVGProps) => { - return ( - - - - ); -} diff --git a/packages/@justverified/plugin/src/lib/icons/index.ts b/packages/@justverified/plugin/src/lib/icons/index.ts deleted file mode 100644 index 9c7e7258..00000000 --- a/packages/@justverified/plugin/src/lib/icons/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from './GithubIcon'; -export * from './EmailIcon'; -export * from './DiscordIcon'; -export * from './LinkedInIcon'; -export * from './TwitterIcon'; -export * from './TelegramIcon'; \ No newline at end of file diff --git a/packages/@justverified/plugin/src/lib/index.ts b/packages/@justverified/plugin/src/lib/index.ts index d9d12acb..73b07217 100644 --- a/packages/@justverified/plugin/src/lib/index.ts +++ b/packages/@justverified/plugin/src/lib/index.ts @@ -1,7 +1,6 @@ export * from './providers'; export * from './components'; export * from './hooks'; -export * from './icons'; export * from './types'; export * from './plugins'; export * from './dialogs'; \ No newline at end of file diff --git a/packages/@justverified/plugin/src/lib/plugins/index.tsx b/packages/@justverified/plugin/src/lib/plugins/index.tsx index b7b7bc99..17dd3ad7 100644 --- a/packages/@justverified/plugin/src/lib/plugins/index.tsx +++ b/packages/@justverified/plugin/src/lib/plugins/index.tsx @@ -1,10 +1,10 @@ import { JustaPlugin } from '@justweb3/widget'; -import { ClickableItem, VerificationsIcon } from '@justweb3/ui'; +import { ArrowIcon, ClickableItem, VerificationsIcon } from '@justweb3/ui'; import { JustVerifiedProvider } from '../providers'; import { Credentials } from '../types'; import { verifyRecords } from '../hooks/useVerifyRecords'; -import { ChainId } from '@justaname.id/sdk'; import { VerificationSection } from '../components/VerificationSection'; +import { ChainId } from '@justaname.id/sdk'; export const JustVerifiedPlugin = ( credentials: Credentials[], @@ -12,9 +12,9 @@ export const JustVerifiedPlugin = ( mApp = 'justverified.eth' ): JustaPlugin => ({ name: 'JustVerifiedPlugin', - mApps: [mApp], + // mApps: [mApp], components: { - Providers: (pluginApi, children) => { + Provider: (pluginApi, children) => { const chainId = pluginApi.chainId; if ((chainId !== 1 && chainId !== 11155111) || !chainId) { return children; @@ -46,11 +46,18 @@ export const JustVerifiedPlugin = ( onClick={() => { pluginApi.setState('verificationOpen', true); }} + right={} /> ); }, ProfileSection: (pluginApi, ens, chainId) => { - return ; + return ; } }, hooks: { @@ -60,10 +67,7 @@ export const JustVerifiedPlugin = ( onEnsSignIn: async ( pluginApi, ens, - chainId, - records, - enabledMApps, - canEnableMApps + chainId ) => { if (chainId !== 1 && chainId !== 11155111) { return; @@ -84,15 +88,15 @@ export const JustVerifiedPlugin = ( pluginApi.setState('verificationOpen', true); - setTimeout(() => { - if ( - canEnableMApps && - !enabledMApps.includes('justverified.eth') && - !Object.values(verifiableRecords).some((value) => value) - ) { - pluginApi.handleOpenAuthorizeMAppDialog(mApp, true); - } - }, 1000); + // setTimeout(() => { + // if ( + // canEnableMApps && + // !enabledMApps.includes('justverified.eth') && + // !Object.values(verifiableRecords).some((value) => value) + // ) { + // pluginApi.handleOpenAuthorizeMAppDialog(mApp, true); + // } + // }, 1000); }, onEnsSignOut: (pluginApi, ens) => { pluginApi.setState('verificationOpen', false); diff --git a/packages/@justweb3/ui/package.json b/packages/@justweb3/ui/package.json index 247eed35..bf712854 100644 --- a/packages/@justweb3/ui/package.json +++ b/packages/@justweb3/ui/package.json @@ -10,7 +10,8 @@ "clsx": "1.2.1", "embla-carousel-react": "^8.3.0", "input-otp": "^1.2.4", - "react-hook-form": "^7.49.2" + "react-hook-form": "^7.49.2", + "@radix-ui/react-tabs": "^1.1.1" }, "peerDependencies": { "react": ">=17" diff --git a/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css b/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css new file mode 100644 index 00000000..63f56ec5 --- /dev/null +++ b/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css @@ -0,0 +1,82 @@ +.tabsList { + display: inline-flex; + height: 2.5rem; /* h-10 */ + align-items: center; + justify-content: center; + border-radius: 0.375rem; /* rounded-md */ + background-color: var(--justweb3-background-color); + padding: 0.25rem; /* p-1 */ + color: var(--justweb3-foreground-color-4); +} + +.tabsTrigger { + display: inline-flex; + align-items: center; + justify-content: center; + white-space: nowrap; + border-radius: 0.125rem; /* rounded-sm */ + padding: 0.375rem 0.75rem; /* py-1.5 px-3 */ + font-size: 0.875rem; /* text-sm */ + font-weight: 500; /* font-medium */ + line-height: 1.25rem; + transition: all 0.2s ease-in-out; + cursor: pointer; +} + +.tabsTrigger:focus-visible { + outline: none; + box-shadow: 0 0 0 2px var(--justweb3-foreground-color-4); +} + +.tabsTrigger:disabled { + pointer-events: none; + opacity: 0.5; +} + +.tabsTrigger[data-state="active"] { + background-color: var(--background); + color: var(--foreground); + box-shadow: var(--justweb3-foreground-color-4); +} + +.tabsContent { + margin-top: 0.5rem; /* mt-2 */ + position: relative; + overflow: hidden; +} + +.tabsContent:focus-visible { + outline: none; + box-shadow: 0 0 0 2px var(--justweb3-foreground-color-4); +} + +/* Animations */ +@keyframes slideInLeft { + from { + transform: translateX(-100%); + opacity: 0; + } + to { + transform: translateX(0); + opacity: 1; + } +} + +@keyframes slideInRight { + from { + transform: translateX(100%); + opacity: 0; + } + to { + transform: translateX(0); + opacity: 1; + } +} + +.slideInLeft { + animation: slideInLeft 0.3s ease forwards; +} + +.slideInRight { + animation: slideInRight 0.3s ease forwards; +} \ No newline at end of file diff --git a/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx b/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx new file mode 100644 index 00000000..8abf6984 --- /dev/null +++ b/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx @@ -0,0 +1,85 @@ +// Tabs.tsx + +import React from 'react'; +import * as TabsPrimitive from '@radix-ui/react-tabs'; + +import styles from './Tabs.module.css'; + +interface AnimatedTabsProps extends React.ComponentPropsWithoutRef { + defaultValue: string; + tabValues: string[]; + children: React.ReactNode; +} + +type Direction = 'left' | 'right'; + +const TabsAnimationContext = React.createContext('right'); + +const AnimatedTabs: React.FC = ({ defaultValue, tabValues, children, ...props }) => { + const [value, setValue] = React.useState(defaultValue); + const [prevValue, setPrevValue] = React.useState(defaultValue); + const [direction, setDirection] = React.useState('right'); + + const handleValueChange = (newValue: string) => { + const prevIndex = tabValues.indexOf(prevValue); + const currIndex = tabValues.indexOf(newValue); + setDirection(currIndex > prevIndex ? 'right' : 'left'); + setPrevValue(value); + setValue(newValue); + }; + + return ( + + + {children} + + + ); +}; + +const TabsList = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +TabsList.displayName = TabsPrimitive.List.displayName; + +const TabsTrigger = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +TabsTrigger.displayName = TabsPrimitive.Trigger.displayName; + +const TabsContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => { + const direction = React.useContext(TabsAnimationContext); + return ( + + ); +}); +TabsContent.displayName = TabsPrimitive.Content.displayName; + +export { AnimatedTabs as Tabs, TabsList, TabsTrigger, TabsContent }; diff --git a/packages/@justweb3/ui/src/stories/components/clickable-item.stories.tsx b/packages/@justweb3/ui/src/stories/components/clickable-item.stories.tsx index 50c8bf4b..e172f59c 100644 --- a/packages/@justweb3/ui/src/stories/components/clickable-item.stories.tsx +++ b/packages/@justweb3/ui/src/stories/components/clickable-item.stories.tsx @@ -25,18 +25,7 @@ export const Example = ({ } right={ diff --git a/packages/@justweb3/widget/src/lib/components/MetadataCard/index.tsx b/packages/@justweb3/widget/src/lib/components/MetadataCard/index.tsx index 80815148..485a455e 100644 --- a/packages/@justweb3/widget/src/lib/components/MetadataCard/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/MetadataCard/index.tsx @@ -37,10 +37,6 @@ export const MetadataCard: React.FC = ({ className: styles.link, }; - if(variant === 'social'){ - console.log(linkProps); - } - return ( diff --git a/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx b/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx index 04dc5ccb..b47850a0 100644 --- a/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx @@ -32,7 +32,6 @@ export const ContentHashSection: React.FC = ({ name: 'contentHash', }); - console.log('form', form.getValues('contentHash')); const contentHashValid = useMemo(() => { const protocol = contentHash.split('://')[0]; if (!protocol) return false; diff --git a/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx b/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx index 215ef5d0..49de4a6d 100644 --- a/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx @@ -235,7 +235,7 @@ const ContentSection: React.FC = ({ })} {sanitized?.socials?.length > 0 && ( - social.value !== '') .map((social) => ( diff --git a/packages/@justweb3/widget/src/lib/dialogs/AuthorizeMAppDialog/index.tsx b/packages/@justweb3/widget/src/lib/dialogs/AuthorizeMAppDialog/index.tsx index 0accc0fe..ad14cf91 100644 --- a/packages/@justweb3/widget/src/lib/dialogs/AuthorizeMAppDialog/index.tsx +++ b/packages/@justweb3/widget/src/lib/dialogs/AuthorizeMAppDialog/index.tsx @@ -180,7 +180,7 @@ export const AuthorizeMAppDialog: FC = ({ > - + = ({ ) : ( - + = ({ }} /> )} - + {ens} diff --git a/packages/@justweb3/widget/src/lib/dialogs/RevokeMAppDialog/index.tsx b/packages/@justweb3/widget/src/lib/dialogs/RevokeMAppDialog/index.tsx index 0bbb19ed..5d3e83db 100644 --- a/packages/@justweb3/widget/src/lib/dialogs/RevokeMAppDialog/index.tsx +++ b/packages/@justweb3/widget/src/lib/dialogs/RevokeMAppDialog/index.tsx @@ -156,7 +156,7 @@ export const RevokeMAppDialog: FC = ({ > - + = ({ } > - + {address && formatText(address, 4)} diff --git a/packages/@justweb3/widget/src/lib/dialogs/UpdateRecordDialog/index.tsx b/packages/@justweb3/widget/src/lib/dialogs/UpdateRecordDialog/index.tsx index 69f7a092..df1110c2 100644 --- a/packages/@justweb3/widget/src/lib/dialogs/UpdateRecordDialog/index.tsx +++ b/packages/@justweb3/widget/src/lib/dialogs/UpdateRecordDialog/index.tsx @@ -98,7 +98,7 @@ export const UpdateRecordDialog: FC = ({ ) : ( - + Re type PluginComponent = (pluginApi: PluginApi) => ReactNode; type SectionPluginComponent = (pluginApi: PluginApi, ens: string, chainId: ChainId) => ReactNode; interface PluginComponents { - Providers?: PluginProviderComponent; + Provider?: PluginProviderComponent; Global?: PluginComponent; SignInMenu?: PluginComponent; ProfileSection?: SectionPluginComponent; + ProfileHeader?: SectionPluginComponent; + ProfileTab?: SectionPluginComponent; } type OnMountHook = (pluginApi: PluginApi) => void; diff --git a/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx b/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx index ee3e2616..e2092d01 100644 --- a/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx +++ b/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx @@ -18,8 +18,8 @@ import { UseEnsSignInResult, useEnsSignOut, UseEnsSignOutResult, - useMountedAccount, - UseSubnameUpdateFunctionParams, + useMountedAccount, useRecords, + UseSubnameUpdateFunctionParams } from '@justaname.id/react'; import { JustWeb3ThemeProvider, @@ -119,6 +119,7 @@ export const JustWeb3Provider: FC = ({ (useMemo( () => plugins + ?.filter((plugin) => plugin.mApps) ?.map((plugin) => plugin.mApps) .flat() .map((mApp) => ({ @@ -358,6 +359,7 @@ const CheckSession: FC<{ handleOpenDialog: (open: boolean) => void; }> = ({ openOnWalletConnect, handleOpenDialog }) => { const { connectedEns, isEnsAuthPending } = useEnsAuth(); + const { getRecords } = useRecords() const { signOut } = useEnsSignOut(); const { address, isConnected, isDisconnected, isConnecting, isReconnecting, chainId } = useMountedAccount(); @@ -372,6 +374,20 @@ const CheckSession: FC<{ } }, [chainId, connectedEns]); + useEffect(() => { + if (connectedEns) { + getRecords({ + ens: connectedEns.ens, + chainId: connectedEns.chainId, + }, true).catch((e) => { + if(e.message.includes('NotFound')) { + signOut(); + handleOpenDialog(true); + } + }) + } + }, [connectedEns]); + useEffect(() => { if (connectedEns && address) { if (connectedEns.address !== address) { diff --git a/packages/@justweb3/widget/src/lib/providers/PluginProvider/index.tsx b/packages/@justweb3/widget/src/lib/providers/PluginProvider/index.tsx index 85688f87..d63b22a3 100644 --- a/packages/@justweb3/widget/src/lib/providers/PluginProvider/index.tsx +++ b/packages/@justweb3/widget/src/lib/providers/PluginProvider/index.tsx @@ -397,7 +397,7 @@ export const PluginProvider: FC = ({ const wrappedContent = plugins.reduceRight( (acc: ReactNode, plugin: JustaPlugin) => { - const ProvidersComponent = plugin.components?.Providers; + const ProvidersComponent = plugin.components?.Provider; if (ProvidersComponent) { return ProvidersComponent(createPluginApi(plugin.name), acc); diff --git a/packages/plugins/efp/.babelrc b/packages/plugins/efp/.babelrc new file mode 100644 index 00000000..1ea870ea --- /dev/null +++ b/packages/plugins/efp/.babelrc @@ -0,0 +1,12 @@ +{ + "presets": [ + [ + "@nx/react/babel", + { + "runtime": "automatic", + "useBuiltIns": "usage" + } + ] + ], + "plugins": [] +} diff --git a/packages/plugins/efp/.env.example b/packages/plugins/efp/.env.example new file mode 100644 index 00000000..10a98277 --- /dev/null +++ b/packages/plugins/efp/.env.example @@ -0,0 +1,6 @@ +STORYBOOK_APP_BACKEND_URL=http://localhost:3333 +STORYBOOK_APP_ENS_DOMAIN= +STORYBOOK_APP_ORIGIN=http://localhost:3000 +STORYBOOK_APP_DOMAIN=localhost +STORYBOOK_APP_CHAIN_ID= +STORYBOOK_APP_PROVIDER_URL= diff --git a/packages/plugins/efp/.eslintrc.json b/packages/plugins/efp/.eslintrc.json new file mode 100644 index 00000000..4cf70de1 --- /dev/null +++ b/packages/plugins/efp/.eslintrc.json @@ -0,0 +1,34 @@ +{ + "extends": ["plugin:@nx/react", "../../../.eslintrc.base.json"], + "ignorePatterns": ["!**/*", "dist", "src/test"], + "overrides": [ + { + "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], + "rules": {} + }, + { + "files": ["*.ts", "*.tsx"], + "rules": { + "@typescript-eslint/ban-types": ["warn"], + "@typescript-eslint/no-empty-function": ["warn"], + "@typescript-eslint/no-empty-interface": ["warn"] + } + }, + { + "files": ["*.js", "*.jsx"], + "rules": {} + }, + { + "files": ["*.json"], + "parser": "jsonc-eslint-parser", + "rules": { + "@nx/dependency-checks": [ + "error", + { + "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", "{projectRoot}/src/stories/**/*", "{projectRoot}/.storybook/**/*"] + } + ] + } + } + ] +} diff --git a/packages/plugins/efp/.gitignore b/packages/plugins/efp/.gitignore new file mode 100644 index 00000000..4c49bd78 --- /dev/null +++ b/packages/plugins/efp/.gitignore @@ -0,0 +1 @@ +.env diff --git a/packages/plugins/efp/.storybook/main.ts b/packages/plugins/efp/.storybook/main.ts new file mode 100644 index 00000000..4a48c247 --- /dev/null +++ b/packages/plugins/efp/.storybook/main.ts @@ -0,0 +1,33 @@ +import type { StorybookConfig } from '@storybook/react-vite'; +import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; +import { mergeConfig } from 'vite'; +import react from '@vitejs/plugin-react'; + +const config: StorybookConfig = { + stories: ['../src/stories/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'], + addons: ['@storybook/addon-essentials', '@storybook/addon-interactions'], + framework: { + name: '@storybook/react-vite', + options: {}, + }, + + viteFinal: async (config) => + mergeConfig(config, { + plugins: [react(), nxViteTsPaths()], + define: { + 'process.env': process.env, + } + }), + typescript: { + reactDocgen: "react-docgen-typescript", + reactDocgenTypescriptOptions: { + include: ['src/**/*.{ts,tsx}'] + } + } +}; + +export default config; + +// To customize your Vite configuration you can use the viteFinal field. +// Check https://storybook.js.org/docs/react/builders/vite#configuration +// and https://nx.dev/recipes/storybook/custom-builder-configs diff --git a/packages/plugins/efp/.storybook/preview.ts b/packages/plugins/efp/.storybook/preview.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/plugins/efp/CHANGELOG.md new file mode 100644 index 00000000..a330b361 --- /dev/null +++ b/packages/plugins/efp/CHANGELOG.md @@ -0,0 +1,391 @@ +## 0.0.38 (2024-10-21) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.100 +- Updated @justaname.id/react to 0.3.103 +- Updated @justweb3/ui to 0.0.39 +- Updated @justweb3/widget to 0.0.39 + +## 0.0.37 (2024-10-21) + + +### 🚀 Features + +- justverified fixes and double vc signature due to rerending fixed ([57965f5](https://github.com/JustaName-id/JustaName-sdk/commit/57965f5)) + +- update functionality ([69c4761](https://github.com/JustaName-id/JustaName-sdk/commit/69c4761)) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.99 +- Updated @justaname.id/react to 0.3.102 +- Updated @justweb3/ui to 0.0.38 +- Updated @justweb3/widget to 0.0.38 + + +### ❤️ Thank You + +- HadiKhai + +## 0.0.36 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.37 +- Updated @justweb3/widget to 0.0.37 + +## 0.0.35 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.36 +- Updated @justweb3/widget to 0.0.36 + +## 0.0.34 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.35 +- Updated @justweb3/widget to 0.0.35 + +## 0.0.33 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.34 +- Updated @justweb3/widget to 0.0.34 + +## 0.0.32 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.33 +- Updated @justweb3/widget to 0.0.33 + +## 0.0.31 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.32 +- Updated @justweb3/widget to 0.0.32 + +## 0.0.30 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.31 +- Updated @justweb3/widget to 0.0.31 + +## 0.0.29 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justweb3/ui to 0.0.30 +- Updated @justweb3/widget to 0.0.30 + +## 0.0.28 (2024-10-14) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.98 +- Updated @justaname.id/react to 0.3.101 +- Updated @justweb3/ui to 0.0.29 +- Updated @justweb3/widget to 0.0.29 + +## 0.0.27 (2024-09-22) + + +### 🚀 Features + +- isCanOpenMAppDialogPending ([#32](https://github.com/JustaName-id/JustaName-sdk/pull/32)) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.91 +- Updated @justaname.id/react to 0.3.94 + + +### ❤️ Thank You + +- JustHadi @HadiKhai + +## 0.0.26 (2024-09-22) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.90 +- Updated @justaname.id/react to 0.3.93 + +## 0.0.25 (2024-09-22) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.89 +- Updated @justaname.id/react to 0.3.92 + +## 0.0.24 (2024-09-21) + + +### 🚀 Features + +- expose usemapp in the package ([#29](https://github.com/JustaName-id/JustaName-sdk/pull/29)) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.88 +- Updated @justaname.id/react to 0.3.91 + + +### ❤️ Thank You + +- JustHadi @HadiKhai + +## 0.0.23 (2024-09-21) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.87 +- Updated @justaname.id/react to 0.3.90 + +## 0.0.22 (2024-09-21) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.86 +- Updated @justaname.id/react to 0.3.89 + +## 0.0.21 (2024-09-20) + + +### 🚀 Features + +- mApp in sdk react and react-signin ([#26](https://github.com/JustaName-id/JustaName-sdk/pull/26)) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.85 +- Updated @justaname.id/react to 0.3.88 + + +### ❤️ Thank You + +- JustHadi @HadiKhai + +## 0.0.20 (2024-09-20) + + +### 🩹 Fixes + +- **react-signin:** design subnames ([b384537](https://github.com/JustaName-id/JustaName-sdk/commit/b384537)) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.84 +- Updated @justaname.id/react to 0.3.87 + + +### ❤️ Thank You + +- anthony2399 @anthony23991 + +## 0.0.19 (2024-09-19) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.83 +- Updated @justaname.id/react to 0.3.86 + +## 0.0.18 (2024-09-19) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.82 +- Updated @justaname.id/react to 0.3.85 + +## 0.0.17 (2024-09-19) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.81 +- Updated @justaname.id/react to 0.3.84 + +## 0.0.16 (2024-09-18) + + +### 🚀 Features + +- siwens and ebdc ([87677f3](https://github.com/JustaName-id/JustaName-sdk/commit/87677f3)) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.80 +- Updated @justaname.id/react to 0.3.83 + + +### ❤️ Thank You + +- HadiKhai + +## 0.0.15 (2024-09-18) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.79 +- Updated @justaname.id/react to 0.3.82 + +## 0.0.14 (2024-09-16) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.78 +- Updated @justaname.id/react to 0.3.81 + +## 0.0.13 (2024-09-16) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.77 +- Updated @justaname.id/react to 0.3.80 + +## 0.0.12 (2024-09-15) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.76 +- Updated @justaname.id/react to 0.3.79 + +## 0.0.11 (2024-09-15) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.75 +- Updated @justaname.id/react to 0.3.78 + +## 0.0.10 (2024-09-15) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.74 +- Updated @justaname.id/react to 0.3.77 + +## 0.0.9 (2024-09-15) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.73 +- Updated @justaname.id/react to 0.3.76 + +## 0.0.8 (2024-09-15) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.72 +- Updated @justaname.id/react to 0.3.75 + +## 0.0.7 (2024-09-14) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.71 +- Updated @justaname.id/react to 0.3.74 + +## 0.0.6 (2024-09-14) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.70 +- Updated @justaname.id/react to 0.3.73 + +## 0.0.5 (2024-09-14) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.69 +- Updated @justaname.id/react to 0.3.72 + +## 0.0.4 (2024-09-14) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.68 +- Updated @justaname.id/react to 0.3.71 + +## 0.0.3 (2024-09-14) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.67 +- Updated @justaname.id/react to 0.3.70 + +## 0.0.2 (2024-09-14) + + +### 🚀 Features + +- published react-signin and react-ui ([1d90025](https://github.com/JustaName-id/JustaName-sdk/commit/1d90025)) + +- added git repository for new packages ([e40c722](https://github.com/JustaName-id/JustaName-sdk/commit/e40c722)) + + +### 🧱 Updated Dependencies + +- Updated @justaname.id/sdk to 0.2.66 +- Updated @justaname.id/react to 0.3.69 + + +### ❤️ Thank You + +- anthony2399 @anthony23991 + +## 0.0.1 (2024-09-13) + + +### 🚀 Features + +- signin widget and privy example ([3f9bc14](https://github.com/JustaName-id/JustaName-sdk/commit/3f9bc14)) + +- update loading flags in hooks naming convention ([70f70a4](https://github.com/JustaName-id/JustaName-sdk/commit/70f70a4)) + +- update subname ([12755c4](https://github.com/JustaName-id/JustaName-sdk/commit/12755c4)) + + +### ❤️ Thank You + +- HadiKhai \ No newline at end of file diff --git a/packages/plugins/efp/README.md b/packages/plugins/efp/README.md new file mode 100644 index 00000000..927fda85 --- /dev/null +++ b/packages/plugins/efp/README.md @@ -0,0 +1,7 @@ +# justweb3-efp-plugin + +This library was generated with [Nx](https://nx.dev). + +## Running unit tests + +Run `nx test justweb3-efp-plugin` to execute the unit tests via [Jest](https://jestjs.io). diff --git a/packages/plugins/efp/env.d.ts b/packages/plugins/efp/env.d.ts new file mode 100644 index 00000000..6ae21f5d --- /dev/null +++ b/packages/plugins/efp/env.d.ts @@ -0,0 +1,15 @@ +/// + +interface ImportMetaEnv { + STORYBOOK_APP_CHAIN_ID: string; + STORYBOOK_APP_ORIGIN: string; + STORYBOOK_APP_DOMAIN: string; + STORYBOOK_APP_BACKEND_URL: string; + STORYBOOK_APP_PROVIDER_URL: string; + STORYBOOK_APP_ENS_DOMAIN: string; + STORYBOOK_APP_ENV: string; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +} diff --git a/packages/plugins/efp/jest.config.ts b/packages/plugins/efp/jest.config.ts new file mode 100644 index 00000000..c472ec8c --- /dev/null +++ b/packages/plugins/efp/jest.config.ts @@ -0,0 +1,12 @@ +/* eslint-disable */ +export default { + displayName: 'justweb3-efp-plugin', + preset: '../../../jest.preset.js', + transform: { + '^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest', + '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/react/babel'] }], + }, + moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], + coverageDirectory: '../../../coverage/packages/plugins/justweb3-efp-plugin', + passWithNoTests: true, +}; diff --git a/packages/plugins/efp/package.json b/packages/plugins/efp/package.json new file mode 100644 index 00000000..44f1f66a --- /dev/null +++ b/packages/plugins/efp/package.json @@ -0,0 +1,32 @@ +{ + "name": "justweb3-efp-plugin", + "version": "0.0.38", + "dependencies": { + "@justaname.id/react": "0.3.103", + "@justaname.id/sdk": "0.2.100", + "@justweb3/ui": "0.0.41", + "@justweb3/widget": "0.0.41", + "axios": "^1.6.0", + "lodash": "4.17.21", + "moment": "^2.30.1", + "qs": "^6.12.0" + }, + "peerDependencies": { + "@tanstack/react-query": "^5.x", + "react": ">=17" + }, + "exports": { + "./package.json": "./dist/package.json", + ".": "./dist/index.esm.js" + }, + "publishConfig": { + "access": "public" + }, + "module": "./dist/index.esm.js", + "main": "./dist/index.esm.js", + "types": "./dist/index.esm.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/JustaName-id/JustaName-sdk" + } +} diff --git a/packages/plugins/efp/project.json b/packages/plugins/efp/project.json new file mode 100644 index 00000000..579c945f --- /dev/null +++ b/packages/plugins/efp/project.json @@ -0,0 +1,122 @@ +{ + "name": "efp-plugin", + "$schema": "../../../node_modules/nx/schemas/project-schema.json", + "sourceRoot": "packages/plugins/efp/src", + "projectType": "library", + "tags": [], + "targets": { + "storybook": { + "executor": "@nx/storybook:storybook", + "options": { + "port": 4401, + "configDir": "packages/plugins/efp/.storybook" + }, + "configurations": { + "ci": { + "quiet": true + } + } + }, + "build": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "nx buildProject plugins/efp" + }, + { + "command": "node update-package-json.js" + } + ], + "cwd": "packages/plugins/efp", + "parallel": false + } + }, + "buildProject": { + "executor": "@nx/rollup:rollup", + "outputs": ["{options.outputPath}"], + "defaultConfiguration": "production", + "options": { + "outputPath": "packages/plugins/efp/dist", + "tsConfig": "packages/plugins/efp/tsconfig.lib.json", + "project": "packages/plugins/efp/package.json", + "entryFile": "packages/plugins/efp/src/index.ts", + "external": [ + "react", + "react-dom", + "react/jsx-runtime", + "@justaname.id/react", + "@justweb3/ui", + "@justaname.id/sdk", + "@justweb3/widget" + ], + "rollupConfig": "packages/plugins/efp/rollup.config.cjs", + "generateExportsField": true, + "compiler": "swc", + "format": ["esm"], + "assets": [ + { + "glob": "packages/plugins/efp/README.md", + "input": ".", + "output": "." + } + ] + }, + "configurations": { + "production": { + "optimization": true, + "sourceMap": false, + "namedChunks": false, + "extractLicenses": true, + "vendorChunk": false + } + }, + "dependsOn": [ + "lint", + { + "projects": [ + "@justaname.id/siwens", + "@justaname.id/sdk", + "@justaname.id/react", + "@justweb3/ui", + "@justweb3/widget" + ], + "target": "build" + } + ] + }, + "lint": { + "executor": "@nx/eslint:lint", + "outputs": ["{options.outputFile}"], + "options": { + "fix": true, + "lintFilePatterns": [ + "packages/plugins/efp/**/*.{ts,tsx,js,jsx}", + "packages/plugins/efp/package.json" + ] + } + }, + "publish": { + "command": "node tools/scripts/publish.mjs plugins/efp {args.ver} {args.tag}", + "dependsOn": ["build"] + }, + "nx-release-publish": { + "options": { + "packageRoot": "packages/plugins/efp/dist" + }, + "dependsOn": ["^build", "build", "^@justaname.id/react:build"] + }, + "release:package": { + "executor": "nx:run-commands", + "options": { + "command": "npx semantic-release --debug --extends=./packages/plugins/efp/release.config.js" + } + }, + "update-deps": { + "executor": "nx:run-commands", + "options": { + "command": "npx rjp ./packages/plugins/efp/dist/package.json $PACKAGE_NAME $VERSION" + } + } + } +} diff --git a/packages/plugins/efp/release.config.js b/packages/plugins/efp/release.config.js new file mode 100644 index 00000000..cfcf0470 --- /dev/null +++ b/packages/plugins/efp/release.config.js @@ -0,0 +1,46 @@ +const libName = 'react-signin'; +const artifactName = 'justaname-react-signin'; +const libPath = `packages/@justaname.id/${libName}`; +const importPath = `@justaname.id/${libName}`; + +module.exports = { + name: libName, + pkgRoot: `${libPath}/dist`, + branches: [ + '+([0-9])?(.{+([0-9]),x}).x', + ' main', + 'next', + 'next-major', + { name: 'beta', prerelease: true }, + { name: 'alpha', prerelease: true }, + ], + tagFormat: artifactName + '-v${version}', + commitPaths: [`${libPath}/*`], + assets: [`${libPath}/README.md`, `${libPath}/CHANGELOG.md`], + plugins: [ + '@semantic-release/commit-analyzer', + '@semantic-release/release-notes-generator', + [ + '@semantic-release/changelog', + { + changelogFile: `${libPath}/CHANGELOG.md`, + }, + ], + '@semantic-release/npm', + [ + '@semantic-release/exec', + { + prepareCmd: ` PACKAGE_NAME=${importPath} VERSION=\${nextRelease.version} npm run update-deps && VERSION=\${nextRelease.version} npm run bump-version:${libName}`, + }, + ], + [ + '@semantic-release/git', + { + assets: [`${libPath}/CHANGELOG.md`], + message: + `chore(release): ${libName}` + + '-v${nextRelease.version} [skip ci]\n\n${nextRelease.notes}', + }, + ], + ], +}; diff --git a/packages/plugins/efp/rollup.config.cjs b/packages/plugins/efp/rollup.config.cjs new file mode 100644 index 00000000..74ee6d5b --- /dev/null +++ b/packages/plugins/efp/rollup.config.cjs @@ -0,0 +1,21 @@ +const nrwlConfig = require('@nrwl/react/plugins/bundle-rollup'); +const svgr = require('@svgr/rollup').default; +const preserveDirectives = require('rollup-preserve-directives').default; +const nodeResolve = require('@rollup/plugin-node-resolve').default; +const commonjs = require('@rollup/plugin-commonjs'); + +module.exports = (config) => { + const nxConfig = nrwlConfig(config); + return { + ...nxConfig, + plugins: [ + ...nxConfig.plugins, + nodeResolve({ + preferBuiltins: false, + extensions: ['.js', '.jsx', '.ts', '.tsx'], + }), + commonjs(), + preserveDirectives(), + ], + }; +}; diff --git a/packages/plugins/efp/src/index.ts b/packages/plugins/efp/src/index.ts new file mode 100644 index 00000000..cc80ecd2 --- /dev/null +++ b/packages/plugins/efp/src/index.ts @@ -0,0 +1 @@ +export * from './lib' \ No newline at end of file diff --git a/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx b/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx new file mode 100644 index 00000000..a45b6f03 --- /dev/null +++ b/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx @@ -0,0 +1,14 @@ +import type { SVGProps } from 'react'; + +export const EFPIcon = (props: SVGProps) => { + return ( + + + + + + + ) +} \ No newline at end of file diff --git a/packages/plugins/efp/src/lib/icons/index.ts b/packages/plugins/efp/src/lib/icons/index.ts new file mode 100644 index 00000000..2f49c2cd --- /dev/null +++ b/packages/plugins/efp/src/lib/icons/index.ts @@ -0,0 +1 @@ +export * from './EFPIcon'; \ No newline at end of file diff --git a/packages/plugins/efp/src/lib/index.ts b/packages/plugins/efp/src/lib/index.ts new file mode 100644 index 00000000..35798d72 --- /dev/null +++ b/packages/plugins/efp/src/lib/index.ts @@ -0,0 +1,2 @@ +export * from './plugins'; +export * from './icons'; \ No newline at end of file diff --git a/packages/plugins/efp/src/lib/plugins/index.tsx b/packages/plugins/efp/src/lib/plugins/index.tsx new file mode 100644 index 00000000..db9c8278 --- /dev/null +++ b/packages/plugins/efp/src/lib/plugins/index.tsx @@ -0,0 +1,23 @@ +import { JustaPlugin } from '@justweb3/widget'; +import { ArrowIcon, ClickableItem } from '@justweb3/ui'; +import { EFPIcon } from '../icons/EFPIcon'; +export const EFPPlugin: JustaPlugin = { + name: 'EFPPlugin', + components: { + SignInMenu: (pluginApi) => { + return ( + } + style={{ + width: '100%', + }} + onClick={() => { + pluginApi.setState('efpOpen', true); + }} + right={} + /> + ); + }, + }, +} diff --git a/packages/plugins/efp/src/stories/efp.stories.tsx b/packages/plugins/efp/src/stories/efp.stories.tsx new file mode 100644 index 00000000..a341bfe0 --- /dev/null +++ b/packages/plugins/efp/src/stories/efp.stories.tsx @@ -0,0 +1,138 @@ +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import '@rainbow-me/rainbowkit/styles.css'; +import { + ConnectButton, + getDefaultConfig, + RainbowKitProvider, +} from '@rainbow-me/rainbowkit'; +import { WagmiProvider } from 'wagmi'; +import { mainnet, sepolia } from 'wagmi/chains'; +import { ChainId } from '@justaname.id/sdk'; +import { Meta, StoryObj } from '@storybook/react'; +import { Button } from '@justweb3/ui'; +import { + JustEnsCard, + JustWeb3Button, + JustWeb3Provider, + JustWeb3ProviderConfig, + useJustWeb3, +} from '@justweb3/widget'; +import '@justweb3/widget/styles.css'; +import { EFPPlugin } from '../lib'; + +const queryClient = new QueryClient(); + +const JustWeb3Config: JustWeb3ProviderConfig = { + config: { + origin: import.meta.env.STORYBOOK_APP_ORIGIN, + domain: import.meta.env.STORYBOOK_APP_DOMAIN, + signInTtl: 1000 * 60 * 60 * 24, + }, + backendUrl: import.meta.env.STORYBOOK_APP_BACKEND_URL, + networks: [ + { + providerUrl: import.meta.env.STORYBOOK_APP_PROVIDER_URL, + chainId: parseInt(import.meta.env.STORYBOOK_APP_CHAIN_ID) as ChainId, + }, + ], + ensDomains: [ + { + ensDomain: import.meta.env.STORYBOOK_APP_ENS_DOMAIN, + chainId: parseInt(import.meta.env.STORYBOOK_APP_CHAIN_ID) as ChainId, + }, + ], + openOnWalletConnect: true, + allowedEns: 'all', + dev: import.meta.env.STORYBOOK_APP_DEV === 'true', + plugins: [EFPPlugin], +}; + +const UpdateButton = () => { + const { updateRecords } = useJustWeb3(); + + return ( + + ); +}; + +export const Example = () => { + const config = getDefaultConfig({ + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', + chains: [mainnet,sepolia], + }); + + return ( + + + + +

JustWeb3 Sign In

+ +
+
+ + + +
+ + + +
+ + + + + + + +
+
+ + + + + + +
+
+
+
+
+
+ ); +}; + +const meta: Meta = { + component: Example, + title: 'Connect/SignIn', +}; +export default meta; +type Story = StoryObj; diff --git a/packages/plugins/efp/tsconfig.json b/packages/plugins/efp/tsconfig.json new file mode 100644 index 00000000..759148c7 --- /dev/null +++ b/packages/plugins/efp/tsconfig.json @@ -0,0 +1,33 @@ +{ + "extends": "../../../tsconfig.base.json", + "compilerOptions": { + "jsx": "react-jsx", + "allowJs": false, + "moduleResolution": "node", + "esModuleInterop": false, + "allowSyntheticDefaultImports": true, + "strict": true, + "paths": { + "@justaname.id/siwens": ["packages/@justaname.id/siwens"], + "@justaname.id/sdk": ["packages/@justaname.id/sdk"], + "@justaname.id/react": ["packages/@justaname.id/react"], + "@justweb3/ui": ["packages/@justweb3/ui"], + "@justweb3/widget": ["packages/@justweb3/widget"] + } + }, + "files": [], + "include": [ + "node_modules/viem/**/*" + ], + "references": [ + { + "path": "./tsconfig.lib.json" + }, + { + "path": "./tsconfig.spec.json" + }, + { + "path": "./tsconfig.storybook.json" + } + ] +} diff --git a/packages/plugins/efp/tsconfig.lib.json b/packages/plugins/efp/tsconfig.lib.json new file mode 100644 index 00000000..b7ad5977 --- /dev/null +++ b/packages/plugins/efp/tsconfig.lib.json @@ -0,0 +1,39 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "declaration": true, + "declarationMap": true, + "moduleResolution": "node", + "types": [ + "node", + "jest", + "@nx/react/typings/cssmodule.d.ts", + "@nx/react/typings/image.d.ts" + ], + "paths": { + "@justaname.id/siwens": ["packages/@justaname.id/siwens"], + "@justaname.id/sdk": ["packages/@justaname.id/sdk"], + "@justaname.id/react": ["packages/@justaname.id/react"], + "@justweb3/ui": ["packages/@justweb3/ui"], + "@justweb3/widget": ["packages/@justweb3/widget"] + } + }, + "exclude": [ + "jest.config.ts", + "src/**/*.spec.ts", + "src/**/*.test.ts", + "src/**/*.spec.tsx", + "src/**/*.test.tsx", + "src/**/*.spec.js", + "src/**/*.test.js", + "src/**/*.spec.jsx", + "src/**/*.test.jsx", + "**/*.stories.ts", + "**/*.stories.js", + "**/*.stories.jsx", + "**/*.stories.tsx" + ], + "include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx", "../../node_modules/viem/**/*" + ] +} diff --git a/packages/plugins/efp/tsconfig.spec.json b/packages/plugins/efp/tsconfig.spec.json new file mode 100644 index 00000000..70d68044 --- /dev/null +++ b/packages/plugins/efp/tsconfig.spec.json @@ -0,0 +1,27 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../../dist/out-tsc", + "module": "commonjs", + "types": ["jest", "node"], + "paths": { + "@justaname.id/siwens": ["packages/@justaname.id/siwens"], + "@justaname.id/sdk": ["packages/@justaname.id/sdk"], + "@justaname.id/react": ["packages/@justaname.id/react"], + "@justweb3/ui": ["packages/@justweb3/ui"], + "@justweb3/widget": ["packages/@justweb3/widget"] + } + }, + "include": [ + "jest.config.ts", + "src/**/*.test.ts", + "src/**/*.spec.ts", + "src/**/*.test.tsx", + "src/**/*.spec.tsx", + "src/**/*.test.js", + "src/**/*.spec.js", + "src/**/*.test.jsx", + "src/**/*.spec.jsx", + "src/**/*.d.ts" + ] +} diff --git a/packages/plugins/efp/tsconfig.storybook.json b/packages/plugins/efp/tsconfig.storybook.json new file mode 100644 index 00000000..81d3537c --- /dev/null +++ b/packages/plugins/efp/tsconfig.storybook.json @@ -0,0 +1,42 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "emitDecoratorMetadata": true, + "outDir": "tsconfig.storybook", + "module": "esnext", + "noUnusedLocals": false, + "paths": { + "@justaname.id/siwens": ["packages/@justaname.id/siwens"], + "@justaname.id/sdk": ["packages/@justaname.id/sdk"], + "@justaname.id/react": ["packages/@justaname.id/react"], + "@justweb3/ui": ["packages/@justweb3/ui"], + "@justweb3/widget": ["packages/@justweb3/widget"] + } + }, + "files": [ + "../../../../node_modules/@nx/react/typings/styled-jsx.d.ts", + "../../../node_modules/@nx/react/typings/cssmodule.d.ts", + "../../../node_modules/@nx/react/typings/image.d.ts" + ], + "exclude": [ + "src/**/*.spec.ts", + "src/**/*.test.ts", + "src/**/*.spec.js", + "src/**/*.test.js", + "src/**/*.spec.tsx", + "src/**/*.test.tsx", + "src/**/*.spec.jsx", + "src/**/*.test.js" + ], + "include": [ + "src/lib/**/*.ts", + "src/**/*.stories.ts", + "src/**/*.stories.js", + "src/**/*.stories.jsx", + "src/**/*.stories.tsx", + "src/**/*.stories.mdx", + ".storybook/*.js", + ".storybook/*.ts", + "env.d.ts" + ] +} diff --git a/packages/plugins/efp/update-package-json.js b/packages/plugins/efp/update-package-json.js new file mode 100644 index 00000000..9256823b --- /dev/null +++ b/packages/plugins/efp/update-package-json.js @@ -0,0 +1,26 @@ +const fs = require('fs'); +const path = require('path'); + +// Read the original package.json +const packageJson = require('./package.json'); + +// Modify the paths +packageJson.main = packageJson.main.replace('./dist/', './'); +packageJson.module = packageJson.module.replace('./dist/', './'); +packageJson.types = packageJson.types.replace('./dist/', './'); + +if (packageJson.exports) { + Object.keys(packageJson.exports).forEach(key => { + if (typeof packageJson.exports[key] === 'string') { + packageJson.exports[key] = packageJson.exports[key].replace('./dist/', './'); + } else if (typeof packageJson.exports[key] === 'object') { + Object.keys(packageJson.exports[key]).forEach(subKey => { + packageJson.exports[key][subKey] = packageJson.exports[key][subKey].replace('./dist/', './'); + }); + } + }); +} + +// Write the modified package.json to the dist folder +const distPath = path.join(__dirname, 'dist', 'package.json'); +fs.writeFileSync(distPath, JSON.stringify(packageJson, null, 2)); diff --git a/yarn.lock b/yarn.lock index 506084d6..2ede47df 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7442,6 +7442,32 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-tabs@npm:^1.1.1": + version: 1.1.1 + resolution: "@radix-ui/react-tabs@npm:1.1.1" + dependencies: + "@radix-ui/primitive": "npm:1.1.0" + "@radix-ui/react-context": "npm:1.1.1" + "@radix-ui/react-direction": "npm:1.1.0" + "@radix-ui/react-id": "npm:1.1.0" + "@radix-ui/react-presence": "npm:1.1.1" + "@radix-ui/react-primitive": "npm:2.0.0" + "@radix-ui/react-roving-focus": "npm:1.1.0" + "@radix-ui/react-use-controllable-state": "npm:1.1.0" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 10c0/86fa6beda5ac5fbc6cede483e198641fbba0b1e4ad30db3488fbfefdf460ca4e35d765f5b22f73ded1849252b2432cfa755783218f282721462f90f2ad1adf30 + languageName: node + linkType: hard + "@radix-ui/react-use-callback-ref@npm:1.1.0": version: 1.1.0 resolution: "@radix-ui/react-use-callback-ref@npm:1.1.0" @@ -26026,6 +26052,7 @@ __metadata: "@radix-ui/react-popover": "npm:^1.1.1" "@radix-ui/react-radio-group": "npm:^1.2.1" "@radix-ui/react-switch": "npm:^1.1.1" + "@radix-ui/react-tabs": "npm:^1.1.1" "@rainbow-me/rainbowkit": "npm:^2.0.2" "@rollup/plugin-commonjs": "npm:^25.0.7" "@rollup/plugin-json": "npm:^6.1.0" From 19b118d57aee7115bb5b5ea5ccf3fd01b01f500b Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Mon, 28 Oct 2024 17:29:10 +0200 Subject: [PATCH 07/57] fix yarn.lock --- packages/@justweb3/ui/package.json | 4 ++-- yarn.lock | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/@justweb3/ui/package.json b/packages/@justweb3/ui/package.json index bf712854..d667b82e 100644 --- a/packages/@justweb3/ui/package.json +++ b/packages/@justweb3/ui/package.json @@ -7,11 +7,11 @@ "@radix-ui/react-label": "^2.1.0", "@radix-ui/react-popover": "^1.1.1", "@radix-ui/react-slot": "1.1.0", + "@radix-ui/react-tabs": "^1.1.1", "clsx": "1.2.1", "embla-carousel-react": "^8.3.0", "input-otp": "^1.2.4", - "react-hook-form": "^7.49.2", - "@radix-ui/react-tabs": "^1.1.1" + "react-hook-form": "^7.49.2" }, "peerDependencies": { "react": ">=17" diff --git a/yarn.lock b/yarn.lock index 9e277da4..eb09bffd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4577,6 +4577,7 @@ __metadata: "@radix-ui/react-label": "npm:^2.1.0" "@radix-ui/react-popover": "npm:^1.1.1" "@radix-ui/react-slot": "npm:1.1.0" + "@radix-ui/react-tabs": "npm:^1.1.1" clsx: "npm:1.2.1" embla-carousel-react: "npm:^8.3.0" input-otp: "npm:^1.2.4" From 831c4b75bd81cf298051ca87c58e583550770220 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Mon, 28 Oct 2024 17:35:56 +0200 Subject: [PATCH 08/57] fix --- .../sections/customizer/VerifiedSection/index.tsx | 6 ++++-- packages/plugins/efp/package.json | 9 +-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/apps/console/src/components/sections/customizer/VerifiedSection/index.tsx b/apps/console/src/components/sections/customizer/VerifiedSection/index.tsx index 4b8a7cdd..2d1a76f2 100644 --- a/apps/console/src/components/sections/customizer/VerifiedSection/index.tsx +++ b/apps/console/src/components/sections/customizer/VerifiedSection/index.tsx @@ -2,13 +2,15 @@ import { ReactNode, useContext, useEffect } from 'react'; import { JustWeb3Context } from '@justweb3/widget'; import { Credentials, + JustVerifiedPlugin, +} from '@justverified/plugin'; +import { DiscordIcon, EmailIcon, GithubIcon, - JustVerifiedPlugin, TelegramIcon, TwitterIcon, -} from '@justverified/plugin'; +} from '@justweb3/ui'; import { useConsole } from '../../../../providers/ConsoleProvider'; import { Switch } from '../../../ui/switch'; import { SocialCard } from './socialCard'; diff --git a/packages/plugins/efp/package.json b/packages/plugins/efp/package.json index 44f1f66a..2bd398df 100644 --- a/packages/plugins/efp/package.json +++ b/packages/plugins/efp/package.json @@ -2,17 +2,10 @@ "name": "justweb3-efp-plugin", "version": "0.0.38", "dependencies": { - "@justaname.id/react": "0.3.103", - "@justaname.id/sdk": "0.2.100", "@justweb3/ui": "0.0.41", - "@justweb3/widget": "0.0.41", - "axios": "^1.6.0", - "lodash": "4.17.21", - "moment": "^2.30.1", - "qs": "^6.12.0" + "@justweb3/widget": "0.0.41" }, "peerDependencies": { - "@tanstack/react-query": "^5.x", "react": ">=17" }, "exports": { From 36fcc1538f73d73eadc626365000c27e705582b9 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Tue, 29 Oct 2024 14:23:04 +0200 Subject: [PATCH 09/57] feat: efp --- apps/console/src/app/page.tsx | 12 +- apps/console/src/layout/navbar/index.tsx | 22 +- .../react/src/lib/hooks/index.ts | 1 + .../react/src/lib/hooks/primaryName/index.ts | 1 + .../lib/hooks/primaryName/usePrimaryName.ts | 120 +++++++ .../react/src/lib/hooks/records/useAvatar.ts | 4 + .../src/lib/hooks/subname/useRejectSubname.ts | 49 ++- .../sdk/src/lib/api/routes/index.ts | 48 ++- .../sdk/src/lib/api/routes/primary-name.ts | 10 + .../sdk/src/lib/features/subnames/index.ts | 22 +- .../get-primary-name-by-address.ts | 23 ++ .../sdk/src/lib/types/primary-name/index.ts | 1 + .../src/stories/justverified.stories.tsx | 29 +- .../lib/icons/components/socials/Google.tsx | 2 +- .../ui/src/lib/icons/svgs/socials/google.svg | 2 +- .../@justweb3/ui/src/lib/ui/Avatar/index.tsx | 15 +- .../ui/src/lib/ui/Tabs/Tabs.module.css | 38 +- .../@justweb3/ui/src/lib/ui/Tabs/index.tsx | 52 ++- packages/@justweb3/ui/src/lib/ui/index.ts | 1 + .../ui/src/stories/ui/tabs.stories.tsx | 25 ++ .../src/lib/components/JustEnsCard/index.tsx | 32 +- .../Profile/ContentSection/index.tsx | 325 ++++++++++++------ .../@justweb3/widget/src/lib/plugins/index.ts | 83 ++++- .../widget/src/stories/dark-mode.stories.tsx | 6 +- .../widget/src/stories/signin.stories.tsx | 29 +- .../efp/src/lib/components/EFPTab/index.tsx | 245 +++++++++++++ .../src/lib/components/FollowButton/index.tsx | 51 +++ .../plugins/efp/src/lib/components/index.ts | 1 + packages/plugins/efp/src/lib/hooks/index.ts | 4 + .../efp/src/lib/hooks/useFollowState/index.ts | 60 ++++ .../efp/src/lib/hooks/useFollowers/index.ts | 84 +++++ .../efp/src/lib/hooks/useFollowing/index.ts | 81 +++++ .../src/lib/hooks/useInfiniteScroll/index.ts | 25 ++ .../efp/src/lib/hooks/useStats/index.ts | 45 +++ .../efp/src/lib/icons/EFPIcon/index.tsx | 33 +- .../plugins/efp/src/lib/plugins/index.tsx | 25 +- .../plugins/efp/src/stories/efp.stories.tsx | 49 +-- 37 files changed, 1368 insertions(+), 287 deletions(-) create mode 100644 packages/@justaname.id/react/src/lib/hooks/primaryName/index.ts create mode 100644 packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts create mode 100644 packages/@justaname.id/sdk/src/lib/api/routes/primary-name.ts create mode 100644 packages/@justaname.id/sdk/src/lib/types/primary-name/get-primary-name-by-address.ts create mode 100644 packages/@justaname.id/sdk/src/lib/types/primary-name/index.ts create mode 100644 packages/@justweb3/ui/src/stories/ui/tabs.stories.tsx create mode 100644 packages/plugins/efp/src/lib/components/EFPTab/index.tsx create mode 100644 packages/plugins/efp/src/lib/components/FollowButton/index.tsx create mode 100644 packages/plugins/efp/src/lib/components/index.ts create mode 100644 packages/plugins/efp/src/lib/hooks/index.ts create mode 100644 packages/plugins/efp/src/lib/hooks/useFollowState/index.ts create mode 100644 packages/plugins/efp/src/lib/hooks/useFollowers/index.ts create mode 100644 packages/plugins/efp/src/lib/hooks/useFollowing/index.ts create mode 100644 packages/plugins/efp/src/lib/hooks/useInfiniteScroll/index.ts create mode 100644 packages/plugins/efp/src/lib/hooks/useStats/index.ts diff --git a/apps/console/src/app/page.tsx b/apps/console/src/app/page.tsx index 90da9fb7..53f37107 100644 --- a/apps/console/src/app/page.tsx +++ b/apps/console/src/app/page.tsx @@ -20,12 +20,12 @@ export default function Page() { - - - - - - + + + + + + diff --git a/apps/console/src/layout/navbar/index.tsx b/apps/console/src/layout/navbar/index.tsx index 978e2f4a..702d97fb 100644 --- a/apps/console/src/layout/navbar/index.tsx +++ b/apps/console/src/layout/navbar/index.tsx @@ -1,15 +1,15 @@ -"use client" -import Image from "next/image"; -import { Button } from "../../components/ui/button"; +'use client'; +import Image from 'next/image'; +import { Button } from '../../components/ui/button'; import Link from 'next/link'; export const Navbar = () => { - return ( -
- JustName - - - -
- ); + return ( +
+ JustName + + + +
+ ); }; diff --git a/packages/@justaname.id/react/src/lib/hooks/index.ts b/packages/@justaname.id/react/src/lib/hooks/index.ts index e4d15e91..2bca5d6f 100644 --- a/packages/@justaname.id/react/src/lib/hooks/index.ts +++ b/packages/@justaname.id/react/src/lib/hooks/index.ts @@ -7,3 +7,4 @@ export * from './resolver'; export * from './signIn'; export * from './subname'; export * from './offchainResolver'; +export * from './primaryName'; diff --git a/packages/@justaname.id/react/src/lib/hooks/primaryName/index.ts b/packages/@justaname.id/react/src/lib/hooks/primaryName/index.ts new file mode 100644 index 00000000..28967fe6 --- /dev/null +++ b/packages/@justaname.id/react/src/lib/hooks/primaryName/index.ts @@ -0,0 +1 @@ +export * from './usePrimaryName'; diff --git a/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts b/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts new file mode 100644 index 00000000..acb445d2 --- /dev/null +++ b/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts @@ -0,0 +1,120 @@ +import { Address } from 'viem'; +import { getName } from '@ensdomains/ensjs/public'; +import { useQuery, useQueryClient } from '@tanstack/react-query'; +import { ChainId } from '@justaname.id/sdk'; +import { useJustaName } from '../../providers'; +import { useEnsPublicClient } from '../client/useEnsPublicClient'; + +export const buildPrimaryName = ( + address: string, + chainId: ChainId | undefined +) => ['PRIMARY_NAME', address, chainId]; + +export interface UsePrimaryNameParams { + address?: Address; + chainId?: ChainId; +} + +export interface UsePrimaryNameResult { + primaryName: string | undefined; + isPrimaryNamePending: boolean; + isPrimaryNameFetching: boolean; + isPrimaryNameLoading: boolean; + getPrimaryName: ( + params: getPrimaryNameParams, + force?: boolean + ) => Promise; + refetchPrimaryName: () => void; +} + +export interface getPrimaryNameParams { + address: Address | undefined; + chainId?: ChainId; +} + +export const usePrimaryName = ( + params?: UsePrimaryNameParams +): UsePrimaryNameResult => { + const { chainId, justaname } = useJustaName(); + const _chainId = params?.chainId || chainId; + const { ensClient } = useEnsPublicClient({ + chainId: _chainId, + }); + const queryClient = useQueryClient(); + + const getPrimaryName = async ( + _params: getPrimaryNameParams + ): Promise => { + if (!ensClient) { + throw new Error('Public client not found'); + } + + if (!params?.address) { + throw new Error('Address is required'); + } + + let name = ''; + + const reverseResolution = await getName(ensClient, { + address: params?.address, + }); + + if (reverseResolution && reverseResolution?.name) { + name = reverseResolution.name; + } else { + const primaryNameGetByAddressResponse = + await justaname.subnames.getPrimaryNameByAddress({ + address: params?.address, + chainId: _chainId, + }); + + if (primaryNameGetByAddressResponse) { + name = primaryNameGetByAddressResponse.name; + } + } + + return name; + }; + + const query = useQuery({ + queryKey: buildPrimaryName(params?.address || '', _chainId), + queryFn: () => + getPrimaryName({ + address: params?.address, + }), + enabled: Boolean(params?.address) && Boolean(ensClient), + }); + + const getPrimaryNameInternal = async ( + params: getPrimaryNameParams, + force = false + ): Promise => { + const _address = params.address || params?.address; + if (!_address) { + throw new Error('Address is required'); + } + if (!force) { + const cachedNames = queryClient.getQueryData( + buildPrimaryName(_address, _chainId) + ) as string; + if (cachedNames) { + return cachedNames; + } + } + const names = await getPrimaryName({ + address: _address, + chainId: _chainId, + }); + queryClient.setQueryData(buildPrimaryName(_address, _chainId), names); + return names; + }; + + return { + primaryName: query.data, + getPrimaryName: getPrimaryNameInternal, + isPrimaryNamePending: query.isPending, + isPrimaryNameFetching: query.isFetching, + isPrimaryNameLoading: query.isLoading, + refetchPrimaryName: query.refetch, + }; +}; diff --git a/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts b/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts index d6efce32..96c547d9 100644 --- a/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts +++ b/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts @@ -55,6 +55,10 @@ export const useEnsAvatar = ( }/avatar/${_params.name}`; } + if (_params.image?.startsWith('ipfs')) { + avatar = `https://ipfs.io/ipfs/${_params.image.replace('ipfs://', '')}`; + } + return avatar; }; diff --git a/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts b/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts index e368cf54..08691ab7 100644 --- a/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts +++ b/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts @@ -10,24 +10,37 @@ import { splitDomain } from '../../helpers'; import { useMemo } from 'react'; import { Records } from '../../types'; -export interface UseRejectSubnameFunctionParams extends Omit { +export interface UseRejectSubnameFunctionParams + extends Omit { ens: string; } -export type UseRejectSubnameParams = Omit +export type UseRejectSubnameParams = Omit< + UseRejectSubnameFunctionParams, + 'ens' +>; export interface UseRejectSubnameResult { - rejectSubname: UseMutateAsyncFunction; + rejectSubname: UseMutateAsyncFunction< + Records, + Error, + UseRejectSubnameFunctionParams + >; isRejectSubnamePending: boolean; } -export const useRejectSubname = (params?: UseRejectSubnameParams): UseRejectSubnameResult => { +export const useRejectSubname = ( + params?: UseRejectSubnameParams +): UseRejectSubnameResult => { const { justaname, chainId } = useJustaName(); const { address } = useMountedAccount(); const { refetchInvitations } = useAccountInvitations(); const { getSignature } = useSubnameSignature(); const { refetchAccountSubnames } = useAccountSubnames(); - const _chainId = useMemo(() => params?.chainId || chainId, [params?.chainId, chainId]); + const _chainId = useMemo( + () => params?.chainId || chainId, + [params?.chainId, chainId] + ); const mutate = useMutation({ mutationFn: async (_params: UseRejectSubnameFunctionParams) => { @@ -35,28 +48,32 @@ export const useRejectSubname = (params?: UseRejectSubnameParams): UseRejectSubn throw new Error('No address found'); } - const _ens = _params.ens + const __chainId = _params.chainId || _chainId; + const _ens = _params.ens; const [_username, _ensDomain] = splitDomain(_ens); const signature = await getSignature(); - const rejected = await justaname.subnames.rejectSubname({ - ensDomain: _ensDomain, - chainId: _params.chainId || _chainId, - username: _username, - }, { - xAddress: address, - xSignature: signature.signature, - xMessage: signature.message, - }); + const rejected = await justaname.subnames.rejectSubname( + { + ensDomain: _ensDomain, + chainId: __chainId, + username: _username, + }, + { + xAddress: address, + xSignature: signature.signature, + xMessage: signature.message, + } + ); refetchAccountSubnames(); refetchInvitations(); return { ...rejected, sanitizedRecords: sanitizeRecords(rejected), - } + }; }, }); diff --git a/packages/@justaname.id/sdk/src/lib/api/routes/index.ts b/packages/@justaname.id/sdk/src/lib/api/routes/index.ts index 8a14f201..52b46d80 100644 --- a/packages/@justaname.id/sdk/src/lib/api/routes/index.ts +++ b/packages/@justaname.id/sdk/src/lib/api/routes/index.ts @@ -1,48 +1,58 @@ import { + AddMAppPermissionRoute, + AppendMAppFieldRoute, IsSubnameAvailableRoute, + OffchainResolversGetAllRoute, + RequestAddMAppPermissionChallengeRoute, + RequestAppendMAppFieldChallengeRoute, RequestChallengeRoute, - VerifyMessageRoute, + RequestRevokeMAppPermissionChallengeRoute, + RevokeMAppPermissionRoute, SubnameAcceptRoute, SubnameAddRoute, SubnameGetAllByAddressRoute, SubnameGetAllByDomainChainIdRoute, SubnameGetAllByEnsDomainWithCountRoute, SubnameGetBySubnameRoute, + SubnameGetInvitationsByAddressRoute, SubnameRecordsRoute, SubnameRejectRoute, SubnameReserveRoute, SubnameRevokeRoute, SubnameSearchRoute, SubnameUpdateRoute, - RequestAddMAppPermissionChallengeRoute, - RequestAppendMAppFieldChallengeRoute, - RequestRevokeMAppPermissionChallengeRoute, - AddMAppPermissionRoute, - AppendMAppFieldRoute, - RevokeMAppPermissionRoute, - SubnameGetInvitationsByAddressRoute, - OffchainResolversGetAllRoute + VerifyMessageRoute, } from '../../types'; import { ACCEPT_SUBNAME_ROUTE, ADD_SUBNAME_ROUTE, - CHECK_SUBNAME_AVAILABILITY_ROUTE, GET_ALL_ENS_WITH_COUNT_ROUTE, + CHECK_SUBNAME_AVAILABILITY_ROUTE, + GET_ALL_ENS_WITH_COUNT_ROUTE, GET_ALL_SUBNAMES_BY_ADDRESS_ROUTE, GET_ALL_SUBNAMES_BY_DOMAIN_ROUTE, - GET_SUBNAME_BY_SUBNAME_ROUTE, RECORDS_BY_FULLNAME_ROUTE, + GET_SUBNAME_BY_SUBNAME_ROUTE, + RECORDS_BY_FULLNAME_ROUTE, REJECT_SUBNAME_ROUTE, RESERVE_SUBNAME_ROUTE, - REVOKE_SUBNAME_ROUTE, SEARCH_SUBNAMES_ROUTE, - UPDATE_SUBNAME_ROUTE + REVOKE_SUBNAME_ROUTE, + SEARCH_SUBNAMES_ROUTE, + UPDATE_SUBNAME_ROUTE, } from './subnames'; import { SIWE_MAPP_ADD_PERMISSION_ROUTE, - SIWE_MAPP_APPEND_FIELD_ROUTE, SIWE_MAPP_REVOKE_PERMISSION_ROUTE, + SIWE_MAPP_APPEND_FIELD_ROUTE, + SIWE_MAPP_REVOKE_PERMISSION_ROUTE, SIWE_REQUEST_CHALLENGE_ROUTE, - SIWE_VERIFY_MESSAGE_ROUTE + SIWE_VERIFY_MESSAGE_ROUTE, } from './siwe'; -import { MAPP_ADD_PERMISSION_ROUTE, MAPP_APPEND_FIELD_ROUTE, MAPP_REVOKE_PERMISSION_ROUTE } from './mapp'; +import { + MAPP_ADD_PERMISSION_ROUTE, + MAPP_APPEND_FIELD_ROUTE, + MAPP_REVOKE_PERMISSION_ROUTE, +} from './mapp'; import { GET_ALL_OFFCHAIN_RESOLVERS_ROUTE } from './offchain-resolver'; +import { GET_PRIMARY_NAME_BY_ADDRESS_ROUTE } from './primary-name'; +import { PrimaryNameGetByAddressRoute } from '../../types/primary-name'; export interface ROUTES { SIWE_VERIFY_MESSAGE_ROUTE: VerifyMessageRoute; @@ -68,6 +78,7 @@ export interface ROUTES { RECORDS_BY_FULLNAME_ROUTE: SubnameRecordsRoute; GET_ALL_ENS_WITH_COUNT_ROUTE: SubnameGetAllByEnsDomainWithCountRoute; GET_ALL_OFFCHAIN_RESOLVERS_ROUTE: OffchainResolversGetAllRoute; + GET_PRIMARY_NAME_BY_ADDRESS_ROUTE: PrimaryNameGetByAddressRoute; } export const Routes: Record = { @@ -93,5 +104,6 @@ export const Routes: Record = { SEARCH_SUBNAMES_ROUTE, RECORDS_BY_FULLNAME_ROUTE, GET_ALL_ENS_WITH_COUNT_ROUTE, - GET_ALL_OFFCHAIN_RESOLVERS_ROUTE -} \ No newline at end of file + GET_ALL_OFFCHAIN_RESOLVERS_ROUTE, + GET_PRIMARY_NAME_BY_ADDRESS_ROUTE, +}; diff --git a/packages/@justaname.id/sdk/src/lib/api/routes/primary-name.ts b/packages/@justaname.id/sdk/src/lib/api/routes/primary-name.ts new file mode 100644 index 00000000..c90a6868 --- /dev/null +++ b/packages/@justaname.id/sdk/src/lib/api/routes/primary-name.ts @@ -0,0 +1,10 @@ +import { GLOBAL_PREFIX } from './prefix'; + +/** + * Prefix for all primary name routes + **/ + +export const PRIMARY_NAME_BASE_ROUTE = GLOBAL_PREFIX + '/ens/v1/primary-name'; + +export const GET_PRIMARY_NAME_BY_ADDRESS_ROUTE = + PRIMARY_NAME_BASE_ROUTE + '/address'; diff --git a/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts b/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts index dc074554..0ce7c3d0 100644 --- a/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts +++ b/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts @@ -19,6 +19,7 @@ import { SubnameUpdateRoute, } from '../../types'; import { sanitizeAddresses, sanitizeTexts } from '../../utils'; +import { PrimaryNameGetByAddressRoute } from '../../types/primary-name'; export interface SubnamesConfig { /** @@ -254,7 +255,7 @@ export class Subnames { params: SubnameRejectRoute['params'], headers: SubnameRejectRoute['headers'] ): Promise { - const { ensDomain, chainId, ...rest } = params; + const { ensDomain, chainId, username } = params; const _chainId = chainId || this.chainId; const _ensDomain = ensDomain || @@ -267,7 +268,7 @@ export class Subnames { { chain: _chainId, ensDomain: _ensDomain, - ...rest, + username, }, { ...headers, @@ -434,4 +435,21 @@ export class Subnames { this.dev )(['providerUrl']); } + + async getPrimaryNameByAddress( + params: PrimaryNameGetByAddressRoute['params'] + ): Promise { + const { chainId, address } = params; + const _chainId = chainId || this.chainId; + return assertRestCall( + 'GET_PRIMARY_NAME_BY_ADDRESS_ROUTE', + 'GET', + { + address, + chainId: _chainId, + }, + undefined, + this.dev + )(['chainId']); + } } diff --git a/packages/@justaname.id/sdk/src/lib/types/primary-name/get-primary-name-by-address.ts b/packages/@justaname.id/sdk/src/lib/types/primary-name/get-primary-name-by-address.ts new file mode 100644 index 00000000..7ebdf443 --- /dev/null +++ b/packages/@justaname.id/sdk/src/lib/types/primary-name/get-primary-name-by-address.ts @@ -0,0 +1,23 @@ +import { ChainId, EmptyHeaders, IRequest, IResponse, IRoute } from '../common'; + +export interface PrimaryNameGetByAddressRequest extends IRequest { + address: string; + + chainId: ChainId; +} + +export interface PrimaryNameGetByAddressResponse extends IResponse { + id: string; + name: string; + address: string; + nameHash: string; + chainId: ChainId; +} + +export interface PrimaryNameGetByAddressRoute + extends IRoute< + PrimaryNameGetByAddressRequest, + PrimaryNameGetByAddressResponse, + EmptyHeaders, + 'chainId' + > {} diff --git a/packages/@justaname.id/sdk/src/lib/types/primary-name/index.ts b/packages/@justaname.id/sdk/src/lib/types/primary-name/index.ts new file mode 100644 index 00000000..eea754c3 --- /dev/null +++ b/packages/@justaname.id/sdk/src/lib/types/primary-name/index.ts @@ -0,0 +1 @@ +export * from './get-primary-name-by-address'; diff --git a/packages/@justverified/plugin/src/stories/justverified.stories.tsx b/packages/@justverified/plugin/src/stories/justverified.stories.tsx index 8a577d4b..d8138314 100644 --- a/packages/@justverified/plugin/src/stories/justverified.stories.tsx +++ b/packages/@justverified/plugin/src/stories/justverified.stories.tsx @@ -82,7 +82,7 @@ export const Example = () => { const config = getDefaultConfig({ appName: 'My RainbowKit App', projectId: 'YOUR_PROJECT_ID', - chains: [mainnet,sepolia], + chains: [mainnet, sepolia], }); return ( @@ -108,20 +108,23 @@ export const Example = () => {
- - - - - - - + + + + + + +
- - - - - + + + + + ) { {...props} > diff --git a/packages/@justweb3/ui/src/lib/icons/svgs/socials/google.svg b/packages/@justweb3/ui/src/lib/icons/svgs/socials/google.svg index 3689c192..5d562e15 100644 --- a/packages/@justweb3/ui/src/lib/icons/svgs/socials/google.svg +++ b/packages/@justweb3/ui/src/lib/icons/svgs/socials/google.svg @@ -1,5 +1,5 @@ - + diff --git a/packages/@justweb3/ui/src/lib/ui/Avatar/index.tsx b/packages/@justweb3/ui/src/lib/ui/Avatar/index.tsx index ac3bebf1..6dc17b0f 100644 --- a/packages/@justweb3/ui/src/lib/ui/Avatar/index.tsx +++ b/packages/@justweb3/ui/src/lib/ui/Avatar/index.tsx @@ -1,7 +1,7 @@ -import React from 'react'; +import React, { useState } from 'react'; import JustSomeone from '../../icons/components/logo/JustSomeone'; import styles from './Avatar.module.css'; -import clsx from 'clsx'; // Import CSS module +import clsx from 'clsx'; interface AvatarProps { src?: string; @@ -23,6 +23,8 @@ export const Avatar: React.FC = ({ style, className, }) => { + const [isImageError, setIsImageError] = useState(false); // State to track if image fails to load + const boxShadowSize = size > 32 ? '10px' : '5px'; return ( @@ -37,8 +39,13 @@ export const Avatar: React.FC = ({ ...style, }} > - {src ? ( - {alt + {src && !isImageError ? ( + {alt setIsImageError(true)} // Set error state when image fails to load + /> ) : ( )} diff --git a/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css b/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css index 63f56ec5..b99c9e6f 100644 --- a/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css +++ b/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css @@ -1,14 +1,30 @@ + .tabsList { - display: inline-flex; - height: 2.5rem; /* h-10 */ align-items: center; justify-content: center; - border-radius: 0.375rem; /* rounded-md */ - background-color: var(--justweb3-background-color); - padding: 0.25rem; /* p-1 */ - color: var(--justweb3-foreground-color-4); + border-radius: 0.375rem; + margin-bottom: 10px; +} + +/* Underlined variant */ +.underlinedTabs .tabsTrigger { + margin-right: 1rem; + transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out; + background-color: transparent; + border: unset; + color: var(--justweb3-primary-color); + font-size: 14px; + font-style: normal; + font-weight: 900; + line-height: 18px; + font-family: var(--justweb3-font-family); +} + +.underlinedTabs .tabsTrigger[data-state='active'] { + border-bottom: 2px solid var(--justweb3-primary-color); } +/* Shared Trigger Styles */ .tabsTrigger { display: inline-flex; align-items: center; @@ -19,8 +35,8 @@ font-size: 0.875rem; /* text-sm */ font-weight: 500; /* font-medium */ line-height: 1.25rem; - transition: all 0.2s ease-in-out; cursor: pointer; + transition: all 0.2s ease-in-out; } .tabsTrigger:focus-visible { @@ -33,14 +49,8 @@ opacity: 0.5; } -.tabsTrigger[data-state="active"] { - background-color: var(--background); - color: var(--foreground); - box-shadow: var(--justweb3-foreground-color-4); -} - .tabsContent { - margin-top: 0.5rem; /* mt-2 */ + /*margin-top: 0.5rem; !* mt-2 *!*/ position: relative; overflow: hidden; } diff --git a/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx b/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx index 8abf6984..9bc6ae71 100644 --- a/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx +++ b/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx @@ -1,53 +1,46 @@ -// Tabs.tsx - import React from 'react'; import * as TabsPrimitive from '@radix-ui/react-tabs'; - import styles from './Tabs.module.css'; -interface AnimatedTabsProps extends React.ComponentPropsWithoutRef { +interface AnimatedTabsProps + extends React.ComponentPropsWithoutRef { defaultValue: string; - tabValues: string[]; + // tabValues: string[]; children: React.ReactNode; } -type Direction = 'left' | 'right'; - -const TabsAnimationContext = React.createContext('right'); - -const AnimatedTabs: React.FC = ({ defaultValue, tabValues, children, ...props }) => { +const AnimatedTabs: React.FC = ({ + defaultValue, + // tabValues, + children, + ...props +}) => { const [value, setValue] = React.useState(defaultValue); - const [prevValue, setPrevValue] = React.useState(defaultValue); - const [direction, setDirection] = React.useState('right'); const handleValueChange = (newValue: string) => { - const prevIndex = tabValues.indexOf(prevValue); - const currIndex = tabValues.indexOf(newValue); - setDirection(currIndex > prevIndex ? 'right' : 'left'); - setPrevValue(value); setValue(newValue); }; return ( - - - {children} - - + + {children} + ); }; +type TabsListProps = React.ComponentPropsWithoutRef; + const TabsList = React.forwardRef< React.ElementRef, - React.ComponentPropsWithoutRef + TabsListProps >(({ className, ...props }, ref) => ( )); @@ -69,13 +62,10 @@ const TabsContent = React.forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => { - const direction = React.useContext(TabsAnimationContext); return ( ); diff --git a/packages/@justweb3/ui/src/lib/ui/index.ts b/packages/@justweb3/ui/src/lib/ui/index.ts index 03e78303..0f19adc3 100644 --- a/packages/@justweb3/ui/src/lib/ui/index.ts +++ b/packages/@justweb3/ui/src/lib/ui/index.ts @@ -12,3 +12,4 @@ export * from './Popover'; export * from './Separator'; export * from './OTPInput'; export * from './Form'; +export * from './Tabs'; diff --git a/packages/@justweb3/ui/src/stories/ui/tabs.stories.tsx b/packages/@justweb3/ui/src/stories/ui/tabs.stories.tsx new file mode 100644 index 00000000..9471fa4d --- /dev/null +++ b/packages/@justweb3/ui/src/stories/ui/tabs.stories.tsx @@ -0,0 +1,25 @@ +import { Meta, StoryObj } from '@storybook/react'; +import { Tabs, TabsContent, TabsList, TabsTrigger } from '../../lib/ui'; + +export const Example = () => { + return ( + + + Tab 1 + Tab 2 + Tab 3 + + Content 1 + Content 2 + Content 3 + + ); +}; + +const meta: Meta = { + component: Example, + title: 'Design System/UI/Tabs', +}; + +export default meta; +type Story = StoryObj; diff --git a/packages/@justweb3/widget/src/lib/components/JustEnsCard/index.tsx b/packages/@justweb3/widget/src/lib/components/JustEnsCard/index.tsx index 97c178e9..0c760476 100644 --- a/packages/@justweb3/widget/src/lib/components/JustEnsCard/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/JustEnsCard/index.tsx @@ -2,29 +2,47 @@ import React, { FC } from 'react'; import { ChainId } from '@justaname.id/sdk'; import { useJustWeb3 } from '../../providers'; -import { useEnsAvatar, useRecords } from '@justaname.id/react'; -import { Avatar, ClickableItem, Flex, P } from '@justweb3/ui'; +import { useEnsAvatar, usePrimaryName, useRecords } from '@justaname.id/react'; +import { Avatar, ClickableItem, Flex, formatText, P } from '@justweb3/ui'; import { getTextRecordIcon } from '../../icons/records-icons'; import styles from './JustEnsCard.module.css'; // Import CSS module export interface JustEnsCardProps { - ens: string; + addressOrEns: string; chainId?: ChainId; expanded?: boolean; + style?: React.CSSProperties; } export const JustEnsCard: FC = ({ - ens, + addressOrEns, chainId = 1, expanded = false, + style, }) => { const { openEnsProfile } = useJustWeb3(); + const isEns = addressOrEns?.includes('.'); + const { primaryName } = usePrimaryName({ + address: isEns ? undefined : (addressOrEns as `0x${string}`), + chainId, + }); + + const ens = + (isEns ? addressOrEns : primaryName) || formatText(addressOrEns, 4); const { records } = useRecords({ - ens, + ens: isEns ? addressOrEns : primaryName, chainId, }); const { sanitizeEnsImage } = useEnsAvatar(); + const handleEnsClick = () => { + if (!isEns && !primaryName) { + return; + } + + openEnsProfile(ens, chainId); + }; + if (expanded) { return (
@@ -61,6 +79,7 @@ export const JustEnsCard: FC = ({ return ( {ens}

} subtitle={ records && @@ -86,7 +105,8 @@ export const JustEnsCard: FC = ({ })} /> } - onClick={() => openEnsProfile(ens, chainId)} + disabled={!isEns && !primaryName} + onClick={() => handleEnsClick()} /> ); }; diff --git a/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx b/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx index ad01cae7..82e596dd 100644 --- a/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx @@ -1,4 +1,4 @@ -import React, { Fragment, useContext, useMemo } from 'react'; +import React, { Fragment, useContext, useEffect, useMemo } from 'react'; import { useAccountEnsNames, useAccountSubnames, @@ -14,6 +14,10 @@ import { LocationIcon, P, PersonEditIcon, + Tabs, + TabsContent, + TabsList, + TabsTrigger, } from '@justweb3/ui'; import { getChainIcon } from '../../../icons/chain-icons'; import { getContentHashIcon } from '../../../icons/contentHash-icons'; @@ -31,7 +35,7 @@ export interface ContentProps { sanitized: SanitizedRecords; onEdit?: () => void; editMode?: boolean; - plugins: JustaPlugin[] + plugins: JustaPlugin[]; } const ContentSection: React.FC = ({ @@ -45,7 +49,7 @@ const ContentSection: React.FC = ({ }) => { const { accountSubnames } = useAccountSubnames(); const { accountEnsNames } = useAccountEnsNames(); - + const [tab, setTab] = React.useState('Main'); const isProfileSelf = useMemo(() => { return ( accountSubnames?.map((subname) => subname.ens).includes(fullSubname) || @@ -56,11 +60,126 @@ const ContentSection: React.FC = ({ const { sanitizeEnsImage } = useEnsAvatar(); + useEffect(() => { + setTab('Main'); + }, [fullSubname, chainId]); + + const hasTabs = useMemo(() => { + return plugins.some((plugin) => plugin.components?.ProfileTab); + }, [plugins]); + + const MainTab = ( +
+ + {plugins.map((plugin) => { + const component = plugin.components?.ProfileSection; + if (!component) { + return null; + } + + return ( + + {component( + createPluginApi(plugin.name), + fullSubname, + chainId, + sanitized.ethAddress.value + )} + + ); + })} + + {sanitized?.socials?.length > 0 && ( + social.value !== '') + .map((social) => ( + + ))} + /> + )} + + { + return ( + + ); + })} + /> + {sanitized?.allTexts?.length > 0 && ( + a.key.localeCompare(b.key)) + .map((other) => ( + + ))} + /> + )} + + {sanitized?.contentHash && ( + , + ]} + /> + )} + +
+ ); + return ( - +
= ({ margin: '0 15px', }} /> - +

- {decodeURIComponent( - sanitized?.display || fullSubname.split('.')[0] - )} + {decodeURIComponent(sanitized?.display || fullSubname)}

+ + {plugins.map((plugin) => { + const component = plugin.components?.ProfileHeader; + if (!component) { + return null; + } + + return ( + + {component( + createPluginApi(plugin.name), + fullSubname, + chainId, + sanitized.ethAddress.value + )} + + ); + })} +
- + {sanitized?.description && ( + + )} {sanitized?.url && (() => { @@ -208,100 +343,84 @@ const ContentSection: React.FC = ({
- - - {plugins.map((plugin) => { - const component = plugin.components?.ProfileSection; - if (!component) { - return null; - } - - return ( - - {component(createPluginApi(plugin.name), fullSubname, chainId)} - - ); - })} - - {sanitized?.socials?.length > 0 && ( - social.value !== '') - .map((social) => ( - - )) - } - /> + {hasTabs ? ( + setTab(value)} + style={{ + display: 'flex', + flexDirection: 'column', + marginBottom: '0px', + overflow: 'hidden', + flex: '1', + }} + > + + Main + {plugins.map((plugin) => { + const component = plugin.components?.ProfileTab; + if (!component) { + return null; + } + const componentApi = component( + createPluginApi(plugin.name), + fullSubname, + chainId, + sanitized.ethAddress.value + ); + if (!componentApi) { + return null; + } - )} + return ( + + {componentApi.title} + + ); + })} + + + {React.cloneElement(MainTab)} + + {plugins.map((plugin) => { + const component = plugin.components?.ProfileTab; + if (!component) { + return null; + } + const componentApi = component( + createPluginApi(plugin.name), + fullSubname, + chainId, + sanitized.ethAddress.value + ); + if (!componentApi) { + return null; + } - { return ( - + + {componentApi.content} + ); })} - /> - {sanitized?.allTexts?.length > 0 && ( - a.key.localeCompare(b.key)) - .map((other) => ( - - ))} - /> - )} - - {sanitized?.contentHash && - , - ] - } - /> - } - + + ) : ( + React.cloneElement(MainTab) + )}
); diff --git a/packages/@justweb3/widget/src/lib/plugins/index.ts b/packages/@justweb3/widget/src/lib/plugins/index.ts index c256cb9b..f125401e 100644 --- a/packages/@justweb3/widget/src/lib/plugins/index.ts +++ b/packages/@justweb3/widget/src/lib/plugins/index.ts @@ -20,31 +20,81 @@ export interface PluginApi { handleOpenSignInDialog: (open: boolean) => void; } -type PluginProviderComponent = (pluginApi: PluginApi, children: ReactNode) => ReactNode; +type PluginProviderComponent = ( + pluginApi: PluginApi, + children: ReactNode +) => ReactNode; type PluginComponent = (pluginApi: PluginApi) => ReactNode; -type SectionPluginComponent = (pluginApi: PluginApi, ens: string, chainId: ChainId) => ReactNode; +type PluginRichComponent = ( + pluginApi: PluginApi, + ens: string, + chainId: ChainId, + address: string +) => ReactNode | undefined; +type ProfileTabPluginComponent = ( + pluginApi: PluginApi, + ens: string, + chainId: ChainId, + address: string +) => { title: string; content: ReactNode } | undefined; + interface PluginComponents { Provider?: PluginProviderComponent; Global?: PluginComponent; SignInMenu?: PluginComponent; - ProfileSection?: SectionPluginComponent; - ProfileHeader?: SectionPluginComponent; - ProfileTab?: SectionPluginComponent; + ProfileSection?: PluginRichComponent; + ProfileHeader?: PluginRichComponent; + ProfileTab?: ProfileTabPluginComponent; } type OnMountHook = (pluginApi: PluginApi) => void; type OnUnmountHook = (pluginApi: PluginApi) => void; -type OnWalletConnectedHook = (pluginApi: PluginApi, address: string, chainId: number) => void; +type OnWalletConnectedHook = ( + pluginApi: PluginApi, + address: string, + chainId: number +) => void; type OnWalletDisconnectedHook = (pluginApi: PluginApi, address: string) => void; -type OnWalletChangedHook = (pluginApi: PluginApi, address: string, chainId: number) => void; -type OnEnsSignInHook = (pluginApi: PluginApi, ens: string, chainId: number, records: UseRecordsResult['records'], enabledMApps: string[], canEnableMApps: boolean) => void; -type OnEnsChangeHook = (pluginApi: PluginApi, ens: string, records: UseRecordsResult['records'], enabledMApps: string[], canEnableMApps: boolean) => void; +type OnWalletChangedHook = ( + pluginApi: PluginApi, + address: string, + chainId: number +) => void; +type OnEnsSignInHook = ( + pluginApi: PluginApi, + ens: string, + chainId: number, + records: UseRecordsResult['records'], + enabledMApps: string[], + canEnableMApps: boolean +) => void; +type OnEnsChangeHook = ( + pluginApi: PluginApi, + ens: string, + records: UseRecordsResult['records'], + enabledMApps: string[], + canEnableMApps: boolean +) => void; type OnEnsSignOutHook = (pluginApi: PluginApi, ens: string) => void; type OnMAppAddHook = (pluginApi: PluginApi, ens: string, mApp: string) => void; -type OnMAppRemoveHook = (pluginApi: PluginApi, ens: string, mApp: string) => void; -type OnRecordsChangeHook = (pluginApi: PluginApi, ens: string, records: UseRecordsResult['records'], enabledMApps: string[], canEnableMApps: boolean) => void; +type OnMAppRemoveHook = ( + pluginApi: PluginApi, + ens: string, + mApp: string +) => void; +type OnRecordsChangeHook = ( + pluginApi: PluginApi, + ens: string, + records: UseRecordsResult['records'], + enabledMApps: string[], + canEnableMApps: boolean +) => void; type OnSubnameClaimedHook = (pluginApi: PluginApi, subname: string) => void; -type OnSwitchChain = (pluginApi: PluginApi, fromChain: number, toChain: number) => void +type OnSwitchChain = ( + pluginApi: PluginApi, + fromChain: number, + toChain: number +) => void; interface Hooks { onMount?: OnMountHook; @@ -60,7 +110,12 @@ interface Hooks { onMAppAdd?: OnMAppAddHook; onMAppRemove?: OnMAppRemoveHook; onRecordsChange?: OnRecordsChangeHook; - onStateChange?: (pluginApi: PluginApi, pluginName: string, key: string, value: any) => void; + onStateChange?: ( + pluginApi: PluginApi, + pluginName: string, + key: string, + value: any + ) => void; } export interface JustaPlugin { @@ -73,4 +128,4 @@ export interface JustaPlugin { hooks?: Hooks; priority?: number; -} \ No newline at end of file +} diff --git a/packages/@justweb3/widget/src/stories/dark-mode.stories.tsx b/packages/@justweb3/widget/src/stories/dark-mode.stories.tsx index 3ceb3252..d2caf2ec 100644 --- a/packages/@justweb3/widget/src/stories/dark-mode.stories.tsx +++ b/packages/@justweb3/widget/src/stories/dark-mode.stories.tsx @@ -57,9 +57,9 @@ export const Example = () => {
- - - + + + diff --git a/packages/@justweb3/widget/src/stories/signin.stories.tsx b/packages/@justweb3/widget/src/stories/signin.stories.tsx index 1f4c9569..b8c63252 100644 --- a/packages/@justweb3/widget/src/stories/signin.stories.tsx +++ b/packages/@justweb3/widget/src/stories/signin.stories.tsx @@ -98,22 +98,25 @@ export const Example = () => {
- - - - - - - + + + + + + +
- - - - - + + + + + diff --git a/packages/plugins/efp/src/lib/components/EFPTab/index.tsx b/packages/plugins/efp/src/lib/components/EFPTab/index.tsx new file mode 100644 index 00000000..c0039df7 --- /dev/null +++ b/packages/plugins/efp/src/lib/components/EFPTab/index.tsx @@ -0,0 +1,245 @@ +import { useFollowing } from '../../hooks/useFollowing'; +import { useFollowers, useStats } from '../../hooks'; +import { FC, useRef, useState } from 'react'; +import { Flex, LoadingSpinner, P } from '@justweb3/ui'; +import { JustEnsCard } from '@justweb3/widget'; +import { useInfiniteScroll } from '../../hooks/useInfiniteScroll'; + +export interface EFPTabProps { + ens: string; +} + +export const EFPTab: FC = ({ ens }) => { + const [tab, setTab] = useState<'following' | 'followers'>('following'); + const followingRef = useRef(null); + const followersRef = useRef(null); + + const { + following, + fetchMoreFollowing, + isFollowingLoading, + isFollowingFetching, + hasMoreFollowing, + } = useFollowing({ + addressOrEns: ens, + }); + + const { + followers, + fetchMoreFollowers, + isFollowersLoading, + isFollowersFetching, + hasMoreFollowers, + } = useFollowers({ + addressOrEns: ens, + }); + + useInfiniteScroll( + followersRef, + fetchMoreFollowers, + tab === 'followers' && !isFollowersLoading && hasMoreFollowers, + 50 + ); + + useInfiniteScroll( + followingRef, + fetchMoreFollowing, + tab === 'following' && !isFollowingLoading && hasMoreFollowing, + 50 + ); + + const { stats, isStatsLoading } = useStats({ + addressOrEns: ens, + }); + + if (isStatsLoading) { + return ( + + + + ); + } + + return ( + + + + + + + + {tab === 'following' && ( + + {following?.pages + .flatMap((follow) => follow.following) + .map((follow) => ( + + ))} + + {isFollowingFetching && hasMoreFollowing && ( + + + + )} + + )} + + {tab === 'followers' && ( + + {followers?.pages + .flatMap((follow) => follow.followers) + .map((follow) => ( + + ))} + + {isFollowersFetching && hasMoreFollowers && ( + + + + )} + + )} + + ); +}; diff --git a/packages/plugins/efp/src/lib/components/FollowButton/index.tsx b/packages/plugins/efp/src/lib/components/FollowButton/index.tsx new file mode 100644 index 00000000..921f5cb5 --- /dev/null +++ b/packages/plugins/efp/src/lib/components/FollowButton/index.tsx @@ -0,0 +1,51 @@ +import React from 'react'; +import { Button } from '@justweb3/ui'; +import { EFPIcon } from '../../icons/EFPIcon'; +import { useMountedAccount } from '@justaname.id/react'; +import { useFollowState } from '../../hooks/useFollowState'; + +interface FollowButtonProps { + ens: string; +} + +export const FollowButton: React.FC = ({ ens }) => { + const { address } = useMountedAccount(); + const { followState, isFollowStateLoading } = useFollowState({ + addressOrEns1: address, + addressOrEns2: ens, + }); + + if (!address) { + return ( + + + + ); + } + + if (isFollowStateLoading) { + return ( + + ); + } + + return ( + + + + ); +}; diff --git a/packages/plugins/efp/src/lib/components/index.ts b/packages/plugins/efp/src/lib/components/index.ts new file mode 100644 index 00000000..2dbb1ae7 --- /dev/null +++ b/packages/plugins/efp/src/lib/components/index.ts @@ -0,0 +1 @@ +export * from './FollowButton'; diff --git a/packages/plugins/efp/src/lib/hooks/index.ts b/packages/plugins/efp/src/lib/hooks/index.ts new file mode 100644 index 00000000..ec8a142f --- /dev/null +++ b/packages/plugins/efp/src/lib/hooks/index.ts @@ -0,0 +1,4 @@ +export * from './useFollowers'; +export * from './useFollowState'; +export * from './useFollowing'; +export * from './useStats'; diff --git a/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts b/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts new file mode 100644 index 00000000..318d0e59 --- /dev/null +++ b/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts @@ -0,0 +1,60 @@ +import { useQuery } from '@tanstack/react-query'; +import axios from 'axios'; + +export const buildFollowStateQueryKey = ( + addressOrEns1: string | undefined, + addressOrEns2: string | undefined +) => { + return ['EFP_FOLLOW_STATE', addressOrEns1, addressOrEns2]; +}; + +export interface FollowState { + addressUser: string; + addressFollower: string; + state: { + follow: boolean; + block: boolean; + mute: boolean; + }; +} + +export const getFollowState = async ( + addressOrEns1: string | undefined, + addressOrEns2: string | undefined +) => { + const followState = await axios.get( + `https://api.ethfollow.xyz/api/v1/users/${addressOrEns1}/${addressOrEns2}/followerState` + ); + + return followState.data; +}; + +export interface UseFollowStateParams { + addressOrEns1?: string; + addressOrEns2?: string; +} + +export interface UseFollowStateResult { + followState: FollowState | undefined; + isFollowStatePending: boolean; + isFollowStateFetching: boolean; + isFollowStateLoading: boolean; +} + +export const useFollowState = ({ + addressOrEns1, + addressOrEns2, +}: UseFollowStateParams): UseFollowStateResult => { + const query = useQuery({ + queryKey: buildFollowStateQueryKey(addressOrEns1, addressOrEns2), + queryFn: () => getFollowState(addressOrEns1, addressOrEns2), + enabled: Boolean(addressOrEns1) && Boolean(addressOrEns2), + }); + + return { + followState: query.data, + isFollowStatePending: query.isPending, + isFollowStateFetching: query.isFetching, + isFollowStateLoading: query.isPending || query.isFetching, + }; +}; diff --git a/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts b/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts new file mode 100644 index 00000000..d193913f --- /dev/null +++ b/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts @@ -0,0 +1,84 @@ +import { + FetchNextPageOptions, + InfiniteData, + InfiniteQueryObserverResult, + useInfiniteQuery, +} from '@tanstack/react-query'; +import axios from 'axios'; + +export const buildFollowersQueryKey = (addressOrEns: string | undefined) => { + return ['EFP_FOLLOWERS', addressOrEns]; +}; + +export interface Followers { + followers: { + efp_list_nft_token_id: string; + address: string; + tags: string[]; + is_following: boolean; + is_blocked: boolean; + is_muted: boolean; + updated_at: string; + }[]; +} + +export const getFollowers = async ( + addressOrEns: string | undefined, + limit: number, + offset: number +) => { + const followers = await axios.get( + `https://api.ethfollow.xyz/api/v1/users/${addressOrEns}/followers?limit=${limit}&offset=${offset}` + ); + + return followers.data; +}; + +export interface UseFollowersParams { + addressOrEns?: string; +} + +export interface UseFollowersResult { + followers: InfiniteData | undefined; + fetchMoreFollowers: ( + options?: FetchNextPageOptions + ) => Promise< + InfiniteQueryObserverResult, Error> + >; + hasMoreFollowers: boolean; + isFollowersPending: boolean; + isFollowersFetching: boolean; + isFollowersLoading: boolean; +} + +export const useFollowers = ({ + addressOrEns, +}: UseFollowersParams): UseFollowersResult => { + const query = useInfiniteQuery({ + queryKey: buildFollowersQueryKey(addressOrEns), + queryFn: async ({ pageParam: { offset, limit } }) => { + return getFollowers(addressOrEns, limit, offset); + }, + initialPageParam: { offset: 0, limit: 10 }, + getNextPageParam: (lastPage, allPages) => { + if (lastPage.followers.length < 10) { + return undefined; + } + + return { + offset: allPages.flatMap((page) => page.followers).length, + limit: 10, + }; + }, + enabled: Boolean(addressOrEns), + }); + + return { + followers: query.data, + fetchMoreFollowers: query.fetchNextPage, + hasMoreFollowers: query.hasNextPage, + isFollowersPending: query.isPending, + isFollowersFetching: query.isFetching, + isFollowersLoading: query.isPending || query.isFetching, + }; +}; diff --git a/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts b/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts new file mode 100644 index 00000000..6d4d9641 --- /dev/null +++ b/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts @@ -0,0 +1,81 @@ +import { + FetchNextPageOptions, + InfiniteData, + InfiniteQueryObserverResult, + useInfiniteQuery, +} from '@tanstack/react-query'; +import axios from 'axios'; + +export const buildFollowingQueryKey = (addressOrEns: string | undefined) => { + return ['EFP_FOLLOWING', addressOrEns]; +}; + +export interface Following { + following: { + version: number; + record_type: string; + data: string; + tags: string[]; + }[]; +} + +export const getFollowing = async ( + addressOrEns: string | undefined, + limit: number, + offset: number +) => { + const following = await axios.get( + `https://api.ethfollow.xyz/api/v1/users/${addressOrEns}/following?limit=${limit}&offset=${offset}` + ); + + return following.data; +}; + +export interface UseFollowingParams { + addressOrEns?: string; +} + +export interface UseFollowingResult { + following: InfiniteData | undefined; + fetchMoreFollowing: ( + options?: FetchNextPageOptions + ) => Promise< + InfiniteQueryObserverResult, Error> + >; + hasMoreFollowing: boolean; + isFollowingPending: boolean; + isFollowingFetching: boolean; + isFollowingLoading: boolean; +} + +export const useFollowing = ({ + addressOrEns, +}: UseFollowingParams): UseFollowingResult => { + const query = useInfiniteQuery({ + queryKey: buildFollowingQueryKey(addressOrEns), + queryFn: async ({ pageParam: { offset, limit } }) => { + return getFollowing(addressOrEns, limit, offset); + }, + initialPageParam: { offset: 0, limit: 10 }, + getNextPageParam: (lastPage, allPages) => { + if (lastPage.following.length < 10) { + return undefined; + } + + return { + offset: allPages.flatMap((page) => page.following).length, + limit: 10, + }; + }, + enabled: Boolean(addressOrEns), + }); + + return { + following: query.data, + fetchMoreFollowing: query.fetchNextPage, + hasMoreFollowing: query.hasNextPage, + isFollowingPending: query.isPending, + isFollowingFetching: query.isFetching, + isFollowingLoading: query.isPending || query.isFetching, + }; +}; diff --git a/packages/plugins/efp/src/lib/hooks/useInfiniteScroll/index.ts b/packages/plugins/efp/src/lib/hooks/useInfiniteScroll/index.ts new file mode 100644 index 00000000..8ab10bae --- /dev/null +++ b/packages/plugins/efp/src/lib/hooks/useInfiniteScroll/index.ts @@ -0,0 +1,25 @@ +import { RefObject, useEffect } from 'react'; + +export const useInfiniteScroll = ( + ref: RefObject, + callback: () => void, + active: boolean, + threshold = 50 +) => { + useEffect(() => { + if (!active || !ref.current) return; + + const handleScroll = () => { + const { scrollTop, scrollHeight, clientHeight } = ref.current!; + if (scrollHeight - scrollTop - clientHeight <= threshold) { + callback(); + } + }; + + ref.current.addEventListener('scroll', handleScroll); + + return () => { + ref.current?.removeEventListener('scroll', handleScroll); + }; + }, [ref, callback, active, threshold]); +}; diff --git a/packages/plugins/efp/src/lib/hooks/useStats/index.ts b/packages/plugins/efp/src/lib/hooks/useStats/index.ts new file mode 100644 index 00000000..dc0c1c18 --- /dev/null +++ b/packages/plugins/efp/src/lib/hooks/useStats/index.ts @@ -0,0 +1,45 @@ +import { useQuery } from '@tanstack/react-query'; +import axios from 'axios'; + +export const buildStatsQueryKey = (addressOrEns: string | undefined) => { + return ['EFP_STATS', addressOrEns]; +}; + +export interface Stats { + followers_count: string; + following_count: string; +} + +export const getStats = async (addressOrEns: string | undefined) => { + const stats = await axios.get( + `https://api.ethfollow.xyz/api/v1/users/${addressOrEns}/stats` + ); + + return stats.data; +}; + +export interface UseStatsParams { + addressOrEns?: string; +} + +export interface UseStatsResult { + stats: Stats | undefined; + isStatsPending: boolean; + isStatsFetching: boolean; + isStatsLoading: boolean; +} + +export const useStats = ({ addressOrEns }: UseStatsParams): UseStatsResult => { + const query = useQuery({ + queryKey: buildStatsQueryKey(addressOrEns), + queryFn: () => getStats(addressOrEns), + enabled: Boolean(addressOrEns), + }); + + return { + stats: query.data, + isStatsPending: query.isPending, + isStatsFetching: query.isFetching, + isStatsLoading: query.isPending || query.isFetching, + }; +}; diff --git a/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx b/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx index a45b6f03..a8a2ed5c 100644 --- a/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx +++ b/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx @@ -1,14 +1,31 @@ import type { SVGProps } from 'react'; -export const EFPIcon = (props: SVGProps) => { +interface EFPIconProps extends SVGProps { + color?: string; +} + +export const EFPIcon: React.FC = ({ color, ...props }) => { return ( - + - - + fill={color || 'var(--justweb3-primary-color)'} + /> + + - - ) -} \ No newline at end of file + ); +}; diff --git a/packages/plugins/efp/src/lib/plugins/index.tsx b/packages/plugins/efp/src/lib/plugins/index.tsx index db9c8278..00a8b396 100644 --- a/packages/plugins/efp/src/lib/plugins/index.tsx +++ b/packages/plugins/efp/src/lib/plugins/index.tsx @@ -1,10 +1,33 @@ import { JustaPlugin } from '@justweb3/widget'; import { ArrowIcon, ClickableItem } from '@justweb3/ui'; import { EFPIcon } from '../icons/EFPIcon'; +import { FollowButton } from '../components'; +import { EFPTab } from '../components/EFPTab'; + export const EFPPlugin: JustaPlugin = { name: 'EFPPlugin', components: { + ProfileTab: (pluginApi, ens, chainId) => { + if (chainId !== 1) { + return undefined; + } + + return { + title: 'EFP', + content: , + }; + }, + ProfileHeader: (pluginApi, ens, chainId, address) => { + if (chainId !== 1) { + return null; + } + + return ; + }, SignInMenu: (pluginApi) => { + if (pluginApi.chainId !== 1) { + return null; + } return ( { const config = getDefaultConfig({ appName: 'My RainbowKit App', projectId: 'YOUR_PROJECT_ID', - chains: [mainnet,sepolia], + chains: [mainnet, sepolia], }); return ( @@ -102,22 +99,30 @@ export const Example = () => {
- - - - - - - + + + + + + + + +
- - - - - + + + + + From f0c5c7a0ca985dd5fbce93402ce5d599962aad7c Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 11:28:42 +0200 Subject: [PATCH 10/57] feat: efp and storybook for react sdk --- apps/console/src/layout/navbar/index.tsx | 2 +- .../@justaname.id/react/.storybook/main.ts | 33 +++++++++++ .../@justaname.id/react/.storybook/preview.ts | 0 packages/@justaname.id/react/env.d.ts | 16 +++++ packages/@justaname.id/react/project.json | 12 ++++ .../react/src/stories/react.stories.tsx | 58 +++++++++++++++++++ packages/@justaname.id/react/tsconfig.json | 3 + .../react/tsconfig.storybook.json | 41 +++++++++++++ packages/@justverified/plugin/project.json | 2 +- packages/@justweb3/ui/project.json | 2 +- .../ui/src/lib/ui/Tabs/Tabs.module.css | 4 +- packages/@justweb3/widget/project.json | 2 +- .../src/lib/dialogs/ProfileDialog/index.tsx | 3 - packages/plugins/efp/package.json | 5 +- packages/plugins/efp/project.json | 6 +- .../efp/src/lib/components/EFPTab/index.tsx | 34 ++++++----- .../plugins/efp/src/lib/plugins/index.tsx | 38 ++++++------ 17 files changed, 213 insertions(+), 48 deletions(-) create mode 100644 packages/@justaname.id/react/.storybook/main.ts create mode 100644 packages/@justaname.id/react/.storybook/preview.ts create mode 100644 packages/@justaname.id/react/env.d.ts create mode 100644 packages/@justaname.id/react/src/stories/react.stories.tsx create mode 100644 packages/@justaname.id/react/tsconfig.storybook.json diff --git a/apps/console/src/layout/navbar/index.tsx b/apps/console/src/layout/navbar/index.tsx index 702d97fb..c686dbec 100644 --- a/apps/console/src/layout/navbar/index.tsx +++ b/apps/console/src/layout/navbar/index.tsx @@ -7,7 +7,7 @@ export const Navbar = () => { return (
JustName - +
diff --git a/packages/@justaname.id/react/.storybook/main.ts b/packages/@justaname.id/react/.storybook/main.ts new file mode 100644 index 00000000..4a48c247 --- /dev/null +++ b/packages/@justaname.id/react/.storybook/main.ts @@ -0,0 +1,33 @@ +import type { StorybookConfig } from '@storybook/react-vite'; +import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'; +import { mergeConfig } from 'vite'; +import react from '@vitejs/plugin-react'; + +const config: StorybookConfig = { + stories: ['../src/stories/**/*.@(mdx|stories.@(js|jsx|ts|tsx))'], + addons: ['@storybook/addon-essentials', '@storybook/addon-interactions'], + framework: { + name: '@storybook/react-vite', + options: {}, + }, + + viteFinal: async (config) => + mergeConfig(config, { + plugins: [react(), nxViteTsPaths()], + define: { + 'process.env': process.env, + } + }), + typescript: { + reactDocgen: "react-docgen-typescript", + reactDocgenTypescriptOptions: { + include: ['src/**/*.{ts,tsx}'] + } + } +}; + +export default config; + +// To customize your Vite configuration you can use the viteFinal field. +// Check https://storybook.js.org/docs/react/builders/vite#configuration +// and https://nx.dev/recipes/storybook/custom-builder-configs diff --git a/packages/@justaname.id/react/.storybook/preview.ts b/packages/@justaname.id/react/.storybook/preview.ts new file mode 100644 index 00000000..e69de29b diff --git a/packages/@justaname.id/react/env.d.ts b/packages/@justaname.id/react/env.d.ts new file mode 100644 index 00000000..dc96258c --- /dev/null +++ b/packages/@justaname.id/react/env.d.ts @@ -0,0 +1,16 @@ +/// + +interface ImportMetaEnv { + STORYBOOK_APP_CHAIN_ID: string; + STORYBOOK_APP_ORIGIN: string; + STORYBOOK_APP_DOMAIN: string; + STORYBOOK_APP_BACKEND_URL: string; + STORYBOOK_APP_MAINNET_PROVIDER_URL: string; + STORYBOOK_APP_SEPOLIA_PROVIDER_URL: string; + STORYBOOK_APP_ENS_DOMAIN: string; + STORYBOOK_APP_DEV: string; +} + +interface ImportMeta { + readonly env: ImportMetaEnv; +} diff --git a/packages/@justaname.id/react/project.json b/packages/@justaname.id/react/project.json index b0dffb64..5e6d47cf 100644 --- a/packages/@justaname.id/react/project.json +++ b/packages/@justaname.id/react/project.json @@ -5,6 +5,18 @@ "projectType": "library", "tags": [], "targets": { + "storybook": { + "executor": "@nx/storybook:storybook", + "options": { + "port": 4400, + "configDir": "packages/@justaname.id/react/.storybook" + }, + "configurations": { + "ci": { + "quiet": true + } + } + }, "build": { "executor": "nx:run-commands", "options": { diff --git a/packages/@justaname.id/react/src/stories/react.stories.tsx b/packages/@justaname.id/react/src/stories/react.stories.tsx new file mode 100644 index 00000000..48e0bdc4 --- /dev/null +++ b/packages/@justaname.id/react/src/stories/react.stories.tsx @@ -0,0 +1,58 @@ +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import '@rainbow-me/rainbowkit/styles.css'; +import { getDefaultConfig, RainbowKitProvider } from '@rainbow-me/rainbowkit'; +import { WagmiProvider } from 'wagmi'; +import { mainnet, sepolia } from 'wagmi/chains'; +import { Meta, StoryObj } from '@storybook/react'; +import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; +import { JustaNameProvider, JustaNameProviderConfig } from '../lib/providers'; + +const queryClient = new QueryClient(); + +const justanameConfig: JustaNameProviderConfig = { + config: { + origin: import.meta.env.STORYBOOK_APP_ORIGIN, + domain: import.meta.env.STORYBOOK_APP_DOMAIN, + signInTtl: 1000 * 60 * 60 * 24, + }, + backendUrl: import.meta.env.STORYBOOK_APP_BACKEND_URL, + networks: [ + { + chainId: 1, + providerUrl: import.meta.env.STORYBOOK_APP_MAINNET_PROVIDER_URL, + }, + { + chainId: 11155111, + providerUrl: import.meta.env.STORYBOOK_APP_SEPOLIA_PROVIDER_URL, + }, + ], + dev: import.meta.env.STORYBOOK_APP_DEV === 'true', +}; + +export const Example = () => { + const config = getDefaultConfig({ + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', + chains: [mainnet, sepolia], + }); + + return ( + + + + +

JustaName

+
+
+ +
+
+ ); +}; + +const meta: Meta = { + component: Example, + title: 'Hooks/React', +}; +export default meta; +type Story = StoryObj; diff --git a/packages/@justaname.id/react/tsconfig.json b/packages/@justaname.id/react/tsconfig.json index a44da3e7..ba5185d1 100644 --- a/packages/@justaname.id/react/tsconfig.json +++ b/packages/@justaname.id/react/tsconfig.json @@ -20,6 +20,9 @@ }, { "path": "./tsconfig.spec.json" + }, + { + "path": "./tsconfig.storybook.json" } ], } diff --git a/packages/@justaname.id/react/tsconfig.storybook.json b/packages/@justaname.id/react/tsconfig.storybook.json new file mode 100644 index 00000000..e2b1776c --- /dev/null +++ b/packages/@justaname.id/react/tsconfig.storybook.json @@ -0,0 +1,41 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "emitDecoratorMetadata": true, + "outDir": "", + "module": "esnext", + "moduleResolution": "node", + "noUnusedLocals": false, + "paths": { + "@justaname.id/siwens": ["packages/@justaname.id/siwens"], + "@justaname.id/sdk": ["packages/@justaname.id/sdk"] + } + }, + "files": [ + "../../../node_modules/@nx/react/typings/styled-jsx.d.ts", + "../../../node_modules/@nx/react/typings/cssmodule.d.ts", + "../../../node_modules/@nx/react/typings/image.d.ts" + ], + "exclude": [ + "src/**/*.spec.ts", + "src/**/*.test.ts", + "src/**/*.spec.js", + "src/**/*.test.js", + "src/**/*.spec.tsx", + "src/**/*.test.tsx", + "src/**/*.spec.jsx", + "src/**/*.test.js" + ], + "include": [ + "src/lib/**/index.ts", + "src/lib/**/index.tsx", + "src/**/*.stories.ts", + "src/**/*.stories.js", + "src/**/*.stories.jsx", + "src/**/*.stories.tsx", + "src/**/*.stories.mdx", + ".storybook/*.js", + ".storybook/*.ts", + "env.d.ts" + ] +} diff --git a/packages/@justverified/plugin/project.json b/packages/@justverified/plugin/project.json index d4bcbf48..d513cc5a 100644 --- a/packages/@justverified/plugin/project.json +++ b/packages/@justverified/plugin/project.json @@ -8,7 +8,7 @@ "storybook": { "executor": "@nx/storybook:storybook", "options": { - "port": 4401, + "port": 4403, "configDir": "packages/@justverified/plugin/.storybook" }, "configurations": { diff --git a/packages/@justweb3/ui/project.json b/packages/@justweb3/ui/project.json index d4e34579..3c409db9 100644 --- a/packages/@justweb3/ui/project.json +++ b/packages/@justweb3/ui/project.json @@ -8,7 +8,7 @@ "storybook": { "executor": "@nx/storybook:storybook", "options": { - "port": 4400, + "port": 4401, "configDir": "packages/@justweb3/ui/.storybook" }, "configurations": { diff --git a/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css b/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css index b99c9e6f..ec4d632b 100644 --- a/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css +++ b/packages/@justweb3/ui/src/lib/ui/Tabs/Tabs.module.css @@ -8,7 +8,7 @@ /* Underlined variant */ .underlinedTabs .tabsTrigger { - margin-right: 1rem; + margin-right: 10px; transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out; background-color: transparent; border: unset; @@ -31,7 +31,7 @@ justify-content: center; white-space: nowrap; border-radius: 0.125rem; /* rounded-sm */ - padding: 0.375rem 0.75rem; /* py-1.5 px-3 */ + padding: 5px; font-size: 0.875rem; /* text-sm */ font-weight: 500; /* font-medium */ line-height: 1.25rem; diff --git a/packages/@justweb3/widget/project.json b/packages/@justweb3/widget/project.json index 82692dc5..bac86ec2 100644 --- a/packages/@justweb3/widget/project.json +++ b/packages/@justweb3/widget/project.json @@ -8,7 +8,7 @@ "storybook": { "executor": "@nx/storybook:storybook", "options": { - "port": 4401, + "port": 4402, "configDir": "packages/@justweb3/widget/.storybook" }, "configurations": { diff --git a/packages/@justweb3/widget/src/lib/dialogs/ProfileDialog/index.tsx b/packages/@justweb3/widget/src/lib/dialogs/ProfileDialog/index.tsx index efede43f..c58b4291 100644 --- a/packages/@justweb3/widget/src/lib/dialogs/ProfileDialog/index.tsx +++ b/packages/@justweb3/widget/src/lib/dialogs/ProfileDialog/index.tsx @@ -298,9 +298,6 @@ export const ProfileDialog: FC = ({ setIsSubmitting(false); setTempAvatar(null); setTempBanner(null); - if (records?.sanitizedRecords) { - form.reset(buildInitialValues(records.sanitizedRecords)); - } setEditMode(false); } catch (error) { console.error('Error updating subname:', error); diff --git a/packages/plugins/efp/package.json b/packages/plugins/efp/package.json index 2bd398df..c0e161d6 100644 --- a/packages/plugins/efp/package.json +++ b/packages/plugins/efp/package.json @@ -3,7 +3,10 @@ "version": "0.0.38", "dependencies": { "@justweb3/ui": "0.0.41", - "@justweb3/widget": "0.0.41" + "@justweb3/widget": "0.0.41", + "@justaname.id/react": "0.3.105", + "@tanstack/react-query": "^5.28.4", + "axios": "^1.6.0" }, "peerDependencies": { "react": ">=17" diff --git a/packages/plugins/efp/project.json b/packages/plugins/efp/project.json index 579c945f..f3d23a48 100644 --- a/packages/plugins/efp/project.json +++ b/packages/plugins/efp/project.json @@ -1,5 +1,5 @@ { - "name": "efp-plugin", + "name": "justweb3-efp-plugin", "$schema": "../../../node_modules/nx/schemas/project-schema.json", "sourceRoot": "packages/plugins/efp/src", "projectType": "library", @@ -8,7 +8,7 @@ "storybook": { "executor": "@nx/storybook:storybook", "options": { - "port": 4401, + "port": 4404, "configDir": "packages/plugins/efp/.storybook" }, "configurations": { @@ -22,7 +22,7 @@ "options": { "commands": [ { - "command": "nx buildProject plugins/efp" + "command": "nx buildProject justweb3-efp-plugin" }, { "command": "node update-package-json.js" diff --git a/packages/plugins/efp/src/lib/components/EFPTab/index.tsx b/packages/plugins/efp/src/lib/components/EFPTab/index.tsx index c0039df7..e5da774b 100644 --- a/packages/plugins/efp/src/lib/components/EFPTab/index.tsx +++ b/packages/plugins/efp/src/lib/components/EFPTab/index.tsx @@ -1,6 +1,6 @@ import { useFollowing } from '../../hooks/useFollowing'; import { useFollowers, useStats } from '../../hooks'; -import { FC, useRef, useState } from 'react'; +import { FC, Fragment, useRef, useState } from 'react'; import { Flex, LoadingSpinner, P } from '@justweb3/ui'; import { JustEnsCard } from '@justweb3/widget'; import { useInfiniteScroll } from '../../hooks/useInfiniteScroll'; @@ -178,13 +178,15 @@ export const EFPTab: FC = ({ ens }) => { {following?.pages .flatMap((follow) => follow.following) .map((follow) => ( - + + + ))} {isFollowingFetching && hasMoreFollowing && ( @@ -216,13 +218,15 @@ export const EFPTab: FC = ({ ens }) => { {followers?.pages .flatMap((follow) => follow.followers) .map((follow) => ( - + + + ))} {isFollowersFetching && hasMoreFollowers && ( diff --git a/packages/plugins/efp/src/lib/plugins/index.tsx b/packages/plugins/efp/src/lib/plugins/index.tsx index 00a8b396..90594f3a 100644 --- a/packages/plugins/efp/src/lib/plugins/index.tsx +++ b/packages/plugins/efp/src/lib/plugins/index.tsx @@ -1,6 +1,4 @@ import { JustaPlugin } from '@justweb3/widget'; -import { ArrowIcon, ClickableItem } from '@justweb3/ui'; -import { EFPIcon } from '../icons/EFPIcon'; import { FollowButton } from '../components'; import { EFPTab } from '../components/EFPTab'; @@ -24,23 +22,23 @@ export const EFPPlugin: JustaPlugin = { return ; }, - SignInMenu: (pluginApi) => { - if (pluginApi.chainId !== 1) { - return null; - } - return ( - } - style={{ - width: '100%', - }} - onClick={() => { - pluginApi.setState('efpOpen', true); - }} - right={} - /> - ); - }, + // SignInMenu: (pluginApi) => { + // if (pluginApi.chainId !== 1) { + // return null; + // } + // return ( + // } + // style={{ + // width: '100%', + // }} + // onClick={() => { + // pluginApi.setState('efpOpen', true); + // }} + // right={} + // /> + // ); + // }, }, }; From ab792cf7f2db42bfb34f244a8888aa9c0e868e44 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 18:15:45 +0200 Subject: [PATCH 11/57] chore(release): publish - project: justweb3-efp-plugin 0.1.0 --- packages/plugins/efp/CHANGELOG.md | 16 +++++++++ packages/plugins/efp/package.json | 2 +- yarn.lock | 54 +++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 1 deletion(-) diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/plugins/efp/CHANGELOG.md index a330b361..cd2ce74c 100644 --- a/packages/plugins/efp/CHANGELOG.md +++ b/packages/plugins/efp/CHANGELOG.md @@ -1,3 +1,19 @@ +## 0.1.0 (2024-10-30) + + +### 🚀 Features + +- remove mapps from justverified ([2898c52](https://github.com/JustaName-id/JustaName-sdk/commit/2898c52)) + +- efp ([36fcc15](https://github.com/JustaName-id/JustaName-sdk/commit/36fcc15)) + +- efp and storybook for react sdk ([f0c5c7a](https://github.com/JustaName-id/JustaName-sdk/commit/f0c5c7a)) + + +### ❤️ Thank You + +- HadiKhai + ## 0.0.38 (2024-10-21) diff --git a/packages/plugins/efp/package.json b/packages/plugins/efp/package.json index c0e161d6..3bfed800 100644 --- a/packages/plugins/efp/package.json +++ b/packages/plugins/efp/package.json @@ -1,6 +1,6 @@ { "name": "justweb3-efp-plugin", - "version": "0.0.38", + "version": "0.1.0", "dependencies": { "@justweb3/ui": "0.0.41", "@justweb3/widget": "0.0.41", diff --git a/yarn.lock b/yarn.lock index eb09bffd..e5b1dded 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6925,6 +6925,33 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-accordion@npm:^1.2.1": + version: 1.2.1 + resolution: "@radix-ui/react-accordion@npm:1.2.1" + dependencies: + "@radix-ui/primitive": "npm:1.1.0" + "@radix-ui/react-collapsible": "npm:1.1.1" + "@radix-ui/react-collection": "npm:1.1.0" + "@radix-ui/react-compose-refs": "npm:1.1.0" + "@radix-ui/react-context": "npm:1.1.1" + "@radix-ui/react-direction": "npm:1.1.0" + "@radix-ui/react-id": "npm:1.1.0" + "@radix-ui/react-primitive": "npm:2.0.0" + "@radix-ui/react-use-controllable-state": "npm:1.1.0" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 10c0/617678194124e90947a5ce7b9964cda406f1840c950bdaec4b759da01beb19f58b06304a973a7c1a6663da6732243f8f354504852dbda3502dd282c36035ef6f + languageName: node + linkType: hard + "@radix-ui/react-arrow@npm:1.1.0": version: 1.1.0 resolution: "@radix-ui/react-arrow@npm:1.1.0" @@ -6970,6 +6997,32 @@ __metadata: languageName: node linkType: hard +"@radix-ui/react-collapsible@npm:1.1.1": + version: 1.1.1 + resolution: "@radix-ui/react-collapsible@npm:1.1.1" + dependencies: + "@radix-ui/primitive": "npm:1.1.0" + "@radix-ui/react-compose-refs": "npm:1.1.0" + "@radix-ui/react-context": "npm:1.1.1" + "@radix-ui/react-id": "npm:1.1.0" + "@radix-ui/react-presence": "npm:1.1.1" + "@radix-ui/react-primitive": "npm:2.0.0" + "@radix-ui/react-use-controllable-state": "npm:1.1.0" + "@radix-ui/react-use-layout-effect": "npm:1.1.0" + peerDependencies: + "@types/react": "*" + "@types/react-dom": "*" + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + "@types/react": + optional: true + "@types/react-dom": + optional: true + checksum: 10c0/e3a510c8f3a31709add35c31e3e108a2bc4db2df06e9e50cb5f25144b1cf9596b8118ad2618f851fa7c1498e057938f641a842a6770b5b7b6cd068cd2b4914f1 + languageName: node + linkType: hard + "@radix-ui/react-collection@npm:1.1.0": version: 1.1.0 resolution: "@radix-ui/react-collection@npm:1.1.0" @@ -26074,6 +26127,7 @@ __metadata: "@pmmmwh/react-refresh-webpack-plugin": "npm:^0.5.7" "@privy-io/react-auth": "npm:^1.82.0" "@privy-io/wagmi": "npm:^0.2.12" + "@radix-ui/react-accordion": "npm:^1.2.1" "@radix-ui/react-checkbox": "npm:^1.1.2" "@radix-ui/react-dialog": "npm:^1.1.1" "@radix-ui/react-dropdown-menu": "npm:^2.1.2" From 8abb79dae68a6fa7c817166445a13682f162dec0 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 18:16:02 +0200 Subject: [PATCH 12/57] chore(release): publish - project: justweb3-efp-plugin 0.1.1 --- packages/plugins/efp/CHANGELOG.md | 4 ++++ packages/plugins/efp/package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/plugins/efp/CHANGELOG.md index cd2ce74c..aad4a83f 100644 --- a/packages/plugins/efp/CHANGELOG.md +++ b/packages/plugins/efp/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.1 (2024-10-30) + +This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. + ## 0.1.0 (2024-10-30) diff --git a/packages/plugins/efp/package.json b/packages/plugins/efp/package.json index 3bfed800..9eaf2802 100644 --- a/packages/plugins/efp/package.json +++ b/packages/plugins/efp/package.json @@ -1,6 +1,6 @@ { "name": "justweb3-efp-plugin", - "version": "0.1.0", + "version": "0.1.1", "dependencies": { "@justweb3/ui": "0.0.41", "@justweb3/widget": "0.0.41", From b4091b9d78c85b6cc177014641a3fc52d7115182 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 18:17:02 +0200 Subject: [PATCH 13/57] chore(release): publish - project: justweb3-efp-plugin 0.1.2 --- packages/plugins/efp/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/plugins/efp/CHANGELOG.md index aad4a83f..66e9c900 100644 --- a/packages/plugins/efp/CHANGELOG.md +++ b/packages/plugins/efp/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.2 (2024-10-30) + +This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. + ## 0.1.1 (2024-10-30) This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. From 669cefac26a157c43bed983cc16180229214498a Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 18:48:01 +0200 Subject: [PATCH 14/57] chore(release): publish - project: justweb3-efp-plugin 0.1.3 --- packages/plugins/efp/CHANGELOG.md | 4 ++++ packages/plugins/efp/package.json | 2 +- yarn.lock | 7 +++++++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/plugins/efp/CHANGELOG.md index 66e9c900..0a727c59 100644 --- a/packages/plugins/efp/CHANGELOG.md +++ b/packages/plugins/efp/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.3 (2024-10-30) + +This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. + ## 0.1.2 (2024-10-30) This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. diff --git a/packages/plugins/efp/package.json b/packages/plugins/efp/package.json index 9eaf2802..41535a32 100644 --- a/packages/plugins/efp/package.json +++ b/packages/plugins/efp/package.json @@ -1,6 +1,6 @@ { "name": "justweb3-efp-plugin", - "version": "0.1.1", + "version": "0.1.3", "dependencies": { "@justweb3/ui": "0.0.41", "@justweb3/widget": "0.0.41", diff --git a/yarn.lock b/yarn.lock index e5b1dded..ebca178e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4515,9 +4515,16 @@ __metadata: dependencies: "@ensdomains/ensjs": "npm:4.0.1-alpha.0" "@justaname.id/sdk": "npm:0.2.102" + "@nx/vite": "npm:19.7.3" + "@rainbow-me/rainbowkit": "npm:^2.0.2" + "@storybook/react": "npm:8.3.6" + "@storybook/react-vite": "npm:^8.3.1" + "@tanstack/react-query-devtools": "npm:^5.59.15" + "@vitejs/plugin-react": "npm:^4.2.0" axios: "npm:^1.6.0" jest: "npm:^29.4.1" qs: "npm:^6.12.0" + vite: "npm:~5.0.0" peerDependencies: "@tanstack/react-query": ^5.x ethers: ^6.x From 358b3a0e2d9f1cf8d2b5fe91d6b36b20c2e8c510 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 20:35:40 +0200 Subject: [PATCH 15/57] feat: console fixes --- .../sections/code/CodeSection/index.tsx | 38 ++- .../sections/customizer/Customizer/index.tsx | 19 +- .../customizer/PluginsSection/EFP/index.tsx | 53 ++++ .../Verified}/index.tsx | 105 +++---- .../Verified}/socialCard/index.tsx | 2 +- .../customizer/PluginsSection/index.tsx | 19 ++ apps/console/src/components/ui/accordion.tsx | 58 ++++ apps/console/tsconfig.json | 4 +- nx.json | 3 +- package.json | 1 + packages/@justaname.id/react/package.json | 9 +- .../@justaname.id/react/tsconfig.lib.json | 5 +- .../react/tsconfig.storybook.json | 1 - packages/@justaname.id/sdk/README.md | 261 ++++++++++++------ .../lib/dialogs/JustVerifiedDialog/index.tsx | 9 +- .../MetadataCard/MetadataCard.module.css | 12 + .../src/lib/components/MetadataCard/index.tsx | 36 ++- .../ProfileSection/ProfileSection.module.css | 11 +- .../widget/src/stories/session.stories.tsx | 4 - 19 files changed, 470 insertions(+), 180 deletions(-) create mode 100644 apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx rename apps/console/src/components/sections/customizer/{VerifiedSection => PluginsSection/Verified}/index.tsx (50%) rename apps/console/src/components/sections/customizer/{VerifiedSection => PluginsSection/Verified}/socialCard/index.tsx (94%) create mode 100644 apps/console/src/components/sections/customizer/PluginsSection/index.tsx create mode 100644 apps/console/src/components/ui/accordion.tsx diff --git a/apps/console/src/components/sections/code/CodeSection/index.tsx b/apps/console/src/components/sections/code/CodeSection/index.tsx index 7914274f..8ba92f7c 100644 --- a/apps/console/src/components/sections/code/CodeSection/index.tsx +++ b/apps/console/src/components/sections/code/CodeSection/index.tsx @@ -9,8 +9,20 @@ export const CodeSection: React.FC = () => { const { color } = useJustWeb3Theme(); const { justVerified } = useConsole(); - const code = useMemo( - () => `import '@rainbow-me/rainbowkit/styles.css' + const code = useMemo(() => { + const plugins = []; + + if (config.plugins?.find((p) => p.name === 'JustVerifiedPlugin')) { + plugins.push( + `JustVerifiedPlugin([${justVerified.map((v) => `'${v}'`).join(', ')}])` + ); + } + + if (config.plugins?.find((p) => p.name === 'EFPPlugin')) { + plugins.push('EFPPlugin'); + } + + return `import '@rainbow-me/rainbowkit/styles.css' import '@justweb3/widget/styles.css' import React from 'react'; import { @@ -47,6 +59,11 @@ ${ ? "import { JustVerifiedPlugin } from '@justverified/plugin';" : '' } +${ + config.plugins?.find((p) => p.name === 'EFPPlugin') + ? "import { EFPPlugin } from 'justweb3-efp-plugin';" + : '' +} export const App: React.FC = () => { const { wallets } = getDefaultWallets(); @@ -70,14 +87,7 @@ export const App: React.FC = () => { ...config, dev: undefined, disableOverlay: undefined, - // plugins: justVerified ? [JustVerifiedPlugin(justVerified)] : undefined, - plugins: config.plugins?.find((p) => p.name === 'JustVerifiedPlugin') - ? [ - `JustVerifiedPlugin([${justVerified - .map((v) => `'${v}'`) - .join(', ')}])`, - ] - : undefined, + plugins: plugins.length > 0 ? plugins : undefined, color: color, }, null, @@ -102,9 +112,8 @@ export const App: React.FC = () => { }; export default App; - `, - [color, config, justVerified] - ); + `; + }, [color, config, justVerified]); return (
@@ -112,7 +121,8 @@ export default App; { const { handleJustWeb3Config, config } = useContext(JustWeb3Context); @@ -25,7 +25,7 @@ export const Customizer = () => { }, [logoUrlDebounced]); return ( -
+

Customize Interface @@ -45,7 +45,10 @@ export const Customizer = () => { onColorChange={(color: string) => { changeTheme('primary', color); document.documentElement.style.setProperty('--primary', color); - document.documentElement.style.setProperty('--rk-colors-accentColor', color); + document.documentElement.style.setProperty( + '--rk-colors-accentColor', + color + ); }} />

@@ -62,7 +65,7 @@ export const Customizer = () => {
-
+

@@ -82,12 +85,12 @@ export const Customizer = () => { />

-
+
-
+
-
- +
+
); }; diff --git a/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx b/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx new file mode 100644 index 00000000..6cba03c0 --- /dev/null +++ b/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx @@ -0,0 +1,53 @@ +import { AccordionItem, AccordionTrigger } from '../../../../ui/accordion'; +import { Switch } from '../../../../ui/switch'; +import { useContext } from 'react'; +import { JustWeb3Context } from '@justweb3/widget'; +import { EFPPlugin } from 'justweb3-efp-plugin'; + +export const EFP = () => { + const { handleJustWeb3Config, config } = useContext(JustWeb3Context); + + const handleEFPConfig = (enabled: boolean) => { + if (enabled) { + handleJustWeb3Config({ + ...config, + plugins: [ + ...(config?.plugins || []).filter( + (plugin) => plugin.name !== EFPPlugin.name + ), + EFPPlugin, + ], + }); + } else { + handleJustWeb3Config({ + ...config, + plugins: (config?.plugins || []).filter( + (plugin) => plugin.name !== EFPPlugin.name + ), + }); + } + }; + + return ( + + +
+

+ EFP +

+ plugin.name === 'EFPPlugin') + } + onClick={(e) => { + e.stopPropagation(); + }} + onCheckedChange={(checked) => { + handleEFPConfig(checked); + }} + /> +
+
+
+ ); +}; diff --git a/apps/console/src/components/sections/customizer/VerifiedSection/index.tsx b/apps/console/src/components/sections/customizer/PluginsSection/Verified/index.tsx similarity index 50% rename from apps/console/src/components/sections/customizer/VerifiedSection/index.tsx rename to apps/console/src/components/sections/customizer/PluginsSection/Verified/index.tsx index 2d1a76f2..a1ae22a9 100644 --- a/apps/console/src/components/sections/customizer/VerifiedSection/index.tsx +++ b/apps/console/src/components/sections/customizer/PluginsSection/Verified/index.tsx @@ -1,9 +1,6 @@ import { ReactNode, useContext, useEffect } from 'react'; import { JustWeb3Context } from '@justweb3/widget'; -import { - Credentials, - JustVerifiedPlugin, -} from '@justverified/plugin'; +import { Credentials, JustVerifiedPlugin } from '@justverified/plugin'; import { DiscordIcon, EmailIcon, @@ -11,9 +8,14 @@ import { TelegramIcon, TwitterIcon, } from '@justweb3/ui'; -import { useConsole } from '../../../../providers/ConsoleProvider'; -import { Switch } from '../../../ui/switch'; +import { useConsole } from '../../../../../providers/ConsoleProvider'; +import { Switch } from '../../../../ui/switch'; import { SocialCard } from './socialCard'; +import { + AccordionContent, + AccordionItem, + AccordionTrigger, +} from '../../../../ui/accordion'; const socials: { logo: ReactNode; title: string; credential: Credentials }[] = [ { @@ -43,7 +45,7 @@ const socials: { logo: ReactNode; title: string; credential: Credentials }[] = [ }, ]; -export const VerifiedSection = () => { +export const Verified = () => { const { handleJustWeb3Config, config } = useContext(JustWeb3Context); const { justVerified, setJustVerified } = useConsole(); @@ -78,51 +80,60 @@ export const VerifiedSection = () => { }, [justVerified]); return ( -
-
-

- JustVerified -

- plugin.name === 'JustVerifiedPlugin' - ) - } - onCheckedChange={(checked) => { - handleJustVerifiedConfig(checked); - }} - /> -
-
- {socials.map((social) => ( - + +
+

+ JustVerified +

+ plugin.name === 'JustVerifiedPlugin' ) } - key={social.credential} - value={social.credential} - checked={ - !!justVerified?.find((platform) => platform === social.credential) - } - onCheck={(platform) => { - if (justVerified) { - setJustVerified([...justVerified, platform as Credentials]); - } + onClick={(e) => { + e.stopPropagation(); }} - onUncheck={(platform) => { - if (justVerified) { - setJustVerified( - justVerified.filter((verified) => verified !== platform) - ); - } + onCheckedChange={(checked) => { + handleJustVerifiedConfig(checked); }} /> - ))} -
-
+
+ + +
+ {socials.map((social) => ( + plugin.name === 'JustVerifiedPlugin' + ) + } + key={social.credential} + value={social.credential} + checked={ + !!justVerified?.find( + (platform) => platform === social.credential + ) + } + onCheck={(platform) => { + if (justVerified) { + setJustVerified([...justVerified, platform as Credentials]); + } + }} + onUncheck={(platform) => { + if (justVerified) { + setJustVerified( + justVerified.filter((verified) => verified !== platform) + ); + } + }} + /> + ))} +
+
+ ); }; diff --git a/apps/console/src/components/sections/customizer/VerifiedSection/socialCard/index.tsx b/apps/console/src/components/sections/customizer/PluginsSection/Verified/socialCard/index.tsx similarity index 94% rename from apps/console/src/components/sections/customizer/VerifiedSection/socialCard/index.tsx rename to apps/console/src/components/sections/customizer/PluginsSection/Verified/socialCard/index.tsx index 451db181..d5f0e2ee 100644 --- a/apps/console/src/components/sections/customizer/VerifiedSection/socialCard/index.tsx +++ b/apps/console/src/components/sections/customizer/PluginsSection/Verified/socialCard/index.tsx @@ -1,4 +1,4 @@ -import { Checkbox } from '../../../../ui/checkbox'; +import { Checkbox } from '../../../../../ui/checkbox'; import { ReactNode } from 'react'; interface SocialCardProps { diff --git a/apps/console/src/components/sections/customizer/PluginsSection/index.tsx b/apps/console/src/components/sections/customizer/PluginsSection/index.tsx new file mode 100644 index 00000000..21d9a8f0 --- /dev/null +++ b/apps/console/src/components/sections/customizer/PluginsSection/index.tsx @@ -0,0 +1,19 @@ +import { FC } from 'react'; +import { Accordion } from '../../../ui/accordion'; +import { Verified } from './Verified'; +import { EFP } from './EFP'; + +export const PluginsSection: FC = () => { + return ( +
+

+ Plugins +

+ + + + + +
+ ); +}; diff --git a/apps/console/src/components/ui/accordion.tsx b/apps/console/src/components/ui/accordion.tsx new file mode 100644 index 00000000..98f826a6 --- /dev/null +++ b/apps/console/src/components/ui/accordion.tsx @@ -0,0 +1,58 @@ +'use client'; + +import * as React from 'react'; +import * as AccordionPrimitive from '@radix-ui/react-accordion'; +import { ChevronDown } from 'lucide-react'; +import { cn } from '../../lib/utils'; + +const Accordion = AccordionPrimitive.Root; + +const AccordionItem = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)); +AccordionItem.displayName = 'AccordionItem'; + +const AccordionTrigger = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + + svg]:rotate-180', + className + )} + {...props} + > + + + {children} + + +)); +AccordionTrigger.displayName = AccordionPrimitive.Trigger.displayName; + +const AccordionContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, children, ...props }, ref) => ( + +
{children}
+
+)); + +AccordionContent.displayName = AccordionPrimitive.Content.displayName; + +export { Accordion, AccordionItem, AccordionTrigger, AccordionContent }; diff --git a/apps/console/tsconfig.json b/apps/console/tsconfig.json index a5cc4893..7b57cb7c 100644 --- a/apps/console/tsconfig.json +++ b/apps/console/tsconfig.json @@ -24,7 +24,9 @@ "@justaname.id/react": ["packages/@justaname.id/react"], "@justaname.id/sdk": ["packages/@justaname.id/sdk"], "@justaname.id/siwens": ["packages/@justaname.id/siwens"], - "@justverified/plugin": ["packages/@justverified/plugin"] + "@justverified/plugin": ["packages/@justverified/plugin"], + "justweb3-efp-plugin": ["packages/plugins/efp"], + } }, "include": [ diff --git a/nx.json b/nx.json index 5c1d2b84..1977ce8a 100644 --- a/nx.json +++ b/nx.json @@ -162,7 +162,8 @@ "packages/@justaname.id/siwens", "packages/@justweb3/ui", "packages/@justweb3/widget", - "packages/@justverified/plugin" + "packages/@justverified/plugin", + "packages/plugins/efp" ] }, "defaultBase": "main" diff --git a/package.json b/package.json index a146a03f..fc2912c5 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@inquirer/prompts": "^4.3.0", "@privy-io/react-auth": "^1.82.0", "@privy-io/wagmi": "^0.2.12", + "@radix-ui/react-accordion": "^1.2.1", "@radix-ui/react-checkbox": "^1.1.2", "@radix-ui/react-dialog": "^1.1.1", "@radix-ui/react-dropdown-menu": "^2.1.2", diff --git a/packages/@justaname.id/react/package.json b/packages/@justaname.id/react/package.json index 7680c657..39a7ea44 100644 --- a/packages/@justaname.id/react/package.json +++ b/packages/@justaname.id/react/package.json @@ -4,8 +4,15 @@ "dependencies": { "@ensdomains/ensjs": "4.0.1-alpha.0", "@justaname.id/sdk": "0.2.102", + "@nx/vite": "19.7.3", + "@rainbow-me/rainbowkit": "^2.0.2", + "@storybook/react": "8.3.6", + "@storybook/react-vite": "^8.3.1", + "@tanstack/react-query-devtools": "^5.59.15", + "@vitejs/plugin-react": "^4.2.0", "axios": "^1.6.0", - "qs": "^6.12.0" + "qs": "^6.12.0", + "vite": "~5.0.0" }, "peerDependencies": { "@tanstack/react-query": "^5.x", diff --git a/packages/@justaname.id/react/tsconfig.lib.json b/packages/@justaname.id/react/tsconfig.lib.json index 9363f858..23c3dcc3 100644 --- a/packages/@justaname.id/react/tsconfig.lib.json +++ b/packages/@justaname.id/react/tsconfig.lib.json @@ -26,7 +26,10 @@ "src/**/*.test.js", "src/**/*.spec.jsx", "src/**/*.test.jsx", - "../sdk/**" + "**/*.stories.ts", + "**/*.stories.js", + "**/*.stories.jsx", + "**/*.stories.tsx" ], "include": [ "src/**/*.js", diff --git a/packages/@justaname.id/react/tsconfig.storybook.json b/packages/@justaname.id/react/tsconfig.storybook.json index e2b1776c..d8cc3919 100644 --- a/packages/@justaname.id/react/tsconfig.storybook.json +++ b/packages/@justaname.id/react/tsconfig.storybook.json @@ -4,7 +4,6 @@ "emitDecoratorMetadata": true, "outDir": "", "module": "esnext", - "moduleResolution": "node", "noUnusedLocals": false, "paths": { "@justaname.id/siwens": ["packages/@justaname.id/siwens"], diff --git a/packages/@justaname.id/sdk/README.md b/packages/@justaname.id/sdk/README.md index f829d9db..098a57b5 100644 --- a/packages/@justaname.id/sdk/README.md +++ b/packages/@justaname.id/sdk/README.md @@ -1,137 +1,236 @@ -# JustaName Core SDK +# JustaName SDK -The **JustaName Core SDK** enables seamless integration of decentralized identity and ENS (Ethereum Name Service) management into your dApps, offering a modern, gasless, and user-friendly experience. Whether you want to issue ENS subnames, update records for free, or authenticate users with their ENS, JustaName provides an easy-to-use solution. +JustaName SDK is a toolkit for managing Ethereum Name Service (ENS) domains and subnames. It simplifies the integration of ENS functionalities into any application, including resolving ENS names, issuing off-chain subnames, and enabling Sign-In with ENS (SIWENS). +The SDK supports both Ethereum Mainnet and Testnet environments. -## Key Features +## Table of Contents +- [Motivation](#motivation) +- [Features](#features) +- [How It Works](#how-it-works) +- [Installation](#installation) +- [Quickstart Guide](#quickstart-guide) + - [Initialization](#initialization) + - [Issuing a Subname](#issuing-a-subname) + - [Updating a Subname](#updating-a-subname) + - [Signing In with ENS](#signing-in-with-ens) +- [Benefits](#benefits) +- [Available Methods](#available-methods) + - [Subname Management](#subname-management) + - [SIWE](#siwe) + - [Sign-In with ENS](#sign-in-with-ens) + - [MApp Management](#mapp-management) + - [Offchain Resolvers](#offchain-resolvers) +- [Contributing](#contributing) -### 1. **Gasless Subname Issuance** -Issue ENS subnames without users having to worry about gas fees. The SDK supports gasless transactions, allowing you to provide a frictionless experience when users claim or manage their subnames. +## Motivation -### 2. **Free ENS Record Updates** -Update your ENS records for free! Modify subname information like avatars, descriptions, and more without incurring any gas fees. This feature allows for fast and frequent updates, giving users more control over their ENS profiles and metadata. +Managing ENS domains and integrating them into applications can be complex and time-consuming. JustaName SDK aims to streamline this process by providing an easy-to-use interface for off-chain ENS management, subname issuance, and authentication using ENS domains. By abstracting the underlying complexities, developers can focus on building feature-rich applications without worrying about ENS integration details. -### 3. **SIWENS: Authentication Using ENS** -Authenticate users with **SIWENS (Sign-In with Ethereum + ENS)**, ensuring not only that users control their Ethereum wallet, but also verifying ownership of the ENS domain used during login. This adds an extra layer of security and simplifies the login process for users. +## Features -### 4. **ENS Name Resolution** -Easily resolve ENS names to their corresponding Ethereum addresses, allowing you to build ENS-powered applications that rely on human-readable identifiers. This makes it simpler for users to interact with decentralized applications using familiar ENS names rather than long, complex wallet addresses. +- **ENS Management:** Manage ENS domains and subnames off-chain effortlessly. +- **Subname Issuance:** Issue and update subnames without interacting directly with smart contracts. +- **ENS Resolution:** Resolve on-chain and off-chain ENS easily within your application. +- **Sign-In with ENS (SIWENS):** Authenticate users using their ENS domains for a decentralized and secure sign-in experience. +- **Mainnet and Testnet Support:** Compatible with Ethereum Mainnet and Testnet environments. +- **Easy Integration:** Simplifies the incorporation of ENS functionalities into any application. -### 5. **Metadata Applications (mApps)** -Leverage **mApps (Metadata Applications)** to manage custom fields and permissions associated with ENS records. Add, modify, or revoke mApp permissions dynamically, allowing for decentralized, role-based access to your dApp’s features. +## How It Works -### 6. **Cross-Chain Support** -The SDK is designed to support multiple blockchains, including Ethereum mainnet, testnets, and other EVM-compatible networks. This cross-chain support ensures your dApp is scalable and adaptable to different blockchain ecosystems. +JustaName SDK interacts with the JustaName API to perform off-chain operations related to ENS domains and subnames. It handles the necessary cryptographic operations, such as signing messages and verifying signatures, to ensure secure interactions. By using the SDK, developers can perform tasks like issuing subnames, updating records, and authenticating users without dealing with the complexities of the Ethereum blockchain directly. -## Why Choose JustaName SDK? +## Installation -- **Gasless & User-Friendly**: Enable users to issue and manage ENS subnames without needing to pay gas fees. -- **Effortless ENS Management**: Free record updates for ENS profiles, making it simple to keep user data current and relevant. -- **Enhanced Security**: With SIWENS authentication, users' ENS domain ownership is verified, providing a secure and decentralized identity solution. -- **Easy ENS Resolution**: Quickly resolve ENS names to Ethereum addresses for seamless transactions and interactions. -- **Custom Metadata Management**: mApps allow you to extend ENS profiles with custom data and permissions, perfect for complex, role-based dApps. -- **Multi-Chain Flexibility**: Build dApps that are blockchain-agnostic, with full support for Ethereum and EVM-compatible chains. - -## Quickstart - -Install the SDK via npm or yarn: +Install the package using npm or yarn: ```bash npm install @justaname.id/sdk -or +# or yarn add @justaname.id/sdk ``` -## Example Usage +## Quickstart Guide +### Initialization +First, import the JustaName SDK and initialize it with your configuration: ```typescript import { JustaName } from '@justaname.id/sdk'; +import { ethers } from 'ethers'; // Initialize the SDK with your configuration const justaname = JustaName.init({ - apiKey: 'your-api-key', - networks: [ - { - chainId: 1, // Ethereum Mainnet - providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' + apiKey: 'your-api-key', + networks: [ + { + chainId: 1, // Ethereum Mainnet + providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' + } + ], + ensDomains: [ + { + chainId: 1, + domain: 'your_ens_domain.eth' + } + ], + config: { + domain: 'yourdapp.com', + origin: 'https://yourdapp.com' } - ], - ensDomains: [{ - chainId: 1, - domain: 'your_ens_domain.eth' - }], - config:{ - domain: 'yourdapp.com', - origin: 'https://yourdapp.com' - } }); +// Create a signer (for example purposes, we're creating a random wallet) const signer = ethers.Wallet.createRandom(); +``` + +### Issuing a Subname +To issue a subname off-chain, you can use the following code: +```typescript async function issueSubname() { - const challenge = await justaname.siwe.requestChallenge({ - address: signer.address, - chainId: CHAIN_ID, - }); - - const signature = await signer.signMessage(challenge.challenge); - const response = await justaname.subnames.addSubname({ - username: 'username1', - chainId: CHAIN_ID, - }, { - xMessage: challenge.challenge, - xAddress: signer.address, - xSignature: signature - }) - - return response; + const challenge = await justaname.siwe.requestChallenge({ + address: signer.address, + chainId: 1 // Ethereum Mainnet + }); + + const signature = await signer.signMessage(challenge.challenge); + + const response = await justaname.subnames.addSubname( + { + username: 'username1', + chainId: 1 + }, + { + xMessage: challenge.challenge, + xAddress: signer.address, + xSignature: signature + }); + + console.log('Subname issued successfully:', response); + return response; } +``` +### Updating a Subname +To update records associated with a subname, such as setting an avatar: +```typescript async function updateSubname() { const challenge = await justaname.siwe.requestChallenge({ address: signer.address, - chainId: CHAIN_ID, + chainId: 1 }); const signature = await signer.signMessage(challenge.challenge); - const response = await justaname.subnames.updateSubname({ + const response = await justaname.subnames.updateSubname( + { username: 'username1', - chainId: CHAIN_ID, - text: [{ + chainId: 1, + text: [ + { key: 'avatar', value: 'https://youravatar.com/avatar.png' - }] - }, { + } + ] + }, + { xMessage: challenge.challenge, xAddress: signer.address, xSignature: signature }); + console.log('Subname updated successfully:', response); return response; } +``` +### Signing In with ENS +Enable users to sign in to your application using their ENS domain: +```typescript async function signIn() { - - const requestChallenge = await justaname.signIn.requestSignIn({ - ens: 'your_ens_domain.eth', - address: signer.address - }) // usually this will be done on the frontend - const signature = await signer.signMessage(requestChallenge.message); - - const response = await justaname.signIn.signIn( - requestChallenge.message, - signature - ) // usually this will be done on the backend - - console.log('User signed in with ENS:', response.ens); + const message = await justaname.signIn.requestSignIn({ + ens: 'your_ens_domain.eth', + address: signer.address + }); + + const signature = await signer.signMessage(message); + + const response = await justaname.signIn.signIn({ + message: message, + signature: signature + }); + + console.log('User signed in with ENS:', response.ens); + return response; } +``` + +### Putting It All Together +You can combine these functions to manage subnames and authenticate users: +```typescript async function main() { - await issueSubname(); - await updateSubname(); - await signIn(); + await issueSubname(); + await updateSubname(); + await signIn(); } -``` \ No newline at end of file + +main().catch(console.error); +``` + +## Available Methods +### Subname Management +- acceptSubname +- reserveSubname +- addSubname +- updateSubname +- revokeSubname +- rejectSubname +- getSubnamesByEnsDomainWithCount +- getSubname +- getSubnamesByAddress +- getInvitationsByAddress +- getSubnamesByEnsDomain +- searchSubnames +- isSubnameAvailable +- getRecords +- getPrimaryNameByAddress +### SIWE +- requestChallenge +- verifyChallenge +### Sign-In with ENS +- requestSignIn +- signIn +- generateNonce +### MApp Management +- checkIfMAppIsEnabled +- canEnableMApps +- requestAddMAppPermissionChallenge +- requestAppendMAppFieldChallenge +- requestRevokeMAppPermissionChallenge +- addMAppPermission +- appendMAppField +- revokeMAppPermission +### Offchain Resolvers +- getAllOffchainResolvers + +Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. + + +### Benefits +Simplified ENS Integration: Abstracts the complexities of interacting with the Ethereum blockchain and ENS smart contracts. + +Off-Chain Management: Perform ENS domain and subname operations off-chain, reducing gas costs and improving performance. + +Enhanced Security: Utilizes cryptographic signatures to ensure secure operations. + +User-Friendly Authentication: Allows users to sign in with their ENS domains, enhancing user experience and security. + +Flexible Environment Support: Works seamlessly with both Ethereum Mainnet and Testnet networks. + +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. + diff --git a/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx b/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx index d854940a..4d64c387 100644 --- a/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx +++ b/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx @@ -89,6 +89,11 @@ export const JustVerifiedDialog: FC = ({ open={open} handleClose={() => handleOpenDialogInternal(false)} disableOverlay={disableOverlay} + contentStyle={{ + maxWidth: '400px', + width: '100%', + minWidth: '300px', + }} header={
= ({ }} > - + = ({ const linkProps = { href: variant === 'social' - ? SUPPORTED_SOCIALS - .find((social) => social.identifier === title) - ?.link(value) || '' + ? SUPPORTED_SOCIALS.find((social) => social.identifier === title)?.link( + value + ) || '' : value, target: '_blank', rel: 'noopener noreferrer', @@ -38,7 +37,13 @@ export const MetadataCard: React.FC = ({ }; return ( - + {(variant === 'address' || variant === 'social' || @@ -55,9 +60,9 @@ export const MetadataCard: React.FC = ({ : 'calc(100%-2*24px-2*5px)', }} > - {(variant === 'address' || variant === 'other') && ( + {variant === 'address' && (

- {variant === 'address' && value ? formatText(value, 10) : title} + {variant === 'address' && value ? formatText(value, 10) : ''}

)} @@ -67,8 +72,21 @@ export const MetadataCard: React.FC = ({ )} + {variant === 'other' && ( +

+ {variant === 'other' && title ? title : ''} +

+ )} + {variant === 'other' && value && ( -

{formatText(value)}

+

+ {formatText(value)} +

)} {variant === 'contentHash' && ( diff --git a/packages/@justweb3/widget/src/lib/components/Profile/ProfileSection/ProfileSection.module.css b/packages/@justweb3/widget/src/lib/components/Profile/ProfileSection/ProfileSection.module.css index e314f59e..1eced9b9 100644 --- a/packages/@justweb3/widget/src/lib/components/Profile/ProfileSection/ProfileSection.module.css +++ b/packages/@justweb3/widget/src/lib/components/Profile/ProfileSection/ProfileSection.module.css @@ -10,7 +10,8 @@ /* SectionItemList styles */ .sectionItemList { - display: grid; + display: flex; + flex-direction: row; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; gap: 10px; @@ -20,13 +21,7 @@ @media (max-width: 768px) { .sectionItemList { gap: 10px; - } -} - -@media (min-width: 768px) { - .sectionItemList { - display: flex; - flex-direction: row; + flex-wrap: wrap; } } diff --git a/packages/@justweb3/widget/src/stories/session.stories.tsx b/packages/@justweb3/widget/src/stories/session.stories.tsx index d67ed4ea..321dc2bf 100644 --- a/packages/@justweb3/widget/src/stories/session.stories.tsx +++ b/packages/@justweb3/widget/src/stories/session.stories.tsx @@ -112,10 +112,6 @@ const Session = () => { coinType: coinType as SupportedCoins, }, ], - contentHash: { - protocolType: contentHashProtocol, - decoded: contentHash, - }, }); }} > From dc845c10af242e3ca87d95ef392516ac0bfa8b95 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 21:59:17 +0200 Subject: [PATCH 16/57] chore(release): publish - project: justweb3-efp-plugin 0.1.4 --- packages/plugins/efp/CHANGELOG.md | 4 ++++ packages/plugins/efp/package.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/plugins/efp/CHANGELOG.md index 0a727c59..6b5d360f 100644 --- a/packages/plugins/efp/CHANGELOG.md +++ b/packages/plugins/efp/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.1.4 (2024-10-30) + +This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. + ## 0.1.3 (2024-10-30) This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. diff --git a/packages/plugins/efp/package.json b/packages/plugins/efp/package.json index 41535a32..405b9468 100644 --- a/packages/plugins/efp/package.json +++ b/packages/plugins/efp/package.json @@ -1,6 +1,6 @@ { - "name": "justweb3-efp-plugin", - "version": "0.1.3", + "name": "@justweb3/efp-plugin", + "version": "0.1.4", "dependencies": { "@justweb3/ui": "0.0.41", "@justweb3/widget": "0.0.41", From a3bcecaa202223d8f98dd903f8d687f6dfd73a8c Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 30 Oct 2024 23:32:05 +0200 Subject: [PATCH 17/57] feat: added docs and the sign in should only show ens set to default resolver or justaname resolver only --- .../sections/code/CodeSection/index.tsx | 2 +- .../customizer/PluginsSection/EFP/index.tsx | 2 +- apps/console/tsconfig.json | 2 +- .../src/app/components/ClaimSubname.tsx | 67 +- docs/sdk/JustVerified Plugin/README.md | 79 + .../functions/JustVerifiedDialog.md | 29 + .../functions/JustVerifiedPlugin.md | 25 + .../functions/JustVerifiedProvider.md | 29 + .../functions/SelectCredentialItem.md | 29 + .../functions/buildGenerateOtpKey.md | 23 + .../functions/generateOtp.md | 23 + .../functions/useClearOtp.md | 21 + .../functions/useGenerateOtp.md | 21 + .../functions/usePreviousState.md | 27 + .../functions/useResendOtp.md | 21 + .../functions/useSocialVerification.md | 21 + .../functions/useVerifyOtp.md | 21 + docs/sdk/JustVerified Plugin/globals.md | 60 + .../interfaces/ClearOtpParams.md | 17 + .../interfaces/DiscordCredential.md | 21 + .../interfaces/GithubCredential.md | 21 + .../interfaces/JustVerifiedDialogProps.md | 75 + .../interfaces/JustVerifiedResponse.md | 31 + .../interfaces/ResendOtpParams.md | 17 + .../interfaces/SelectCredentialItemProps.md | 61 + .../interfaces/SocialVerificationParams.md | 17 + .../interfaces/TelegramCredential.md | 21 + .../interfaces/TwitterCredential.md | 21 + .../interfaces/UseClearOtpParams.md | 17 + .../interfaces/UseClearOtpResult.md | 27 + .../interfaces/UseGenerateOtpParams.md | 27 + .../interfaces/UseGenerateOtpResult.md | 55 + .../interfaces/UseResendOtpParams.md | 37 + .../interfaces/UseResendOtpResult.md | 65 + .../interfaces/UseSocialVerificationParams.md | 49 + .../interfaces/UseSocialVerificationResult.md | 27 + .../interfaces/UseVerifyOtpParams.md | 17 + .../interfaces/UseVerifyOtpResult.md | 27 + .../interfaces/VerifyOtpParams.md | 27 + .../type-aliases/CredentialMetadataKey.md | 13 + .../type-aliases/CredentialMetadataValue.md | 35 + .../type-aliases/Credentials.md | 13 + .../DiscordEthereumEip712Signature.md | 13 + .../GithubEthereumEip712Signature.md | 13 + .../TelegramEthereumEip712Signature.md | 13 + .../TwitterEthereumEip712Signature.md | 13 + .../type-aliases/VerifyOtpResponse.md | 13 + .../CredentialMetadataKeyStandard.md | 13 + .../CredentialMetadataKeyStandardReverse.md | 13 + docs/sdk/JustWeb3 EFP Plugin/README.md | 60 + .../JustWeb3 EFP Plugin/functions/EFPIcon.md | 29 + .../functions/buildFollowStateQueryKey.md | 23 + .../functions/buildFollowersQueryKey.md | 21 + .../functions/buildFollowingQueryKey.md | 21 + .../functions/buildStatsQueryKey.md | 21 + .../functions/getFollowState.md | 23 + .../functions/getFollowers.md | 25 + .../functions/getFollowing.md | 25 + .../JustWeb3 EFP Plugin/functions/getStats.md | 21 + .../functions/useFollowState.md | 21 + .../functions/useFollowers.md | 21 + .../functions/useFollowing.md | 21 + .../JustWeb3 EFP Plugin/functions/useStats.md | 21 + docs/sdk/JustWeb3 EFP Plugin/globals.md | 40 + .../interfaces/FollowState.md | 49 + .../interfaces/Followers.md | 17 + .../interfaces/Following.md | 17 + .../JustWeb3 EFP Plugin/interfaces/Stats.md | 27 + .../interfaces/UseFollowStateParams.md | 27 + .../interfaces/UseFollowStateResult.md | 47 + .../interfaces/UseFollowersParams.md | 17 + .../interfaces/UseFollowersResult.md | 75 + .../interfaces/UseFollowingParams.md | 17 + .../interfaces/UseFollowingResult.md | 75 + .../interfaces/UseStatsParams.md | 17 + .../interfaces/UseStatsResult.md | 47 + .../variables/EFPPlugin.md | 13 + docs/sdk/JustWeb3 UI/README.md | 167 + docs/sdk/JustWeb3 UI/functions/A.md | 29 + docs/sdk/JustWeb3 UI/functions/Avatar.md | 29 + docs/sdk/JustWeb3 UI/functions/Badge.md | 29 + docs/sdk/JustWeb3 UI/functions/Button.md | 21 + docs/sdk/JustWeb3 UI/functions/Carousel.md | 29 + .../JustWeb3 UI/functions/ClickableItem.md | 29 + docs/sdk/JustWeb3 UI/functions/Dialog.md | 29 + docs/sdk/JustWeb3 UI/functions/DialogClose.md | 21 + .../JustWeb3 UI/functions/DialogContent.md | 21 + .../functions/DialogDescription.md | 21 + .../sdk/JustWeb3 UI/functions/DialogFooter.md | 29 + .../sdk/JustWeb3 UI/functions/DialogHeader.md | 29 + docs/sdk/JustWeb3 UI/functions/DialogTitle.md | 21 + .../JustWeb3 UI/functions/DialogTrigger.md | 21 + docs/sdk/JustWeb3 UI/functions/Divider.md | 29 + .../sdk/JustWeb3 UI/functions/DropdownMenu.md | 29 + .../functions/DropdownMenuContent.md | 21 + .../JustWeb3 UI/functions/DropdownMenuItem.md | 21 + .../functions/DropdownMenuLabel.md | 21 + .../functions/DropdownMenuSeparator.md | 21 + .../functions/DropdownMenuTrigger.md | 21 + .../JustWeb3 UI/functions/ExpandableText.md | 29 + docs/sdk/JustWeb3 UI/functions/Flex.md | 21 + docs/sdk/JustWeb3 UI/functions/Form.md | 60 + docs/sdk/JustWeb3 UI/functions/FormControl.md | 21 + .../JustWeb3 UI/functions/FormDescription.md | 21 + docs/sdk/JustWeb3 UI/functions/FormField.md | 27 + docs/sdk/JustWeb3 UI/functions/FormItem.md | 21 + docs/sdk/JustWeb3 UI/functions/FormLabel.md | 21 + docs/sdk/JustWeb3 UI/functions/FormMessage.md | 21 + docs/sdk/JustWeb3 UI/functions/H2.md | 29 + docs/sdk/JustWeb3 UI/functions/Input.md | 21 + .../functions/JustWeb3ThemeProvider.md | 29 + .../JustWeb3 UI/functions/LoadingSpinner.md | 29 + docs/sdk/JustWeb3 UI/functions/OTPInput.md | 21 + .../JustWeb3 UI/functions/OTPInputGroup.md | 21 + .../functions/OTPInputSeparator.md | 21 + .../sdk/JustWeb3 UI/functions/OTPInputSlot.md | 21 + docs/sdk/JustWeb3 UI/functions/OrLine.md | 29 + docs/sdk/JustWeb3 UI/functions/P.md | 29 + docs/sdk/JustWeb3 UI/functions/Popover.md | 29 + .../JustWeb3 UI/functions/PopoverContent.md | 21 + .../JustWeb3 UI/functions/PopoverTrigger.md | 21 + docs/sdk/JustWeb3 UI/functions/SPAN.md | 29 + docs/sdk/JustWeb3 UI/functions/Separator.md | 29 + docs/sdk/JustWeb3 UI/functions/Tabs.md | 29 + docs/sdk/JustWeb3 UI/functions/TabsContent.md | 21 + docs/sdk/JustWeb3 UI/functions/TabsList.md | 21 + docs/sdk/JustWeb3 UI/functions/TabsTrigger.md | 21 + .../sdk/JustWeb3 UI/functions/convertToHSL.md | 21 + .../JustWeb3 UI/functions/detectLightColor.md | 23 + docs/sdk/JustWeb3 UI/functions/formatText.md | 23 + .../functions/generateDarkVariation.md | 23 + .../functions/generateLightVariation.md | 23 + .../sdk/JustWeb3 UI/functions/useFormField.md | 57 + .../JustWeb3 UI/functions/useJustWeb3Theme.md | 17 + docs/sdk/JustWeb3 UI/globals.md | 1293 +++++ .../sdk/JustWeb3 UI/interfaces/ButtonProps.md | 4154 ++++++++++++++++ .../interfaces/DialogContentProps.md | 4170 ++++++++++++++++ .../interfaces/JustWeb3ThemeProviderConfig.md | 33 + .../interfaces/JustWeb3ThemeProviderProps.md | 47 + .../interfaces/LoadingSpinnerProps.md | 17 + .../interfaces/PopoverContentProps.md | 4314 +++++++++++++++++ docs/sdk/JustWeb3 UI/variables/chains.md | 1779 +++++++ docs/sdk/JustWeb3 UI/variables/contentHash.md | 75 + docs/sdk/JustWeb3 UI/variables/general.md | 399 ++ docs/sdk/JustWeb3 UI/variables/logo.md | 39 + docs/sdk/JustWeb3 UI/variables/socials.md | 207 + docs/sdk/JustWeb3 Widget/README.md | 223 + .../functions/EnsMetadataBadge.md | 29 + .../JustWeb3 Widget/functions/JustEnsCard.md | 29 + .../functions/JustWeb3Button.md | 29 + .../functions/JustWeb3Provider.md | 29 + .../functions/JustaNameDialog.md | 29 + .../functions/JustaNameFooter.md | 17 + .../functions/JustaNameLoadingDialog.md | 29 + .../functions/ProfileSection.md | 29 + .../JustWeb3 Widget/functions/getChainIcon.md | 23 + .../functions/getContentHashIcon.md | 21 + .../functions/getTextRecordIcon.md | 21 + .../JustWeb3 Widget/functions/useDebounce.md | 35 + .../JustWeb3 Widget/functions/useJustWeb3.md | 17 + docs/sdk/JustWeb3 Widget/functions/useMApp.md | 21 + .../sdk/JustWeb3 Widget/functions/useMApps.md | 17 + .../JustWeb3 Widget/functions/usePlugins.md | 17 + docs/sdk/JustWeb3 Widget/globals.md | 41 + .../interfaces/JustWeb3ContextProps.md | 121 + .../interfaces/JustWeb3ProviderConfig.md | 221 + .../interfaces/JustWeb3ProviderProps.md | 27 + .../JustWeb3 Widget/interfaces/JustaPlugin.md | 57 + .../JustWeb3 Widget/interfaces/PluginApi.md | 181 + .../JustWeb3 Widget/interfaces/useJustWeb3.md | 181 + .../type-aliases/UpdateRecordsParams.md | 13 + .../variables/JustWeb3Context.md | 13 + docs/sdk/JustaName Core SDK/README.md | 264 +- .../classes/ApiKeyRequiredException.md | 4 +- .../classes/InvalidConfigurationException.md | 6 +- .../classes/InvalidENSException.md | 6 +- .../classes/InvalidSignInException.md | 237 + .../JustaName Core SDK/classes/JustaName.md | 18 +- docs/sdk/JustaName Core SDK/classes/MApps.md | 62 +- .../classes/OffchainResolvers.md | 12 +- docs/sdk/JustaName Core SDK/classes/SignIn.md | 64 +- .../classes/SubnameChallenge.md | 40 +- .../JustaName Core SDK/classes/Subnames.md | 54 +- .../functions/createAddresses.md | 2 +- .../functions/createGenerals.md | 2 +- .../functions/createSocialsAndOthers.md | 2 +- .../functions/getCoinTypeDetails.md | 2 +- .../functions/sanitizeAddresses.md | 2 +- .../functions/sanitizeRecords.md | 2 +- .../functions/sanitizeTexts.md | 2 +- docs/sdk/JustaName Core SDK/globals.md | 3 + .../interfaces/AddMAppPermissionRequest.md | 6 +- .../interfaces/AddMAppPermissionRoute.md | 10 +- .../JustaName Core SDK/interfaces/Address.md | 4 +- .../interfaces/AddressWithTypedCoins.md | 4 +- .../interfaces/ApiKeyHeaders.md | 2 +- .../interfaces/ApiKeyResponse.md | 10 +- .../interfaces/ApiKeyRoute.md | 10 +- .../interfaces/AppendMAppFieldRequest.md | 4 +- .../interfaces/AppendMAppFieldRoute.md | 10 +- .../interfaces/AppendMAppFieldsRequest.md | 4 +- .../interfaces/BaseResponse.md | 4 +- .../sdk/JustaName Core SDK/interfaces/Coin.md | 6 +- .../JustaName Core SDK/interfaces/CoinType.md | 6 +- .../interfaces/Configuration.md | 8 +- .../interfaces/ContentHash.md | 4 +- .../interfaces/EnsDomainByChainId.md | 6 +- .../JustaName Core SDK/interfaces/Generals.md | 4 +- .../JustaName Core SDK/interfaces/IRoute.md | 10 +- .../interfaces/IsSubnameAvailableRequest.md | 4 +- .../interfaces/IsSubnameAvailableResponse.md | 2 +- .../interfaces/IsSubnameAvailableRoute.md | 10 +- .../interfaces/JustaNameConfig.md | 26 +- .../interfaces/JustaNameConfigDefaults.md | 28 +- .../sdk/JustaName Core SDK/interfaces/MApp.md | 2 +- .../interfaces/MAppsParams.md | 18 +- .../JustaName Core SDK/interfaces/Network.md | 4 +- .../interfaces/NetworkWithProvider.md | 6 +- .../OffchainResolverGetAllResponse.md | 2 +- .../OffchainResolversGetAllRoute.md | 10 +- .../interfaces/OffchainResolversParams.md | 17 + .../interfaces/PaginatedResponse.md | 4 +- .../interfaces/Pagination.md | 16 +- .../JustaName Core SDK/interfaces/ROUTES.md | 56 +- .../interfaces/RecordResponse.md | 8 +- ...equestAddMAppPermissionChallengeRequest.md | 14 +- ...questAddMAppPermissionChallengeResponse.md | 2 +- .../RequestAddMAppPermissionChallengeRoute.md | 10 +- .../RequestAppendMAppFieldChallengeRequest.md | 14 +- ...RequestAppendMAppFieldChallengeResponse.md | 2 +- .../RequestAppendMAppFieldChallengeRoute.md | 10 +- .../interfaces/RequestChallengeRequest.md | 10 +- .../interfaces/RequestChallengeResponse.md | 2 +- .../interfaces/RequestChallengeRoute.md | 10 +- ...estRevokeMAppPermissionChallengeRequest.md | 14 +- ...stRevokeMAppPermissionChallengeResponse.md | 2 +- ...questRevokeMAppPermissionChallengeRoute.md | 10 +- .../interfaces/RequestSignInParams.md | 8 +- .../interfaces/RevokeMAppPermissionRequest.md | 6 +- .../interfaces/RevokeMAppPermissionRoute.md | 10 +- .../interfaces/SIWEHeaders.md | 6 +- .../interfaces/SanitizedRecords.md | 60 +- .../interfaces/SignInFunctionParams.md | 47 + .../interfaces/SignInParams.md | 10 +- .../interfaces/SignInResponse.md | 12 +- .../interfaces/SigninConfig.md | 2 +- .../interfaces/SiweConfig.md | 8 +- .../JustaName Core SDK/interfaces/Socials.md | 6 +- .../interfaces/SubnameAcceptRequest.md | 12 +- .../interfaces/SubnameAcceptRoute.md | 10 +- .../interfaces/SubnameAddRequest.md | 12 +- .../interfaces/SubnameAddRoute.md | 14 +- .../interfaces/SubnameChallengeParams.md | 16 +- .../interfaces/SubnameChallengeSiweConfig.md | 4 +- .../SubnameGetAllByAddressRequest.md | 12 +- .../SubnameGetAllByAddressResponse.md | 2 +- .../interfaces/SubnameGetAllByAddressRoute.md | 10 +- .../SubnameGetAllByDomainChainIdRequest.md | 12 +- .../SubnameGetAllByDomainChainIdResponse.md | 4 +- .../SubnameGetAllByDomainChainIdRoute.md | 10 +- ...meGetAllByEnsDomainWithCountApiResponse.md | 6 +- ...ubnameGetAllByEnsDomainWithCountRequest.md | 10 +- ...bnameGetAllByEnsDomainWithCountResponse.md | 4 +- .../SubnameGetAllByEnsDomainWithCountRoute.md | 10 +- .../interfaces/SubnameGetBySubnameRequest.md | 4 +- .../interfaces/SubnameGetBySubnameRoute.md | 10 +- .../SubnameGetInvitationsByAddressRequest.md | 8 +- .../SubnameGetInvitationsByAddressResponse.md | 2 +- .../SubnameGetInvitationsByAddressRoute.md | 10 +- .../interfaces/SubnameRecordsRequest.md | 4 +- .../interfaces/SubnameRecordsRoute.md | 10 +- .../interfaces/SubnameRejectRequest.md | 6 +- .../interfaces/SubnameRejectRoute.md | 10 +- .../interfaces/SubnameReserveRequest.md | 8 +- .../interfaces/SubnameReserveRoute.md | 20 +- .../interfaces/SubnameResponse.md | 10 +- .../interfaces/SubnameRevokeRequest.md | 6 +- .../interfaces/SubnameRevokeRoute.md | 20 +- .../interfaces/SubnameSearchRequest.md | 22 +- .../interfaces/SubnameSearchResponse.md | 4 +- .../interfaces/SubnameSearchRoute.md | 10 +- .../interfaces/SubnameUpdateRequest.md | 12 +- .../interfaces/SubnameUpdateRoute.md | 14 +- .../interfaces/SubnamesConfig.md | 18 +- .../sdk/JustaName Core SDK/interfaces/Text.md | 4 +- .../interfaces/TextRecord.md | 4 +- .../interfaces/VerifyChallengeRequest.md | 6 +- .../interfaces/VerifyChallengeResponse.md | 2 +- .../interfaces/VerifyMessageRoute.md | 10 +- .../type-aliases/AddressType.md | 2 +- .../type-aliases/ChainId.md | 4 +- .../type-aliases/CoinAndDetails.md | 2 +- .../type-aliases/CoinTypeKeys.md | 2 +- .../type-aliases/CoinTypeMap.md | 2 +- .../type-aliases/EnsDomains.md | 2 +- .../type-aliases/GeneralsIdentifier.md | 4 +- .../type-aliases/GeneralsName.md | 4 +- .../type-aliases/MakeOptionalProps.md | 2 +- .../type-aliases/Networks.md | 2 +- .../type-aliases/NetworksWithProvider.md | 4 +- .../type-aliases/PartialAddressJson.md | 2 +- .../type-aliases/SocialDetails.md | 2 +- .../type-aliases/SocialsIdentifier.md | 4 +- .../type-aliases/SocialsName.md | 4 +- .../type-aliases/SupportedCoins.md | 2 +- .../type-aliases/SupportedGeneralsNames.md | 2 +- .../type-aliases/SupportedSocialsNames.md | 2 +- .../variables/GENERAL_FIELDS.md | 2 +- .../JustaName Core SDK/variables/Routes.md | 2 +- .../variables/SUPPORTED_SOCIALS.md | 2 +- .../variables/coinTypeMap.md | 2 +- docs/sdk/JustaName React SDK/README.md | 197 + .../functions/JustaNameProvider.md | 38 + .../functions/buildAccountInvitationsKey.md | 23 + .../functions/buildAddressEnsNames.md | 23 + .../functions/buildAddressSubnamesKey.md | 23 + .../functions/buildAllEnsKey.md | 25 + .../functions/buildCanEnableMAppsKey.md | 23 + .../functions/buildEnabledMAppsKey.md | 23 + .../functions/buildEnsAuthKey.md | 21 + .../functions/buildEnsAvatarKey.md | 23 + .../functions/buildEnsSubnamesKey.md | 29 + .../functions/buildIsMAppEnabledKey.md | 25 + .../functions/buildIsSubnameAvailableKey.md | 25 + .../functions/buildPrimaryName.md | 23 + .../functions/buildRecordsBySubnameKey.md | 23 + .../functions/buildSearchSubnamesKey.md | 21 + .../functions/buildSignature.md | 23 + .../functions/buildSubnameBySubnameKey.md | 23 + .../functions/buildUpdateChangesKey.md | 21 + .../functions/getChangedAddresses.md | 23 + .../functions/getChangedContentHash.md | 23 + .../functions/getChangedTextRecords.md | 23 + .../functions/splitDomain.md | 21 + .../functions/useAcceptSubname.md | 21 + .../functions/useAccountEnsNames.md | 21 + .../functions/useAccountInvitations.md | 21 + .../functions/useAccountSubnames.md | 21 + .../functions/useAddMAppPermission.md | 21 + .../functions/useAddSubname.md | 21 + .../functions/useAddressEnsNames.md | 21 + .../functions/useAddressSubnames.md | 21 + .../functions/useAllEns.md | 21 + .../functions/useCanEnableMApps.md | 21 + .../functions/useEnabledMApps.md | 21 + .../functions/useEnsAuth.md | 25 + .../functions/useEnsAvatar.md | 21 + .../functions/useEnsSignIn.md | 21 + .../functions/useEnsSignOut.md | 21 + .../functions/useEnsSubnames.md | 21 + .../functions/useIsMAppEnabled.md | 21 + .../functions/useIsSubnameAvailable.md | 21 + .../functions/useJustaName.md | 27 + .../functions/useMounted.md | 21 + .../functions/useMountedAccount.md | 22 + .../functions/useOffchainResolvers.md | 17 + .../functions/usePrimaryName.md | 21 + .../functions/useRecords.md | 21 + .../functions/useRejectSubname.md | 21 + .../functions/useRevokeMAppPermission.md | 21 + .../functions/useRevokeSubname.md | 21 + .../functions/useSearchSubnames.md | 21 + .../useSetNameHashJustaNameResolver.md | 27 + .../functions/useSubname.md | 21 + .../functions/useSubnameSignature.md | 17 + .../functions/useUpdateChanges.md | 21 + .../functions/useUpdateSubname.md | 21 + .../functions/useUploadMedia.md | 21 + docs/sdk/JustaName React SDK/globals.md | 150 + .../interfaces/GetEnsAvatarParams.md | 27 + .../interfaces/GetEnsNamesForAddressParams.md | 17 + .../interfaces/GetRecordsParams.md | 35 + .../interfaces/GetRecordsResult.md | 27 + .../interfaces/GetUpdateChangesParams.md | 77 + .../interfaces/GetUpdateChangesResult.md | 37 + .../interfaces/JustaNameContextProps.md | 161 + .../interfaces/JustaNameProviderConfig.md | 123 + .../interfaces/JustaNameProviderProps.md | 27 + .../JustaName React SDK/interfaces/Records.md | 91 + .../interfaces/SanitizeImageParams.md | 37 + .../UseAcceptSubnameFunctionParams.md | 77 + .../interfaces/UseAcceptSubnameResult.md | 27 + .../interfaces/UseAccountEnsNamesParams.md | 17 + .../interfaces/UseAccountEnsNamesResult.md | 61 + .../UseAddMAppPermissionFunctionParams.md | 110 + .../interfaces/UseAddMAppPermissionParams.md | 98 + .../interfaces/UseAddSubnameParams.md | 115 + .../interfaces/UseAddSubnameResult.md | 27 + .../interfaces/UseAddressEnsNamesParams.md | 27 + .../interfaces/UseAddressEnsNamesResult.md | 79 + .../interfaces/UseAddressSubnamesParams.md | 55 + .../interfaces/UseAllEnsParams.md | 37 + .../interfaces/UseCanEnableMAppsParams.md | 27 + .../interfaces/UseCanEnableMAppsResult.md | 41 + .../UseConnectedWalletSubnamesOptions.md | 17 + .../interfaces/UseEnabledMAppsParams.md | 37 + .../interfaces/UseEnabledMAppsResult.md | 41 + .../interfaces/UseEnsAuthParams.md | 27 + .../interfaces/UseEnsAuthReturn.md | 75 + .../interfaces/UseEnsAvatarParams.md | 27 + .../interfaces/UseEnsAvatarResult.md | 63 + .../interfaces/UseEnsSignInParams.md | 258 + .../interfaces/UseEnsSignInResult.md | 27 + .../interfaces/UseEnsSignOutParams.md | 37 + .../interfaces/UseEnsSignOutResult.md | 31 + .../interfaces/UseEnsSubnamesParams.md | 57 + .../interfaces/UseIsMAppEnabledParams.md | 37 + .../interfaces/UseIsMAppEnabledResult.md | 41 + .../interfaces/UseIsSubnameAvailableParams.md | 37 + .../interfaces/UseIsSubnameAvailableResult.md | 47 + .../interfaces/UsePrimaryNameParams.md | 27 + .../interfaces/UsePrimaryNameResult.md | 81 + .../interfaces/UseRecordsParams.md | 35 + .../interfaces/UseRecordsResult.md | 95 + .../UseRejectSubnameFunctionParams.md | 35 + .../interfaces/UseRejectSubnameResult.md | 27 + .../interfaces/UseRequestAddMAppPermission.md | 27 + .../UseRequestRevokeMAppPermissionResult.md | 27 + .../UseRevokeMAppPermissionFunctionParams.md | 17 + .../UseRevokeMAppPermissionParams.md | 37 + .../interfaces/UseRevokeSubnameParams.md | 73 + .../interfaces/UseRevokeSubnameResult.md | 27 + .../interfaces/UseSearchSubnamesParams.md | 89 + .../UseSetNameHashJustaNameResolver.md | 65 + .../interfaces/UseSubnameSignatureResult.md | 57 + .../UseSubnameUpdateFunctionParams.md | 77 + .../interfaces/UseUpdateChangesParams.md | 77 + .../interfaces/UseUpdateChangesResult.md | 107 + .../interfaces/UseUpdateSubnameParams.md | 17 + .../interfaces/UseUpdateSubnameResult.md | 27 + .../interfaces/UseUploadMediaParams.md | 37 + .../interfaces/UseUploadMediaResponse.md | 17 + .../interfaces/UseUploadMediaResult.md | 27 + .../interfaces/getPrimaryNameParams.md | 27 + .../type-aliases/EnsAuth.md | 31 + .../JustaNameConfigWithoutDefaultChainId.md | 13 + .../type-aliases/SubnameRecordResponse.md | 13 + .../type-aliases/UseAcceptSubnameParams.md | 13 + .../UseAccountInvitationsParams.md | 13 + .../UseAddSubnameFunctionParams.md | 13 + .../UseEnsSignInFunctionParams.md | 13 + .../type-aliases/UseRejectSubnameParams.md | 13 + .../UseRevokeSubnameFunctionParams.md | 13 + .../type-aliases/UseSubnameParams.md | 13 + .../variables/JustaNameContext.md | 13 + .../variables/OFFCHAIN_RESOLVERS_KEY.md | 13 + docs/sdk/siwens/README.md | 3 + .../classes/InvalidConfigurationException.md | 6 +- .../sdk/siwens/classes/InvalidENSException.md | 10 +- .../classes/InvalidStatementException.md | 4 +- .../siwens/classes/InvalidTimeException.md | 8 +- docs/sdk/siwens/classes/SIWENS.md | 10 +- docs/sdk/siwens/functions/checkDomainValid.md | 2 +- docs/sdk/siwens/functions/checkTTL.md | 2 +- .../functions/constructSignInStatement.md | 2 +- .../functions/extractDataFromStatement.md | 2 +- docs/sdk/siwens/interfaces/SiwensConfig.md | 4 +- docs/sdk/siwens/interfaces/SiwensParams.md | 8 +- docs/sdk/siwens/interfaces/SiwensResponse.md | 2 +- packages/@justaname.id/react/README.md | 213 +- packages/@justaname.id/react/project.json | 12 + packages/@justaname.id/react/typedoc.json | 7 + packages/@justaname.id/sdk/README.md | 43 +- packages/@justaname.id/siwens/README.md | 5 +- packages/@justverified/plugin/README.md | 74 +- packages/@justverified/plugin/project.json | 12 + packages/@justverified/plugin/typedoc.json | 7 + packages/@justweb3/ui/README.md | 164 +- packages/@justweb3/ui/project.json | 12 + packages/@justweb3/ui/tsconfig.json | 5 +- packages/@justweb3/ui/typedoc.json | 7 + packages/@justweb3/widget/README.md | 218 +- packages/@justweb3/widget/project.json | 12 + .../lib/components/JustWeb3Button/index.tsx | 71 +- .../src/lib/dialogs/SignInDialog/index.tsx | 42 +- .../widget/src/stories/signin2.stories.tsx | 136 + packages/@justweb3/widget/typedoc.json | 7 + packages/plugins/efp/CHANGELOG.md | 8 +- packages/plugins/efp/README.md | 57 +- packages/plugins/efp/jest.config.ts | 4 +- packages/plugins/efp/project.json | 16 +- .../src/lib/components/FollowButton/index.tsx | 18 +- packages/plugins/efp/src/lib/index.ts | 3 +- packages/plugins/efp/typedoc.json | 7 + 484 files changed, 29083 insertions(+), 933 deletions(-) create mode 100644 docs/sdk/JustVerified Plugin/README.md create mode 100644 docs/sdk/JustVerified Plugin/functions/JustVerifiedDialog.md create mode 100644 docs/sdk/JustVerified Plugin/functions/JustVerifiedPlugin.md create mode 100644 docs/sdk/JustVerified Plugin/functions/JustVerifiedProvider.md create mode 100644 docs/sdk/JustVerified Plugin/functions/SelectCredentialItem.md create mode 100644 docs/sdk/JustVerified Plugin/functions/buildGenerateOtpKey.md create mode 100644 docs/sdk/JustVerified Plugin/functions/generateOtp.md create mode 100644 docs/sdk/JustVerified Plugin/functions/useClearOtp.md create mode 100644 docs/sdk/JustVerified Plugin/functions/useGenerateOtp.md create mode 100644 docs/sdk/JustVerified Plugin/functions/usePreviousState.md create mode 100644 docs/sdk/JustVerified Plugin/functions/useResendOtp.md create mode 100644 docs/sdk/JustVerified Plugin/functions/useSocialVerification.md create mode 100644 docs/sdk/JustVerified Plugin/functions/useVerifyOtp.md create mode 100644 docs/sdk/JustVerified Plugin/globals.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/ClearOtpParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/DiscordCredential.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/GithubCredential.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/JustVerifiedDialogProps.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/JustVerifiedResponse.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/ResendOtpParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/SelectCredentialItemProps.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/SocialVerificationParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/TelegramCredential.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/TwitterCredential.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseClearOtpParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseClearOtpResult.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpResult.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseResendOtpParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseResendOtpResult.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationResult.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpParams.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpResult.md create mode 100644 docs/sdk/JustVerified Plugin/interfaces/VerifyOtpParams.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataKey.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataValue.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/Credentials.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/DiscordEthereumEip712Signature.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/GithubEthereumEip712Signature.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/TelegramEthereumEip712Signature.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/TwitterEthereumEip712Signature.md create mode 100644 docs/sdk/JustVerified Plugin/type-aliases/VerifyOtpResponse.md create mode 100644 docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandard.md create mode 100644 docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandardReverse.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/README.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/globals.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md create mode 100644 docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md create mode 100644 docs/sdk/JustWeb3 UI/README.md create mode 100644 docs/sdk/JustWeb3 UI/functions/A.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Avatar.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Badge.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Button.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Carousel.md create mode 100644 docs/sdk/JustWeb3 UI/functions/ClickableItem.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Dialog.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DialogClose.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DialogContent.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DialogDescription.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DialogFooter.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DialogHeader.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DialogTitle.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DialogTrigger.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Divider.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DropdownMenu.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DropdownMenuContent.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DropdownMenuItem.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DropdownMenuLabel.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DropdownMenuSeparator.md create mode 100644 docs/sdk/JustWeb3 UI/functions/DropdownMenuTrigger.md create mode 100644 docs/sdk/JustWeb3 UI/functions/ExpandableText.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Flex.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Form.md create mode 100644 docs/sdk/JustWeb3 UI/functions/FormControl.md create mode 100644 docs/sdk/JustWeb3 UI/functions/FormDescription.md create mode 100644 docs/sdk/JustWeb3 UI/functions/FormField.md create mode 100644 docs/sdk/JustWeb3 UI/functions/FormItem.md create mode 100644 docs/sdk/JustWeb3 UI/functions/FormLabel.md create mode 100644 docs/sdk/JustWeb3 UI/functions/FormMessage.md create mode 100644 docs/sdk/JustWeb3 UI/functions/H2.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Input.md create mode 100644 docs/sdk/JustWeb3 UI/functions/JustWeb3ThemeProvider.md create mode 100644 docs/sdk/JustWeb3 UI/functions/LoadingSpinner.md create mode 100644 docs/sdk/JustWeb3 UI/functions/OTPInput.md create mode 100644 docs/sdk/JustWeb3 UI/functions/OTPInputGroup.md create mode 100644 docs/sdk/JustWeb3 UI/functions/OTPInputSeparator.md create mode 100644 docs/sdk/JustWeb3 UI/functions/OTPInputSlot.md create mode 100644 docs/sdk/JustWeb3 UI/functions/OrLine.md create mode 100644 docs/sdk/JustWeb3 UI/functions/P.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Popover.md create mode 100644 docs/sdk/JustWeb3 UI/functions/PopoverContent.md create mode 100644 docs/sdk/JustWeb3 UI/functions/PopoverTrigger.md create mode 100644 docs/sdk/JustWeb3 UI/functions/SPAN.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Separator.md create mode 100644 docs/sdk/JustWeb3 UI/functions/Tabs.md create mode 100644 docs/sdk/JustWeb3 UI/functions/TabsContent.md create mode 100644 docs/sdk/JustWeb3 UI/functions/TabsList.md create mode 100644 docs/sdk/JustWeb3 UI/functions/TabsTrigger.md create mode 100644 docs/sdk/JustWeb3 UI/functions/convertToHSL.md create mode 100644 docs/sdk/JustWeb3 UI/functions/detectLightColor.md create mode 100644 docs/sdk/JustWeb3 UI/functions/formatText.md create mode 100644 docs/sdk/JustWeb3 UI/functions/generateDarkVariation.md create mode 100644 docs/sdk/JustWeb3 UI/functions/generateLightVariation.md create mode 100644 docs/sdk/JustWeb3 UI/functions/useFormField.md create mode 100644 docs/sdk/JustWeb3 UI/functions/useJustWeb3Theme.md create mode 100644 docs/sdk/JustWeb3 UI/globals.md create mode 100644 docs/sdk/JustWeb3 UI/interfaces/ButtonProps.md create mode 100644 docs/sdk/JustWeb3 UI/interfaces/DialogContentProps.md create mode 100644 docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderConfig.md create mode 100644 docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderProps.md create mode 100644 docs/sdk/JustWeb3 UI/interfaces/LoadingSpinnerProps.md create mode 100644 docs/sdk/JustWeb3 UI/interfaces/PopoverContentProps.md create mode 100644 docs/sdk/JustWeb3 UI/variables/chains.md create mode 100644 docs/sdk/JustWeb3 UI/variables/contentHash.md create mode 100644 docs/sdk/JustWeb3 UI/variables/general.md create mode 100644 docs/sdk/JustWeb3 UI/variables/logo.md create mode 100644 docs/sdk/JustWeb3 UI/variables/socials.md create mode 100644 docs/sdk/JustWeb3 Widget/README.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/EnsMetadataBadge.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/JustEnsCard.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/JustWeb3Button.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/JustWeb3Provider.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/JustaNameDialog.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/JustaNameFooter.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/JustaNameLoadingDialog.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/ProfileSection.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/getChainIcon.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/getContentHashIcon.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/getTextRecordIcon.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/useDebounce.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/useJustWeb3.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/useMApp.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/useMApps.md create mode 100644 docs/sdk/JustWeb3 Widget/functions/usePlugins.md create mode 100644 docs/sdk/JustWeb3 Widget/globals.md create mode 100644 docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ContextProps.md create mode 100644 docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderConfig.md create mode 100644 docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderProps.md create mode 100644 docs/sdk/JustWeb3 Widget/interfaces/JustaPlugin.md create mode 100644 docs/sdk/JustWeb3 Widget/interfaces/PluginApi.md create mode 100644 docs/sdk/JustWeb3 Widget/interfaces/useJustWeb3.md create mode 100644 docs/sdk/JustWeb3 Widget/type-aliases/UpdateRecordsParams.md create mode 100644 docs/sdk/JustWeb3 Widget/variables/JustWeb3Context.md create mode 100644 docs/sdk/JustaName Core SDK/classes/InvalidSignInException.md create mode 100644 docs/sdk/JustaName Core SDK/interfaces/OffchainResolversParams.md create mode 100644 docs/sdk/JustaName Core SDK/interfaces/SignInFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/README.md create mode 100644 docs/sdk/JustaName React SDK/functions/JustaNameProvider.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildAccountInvitationsKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildAddressEnsNames.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildAddressSubnamesKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildAllEnsKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildCanEnableMAppsKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildEnabledMAppsKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildEnsAuthKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildEnsAvatarKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildEnsSubnamesKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildIsMAppEnabledKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildIsSubnameAvailableKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildPrimaryName.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildRecordsBySubnameKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildSearchSubnamesKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildSignature.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildSubnameBySubnameKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/buildUpdateChangesKey.md create mode 100644 docs/sdk/JustaName React SDK/functions/getChangedAddresses.md create mode 100644 docs/sdk/JustaName React SDK/functions/getChangedContentHash.md create mode 100644 docs/sdk/JustaName React SDK/functions/getChangedTextRecords.md create mode 100644 docs/sdk/JustaName React SDK/functions/splitDomain.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAcceptSubname.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAccountEnsNames.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAccountInvitations.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAccountSubnames.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAddMAppPermission.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAddSubname.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAddressEnsNames.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAddressSubnames.md create mode 100644 docs/sdk/JustaName React SDK/functions/useAllEns.md create mode 100644 docs/sdk/JustaName React SDK/functions/useCanEnableMApps.md create mode 100644 docs/sdk/JustaName React SDK/functions/useEnabledMApps.md create mode 100644 docs/sdk/JustaName React SDK/functions/useEnsAuth.md create mode 100644 docs/sdk/JustaName React SDK/functions/useEnsAvatar.md create mode 100644 docs/sdk/JustaName React SDK/functions/useEnsSignIn.md create mode 100644 docs/sdk/JustaName React SDK/functions/useEnsSignOut.md create mode 100644 docs/sdk/JustaName React SDK/functions/useEnsSubnames.md create mode 100644 docs/sdk/JustaName React SDK/functions/useIsMAppEnabled.md create mode 100644 docs/sdk/JustaName React SDK/functions/useIsSubnameAvailable.md create mode 100644 docs/sdk/JustaName React SDK/functions/useJustaName.md create mode 100644 docs/sdk/JustaName React SDK/functions/useMounted.md create mode 100644 docs/sdk/JustaName React SDK/functions/useMountedAccount.md create mode 100644 docs/sdk/JustaName React SDK/functions/useOffchainResolvers.md create mode 100644 docs/sdk/JustaName React SDK/functions/usePrimaryName.md create mode 100644 docs/sdk/JustaName React SDK/functions/useRecords.md create mode 100644 docs/sdk/JustaName React SDK/functions/useRejectSubname.md create mode 100644 docs/sdk/JustaName React SDK/functions/useRevokeMAppPermission.md create mode 100644 docs/sdk/JustaName React SDK/functions/useRevokeSubname.md create mode 100644 docs/sdk/JustaName React SDK/functions/useSearchSubnames.md create mode 100644 docs/sdk/JustaName React SDK/functions/useSetNameHashJustaNameResolver.md create mode 100644 docs/sdk/JustaName React SDK/functions/useSubname.md create mode 100644 docs/sdk/JustaName React SDK/functions/useSubnameSignature.md create mode 100644 docs/sdk/JustaName React SDK/functions/useUpdateChanges.md create mode 100644 docs/sdk/JustaName React SDK/functions/useUpdateSubname.md create mode 100644 docs/sdk/JustaName React SDK/functions/useUploadMedia.md create mode 100644 docs/sdk/JustaName React SDK/globals.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/GetEnsAvatarParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/GetEnsNamesForAddressParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/GetRecordsParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/GetRecordsResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/JustaNameContextProps.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/JustaNameProviderConfig.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/JustaNameProviderProps.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/Records.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/SanitizeImageParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAddSubnameParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAddSubnameResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAddressSubnamesParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseAllEnsParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseConnectedWalletSubnamesOptions.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsAuthParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsAuthReturn.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsSignInParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsSignInResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseEnsSubnamesParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRecordsParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRecordsResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRequestAddMAppPermission.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRequestRevokeMAppPermissionResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseSearchSubnamesParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseSetNameHashJustaNameResolver.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseSubnameSignatureResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseSubnameUpdateFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseUploadMediaParams.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResponse.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResult.md create mode 100644 docs/sdk/JustaName React SDK/interfaces/getPrimaryNameParams.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/EnsAuth.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/JustaNameConfigWithoutDefaultChainId.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/SubnameRecordResponse.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/UseAcceptSubnameParams.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/UseAccountInvitationsParams.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/UseAddSubnameFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/UseEnsSignInFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/UseRejectSubnameParams.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/UseRevokeSubnameFunctionParams.md create mode 100644 docs/sdk/JustaName React SDK/type-aliases/UseSubnameParams.md create mode 100644 docs/sdk/JustaName React SDK/variables/JustaNameContext.md create mode 100644 docs/sdk/JustaName React SDK/variables/OFFCHAIN_RESOLVERS_KEY.md create mode 100644 packages/@justaname.id/react/typedoc.json create mode 100644 packages/@justverified/plugin/typedoc.json create mode 100644 packages/@justweb3/ui/typedoc.json create mode 100644 packages/@justweb3/widget/src/stories/signin2.stories.tsx create mode 100644 packages/@justweb3/widget/typedoc.json create mode 100644 packages/plugins/efp/typedoc.json diff --git a/apps/console/src/components/sections/code/CodeSection/index.tsx b/apps/console/src/components/sections/code/CodeSection/index.tsx index 8ba92f7c..fcca18df 100644 --- a/apps/console/src/components/sections/code/CodeSection/index.tsx +++ b/apps/console/src/components/sections/code/CodeSection/index.tsx @@ -61,7 +61,7 @@ ${ } ${ config.plugins?.find((p) => p.name === 'EFPPlugin') - ? "import { EFPPlugin } from 'justweb3-efp-plugin';" + ? "import { EFPPlugin } from '@justweb3/efp-plugin';" : '' } diff --git a/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx b/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx index 6cba03c0..89333f47 100644 --- a/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx +++ b/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx @@ -2,7 +2,7 @@ import { AccordionItem, AccordionTrigger } from '../../../../ui/accordion'; import { Switch } from '../../../../ui/switch'; import { useContext } from 'react'; import { JustWeb3Context } from '@justweb3/widget'; -import { EFPPlugin } from 'justweb3-efp-plugin'; +import { EFPPlugin } from '@justweb3/efp-plugin'; export const EFP = () => { const { handleJustWeb3Config, config } = useContext(JustWeb3Context); diff --git a/apps/console/tsconfig.json b/apps/console/tsconfig.json index 7b57cb7c..5e691397 100644 --- a/apps/console/tsconfig.json +++ b/apps/console/tsconfig.json @@ -25,7 +25,7 @@ "@justaname.id/sdk": ["packages/@justaname.id/sdk"], "@justaname.id/siwens": ["packages/@justaname.id/siwens"], "@justverified/plugin": ["packages/@justverified/plugin"], - "justweb3-efp-plugin": ["packages/plugins/efp"], + "@justweb3/efp-plugin": ["packages/plugins/efp"], } }, diff --git a/demo/react-trial/src/app/components/ClaimSubname.tsx b/demo/react-trial/src/app/components/ClaimSubname.tsx index 3ae56875..0738d7bf 100644 --- a/demo/react-trial/src/app/components/ClaimSubname.tsx +++ b/demo/react-trial/src/app/components/ClaimSubname.tsx @@ -1,50 +1,37 @@ -import { useAccount } from 'wagmi'; -import { useAccountSubnames, useAddSubname, useIsSubnameAvailable } from '@justaname.id/react'; -import React, { useState } from 'react'; +import { useAddSubname, useIsSubnameAvailable } from '@justaname.id/react'; +import { useState } from 'react'; import { useDebounce } from '@uidotdev/usehooks'; -import { Subname } from './Subname'; +import { ConnectButton } from '@rainbow-me/rainbowkit'; +import { useAccount } from 'wagmi'; -export const ClaimSubname = () => { - const { address } = useAccount(); - const { accountSubnames } = useAccountSubnames(); - const [username, setUsername] = useState(""); +export const AddSubname = () => { + const { isConnected } = useAccount(); + const [username, setUsername] = useState(''); const debouncedUsername = useDebounce(username, 500); const { isSubnameAvailable } = useIsSubnameAvailable({ username: debouncedUsername, - }) + }); const { addSubname } = useAddSubname(); return (
- { - accountSubnames.length === 0 ? - <> -

Claim your first subdomain

- setUsername(e.target.value)} - placeholder="Enter a subdomain" /> - - - : -
-

My Subdomains

-
    - {accountSubnames.map((subname) => ( - - - - ))} -
-
- } +

Claim your subdomain

+ + setUsername(e.target.value)} + placeholder="Enter a subdomain" + /> +
- ) -} \ No newline at end of file + ); +}; diff --git a/docs/sdk/JustVerified Plugin/README.md b/docs/sdk/JustVerified Plugin/README.md new file mode 100644 index 00000000..86238d4c --- /dev/null +++ b/docs/sdk/JustVerified Plugin/README.md @@ -0,0 +1,79 @@ +**@justverified/plugin** • [**Docs**](globals.md) + +*** + +# @justverified/plugin + +The **@justverified/plugin** integrates easily with the **JustWeb3 Widget** to provide social verification capabilities, enabling your users to verify their identities through platforms like **Twitter**, **GitHub**, **Discord**, **Telegram**, and **Email**. These verifications add a layer of trust and authentication, protecting your dApp from Sybil attacks and ensuring a secure, decentralized user experience. + +For complete documentation, visit the [JustaName Documentation](https://docs.justaname.id/). + +--- + +## Features + +- **Social Identity Verification:** Allow users to authenticate via their social accounts. +- **Supported Platforms:** + - Twitter (`twitter`) + - GitHub (`github`) + - Discord (`discord`) + - Telegram (`telegram`) + - Email (`email`) + - Coming Soon: Google, LinkedIn, and Proof of Humanity +- **Easy Integration:** Enable the plugin by adding it to the `plugins` array in your **JustWeb3** configuration. +- **Extendable UI:** Customize the verification dialog and components to fit your design needs. + +--- + +## Installation + +Install the plugin using your preferred package manager: + +```bash +bash +npm install @justverified/plugin + +# or + +yarn add @justverified/plugin +``` + +--- + +## Usage Example + +Here’s how to enable social verification for **GitHub** and **Discord** in your widget configuration: + +```tsx +tsx +import { JustVerifiedPlugin } from '@justverified/plugin'; + +const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + openOnWalletConnect: true, + allowedEns: "all", + logo: "", + ensDomains: [ + { + ensDomain: "yourdomain.eth", + apiKey: "YOUR_API_KEY", + chainId: 1, + }, + ], + plugins: [ + JustVerifiedPlugin(['github', 'discord']) // Enable GitHub and Discord verification + ], + color: { + primary: "#FEA801", + background: "hsl(0, 0%, 100%)", + destructive: "hsl(0, 100%, 50%)", + }, +}; + +``` + +This configuration ensures that users must verify their **GitHub** and **Discord** identities to access specific features or services within your dApp. diff --git a/docs/sdk/JustVerified Plugin/functions/JustVerifiedDialog.md b/docs/sdk/JustVerified Plugin/functions/JustVerifiedDialog.md new file mode 100644 index 00000000..7a3a9adc --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/JustVerifiedDialog.md @@ -0,0 +1,29 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / JustVerifiedDialog + +# Function: JustVerifiedDialog() + +> **JustVerifiedDialog**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: [`JustVerifiedDialogProps`](../interfaces/JustVerifiedDialogProps.md) + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx#L32) diff --git a/docs/sdk/JustVerified Plugin/functions/JustVerifiedPlugin.md b/docs/sdk/JustVerified Plugin/functions/JustVerifiedPlugin.md new file mode 100644 index 00000000..0c37b3bd --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/JustVerifiedPlugin.md @@ -0,0 +1,25 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / JustVerifiedPlugin + +# Function: JustVerifiedPlugin() + +> **JustVerifiedPlugin**(`credentials`, `verificationBackendUrl`, `mApp`): `JustaPlugin` + +## Parameters + +• **credentials**: [`Credentials`](../type-aliases/Credentials.md)[] + +• **verificationBackendUrl**: `string` = `'https://api.justaname.id/verifications/v1'` + +• **mApp**: `string` = `'justverified.eth'` + +## Returns + +`JustaPlugin` + +## Defined in + +[packages/@justverified/plugin/src/lib/plugins/index.tsx:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/plugins/index.tsx#L9) diff --git a/docs/sdk/JustVerified Plugin/functions/JustVerifiedProvider.md b/docs/sdk/JustVerified Plugin/functions/JustVerifiedProvider.md new file mode 100644 index 00000000..0b96e292 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/JustVerifiedProvider.md @@ -0,0 +1,29 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / JustVerifiedProvider + +# Function: JustVerifiedProvider() + +> **JustVerifiedProvider**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `JustVerifiedProviderProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justverified/plugin/src/lib/providers/JustVerifiedProvider/index.tsx:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/providers/JustVerifiedProvider/index.tsx#L44) diff --git a/docs/sdk/JustVerified Plugin/functions/SelectCredentialItem.md b/docs/sdk/JustVerified Plugin/functions/SelectCredentialItem.md new file mode 100644 index 00000000..51d7cf9c --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/SelectCredentialItem.md @@ -0,0 +1,29 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / SelectCredentialItem + +# Function: SelectCredentialItem() + +> **SelectCredentialItem**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: [`SelectCredentialItemProps`](../interfaces/SelectCredentialItemProps.md) + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx#L27) diff --git a/docs/sdk/JustVerified Plugin/functions/buildGenerateOtpKey.md b/docs/sdk/JustVerified Plugin/functions/buildGenerateOtpKey.md new file mode 100644 index 00000000..a6ca708e --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/buildGenerateOtpKey.md @@ -0,0 +1,23 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / buildGenerateOtpKey + +# Function: buildGenerateOtpKey() + +> **buildGenerateOtpKey**(`email`, `verificationBackendUrl`): `string`[] + +## Parameters + +• **email**: `string` + +• **verificationBackendUrl**: `string` + +## Returns + +`string`[] + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L4) diff --git a/docs/sdk/JustVerified Plugin/functions/generateOtp.md b/docs/sdk/JustVerified Plugin/functions/generateOtp.md new file mode 100644 index 00000000..c3d91955 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/generateOtp.md @@ -0,0 +1,23 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / generateOtp + +# Function: generateOtp() + +> **generateOtp**(`email`, `verificationBackendUrl`): `Promise`\<`string`\> + +## Parameters + +• **email**: `string` + +• **verificationBackendUrl**: `string` + +## Returns + +`Promise`\<`string`\> + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L13) diff --git a/docs/sdk/JustVerified Plugin/functions/useClearOtp.md b/docs/sdk/JustVerified Plugin/functions/useClearOtp.md new file mode 100644 index 00000000..a922d1eb --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/useClearOtp.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / useClearOtp + +# Function: useClearOtp() + +> **useClearOtp**(`params`?): [`UseClearOtpResult`](../interfaces/UseClearOtpResult.md) + +## Parameters + +• **params?**: [`UseClearOtpParams`](../interfaces/UseClearOtpParams.md) + +## Returns + +[`UseClearOtpResult`](../interfaces/UseClearOtpResult.md) + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts#L17) diff --git a/docs/sdk/JustVerified Plugin/functions/useGenerateOtp.md b/docs/sdk/JustVerified Plugin/functions/useGenerateOtp.md new file mode 100644 index 00000000..38880a83 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/useGenerateOtp.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / useGenerateOtp + +# Function: useGenerateOtp() + +> **useGenerateOtp**(`__namedParameters`): [`UseGenerateOtpResult`](../interfaces/UseGenerateOtpResult.md) + +## Parameters + +• **\_\_namedParameters**: [`UseGenerateOtpParams`](../interfaces/UseGenerateOtpParams.md) + +## Returns + +[`UseGenerateOtpResult`](../interfaces/UseGenerateOtpResult.md) + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L39) diff --git a/docs/sdk/JustVerified Plugin/functions/usePreviousState.md b/docs/sdk/JustVerified Plugin/functions/usePreviousState.md new file mode 100644 index 00000000..328b0b41 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/usePreviousState.md @@ -0,0 +1,27 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / usePreviousState + +# Function: usePreviousState() + +> **usePreviousState**\<`T`\>(`value`, `deps`?): `undefined` \| `T` + +## Type Parameters + +• **T** + +## Parameters + +• **value**: `T` + +• **deps?**: `any`[] + +## Returns + +`undefined` \| `T` + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/usePreviousState/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/usePreviousState/index.ts#L4) diff --git a/docs/sdk/JustVerified Plugin/functions/useResendOtp.md b/docs/sdk/JustVerified Plugin/functions/useResendOtp.md new file mode 100644 index 00000000..d8164e1b --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/useResendOtp.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / useResendOtp + +# Function: useResendOtp() + +> **useResendOtp**(`params`?): [`UseResendOtpResult`](../interfaces/UseResendOtpResult.md) + +## Parameters + +• **params?**: [`UseResendOtpParams`](../interfaces/UseResendOtpParams.md) + +## Returns + +[`UseResendOtpResult`](../interfaces/UseResendOtpResult.md) + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L24) diff --git a/docs/sdk/JustVerified Plugin/functions/useSocialVerification.md b/docs/sdk/JustVerified Plugin/functions/useSocialVerification.md new file mode 100644 index 00000000..cca91346 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/useSocialVerification.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / useSocialVerification + +# Function: useSocialVerification() + +> **useSocialVerification**(`__namedParameters`): [`UseSocialVerificationResult`](../interfaces/UseSocialVerificationResult.md) + +## Parameters + +• **\_\_namedParameters**: [`UseSocialVerificationParams`](../interfaces/UseSocialVerificationParams.md) + +## Returns + +[`UseSocialVerificationResult`](../interfaces/UseSocialVerificationResult.md) + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts#L25) diff --git a/docs/sdk/JustVerified Plugin/functions/useVerifyOtp.md b/docs/sdk/JustVerified Plugin/functions/useVerifyOtp.md new file mode 100644 index 00000000..0355f729 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/functions/useVerifyOtp.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / useVerifyOtp + +# Function: useVerifyOtp() + +> **useVerifyOtp**(`params`?): [`UseVerifyOtpResult`](../interfaces/UseVerifyOtpResult.md) + +## Parameters + +• **params?**: [`UseVerifyOtpParams`](../interfaces/UseVerifyOtpParams.md) + +## Returns + +[`UseVerifyOtpResult`](../interfaces/UseVerifyOtpResult.md) + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts#L22) diff --git a/docs/sdk/JustVerified Plugin/globals.md b/docs/sdk/JustVerified Plugin/globals.md new file mode 100644 index 00000000..5a1af65c --- /dev/null +++ b/docs/sdk/JustVerified Plugin/globals.md @@ -0,0 +1,60 @@ +[**@justverified/plugin**](README.md) • **Docs** + +*** + +# @justverified/plugin + +## Interfaces + +- [ClearOtpParams](interfaces/ClearOtpParams.md) +- [DiscordCredential](interfaces/DiscordCredential.md) +- [GithubCredential](interfaces/GithubCredential.md) +- [JustVerifiedDialogProps](interfaces/JustVerifiedDialogProps.md) +- [JustVerifiedResponse](interfaces/JustVerifiedResponse.md) +- [ResendOtpParams](interfaces/ResendOtpParams.md) +- [SelectCredentialItemProps](interfaces/SelectCredentialItemProps.md) +- [SocialVerificationParams](interfaces/SocialVerificationParams.md) +- [TelegramCredential](interfaces/TelegramCredential.md) +- [TwitterCredential](interfaces/TwitterCredential.md) +- [UseClearOtpParams](interfaces/UseClearOtpParams.md) +- [UseClearOtpResult](interfaces/UseClearOtpResult.md) +- [UseGenerateOtpParams](interfaces/UseGenerateOtpParams.md) +- [UseGenerateOtpResult](interfaces/UseGenerateOtpResult.md) +- [UseResendOtpParams](interfaces/UseResendOtpParams.md) +- [UseResendOtpResult](interfaces/UseResendOtpResult.md) +- [UseSocialVerificationParams](interfaces/UseSocialVerificationParams.md) +- [UseSocialVerificationResult](interfaces/UseSocialVerificationResult.md) +- [UseVerifyOtpParams](interfaces/UseVerifyOtpParams.md) +- [UseVerifyOtpResult](interfaces/UseVerifyOtpResult.md) +- [VerifyOtpParams](interfaces/VerifyOtpParams.md) + +## Type Aliases + +- [CredentialMetadataKey](type-aliases/CredentialMetadataKey.md) +- [CredentialMetadataValue](type-aliases/CredentialMetadataValue.md) +- [Credentials](type-aliases/Credentials.md) +- [DiscordEthereumEip712Signature](type-aliases/DiscordEthereumEip712Signature.md) +- [GithubEthereumEip712Signature](type-aliases/GithubEthereumEip712Signature.md) +- [TelegramEthereumEip712Signature](type-aliases/TelegramEthereumEip712Signature.md) +- [TwitterEthereumEip712Signature](type-aliases/TwitterEthereumEip712Signature.md) +- [VerifyOtpResponse](type-aliases/VerifyOtpResponse.md) + +## Variables + +- [CredentialMetadataKeyStandard](variables/CredentialMetadataKeyStandard.md) +- [CredentialMetadataKeyStandardReverse](variables/CredentialMetadataKeyStandardReverse.md) + +## Functions + +- [buildGenerateOtpKey](functions/buildGenerateOtpKey.md) +- [generateOtp](functions/generateOtp.md) +- [JustVerifiedDialog](functions/JustVerifiedDialog.md) +- [JustVerifiedPlugin](functions/JustVerifiedPlugin.md) +- [JustVerifiedProvider](functions/JustVerifiedProvider.md) +- [SelectCredentialItem](functions/SelectCredentialItem.md) +- [useClearOtp](functions/useClearOtp.md) +- [useGenerateOtp](functions/useGenerateOtp.md) +- [usePreviousState](functions/usePreviousState.md) +- [useResendOtp](functions/useResendOtp.md) +- [useSocialVerification](functions/useSocialVerification.md) +- [useVerifyOtp](functions/useVerifyOtp.md) diff --git a/docs/sdk/JustVerified Plugin/interfaces/ClearOtpParams.md b/docs/sdk/JustVerified Plugin/interfaces/ClearOtpParams.md new file mode 100644 index 00000000..98f13ca2 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/ClearOtpParams.md @@ -0,0 +1,17 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / ClearOtpParams + +# Interface: ClearOtpParams + +## Properties + +### state + +> **state**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts#L5) diff --git a/docs/sdk/JustVerified Plugin/interfaces/DiscordCredential.md b/docs/sdk/JustVerified Plugin/interfaces/DiscordCredential.md new file mode 100644 index 00000000..7cbc8b82 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/DiscordCredential.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / DiscordCredential + +# Interface: DiscordCredential + +## Extends + +- `CredentialSubjectValue` + +## Properties + +### username + +> **username**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/discord-credential.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/discord-credential.ts#L4) diff --git a/docs/sdk/JustVerified Plugin/interfaces/GithubCredential.md b/docs/sdk/JustVerified Plugin/interfaces/GithubCredential.md new file mode 100644 index 00000000..3723c836 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/GithubCredential.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / GithubCredential + +# Interface: GithubCredential + +## Extends + +- `CredentialSubjectValue` + +## Properties + +### username + +> **username**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/github-credential.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/github-credential.ts#L4) diff --git a/docs/sdk/JustVerified Plugin/interfaces/JustVerifiedDialogProps.md b/docs/sdk/JustVerified Plugin/interfaces/JustVerifiedDialogProps.md new file mode 100644 index 00000000..e8b643c0 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/JustVerifiedDialogProps.md @@ -0,0 +1,75 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / JustVerifiedDialogProps + +# Interface: JustVerifiedDialogProps + +## Properties + +### chainId + +> **chainId**: `ChainId` + +#### Defined in + +[packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx#L29) + +*** + +### credentials + +> **credentials**: [`Credentials`](../type-aliases/Credentials.md)[] + +#### Defined in + +[packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx#L26) + +*** + +### handleOpenDialog() + +> **handleOpenDialog**: (`open`) => `void` + +#### Parameters + +• **open**: `boolean` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx#L25) + +*** + +### mApp + +> **mApp**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx#L28) + +*** + +### open + +> **open**: `boolean` + +#### Defined in + +[packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx#L24) + +*** + +### verificationBackendUrl + +> **verificationBackendUrl**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/dialogs/JustVerifiedDialog/index.tsx#L27) diff --git a/docs/sdk/JustVerified Plugin/interfaces/JustVerifiedResponse.md b/docs/sdk/JustVerified Plugin/interfaces/JustVerifiedResponse.md new file mode 100644 index 00000000..9b8db729 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/JustVerifiedResponse.md @@ -0,0 +1,31 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / JustVerifiedResponse + +# Interface: JustVerifiedResponse\ + +## Type Parameters + +• **T** *extends* `EthereumEip712Signature2021` = `EthereumEip712Signature2021` + +## Properties + +### dataKey + +> **dataKey**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/index.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/index.ts#L43) + +*** + +### verifiableCredential + +> **verifiableCredential**: `T` + +#### Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/index.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/index.ts#L44) diff --git a/docs/sdk/JustVerified Plugin/interfaces/ResendOtpParams.md b/docs/sdk/JustVerified Plugin/interfaces/ResendOtpParams.md new file mode 100644 index 00000000..8c818f8d --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/ResendOtpParams.md @@ -0,0 +1,17 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / ResendOtpParams + +# Interface: ResendOtpParams + +## Properties + +### state + +> **state**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L7) diff --git a/docs/sdk/JustVerified Plugin/interfaces/SelectCredentialItemProps.md b/docs/sdk/JustVerified Plugin/interfaces/SelectCredentialItemProps.md new file mode 100644 index 00000000..5054fc5b --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/SelectCredentialItemProps.md @@ -0,0 +1,61 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / SelectCredentialItemProps + +# Interface: SelectCredentialItemProps + +## Properties + +### credential + +> **credential**: [`Credentials`](../type-aliases/Credentials.md) + +#### Defined in + +[packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx#L18) + +*** + +### credentialValue + +> **credentialValue**: `undefined` \| `EthereumEip712Signature2021`\<`object`\> + +#### Defined in + +[packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx#L21) + +*** + +### disabled? + +> `optional` **disabled**: `boolean` + +#### Defined in + +[packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx#L24) + +*** + +### onClick() + +> **onClick**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx#L20) + +*** + +### selectedCredential + +> **selectedCredential**: `undefined` \| [`Credentials`](../type-aliases/Credentials.md) + +#### Defined in + +[packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/components/SelectCredentialItem/index.tsx#L19) diff --git a/docs/sdk/JustVerified Plugin/interfaces/SocialVerificationParams.md b/docs/sdk/JustVerified Plugin/interfaces/SocialVerificationParams.md new file mode 100644 index 00000000..7c9626ee --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/SocialVerificationParams.md @@ -0,0 +1,17 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / SocialVerificationParams + +# Interface: SocialVerificationParams + +## Properties + +### credential + +> **credential**: `Omit`\<[`Credentials`](../type-aliases/Credentials.md), `"email"`\> + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts#L6) diff --git a/docs/sdk/JustVerified Plugin/interfaces/TelegramCredential.md b/docs/sdk/JustVerified Plugin/interfaces/TelegramCredential.md new file mode 100644 index 00000000..12bb64ea --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/TelegramCredential.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / TelegramCredential + +# Interface: TelegramCredential + +## Extends + +- `CredentialSubjectValue` + +## Properties + +### username + +> **username**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/telegram-credential.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/telegram-credential.ts#L4) diff --git a/docs/sdk/JustVerified Plugin/interfaces/TwitterCredential.md b/docs/sdk/JustVerified Plugin/interfaces/TwitterCredential.md new file mode 100644 index 00000000..864c7bb0 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/TwitterCredential.md @@ -0,0 +1,21 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / TwitterCredential + +# Interface: TwitterCredential + +## Extends + +- `CredentialSubjectValue` + +## Properties + +### username + +> **username**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/twitter-credential.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/twitter-credential.ts#L4) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseClearOtpParams.md b/docs/sdk/JustVerified Plugin/interfaces/UseClearOtpParams.md new file mode 100644 index 00000000..003d8061 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseClearOtpParams.md @@ -0,0 +1,17 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseClearOtpParams + +# Interface: UseClearOtpParams + +## Properties + +### verificationBackendUrl? + +> `optional` **verificationBackendUrl**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts#L9) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseClearOtpResult.md b/docs/sdk/JustVerified Plugin/interfaces/UseClearOtpResult.md new file mode 100644 index 00000000..4f0c80b9 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseClearOtpResult.md @@ -0,0 +1,27 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseClearOtpResult + +# Interface: UseClearOtpResult + +## Properties + +### clearOtp + +> **clearOtp**: `UseMutateAsyncFunction`\<`void`, `unknown`, [`ClearOtpParams`](ClearOtpParams.md), `unknown`\> + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts#L13) + +*** + +### isClearingOtpPending + +> **isClearingOtpPending**: `boolean` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useClearOtp/index.ts#L14) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpParams.md b/docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpParams.md new file mode 100644 index 00000000..3aaf7c96 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpParams.md @@ -0,0 +1,27 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseGenerateOtpParams + +# Interface: UseGenerateOtpParams + +## Properties + +### email + +> **email**: `undefined` \| `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L35) + +*** + +### verificationBackendUrl? + +> `optional` **verificationBackendUrl**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:36](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L36) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpResult.md b/docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpResult.md new file mode 100644 index 00000000..ae646312 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseGenerateOtpResult.md @@ -0,0 +1,55 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseGenerateOtpResult + +# Interface: UseGenerateOtpResult + +## Properties + +### clearState() + +> **clearState**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L31) + +*** + +### isGenerateOtpPending + +> **isGenerateOtpPending**: `boolean` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L29) + +*** + +### refetchGenerateOtp() + +> **refetchGenerateOtp**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L30) + +*** + +### state + +> **state**: `undefined` \| `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useGenerateOtp/index.tsx#L28) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseResendOtpParams.md b/docs/sdk/JustVerified Plugin/interfaces/UseResendOtpParams.md new file mode 100644 index 00000000..c93486b3 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseResendOtpParams.md @@ -0,0 +1,37 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseResendOtpParams + +# Interface: UseResendOtpParams + +## Properties + +### initialMinutesLeft? + +> `optional` **initialMinutesLeft**: `number` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L20) + +*** + +### minutesForResend? + +> `optional` **minutesForResend**: `number` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L19) + +*** + +### verificationBackendUrl? + +> `optional` **verificationBackendUrl**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L21) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseResendOtpResult.md b/docs/sdk/JustVerified Plugin/interfaces/UseResendOtpResult.md new file mode 100644 index 00000000..d5c2fac1 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseResendOtpResult.md @@ -0,0 +1,65 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseResendOtpResult + +# Interface: UseResendOtpResult + +## Properties + +### isResendOtpPending + +> **isResendOtpPending**: `boolean` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L12) + +*** + +### resendOtp + +> **resendOtp**: `UseMutateAsyncFunction`\<`void`, `unknown`, [`ResendOtpParams`](ResendOtpParams.md), `unknown`\> + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L11) + +*** + +### resetTimeLeft() + +> **resetTimeLeft**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L14) + +*** + +### startCountdown() + +> **startCountdown**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L15) + +*** + +### timeLeft + +> **timeLeft**: `number` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useResendOtp/index.ts#L13) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationParams.md b/docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationParams.md new file mode 100644 index 00000000..2fb144c6 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationParams.md @@ -0,0 +1,49 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseSocialVerificationParams + +# Interface: UseSocialVerificationParams + +## Properties + +### onError()? + +> `optional` **onError**: (`error`) => `void` + +#### Parameters + +• **error**: `any` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts#L22) + +*** + +### onWindowClose()? + +> `optional` **onWindowClose**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts#L21) + +*** + +### verificationBackendUrl? + +> `optional` **verificationBackendUrl**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts#L20) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationResult.md b/docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationResult.md new file mode 100644 index 00000000..848a1bdc --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseSocialVerificationResult.md @@ -0,0 +1,27 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseSocialVerificationResult + +# Interface: UseSocialVerificationResult + +## Properties + +### isVerifyingSocialPending + +> **isVerifyingSocialPending**: `boolean` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts#L16) + +*** + +### verifySocial + +> **verifySocial**: `UseMutateAsyncFunction`\<[`JustVerifiedResponse`](JustVerifiedResponse.md)\<`EthereumEip712Signature2021`\<`object`\>\>, `Error`, [`SocialVerificationParams`](SocialVerificationParams.md), `unknown`\> + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useSocialVerification/index.ts#L10) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpParams.md b/docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpParams.md new file mode 100644 index 00000000..961ffd5e --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpParams.md @@ -0,0 +1,17 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseVerifyOtpParams + +# Interface: UseVerifyOtpParams + +## Properties + +### verificationBackendUrl? + +> `optional` **verificationBackendUrl**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts#L14) diff --git a/docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpResult.md b/docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpResult.md new file mode 100644 index 00000000..8f976831 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/UseVerifyOtpResult.md @@ -0,0 +1,27 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / UseVerifyOtpResult + +# Interface: UseVerifyOtpResult + +## Properties + +### isVerifyOtpPending + +> **isVerifyOtpPending**: `boolean` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts#L19) + +*** + +### verifyOtp + +> **verifyOtp**: `UseMutateAsyncFunction`\<[`VerifyOtpResponse`](../type-aliases/VerifyOtpResponse.md), `unknown`, [`VerifyOtpParams`](VerifyOtpParams.md), `unknown`\> + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts#L18) diff --git a/docs/sdk/JustVerified Plugin/interfaces/VerifyOtpParams.md b/docs/sdk/JustVerified Plugin/interfaces/VerifyOtpParams.md new file mode 100644 index 00000000..e97e34a1 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/interfaces/VerifyOtpParams.md @@ -0,0 +1,27 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / VerifyOtpParams + +# Interface: VerifyOtpParams + +## Properties + +### otp + +> **otp**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts#L10) + +*** + +### state + +> **state**: `string` + +#### Defined in + +[packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts#L9) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataKey.md b/docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataKey.md new file mode 100644 index 00000000..8035585d --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataKey.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / CredentialMetadataKey + +# Type Alias: CredentialMetadataKey + +> **CredentialMetadataKey**: `"com.github"` \| `"com.twitter"` \| `"com.discord"` \| `"org.telegram"` \| `"email"` + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/index.ts#L9) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataValue.md b/docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataValue.md new file mode 100644 index 00000000..32517b71 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/CredentialMetadataValue.md @@ -0,0 +1,35 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / CredentialMetadataValue + +# Type Alias: CredentialMetadataValue + +> **CredentialMetadataValue**: `object` + +## Type declaration + +### discord + +> **discord**: [`DiscordEthereumEip712Signature`](DiscordEthereumEip712Signature.md) + +### email + +> **email**: `EmailEthereumEip712Signature` + +### github + +> **github**: [`GithubEthereumEip712Signature`](GithubEthereumEip712Signature.md) + +### telegram + +> **telegram**: [`TelegramEthereumEip712Signature`](TelegramEthereumEip712Signature.md) + +### twitter + +> **twitter**: [`TwitterEthereumEip712Signature`](TwitterEthereumEip712Signature.md) + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/index.ts#L27) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/Credentials.md b/docs/sdk/JustVerified Plugin/type-aliases/Credentials.md new file mode 100644 index 00000000..886743d2 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/Credentials.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / Credentials + +# Type Alias: Credentials + +> **Credentials**: `"github"` \| `"twitter"` \| `"discord"` \| `"telegram"` \| `"email"` + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/index.ts#L7) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/DiscordEthereumEip712Signature.md b/docs/sdk/JustVerified Plugin/type-aliases/DiscordEthereumEip712Signature.md new file mode 100644 index 00000000..bdf8a81a --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/DiscordEthereumEip712Signature.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / DiscordEthereumEip712Signature + +# Type Alias: DiscordEthereumEip712Signature + +> **DiscordEthereumEip712Signature**: `EthereumEip712Signature2021`\<[`DiscordCredential`](../interfaces/DiscordCredential.md)\> + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/discord-credential.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/discord-credential.ts#L7) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/GithubEthereumEip712Signature.md b/docs/sdk/JustVerified Plugin/type-aliases/GithubEthereumEip712Signature.md new file mode 100644 index 00000000..50c716dd --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/GithubEthereumEip712Signature.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / GithubEthereumEip712Signature + +# Type Alias: GithubEthereumEip712Signature + +> **GithubEthereumEip712Signature**: `EthereumEip712Signature2021`\<[`GithubCredential`](../interfaces/GithubCredential.md)\> + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/github-credential.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/github-credential.ts#L7) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/TelegramEthereumEip712Signature.md b/docs/sdk/JustVerified Plugin/type-aliases/TelegramEthereumEip712Signature.md new file mode 100644 index 00000000..a9f2aded --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/TelegramEthereumEip712Signature.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / TelegramEthereumEip712Signature + +# Type Alias: TelegramEthereumEip712Signature + +> **TelegramEthereumEip712Signature**: `EthereumEip712Signature2021`\<[`TelegramCredential`](../interfaces/TelegramCredential.md)\> + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/telegram-credential.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/telegram-credential.ts#L7) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/TwitterEthereumEip712Signature.md b/docs/sdk/JustVerified Plugin/type-aliases/TwitterEthereumEip712Signature.md new file mode 100644 index 00000000..7967aa42 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/TwitterEthereumEip712Signature.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / TwitterEthereumEip712Signature + +# Type Alias: TwitterEthereumEip712Signature + +> **TwitterEthereumEip712Signature**: `EthereumEip712Signature2021`\<[`TwitterCredential`](../interfaces/TwitterCredential.md)\> + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/twitter-credential.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/twitter-credential.ts#L7) diff --git a/docs/sdk/JustVerified Plugin/type-aliases/VerifyOtpResponse.md b/docs/sdk/JustVerified Plugin/type-aliases/VerifyOtpResponse.md new file mode 100644 index 00000000..441ef735 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/type-aliases/VerifyOtpResponse.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / VerifyOtpResponse + +# Type Alias: VerifyOtpResponse + +> **VerifyOtpResponse**: [`JustVerifiedResponse`](../interfaces/JustVerifiedResponse.md)\<`EmailEthereumEip712Signature`\> + +## Defined in + +[packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/hooks/useVerifyOtp/index.ts#L6) diff --git a/docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandard.md b/docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandard.md new file mode 100644 index 00000000..bb9b85b5 --- /dev/null +++ b/docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandard.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / CredentialMetadataKeyStandard + +# Variable: CredentialMetadataKeyStandard + +> `const` **CredentialMetadataKeyStandard**: `Record`\<[`Credentials`](../type-aliases/Credentials.md), [`CredentialMetadataKey`](../type-aliases/CredentialMetadataKey.md)\> + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/index.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/index.ts#L11) diff --git a/docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandardReverse.md b/docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandardReverse.md new file mode 100644 index 00000000..dc7fc3bb --- /dev/null +++ b/docs/sdk/JustVerified Plugin/variables/CredentialMetadataKeyStandardReverse.md @@ -0,0 +1,13 @@ +[**@justverified/plugin**](../README.md) • **Docs** + +*** + +[@justverified/plugin](../globals.md) / CredentialMetadataKeyStandardReverse + +# Variable: CredentialMetadataKeyStandardReverse + +> `const` **CredentialMetadataKeyStandardReverse**: `Record`\<[`CredentialMetadataKey`](../type-aliases/CredentialMetadataKey.md), [`Credentials`](../type-aliases/Credentials.md)\> + +## Defined in + +[packages/@justverified/plugin/src/lib/types/credentials/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justverified/plugin/src/lib/types/credentials/index.ts#L19) diff --git a/docs/sdk/JustWeb3 EFP Plugin/README.md b/docs/sdk/JustWeb3 EFP Plugin/README.md new file mode 100644 index 00000000..5f7034d4 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/README.md @@ -0,0 +1,60 @@ +**@justweb3/efp-plugin** • [**Docs**](globals.md) + +*** + +# @justweb3/efp-plugin + +The **@justweb3/efp-plugin** extends the **JustWeb3 Widget** with **Ethereum Follow Protocol (EFP)** functionalities, allowing users to **follow** others, **view followers**, and **following** directly within your dApp. + +--- + +## Installation + +Install the **EFP Plugin** using your preferred package manager: + +```bash +bash +npm install @justweb3/efp-plugin + +# or + +yarn add @justweb3/efp-plugin +``` + +--- + +## Usage Example + +Here’s how to enable the **EFP Plugin** in your **JustWeb3 Widget** configuration: + +```tsx +tsx +import { EFPPlugin } from '@justweb3/efp-plugin'; + +const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + plugins: [ + EFPPlugin, // Enable the EFP Plugin + ], + ensDomains: [ + { + ensDomain: "yourdomain.eth", + apiKey: "YOUR_API_KEY", + chainId: 1, + }, + ], + color: { + primary: "#FEA801", + background: "hsl(0, 0%, 100%)", + destructive: "hsl(0, 100%, 50%)", + }, +}; + +``` + +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md b/docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md new file mode 100644 index 00000000..f48a1e7a --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md @@ -0,0 +1,29 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / EFPIcon + +# Function: EFPIcon() + +> **EFPIcon**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `EFPIconProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx#L7) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md new file mode 100644 index 00000000..5942a5d7 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md @@ -0,0 +1,23 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / buildFollowStateQueryKey + +# Function: buildFollowStateQueryKey() + +> **buildFollowStateQueryKey**(`addressOrEns1`, `addressOrEns2`): (`undefined` \| `string`)[] + +## Parameters + +• **addressOrEns1**: `undefined` \| `string` + +• **addressOrEns2**: `undefined` \| `string` + +## Returns + +(`undefined` \| `string`)[] + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L4) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md new file mode 100644 index 00000000..3335ff01 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / buildFollowersQueryKey + +# Function: buildFollowersQueryKey() + +> **buildFollowersQueryKey**(`addressOrEns`): (`undefined` \| `string`)[] + +## Parameters + +• **addressOrEns**: `undefined` \| `string` + +## Returns + +(`undefined` \| `string`)[] + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L9) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md new file mode 100644 index 00000000..05a884ef --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / buildFollowingQueryKey + +# Function: buildFollowingQueryKey() + +> **buildFollowingQueryKey**(`addressOrEns`): (`undefined` \| `string`)[] + +## Parameters + +• **addressOrEns**: `undefined` \| `string` + +## Returns + +(`undefined` \| `string`)[] + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L9) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md new file mode 100644 index 00000000..a336dc60 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / buildStatsQueryKey + +# Function: buildStatsQueryKey() + +> **buildStatsQueryKey**(`addressOrEns`): (`undefined` \| `string`)[] + +## Parameters + +• **addressOrEns**: `undefined` \| `string` + +## Returns + +(`undefined` \| `string`)[] + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L4) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md new file mode 100644 index 00000000..d59189b8 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md @@ -0,0 +1,23 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / getFollowState + +# Function: getFollowState() + +> **getFollowState**(`addressOrEns1`, `addressOrEns2`): `Promise`\<[`FollowState`](../interfaces/FollowState.md)\> + +## Parameters + +• **addressOrEns1**: `undefined` \| `string` + +• **addressOrEns2**: `undefined` \| `string` + +## Returns + +`Promise`\<[`FollowState`](../interfaces/FollowState.md)\> + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L21) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md new file mode 100644 index 00000000..c248348c --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md @@ -0,0 +1,25 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / getFollowers + +# Function: getFollowers() + +> **getFollowers**(`addressOrEns`, `limit`, `offset`): `Promise`\<[`Followers`](../interfaces/Followers.md)\> + +## Parameters + +• **addressOrEns**: `undefined` \| `string` + +• **limit**: `number` + +• **offset**: `number` + +## Returns + +`Promise`\<[`Followers`](../interfaces/Followers.md)\> + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L25) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md new file mode 100644 index 00000000..92a12197 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md @@ -0,0 +1,25 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / getFollowing + +# Function: getFollowing() + +> **getFollowing**(`addressOrEns`, `limit`, `offset`): `Promise`\<[`Following`](../interfaces/Following.md)\> + +## Parameters + +• **addressOrEns**: `undefined` \| `string` + +• **limit**: `number` + +• **offset**: `number` + +## Returns + +`Promise`\<[`Following`](../interfaces/Following.md)\> + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L22) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md new file mode 100644 index 00000000..3e721a48 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / getStats + +# Function: getStats() + +> **getStats**(`addressOrEns`): `Promise`\<[`Stats`](../interfaces/Stats.md)\> + +## Parameters + +• **addressOrEns**: `undefined` \| `string` + +## Returns + +`Promise`\<[`Stats`](../interfaces/Stats.md)\> + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L13) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md new file mode 100644 index 00000000..5582feaa --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / useFollowState + +# Function: useFollowState() + +> **useFollowState**(`__namedParameters`): [`UseFollowStateResult`](../interfaces/UseFollowStateResult.md) + +## Parameters + +• **\_\_namedParameters**: [`UseFollowStateParams`](../interfaces/UseFollowStateParams.md) + +## Returns + +[`UseFollowStateResult`](../interfaces/UseFollowStateResult.md) + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L44) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md new file mode 100644 index 00000000..7ddaccbd --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / useFollowers + +# Function: useFollowers() + +> **useFollowers**(`__namedParameters`): [`UseFollowersResult`](../interfaces/UseFollowersResult.md) + +## Parameters + +• **\_\_namedParameters**: [`UseFollowersParams`](../interfaces/UseFollowersParams.md) + +## Returns + +[`UseFollowersResult`](../interfaces/UseFollowersResult.md) + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L54) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md new file mode 100644 index 00000000..eb3da320 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / useFollowing + +# Function: useFollowing() + +> **useFollowing**(`__namedParameters`): [`UseFollowingResult`](../interfaces/UseFollowingResult.md) + +## Parameters + +• **\_\_namedParameters**: [`UseFollowingParams`](../interfaces/UseFollowingParams.md) + +## Returns + +[`UseFollowingResult`](../interfaces/UseFollowingResult.md) + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L51) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md new file mode 100644 index 00000000..b39cfb44 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md @@ -0,0 +1,21 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / useStats + +# Function: useStats() + +> **useStats**(`__namedParameters`): [`UseStatsResult`](../interfaces/UseStatsResult.md) + +## Parameters + +• **\_\_namedParameters**: [`UseStatsParams`](../interfaces/UseStatsParams.md) + +## Returns + +[`UseStatsResult`](../interfaces/UseStatsResult.md) + +## Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L32) diff --git a/docs/sdk/JustWeb3 EFP Plugin/globals.md b/docs/sdk/JustWeb3 EFP Plugin/globals.md new file mode 100644 index 00000000..a5918e02 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/globals.md @@ -0,0 +1,40 @@ +[**@justweb3/efp-plugin**](README.md) • **Docs** + +*** + +# @justweb3/efp-plugin + +## Interfaces + +- [Followers](interfaces/Followers.md) +- [Following](interfaces/Following.md) +- [FollowState](interfaces/FollowState.md) +- [Stats](interfaces/Stats.md) +- [UseFollowersParams](interfaces/UseFollowersParams.md) +- [UseFollowersResult](interfaces/UseFollowersResult.md) +- [UseFollowingParams](interfaces/UseFollowingParams.md) +- [UseFollowingResult](interfaces/UseFollowingResult.md) +- [UseFollowStateParams](interfaces/UseFollowStateParams.md) +- [UseFollowStateResult](interfaces/UseFollowStateResult.md) +- [UseStatsParams](interfaces/UseStatsParams.md) +- [UseStatsResult](interfaces/UseStatsResult.md) + +## Variables + +- [EFPPlugin](variables/EFPPlugin.md) + +## Functions + +- [buildFollowersQueryKey](functions/buildFollowersQueryKey.md) +- [buildFollowingQueryKey](functions/buildFollowingQueryKey.md) +- [buildFollowStateQueryKey](functions/buildFollowStateQueryKey.md) +- [buildStatsQueryKey](functions/buildStatsQueryKey.md) +- [EFPIcon](functions/EFPIcon.md) +- [getFollowers](functions/getFollowers.md) +- [getFollowing](functions/getFollowing.md) +- [getFollowState](functions/getFollowState.md) +- [getStats](functions/getStats.md) +- [useFollowers](functions/useFollowers.md) +- [useFollowing](functions/useFollowing.md) +- [useFollowState](functions/useFollowState.md) +- [useStats](functions/useStats.md) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md new file mode 100644 index 00000000..3874e2f8 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md @@ -0,0 +1,49 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / FollowState + +# Interface: FollowState + +## Properties + +### addressFollower + +> **addressFollower**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L13) + +*** + +### addressUser + +> **addressUser**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L12) + +*** + +### state + +> **state**: `object` + +#### block + +> **block**: `boolean` + +#### follow + +> **follow**: `boolean` + +#### mute + +> **mute**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L14) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md new file mode 100644 index 00000000..99754c7c --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md @@ -0,0 +1,17 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / Followers + +# Interface: Followers + +## Properties + +### followers + +> **followers**: `object`[] + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L14) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md new file mode 100644 index 00000000..f51f50ac --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md @@ -0,0 +1,17 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / Following + +# Interface: Following + +## Properties + +### following + +> **following**: `object`[] + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L14) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md new file mode 100644 index 00000000..3ad1ef84 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md @@ -0,0 +1,27 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / Stats + +# Interface: Stats + +## Properties + +### followers\_count + +> **followers\_count**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L9) + +*** + +### following\_count + +> **following\_count**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L10) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md new file mode 100644 index 00000000..78632bf8 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md @@ -0,0 +1,27 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseFollowStateParams + +# Interface: UseFollowStateParams + +## Properties + +### addressOrEns1? + +> `optional` **addressOrEns1**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L33) + +*** + +### addressOrEns2? + +> `optional` **addressOrEns2**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L34) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md new file mode 100644 index 00000000..f0416fb4 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md @@ -0,0 +1,47 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseFollowStateResult + +# Interface: UseFollowStateResult + +## Properties + +### followState + +> **followState**: `undefined` \| [`FollowState`](FollowState.md) + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L38) + +*** + +### isFollowStateFetching + +> **isFollowStateFetching**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L40) + +*** + +### isFollowStateLoading + +> **isFollowStateLoading**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L41) + +*** + +### isFollowStatePending + +> **isFollowStatePending**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L39) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md new file mode 100644 index 00000000..e4056800 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md @@ -0,0 +1,17 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseFollowersParams + +# Interface: UseFollowersParams + +## Properties + +### addressOrEns? + +> `optional` **addressOrEns**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L38) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md new file mode 100644 index 00000000..5eae4a70 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md @@ -0,0 +1,75 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseFollowersResult + +# Interface: UseFollowersResult + +## Properties + +### fetchMoreFollowers() + +> **fetchMoreFollowers**: (`options`?) => `Promise`\<`InfiniteQueryObserverResult`\<`InfiniteData`\<[`Followers`](Followers.md), `unknown`\>, `Error`\>\> + +#### Parameters + +• **options?**: `FetchNextPageOptions` + +#### Returns + +`Promise`\<`InfiniteQueryObserverResult`\<`InfiniteData`\<[`Followers`](Followers.md), `unknown`\>, `Error`\>\> + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L43) + +*** + +### followers + +> **followers**: `undefined` \| `InfiniteData`\<[`Followers`](Followers.md), `unknown`\> + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L42) + +*** + +### hasMoreFollowers + +> **hasMoreFollowers**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L48) + +*** + +### isFollowersFetching + +> **isFollowersFetching**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:50](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L50) + +*** + +### isFollowersLoading + +> **isFollowersLoading**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L51) + +*** + +### isFollowersPending + +> **isFollowersPending**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:49](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L49) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md new file mode 100644 index 00000000..e1ea6123 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md @@ -0,0 +1,17 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseFollowingParams + +# Interface: UseFollowingParams + +## Properties + +### addressOrEns? + +> `optional` **addressOrEns**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L35) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md new file mode 100644 index 00000000..7fcadb7d --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md @@ -0,0 +1,75 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseFollowingResult + +# Interface: UseFollowingResult + +## Properties + +### fetchMoreFollowing() + +> **fetchMoreFollowing**: (`options`?) => `Promise`\<`InfiniteQueryObserverResult`\<`InfiniteData`\<[`Following`](Following.md), `unknown`\>, `Error`\>\> + +#### Parameters + +• **options?**: `FetchNextPageOptions` + +#### Returns + +`Promise`\<`InfiniteQueryObserverResult`\<`InfiniteData`\<[`Following`](Following.md), `unknown`\>, `Error`\>\> + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L40) + +*** + +### following + +> **following**: `undefined` \| `InfiniteData`\<[`Following`](Following.md), `unknown`\> + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L39) + +*** + +### hasMoreFollowing + +> **hasMoreFollowing**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L45) + +*** + +### isFollowingFetching + +> **isFollowingFetching**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:47](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L47) + +*** + +### isFollowingLoading + +> **isFollowingLoading**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L48) + +*** + +### isFollowingPending + +> **isFollowingPending**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L46) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md new file mode 100644 index 00000000..0b65f7a2 --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md @@ -0,0 +1,17 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseStatsParams + +# Interface: UseStatsParams + +## Properties + +### addressOrEns? + +> `optional` **addressOrEns**: `string` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L22) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md new file mode 100644 index 00000000..1e86177c --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md @@ -0,0 +1,47 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / UseStatsResult + +# Interface: UseStatsResult + +## Properties + +### isStatsFetching + +> **isStatsFetching**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L28) + +*** + +### isStatsLoading + +> **isStatsLoading**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L29) + +*** + +### isStatsPending + +> **isStatsPending**: `boolean` + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L27) + +*** + +### stats + +> **stats**: `undefined` \| [`Stats`](Stats.md) + +#### Defined in + +[packages/plugins/efp/src/lib/hooks/useStats/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L26) diff --git a/docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md b/docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md new file mode 100644 index 00000000..d81fce5f --- /dev/null +++ b/docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md @@ -0,0 +1,13 @@ +[**@justweb3/efp-plugin**](../README.md) • **Docs** + +*** + +[@justweb3/efp-plugin](../globals.md) / EFPPlugin + +# Variable: EFPPlugin + +> `const` **EFPPlugin**: `JustaPlugin` + +## Defined in + +[packages/plugins/efp/src/lib/plugins/index.tsx:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/plugins/index.tsx#L5) diff --git a/docs/sdk/JustWeb3 UI/README.md b/docs/sdk/JustWeb3 UI/README.md new file mode 100644 index 00000000..7cf26687 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/README.md @@ -0,0 +1,167 @@ +**@justweb3/ui** • [**Docs**](globals.md) + +*** + +# @justweb3/ui + +The **@justweb3/ui** library provides a unified UI experience and handles theme generation for the **@justweb3/widget** package. It simplifies theming across widgets by dynamically generating color variations and supports custom theming through its context provider. + +## Table of Contents + +- [Installation](#installation) +- [Usage](#usage) + - [Setup with `JustWeb3ThemeProvider`](#setup-with-justweb3themeprovider) + - [Changing Theme Dynamically](#changing-theme-dynamically) +- [Hooks](#hooks) + - [`useJustWeb3Theme`](#usejustweb3theme) + - [Hook Output](#hook-output) +- [How It Works](#how-it-works) +- [Contributing](#contributing) +--- + +## Installation + +Install the library using npm or yarn: + +```bash +npm install @justweb3/ui + +# or + +yarn add @justweb3/ui +``` + +--- + +## Usage + +### Setup with `JustWeb3ThemeProvider` + +To enable the theme context for your widget, wrap your application or component with the `JustWeb3ThemeProvider`. This ensures consistent theming across components and allows you to customize colors dynamically. + +```tsx +'use client'; + +import { JustWeb3ThemeProvider } from '@justweb3/ui'; + +const App = ({ children }) => { + return ( + + {children} + + ); +}; + +export default App; + +``` + +--- + +## Changing Theme Dynamically + +The `JustWeb3ThemeProvider` offers a `changeTheme` function to dynamically change the primary, background, or destructive colors. Here's an example demonstrating dynamic theme switching. + +```tsx +import React, { useState } from 'react'; +import { useJustWeb3Theme } from '@justweb3/ui'; + +const ThemeSwitcher = () => { + const { changeTheme, color } = useJustWeb3Theme(); + const [newColor, setNewColor] = useState(color.primary); + + const handleThemeChange = () => { + changeTheme('primary', newColor); + }; + + return ( +
+

Current Primary Color: {color.primary}

+ setNewColor(e.target.value)} + /> + +
+ ); +}; + +export default ThemeSwitcher; + +``` + +--- + +## Hooks + +### `useJustWeb3Theme` + +The `useJustWeb3Theme` hook provides access to the current theme and allows you to modify theme colors dynamically. + +### Usage + +```tsx +import { useJustWeb3Theme } from '@justweb3/ui'; + +const Component = () => { + const { theme, color, changeTheme } = useJustWeb3Theme(); + + console.log('Current Theme:', theme); + + const switchToDarkBackground = () => { + changeTheme('background', 'hsl(0, 0%, 10%)'); + }; + + return ( +
+ +
+ ); +}; + +``` + +### Hook Output + +- **`theme`**: The current theme values. +- **`color`**: The current primary, background, and destructive colors. +- **`changeTheme`**: A function to dynamically change specific theme colors. + +--- + +## How It Works + +The `JustWeb3ThemeProvider` internally generates color variations for: + +- **Primary Color**: Base color with light and dark variations. +- **Destructive Color**: Used for alerts and destructive actions. +- **Background Color**: Provides variations for background and foreground colors. + +The provider uses **CSS variables** for theme management, ensuring that components and styles are synchronized. + +Example CSS Variables: + +```css +:root { + --justweb3-primary-color: hsl(216, 90%, 58%); + --justweb3-primary-color-light: hsl(216, 90%, 68%); + --justweb3-primary-color-dark: hsl(216, 90%, 48%); + --justweb3-background-color: hsl(0, 0%, 100%); + --justweb3-border-color: hsl(0, 0%, 0%); + --justweb3-destructive-color: hsl(0, 100%, 50%); + --justweb3-font-family: 'Inter', sans-serif; +} +``` + +--- + +## Contributing + +We welcome contributions! Please submit issues or pull requests on our [GitHub repository](https://github.com/your-repository). diff --git a/docs/sdk/JustWeb3 UI/functions/A.md b/docs/sdk/JustWeb3 UI/functions/A.md new file mode 100644 index 00000000..3b21f5ce --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/A.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / A + +# Function: A() + +> **A**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `DetailedHTMLProps`\<`AnchorHTMLAttributes`\<`HTMLAnchorElement`\>, `HTMLAnchorElement`\> + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Text/index.tsx:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Text/index.tsx#L26) diff --git a/docs/sdk/JustWeb3 UI/functions/Avatar.md b/docs/sdk/JustWeb3 UI/functions/Avatar.md new file mode 100644 index 00000000..e8f71c81 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Avatar.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Avatar + +# Function: Avatar() + +> **Avatar**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `AvatarProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Avatar/index.tsx:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Avatar/index.tsx#L17) diff --git a/docs/sdk/JustWeb3 UI/functions/Badge.md b/docs/sdk/JustWeb3 UI/functions/Badge.md new file mode 100644 index 00000000..ddece270 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Badge.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Badge + +# Function: Badge() + +> **Badge**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `BadgeProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Badge/index.tsx:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Badge/index.tsx#L13) diff --git a/docs/sdk/JustWeb3 UI/functions/Button.md b/docs/sdk/JustWeb3 UI/functions/Button.md new file mode 100644 index 00000000..42188447 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Button.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Button + +# Function: Button() + +> **Button**(`props`): `ReactNode` + +## Parameters + +• **props**: [`ButtonProps`](../interfaces/ButtonProps.md) & `RefAttributes`\<`HTMLButtonElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Button/index.tsx:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Button/index.tsx#L22) diff --git a/docs/sdk/JustWeb3 UI/functions/Carousel.md b/docs/sdk/JustWeb3 UI/functions/Carousel.md new file mode 100644 index 00000000..064e039d --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Carousel.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Carousel + +# Function: Carousel() + +> **Carousel**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `CarouselProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Carousel/index.tsx:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Carousel/index.tsx#L11) diff --git a/docs/sdk/JustWeb3 UI/functions/ClickableItem.md b/docs/sdk/JustWeb3 UI/functions/ClickableItem.md new file mode 100644 index 00000000..5a123c1f --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/ClickableItem.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / ClickableItem + +# Function: ClickableItem() + +> **ClickableItem**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `ClickableListItemProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/components/ClickableItem/index.tsx:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/components/ClickableItem/index.tsx#L21) diff --git a/docs/sdk/JustWeb3 UI/functions/Dialog.md b/docs/sdk/JustWeb3 UI/functions/Dialog.md new file mode 100644 index 00000000..3b35dc92 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Dialog.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Dialog + +# Function: Dialog() + +> **Dialog**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `DialogProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L6) diff --git a/docs/sdk/JustWeb3 UI/functions/DialogClose.md b/docs/sdk/JustWeb3 UI/functions/DialogClose.md new file mode 100644 index 00000000..0eaaf5f9 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DialogClose.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogClose + +# Function: DialogClose() + +> **DialogClose**(`props`): `ReactNode` + +## Parameters + +• **props**: `DialogCloseProps` & `RefAttributes`\<`HTMLButtonElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:82](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L82) diff --git a/docs/sdk/JustWeb3 UI/functions/DialogContent.md b/docs/sdk/JustWeb3 UI/functions/DialogContent.md new file mode 100644 index 00000000..807ab04e --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DialogContent.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogContent + +# Function: DialogContent() + +> **DialogContent**(`props`): `ReactNode` + +## Parameters + +• **props**: [`DialogContentProps`](../interfaces/DialogContentProps.md) & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L23) diff --git a/docs/sdk/JustWeb3 UI/functions/DialogDescription.md b/docs/sdk/JustWeb3 UI/functions/DialogDescription.md new file mode 100644 index 00000000..c3c2287a --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DialogDescription.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogDescription + +# Function: DialogDescription() + +> **DialogDescription**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DialogDescriptionProps` & `RefAttributes`\<`HTMLParagraphElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLParagraphElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:50](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L50) diff --git a/docs/sdk/JustWeb3 UI/functions/DialogFooter.md b/docs/sdk/JustWeb3 UI/functions/DialogFooter.md new file mode 100644 index 00000000..fdca699d --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DialogFooter.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogFooter + +# Function: DialogFooter() + +> **DialogFooter**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `HTMLAttributes`\<`HTMLDivElement`\> + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:73](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L73) diff --git a/docs/sdk/JustWeb3 UI/functions/DialogHeader.md b/docs/sdk/JustWeb3 UI/functions/DialogHeader.md new file mode 100644 index 00000000..cf2e9eb9 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DialogHeader.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogHeader + +# Function: DialogHeader() + +> **DialogHeader**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `HTMLAttributes`\<`HTMLDivElement`\> + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:64](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L64) diff --git a/docs/sdk/JustWeb3 UI/functions/DialogTitle.md b/docs/sdk/JustWeb3 UI/functions/DialogTitle.md new file mode 100644 index 00000000..bab3a438 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DialogTitle.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogTitle + +# Function: DialogTitle() + +> **DialogTitle**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DialogTitleProps` & `RefAttributes`\<`HTMLHeadingElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLHeadingElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L40) diff --git a/docs/sdk/JustWeb3 UI/functions/DialogTrigger.md b/docs/sdk/JustWeb3 UI/functions/DialogTrigger.md new file mode 100644 index 00000000..9ccc4167 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DialogTrigger.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogTrigger + +# Function: DialogTrigger() + +> **DialogTrigger**(`props`): `ReactNode` + +## Parameters + +• **props**: `DialogTriggerProps` & `RefAttributes`\<`HTMLButtonElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L15) diff --git a/docs/sdk/JustWeb3 UI/functions/Divider.md b/docs/sdk/JustWeb3 UI/functions/Divider.md new file mode 100644 index 00000000..8ba5932a --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Divider.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Divider + +# Function: Divider() + +> **Divider**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props** + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Divider/index.tsx:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Divider/index.tsx#L4) diff --git a/docs/sdk/JustWeb3 UI/functions/DropdownMenu.md b/docs/sdk/JustWeb3 UI/functions/DropdownMenu.md new file mode 100644 index 00000000..fee2ebb8 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DropdownMenu.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DropdownMenu + +# Function: DropdownMenu() + +> **DropdownMenu**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `DropdownMenuProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx#L14) diff --git a/docs/sdk/JustWeb3 UI/functions/DropdownMenuContent.md b/docs/sdk/JustWeb3 UI/functions/DropdownMenuContent.md new file mode 100644 index 00000000..c5b547b8 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DropdownMenuContent.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DropdownMenuContent + +# Function: DropdownMenuContent() + +> **DropdownMenuContent**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DropdownMenuContentProps` & `RefAttributes`\<`HTMLDivElement`\>, `"ref"`\> & `object` & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx#L28) diff --git a/docs/sdk/JustWeb3 UI/functions/DropdownMenuItem.md b/docs/sdk/JustWeb3 UI/functions/DropdownMenuItem.md new file mode 100644 index 00000000..e2cf4928 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DropdownMenuItem.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DropdownMenuItem + +# Function: DropdownMenuItem() + +> **DropdownMenuItem**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DropdownMenuItemProps` & `RefAttributes`\<`HTMLDivElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx#L44) diff --git a/docs/sdk/JustWeb3 UI/functions/DropdownMenuLabel.md b/docs/sdk/JustWeb3 UI/functions/DropdownMenuLabel.md new file mode 100644 index 00000000..2864c704 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DropdownMenuLabel.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DropdownMenuLabel + +# Function: DropdownMenuLabel() + +> **DropdownMenuLabel**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DropdownMenuLabelProps` & `RefAttributes`\<`HTMLDivElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx:56](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx#L56) diff --git a/docs/sdk/JustWeb3 UI/functions/DropdownMenuSeparator.md b/docs/sdk/JustWeb3 UI/functions/DropdownMenuSeparator.md new file mode 100644 index 00000000..90917afc --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DropdownMenuSeparator.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DropdownMenuSeparator + +# Function: DropdownMenuSeparator() + +> **DropdownMenuSeparator**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DropdownMenuSeparatorProps` & `RefAttributes`\<`HTMLDivElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx:68](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx#L68) diff --git a/docs/sdk/JustWeb3 UI/functions/DropdownMenuTrigger.md b/docs/sdk/JustWeb3 UI/functions/DropdownMenuTrigger.md new file mode 100644 index 00000000..bd9dce20 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/DropdownMenuTrigger.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DropdownMenuTrigger + +# Function: DropdownMenuTrigger() + +> **DropdownMenuTrigger**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DropdownMenuTriggerProps` & `RefAttributes`\<`HTMLButtonElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLButtonElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dropdown/index.tsx#L16) diff --git a/docs/sdk/JustWeb3 UI/functions/ExpandableText.md b/docs/sdk/JustWeb3 UI/functions/ExpandableText.md new file mode 100644 index 00000000..a8d8884d --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/ExpandableText.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / ExpandableText + +# Function: ExpandableText() + +> **ExpandableText**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `ExpandableTextProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/components/ExpandableText/index.tsx:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/components/ExpandableText/index.tsx#L12) diff --git a/docs/sdk/JustWeb3 UI/functions/Flex.md b/docs/sdk/JustWeb3 UI/functions/Flex.md new file mode 100644 index 00000000..0e14b9a3 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Flex.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Flex + +# Function: Flex() + +> **Flex**(`props`): `ReactNode` + +## Parameters + +• **props**: `FlexProps` & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/common/Flex/index.tsx:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/common/Flex/index.tsx#L22) diff --git a/docs/sdk/JustWeb3 UI/functions/Form.md b/docs/sdk/JustWeb3 UI/functions/Form.md new file mode 100644 index 00000000..eeab4422 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Form.md @@ -0,0 +1,60 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Form + +# Function: Form() + +> **Form**\<`TFieldValues`, `TContext`, `TTransformedValues`\>(`props`): `Element` + +A provider component that propagates the `useForm` methods to all children components via [React Context](https://reactjs.org/docs/context.html) API. To be used with useFormContext. + +## Type Parameters + +• **TFieldValues** *extends* `FieldValues` + +• **TContext** = `any` + +• **TTransformedValues** *extends* `undefined` \| `FieldValues` = `undefined` + +## Parameters + +• **props**: `FormProviderProps`\<`TFieldValues`, `TContext`, `TTransformedValues`\> + +all useForm methods + +## Returns + +`Element` + +## Remarks + +[API](https://react-hook-form.com/docs/useformcontext) • [Demo](https://codesandbox.io/s/react-hook-form-v7-form-context-ytudi) + +## Example + +```tsx +function App() { + const methods = useForm(); + const onSubmit = data => console.log(data); + + return ( + +
+ + + +
+ ); +} + + function NestedInput() { + const { register } = useFormContext(); // retrieve all hook methods + return ; +} +``` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L14) diff --git a/docs/sdk/JustWeb3 UI/functions/FormControl.md b/docs/sdk/JustWeb3 UI/functions/FormControl.md new file mode 100644 index 00000000..21e69d5a --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/FormControl.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / FormControl + +# Function: FormControl() + +> **FormControl**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`SlotProps` & `RefAttributes`\<`HTMLElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:107](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L107) diff --git a/docs/sdk/JustWeb3 UI/functions/FormDescription.md b/docs/sdk/JustWeb3 UI/functions/FormDescription.md new file mode 100644 index 00000000..5101bc00 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/FormDescription.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / FormDescription + +# Function: FormDescription() + +> **FormDescription**(`props`): `ReactNode` + +## Parameters + +• **props**: `HTMLAttributes`\<`HTMLParagraphElement`\> & `RefAttributes`\<`HTMLParagraphElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:128](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L128) diff --git a/docs/sdk/JustWeb3 UI/functions/FormField.md b/docs/sdk/JustWeb3 UI/functions/FormField.md new file mode 100644 index 00000000..125c7ed4 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/FormField.md @@ -0,0 +1,27 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / FormField + +# Function: FormField() + +> **FormField**\<`TFieldValues`, `TName`\>(`props`): `Element` + +## Type Parameters + +• **TFieldValues** *extends* `FieldValues` = `FieldValues` + +• **TName** *extends* `string` = `FieldPath`\<`TFieldValues`\> + +## Parameters + +• **props**: `ControllerProps`\<`TFieldValues`, `TName`\> + +## Returns + +`Element` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L27) diff --git a/docs/sdk/JustWeb3 UI/functions/FormItem.md b/docs/sdk/JustWeb3 UI/functions/FormItem.md new file mode 100644 index 00000000..cb0d1ee3 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/FormItem.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / FormItem + +# Function: FormItem() + +> **FormItem**(`props`): `ReactNode` + +## Parameters + +• **props**: `HTMLAttributes`\<`HTMLDivElement`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:70](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L70) diff --git a/docs/sdk/JustWeb3 UI/functions/FormLabel.md b/docs/sdk/JustWeb3 UI/functions/FormLabel.md new file mode 100644 index 00000000..dfe7858c --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/FormLabel.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / FormLabel + +# Function: FormLabel() + +> **FormLabel**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`LabelProps` & `RefAttributes`\<`HTMLLabelElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLLabelElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:87](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L87) diff --git a/docs/sdk/JustWeb3 UI/functions/FormMessage.md b/docs/sdk/JustWeb3 UI/functions/FormMessage.md new file mode 100644 index 00000000..04364edc --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/FormMessage.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / FormMessage + +# Function: FormMessage() + +> **FormMessage**(`props`): `ReactNode` + +## Parameters + +• **props**: `HTMLAttributes`\<`HTMLParagraphElement`\> & `RefAttributes`\<`HTMLParagraphElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:144](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L144) diff --git a/docs/sdk/JustWeb3 UI/functions/H2.md b/docs/sdk/JustWeb3 UI/functions/H2.md new file mode 100644 index 00000000..a42303c7 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/H2.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / H2 + +# Function: H2() + +> **H2**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `DetailedHTMLProps`\<`HTMLAttributes`\<`HTMLHeadingElement`\>, `HTMLHeadingElement`\> + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Text/index.tsx:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Text/index.tsx#L5) diff --git a/docs/sdk/JustWeb3 UI/functions/Input.md b/docs/sdk/JustWeb3 UI/functions/Input.md new file mode 100644 index 00000000..add4c918 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Input.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Input + +# Function: Input() + +> **Input**(`props`): `ReactNode` + +## Parameters + +• **props**: `InputProps` & `RefAttributes`\<`HTMLInputElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Input/index.tsx:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Input/index.tsx#L11) diff --git a/docs/sdk/JustWeb3 UI/functions/JustWeb3ThemeProvider.md b/docs/sdk/JustWeb3 UI/functions/JustWeb3ThemeProvider.md new file mode 100644 index 00000000..0bd425d5 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/JustWeb3ThemeProvider.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / JustWeb3ThemeProvider + +# Function: JustWeb3ThemeProvider() + +> **JustWeb3ThemeProvider**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: [`JustWeb3ThemeProviderProps`](../interfaces/JustWeb3ThemeProviderProps.md) + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx:114](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx#L114) diff --git a/docs/sdk/JustWeb3 UI/functions/LoadingSpinner.md b/docs/sdk/JustWeb3 UI/functions/LoadingSpinner.md new file mode 100644 index 00000000..d3943882 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/LoadingSpinner.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / LoadingSpinner + +# Function: LoadingSpinner() + +> **LoadingSpinner**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: [`LoadingSpinnerProps`](../interfaces/LoadingSpinnerProps.md) + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/LoadingSpinner/index.tsx:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/LoadingSpinner/index.tsx#L8) diff --git a/docs/sdk/JustWeb3 UI/functions/OTPInput.md b/docs/sdk/JustWeb3 UI/functions/OTPInput.md new file mode 100644 index 00000000..79de6ef5 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/OTPInput.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / OTPInput + +# Function: OTPInput() + +> **OTPInput**(`props`): `ReactNode` + +## Parameters + +• **props**: `OTPInputProps` & `RefAttributes`\<`HTMLInputElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx#L23) diff --git a/docs/sdk/JustWeb3 UI/functions/OTPInputGroup.md b/docs/sdk/JustWeb3 UI/functions/OTPInputGroup.md new file mode 100644 index 00000000..78244024 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/OTPInputGroup.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / OTPInputGroup + +# Function: OTPInputGroup() + +> **OTPInputGroup**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DetailedHTMLProps`\<`HTMLAttributes`\<`HTMLDivElement`\>, `HTMLDivElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx:36](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx#L36) diff --git a/docs/sdk/JustWeb3 UI/functions/OTPInputSeparator.md b/docs/sdk/JustWeb3 UI/functions/OTPInputSeparator.md new file mode 100644 index 00000000..1678cf3b --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/OTPInputSeparator.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / OTPInputSeparator + +# Function: OTPInputSeparator() + +> **OTPInputSeparator**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DetailedHTMLProps`\<`HTMLAttributes`\<`HTMLDivElement`\>, `HTMLDivElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx:78](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx#L78) diff --git a/docs/sdk/JustWeb3 UI/functions/OTPInputSlot.md b/docs/sdk/JustWeb3 UI/functions/OTPInputSlot.md new file mode 100644 index 00000000..471207f8 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/OTPInputSlot.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / OTPInputSlot + +# Function: OTPInputSlot() + +> **OTPInputSlot**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`DetailedHTMLProps`\<`HTMLAttributes`\<`HTMLDivElement`\>, `HTMLDivElement`\>, `"ref"`\> & `object` & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/OTPInput/index.tsx#L48) diff --git a/docs/sdk/JustWeb3 UI/functions/OrLine.md b/docs/sdk/JustWeb3 UI/functions/OrLine.md new file mode 100644 index 00000000..180ab037 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/OrLine.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / OrLine + +# Function: OrLine() + +> **OrLine**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props** + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/components/OrLine/index.tsx:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/components/OrLine/index.tsx#L5) diff --git a/docs/sdk/JustWeb3 UI/functions/P.md b/docs/sdk/JustWeb3 UI/functions/P.md new file mode 100644 index 00000000..48d5f0ba --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/P.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / P + +# Function: P() + +> **P**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `DetailedHTMLProps`\<`HTMLAttributes`\<`HTMLParagraphElement`\>, `HTMLParagraphElement`\> + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Text/index.tsx:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Text/index.tsx#L15) diff --git a/docs/sdk/JustWeb3 UI/functions/Popover.md b/docs/sdk/JustWeb3 UI/functions/Popover.md new file mode 100644 index 00000000..c6045284 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Popover.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Popover + +# Function: Popover() + +> **Popover**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `PopoverProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Popover/index.tsx:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Popover/index.tsx#L11) diff --git a/docs/sdk/JustWeb3 UI/functions/PopoverContent.md b/docs/sdk/JustWeb3 UI/functions/PopoverContent.md new file mode 100644 index 00000000..69f6ade3 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/PopoverContent.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / PopoverContent + +# Function: PopoverContent() + +> **PopoverContent**(`props`): `ReactNode` + +## Parameters + +• **props**: [`PopoverContentProps`](../interfaces/PopoverContentProps.md) & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Popover/index.tsx:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Popover/index.tsx#L26) diff --git a/docs/sdk/JustWeb3 UI/functions/PopoverTrigger.md b/docs/sdk/JustWeb3 UI/functions/PopoverTrigger.md new file mode 100644 index 00000000..74812a21 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/PopoverTrigger.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / PopoverTrigger + +# Function: PopoverTrigger() + +> **PopoverTrigger**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`PopoverTriggerProps` & `RefAttributes`\<`HTMLButtonElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLButtonElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Popover/index.tsx:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Popover/index.tsx#L13) diff --git a/docs/sdk/JustWeb3 UI/functions/SPAN.md b/docs/sdk/JustWeb3 UI/functions/SPAN.md new file mode 100644 index 00000000..184b168f --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/SPAN.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / SPAN + +# Function: SPAN() + +> **SPAN**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `DetailedHTMLProps`\<`HTMLAttributes`\<`HTMLSpanElement`\>, `HTMLSpanElement`\> + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Text/index.tsx:37](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Text/index.tsx#L37) diff --git a/docs/sdk/JustWeb3 UI/functions/Separator.md b/docs/sdk/JustWeb3 UI/functions/Separator.md new file mode 100644 index 00000000..e25332f7 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Separator.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Separator + +# Function: Separator() + +> **Separator**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `SeparatorProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Separator/index.tsx:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Separator/index.tsx#L8) diff --git a/docs/sdk/JustWeb3 UI/functions/Tabs.md b/docs/sdk/JustWeb3 UI/functions/Tabs.md new file mode 100644 index 00000000..e2663cdd --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/Tabs.md @@ -0,0 +1,29 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / Tabs + +# Function: Tabs() + +> **Tabs**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `AnimatedTabsProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx#L12) diff --git a/docs/sdk/JustWeb3 UI/functions/TabsContent.md b/docs/sdk/JustWeb3 UI/functions/TabsContent.md new file mode 100644 index 00000000..275efe54 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/TabsContent.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / TabsContent + +# Function: TabsContent() + +> **TabsContent**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`TabsContentProps` & `RefAttributes`\<`HTMLDivElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx:61](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx#L61) diff --git a/docs/sdk/JustWeb3 UI/functions/TabsList.md b/docs/sdk/JustWeb3 UI/functions/TabsList.md new file mode 100644 index 00000000..5b8f4986 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/TabsList.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / TabsList + +# Function: TabsList() + +> **TabsList**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`TabsListProps` & `RefAttributes`\<`HTMLDivElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLDivElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx:37](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx#L37) diff --git a/docs/sdk/JustWeb3 UI/functions/TabsTrigger.md b/docs/sdk/JustWeb3 UI/functions/TabsTrigger.md new file mode 100644 index 00000000..dd717af9 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/TabsTrigger.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / TabsTrigger + +# Function: TabsTrigger() + +> **TabsTrigger**(`props`): `ReactNode` + +## Parameters + +• **props**: `Omit`\<`TabsTriggerProps` & `RefAttributes`\<`HTMLButtonElement`\>, `"ref"`\> & `RefAttributes`\<`HTMLButtonElement`\> + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx:49](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Tabs/index.tsx#L49) diff --git a/docs/sdk/JustWeb3 UI/functions/convertToHSL.md b/docs/sdk/JustWeb3 UI/functions/convertToHSL.md new file mode 100644 index 00000000..90ec5136 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/convertToHSL.md @@ -0,0 +1,21 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / convertToHSL + +# Function: convertToHSL() + +> **convertToHSL**(`color`): `string` + +## Parameters + +• **color**: `string` + +## Returns + +`string` + +## Defined in + +[packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts:47](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts#L47) diff --git a/docs/sdk/JustWeb3 UI/functions/detectLightColor.md b/docs/sdk/JustWeb3 UI/functions/detectLightColor.md new file mode 100644 index 00000000..9d04db52 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/detectLightColor.md @@ -0,0 +1,23 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / detectLightColor + +# Function: detectLightColor() + +> **detectLightColor**(`color`, `lightnessLimit`): `boolean` + +## Parameters + +• **color**: `string` + +• **lightnessLimit**: `number` = `75` + +## Returns + +`boolean` + +## Defined in + +[packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts:105](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts#L105) diff --git a/docs/sdk/JustWeb3 UI/functions/formatText.md b/docs/sdk/JustWeb3 UI/functions/formatText.md new file mode 100644 index 00000000..428da37f --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/formatText.md @@ -0,0 +1,23 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / formatText + +# Function: formatText() + +> **formatText**(`text`, `limit`): `string` + +## Parameters + +• **text**: `string` + +• **limit**: `number` + +## Returns + +`string` + +## Defined in + +[packages/@justweb3/ui/src/lib/utils/formatText/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/utils/formatText/index.ts#L4) diff --git a/docs/sdk/JustWeb3 UI/functions/generateDarkVariation.md b/docs/sdk/JustWeb3 UI/functions/generateDarkVariation.md new file mode 100644 index 00000000..06846b16 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/generateDarkVariation.md @@ -0,0 +1,23 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / generateDarkVariation + +# Function: generateDarkVariation() + +> **generateDarkVariation**(`color`, `percentage`): `string` + +## Parameters + +• **color**: `string` + +• **percentage**: `number` = `0.2` + +## Returns + +`string` + +## Defined in + +[packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts#L33) diff --git a/docs/sdk/JustWeb3 UI/functions/generateLightVariation.md b/docs/sdk/JustWeb3 UI/functions/generateLightVariation.md new file mode 100644 index 00000000..ee0b5dc5 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/generateLightVariation.md @@ -0,0 +1,23 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / generateLightVariation + +# Function: generateLightVariation() + +> **generateLightVariation**(`color`, `percentage`): `string` + +## Parameters + +• **color**: `string` + +• **percentage**: `number` = `0.3` + +## Returns + +`string` + +## Defined in + +[packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/utils/hsl-helpers/index.ts#L20) diff --git a/docs/sdk/JustWeb3 UI/functions/useFormField.md b/docs/sdk/JustWeb3 UI/functions/useFormField.md new file mode 100644 index 00000000..a92ce0c0 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/useFormField.md @@ -0,0 +1,57 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / useFormField + +# Function: useFormField() + +> **useFormField**(): `object` + +## Returns + +`object` + +### error? + +> `optional` **error**: `FieldError` + +### formDescriptionId + +> **formDescriptionId**: `string` + +### formItemId + +> **formItemId**: `string` + +### formMessageId + +> **formMessageId**: `string` + +### id + +> **id**: `string` + +### invalid + +> **invalid**: `boolean` + +### isDirty + +> **isDirty**: `boolean` + +### isTouched + +> **isTouched**: `boolean` + +### isValidating + +> **isValidating**: `boolean` + +### name + +> **name**: `string` = `fieldContext.name` + +## Defined in + +[packages/@justweb3/ui/src/lib/ui/Form/index.tsx:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Form/index.tsx#L40) diff --git a/docs/sdk/JustWeb3 UI/functions/useJustWeb3Theme.md b/docs/sdk/JustWeb3 UI/functions/useJustWeb3Theme.md new file mode 100644 index 00000000..34d58297 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/functions/useJustWeb3Theme.md @@ -0,0 +1,17 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / useJustWeb3Theme + +# Function: useJustWeb3Theme() + +> **useJustWeb3Theme**(): `JustWeb3ThemeContextProps` + +## Returns + +`JustWeb3ThemeContextProps` + +## Defined in + +[packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx:266](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx#L266) diff --git a/docs/sdk/JustWeb3 UI/globals.md b/docs/sdk/JustWeb3 UI/globals.md new file mode 100644 index 00000000..a739eabe --- /dev/null +++ b/docs/sdk/JustWeb3 UI/globals.md @@ -0,0 +1,1293 @@ +[**@justweb3/ui**](README.md) • **Docs** + +*** + +# @justweb3/ui + +## References + +### AbbcChainIcon + +Re-exports abbc + +*** + +### AdaChainIcon + +Re-exports ada + +*** + +### AddCircleIcon + +Re-exports add-circle + +*** + +### AddIcon + +Re-exports add + +*** + +### AddressIcon + +Re-exports address + +*** + +### AeChainIcon + +Re-exports ae + +*** + +### AibChainIcon + +Re-exports aib + +*** + +### AionChainIcon + +Re-exports aion + +*** + +### AlgoChainIcon + +Re-exports algo + +*** + +### Arb1ChainIcon + +Re-exports arb1 + +*** + +### ArChainIcon + +Re-exports ar + +*** + +### ArdrChainIcon + +Re-exports ardr + +*** + +### ArkChainIcon + +Re-exports ark + +*** + +### ArrowIcon + +Re-exports arrow + +*** + +### ArrowWhiteIcon + +Re-exports arrow-white + +*** + +### ArweaveIcon + +Re-exports arweave + +*** + +### AtomChainIcon + +Re-exports atom + +*** + +### AttachmentIcon + +Re-exports attachment + +*** + +### AvaxcChainIcon + +Re-exports avaxc + +*** + +### AvaxChainIcon + +Re-exports avax + +*** + +### BaseChainIcon + +Re-exports base + +*** + +### BcdChainIcon + +Re-exports bcd + +*** + +### BchChainIcon + +Re-exports bch + +*** + +### BcnChainIcon + +Re-exports bcn + +*** + +### BdxChainIcon + +Re-exports bdx + +*** + +### BnbChainIcon + +Re-exports bnb + +*** + +### BobaChainIcon + +Re-exports boba + +*** + +### BpsChainIcon + +Re-exports bps + +*** + +### BscChainIcon + +Re-exports bsc + +*** + +### BsvChainIcon + +Re-exports bsv + +*** + +### BtcChainIcon + +Re-exports btc + +*** + +### BtgChainIcon + +Re-exports btg + +*** + +### BtmChainIcon + +Re-exports btm + +*** + +### BtsChainIcon + +Re-exports bts + +*** + +### CcaChainIcon + +Re-exports cca + +*** + +### CcxxChainIcon + +Re-exports ccxx + +*** + +### CeloChainIcon + +Re-exports celo + +*** + +### CeloLegacyChainIcon + +Re-exports celoLegacy + +*** + +### CkbChainIcon + +Re-exports ckb + +*** + +### ClipIcon + +Re-exports clip + +*** + +### CloChainIcon + +Re-exports clo + +*** + +### CloLegacyChainIcon + +Re-exports cloLegacy + +*** + +### CloseIcon + +Re-exports close + +*** + +### ComicIcon + +Re-exports comic + +*** + +### ContactsIcon + +Re-exports contacts + +*** + +### CopiedIcon + +Re-exports copied + +*** + +### CopyIcon + +Re-exports copy + +*** + +### CroChainIcon + +Re-exports cro + +*** + +### DashChainIcon + +Re-exports dash + +*** + +### DcrChainIcon + +Re-exports dcr + +*** + +### DeleteIcon + +Re-exports delete + +*** + +### DgbChainIcon + +Re-exports dgb + +*** + +### DiscordIcon + +Re-exports discord + +*** + +### DiviChainIcon + +Re-exports divi + +*** + +### DogeChainIcon + +Re-exports doge + +*** + +### DoneIcon + +Re-exports done + +*** + +### DotChainIcon + +Re-exports dot + +*** + +### EditIcon + +Re-exports edit + +*** + +### EgldChainIcon + +Re-exports egld + +*** + +### ElaChainIcon + +Re-exports ela + +*** + +### EmailIcon + +Re-exports email + +*** + +### EosChainIcon + +Re-exports eos + +*** + +### EtcChainIcon + +Re-exports etc + +*** + +### EtcLegacyChainIcon + +Re-exports etcLegacy + +*** + +### EthChainIcon + +Re-exports eth + +*** + +### EtnChainIcon + +Re-exports etn + +*** + +### EwtChainIcon + +Re-exports ewt + +*** + +### EwtLegacyChainIcon + +Re-exports ewtLegacy + +*** + +### FacebookIcon + +Re-exports facebook + +*** + +### FarcasterIcon + +Re-exports farcaster + +*** + +### FilChainIcon + +Re-exports fil + +*** + +### FioChainIcon + +Re-exports fio + +*** + +### FiroChainIcon + +Re-exports firo + +*** + +### FlowChainIcon + +Re-exports flow + +*** + +### FluxChainIcon + +Re-exports flux + +*** + +### FtmChainIcon + +Re-exports ftm + +*** + +### FtmLegacyChainIcon + +Re-exports ftmLegacy + +*** + +### GeneralIcon + +Re-exports general + +*** + +### GithubIcon + +Re-exports github + +*** + +### GnoChainIcon + +Re-exports gno + +*** + +### GnoLegacyChainIcon + +Re-exports gnoLegacy + +*** + +### GoChainIcon + +Re-exports go + +*** + +### GoLegacyChainIcon + +Re-exports goLegacy + +*** + +### GoogleIcon + +Re-exports google + +*** + +### GrinChainIcon + +Re-exports grin + +*** + +### GxcChainIcon + +Re-exports gxc + +*** + +### HbarChainIcon + +Re-exports hbar + +*** + +### HiveChainIcon + +Re-exports hive + +*** + +### HnsChainIcon + +Re-exports hns + +*** + +### HntChainIcon + +Re-exports hnt + +*** + +### IcxChainIcon + +Re-exports icx + +*** + +### InstagramIcon + +Re-exports instagram + +*** + +### IostChainIcon + +Re-exports iost + +*** + +### IotaChainIcon + +Re-exports iota + +*** + +### IotxChainIcon + +Re-exports iotx + +*** + +### IpfsIcon + +Re-exports ipfs + +*** + +### IrisChainIcon + +Re-exports iris + +*** + +### JustaNameLogoIcon + +Re-exports justa-name-logo + +*** + +### JustSomeoneIcon + +Re-exports just-someone + +*** + +### KavaChainIcon + +Re-exports kava + +*** + +### KmdChainIcon + +Re-exports kmd + +*** + +### KsmChainIcon + +Re-exports ksm + +*** + +### LccChainIcon + +Re-exports lcc + +*** + +### LineaChainIcon + +Re-exports linea + +*** + +### LinkedinIcon + +Re-exports linkedin + +*** + +### LocationIcon + +Re-exports location + +*** + +### LogoutIcon + +Re-exports logout + +*** + +### LrgChainIcon + +Re-exports lrg + +*** + +### LskChainIcon + +Re-exports lsk + +*** + +### LtcChainIcon + +Re-exports ltc + +*** + +### LunaChainIcon + +Re-exports luna + +*** + +### MantaChainIcon + +Re-exports manta + +*** + +### MantleChainIcon + +Re-exports mantle + +*** + +### MappIcon + +Re-exports mapp + +*** + +### MaticChainIcon + +Re-exports matic + +*** + +### MaximizeIcon + +Re-exports maximize + +*** + +### MediumIcon + +Re-exports medium + +*** + +### MetisChainIcon + +Re-exports metis + +*** + +### MinimizeIcon + +Re-exports minimize + +*** + +### MinusIcon + +Re-exports minus + +*** + +### MirrorIcon + +Re-exports mirror + +*** + +### MonaChainIcon + +Re-exports mona + +*** + +### MrxChainIcon + +Re-exports mrx + +*** + +### NanoChainIcon + +Re-exports nano + +*** + +### NasChainIcon + +Re-exports nas + +*** + +### NearChainIcon + +Re-exports near + +*** + +### NeoChainIcon + +Re-exports neo + +*** + +### NimChainIcon + +Re-exports nim + +*** + +### NmcChainIcon + +Re-exports nmc + +*** + +### NostrChainIcon + +Re-exports nostr + +*** + +### NotificationIcon + +Re-exports notification + +*** + +### NrgChainIcon + +Re-exports nrg + +*** + +### NrgLegacyChainIcon + +Re-exports nrgLegacy + +*** + +### NulsChainIcon + +Re-exports nuls + +*** + +### OneChainIcon + +Re-exports one + +*** + +### OnionIcon + +Re-exports onion + +*** + +### OntChainIcon + +Re-exports ont + +*** + +### OpChainIcon + +Re-exports op + +*** + +### PenIcon + +Re-exports pen + +*** + +### PersonEditIcon + +Re-exports person-edit + +*** + +### PoaChainIcon + +Re-exports poa + +*** + +### PoaLegacyChainIcon + +Re-exports poaLegacy + +*** + +### PpcChainIcon + +Re-exports ppc + +*** + +### ProfileEditIcon + +Re-exports profile-edit + +*** + +### ProfileIcon + +Re-exports profile + +*** + +### QtumChainIcon + +Re-exports qtum + +*** + +### RbtcChainIcon + +Re-exports rbtc + +*** + +### RddChainIcon + +Re-exports rdd + +*** + +### RedditIcon + +Re-exports reddit + +*** + +### RuneChainIcon + +Re-exports rune + +*** + +### RvnChainIcon + +Re-exports rvn + +*** + +### ScChainIcon + +Re-exports sc + +*** + +### ScrChainIcon + +Re-exports scr + +*** + +### SeroChainIcon + +Re-exports sero + +*** + +### SkynetIcon + +Re-exports skynet + +*** + +### SocialIcon + +Re-exports social + +*** + +### SolChainIcon + +Re-exports sol + +*** + +### SrmChainIcon + +Re-exports srm + +*** + +### SteemChainIcon + +Re-exports steem + +*** + +### StratChainIcon + +Re-exports strat + +*** + +### StrkChainIcon + +Re-exports strk + +*** + +### StxChainIcon + +Re-exports stx + +*** + +### SwarmIcon + +Re-exports swarm + +*** + +### SysChainIcon + +Re-exports sys + +*** + +### TelegramIcon + +Re-exports telegram + +*** + +### TfuelChainIcon + +Re-exports tfuel + +*** + +### ThetaChainIcon + +Re-exports theta + +*** + +### ThetaLegacyChainIcon + +Re-exports thetaLegacy + +*** + +### TomoChainIcon + +Re-exports tomo + +*** + +### TomoLegacyChainIcon + +Re-exports tomoLegacy + +*** + +### TrashIcon + +Re-exports trash + +*** + +### TrashWhiteIcon + +Re-exports trash-white + +*** + +### TrxChainIcon + +Re-exports trx + +*** + +### TtChainIcon + +Re-exports tt + +*** + +### TtLegacyChainIcon + +Re-exports ttLegacy + +*** + +### TwitterIcon + +Re-exports twitter + +*** + +### VerificationsIcon + +Re-exports verifications + +*** + +### VetChainIcon + +Re-exports vet + +*** + +### ViaChainIcon + +Re-exports via + +*** + +### VlxChainIcon + +Re-exports vlx + +*** + +### VlxLegacyChainIcon + +Re-exports vlxLegacy + +*** + +### VsysChainIcon + +Re-exports vsys + +*** + +### WalletIcon + +Re-exports wallet + +*** + +### WanChainIcon + +Re-exports wan + +*** + +### WarpcastIcon + +Re-exports warpcast + +*** + +### WavesChainIcon + +Re-exports waves + +*** + +### WebsiteIcon + +Re-exports website + +*** + +### WiccChainIcon + +Re-exports wicc + +*** + +### XchChainIcon + +Re-exports xch + +*** + +### XemChainIcon + +Re-exports xem + +*** + +### XhvChainIcon + +Re-exports xhv + +*** + +### XIcon + +Re-exports x + +*** + +### XlmChainIcon + +Re-exports xlm + +*** + +### XmrChainIcon + +Re-exports xmr + +*** + +### XrpChainIcon + +Re-exports xrp + +*** + +### XtzChainIcon + +Re-exports xtz + +*** + +### XvgChainIcon + +Re-exports xvg + +*** + +### ZecChainIcon + +Re-exports zec + +*** + +### ZenChainIcon + +Re-exports zen + +*** + +### ZilChainIcon + +Re-exports zil + +*** + +### ZksyncChainIcon + +Re-exports zksync + +*** + +### ZoraChainIcon + +Re-exports zora + +## Interfaces + +- [ButtonProps](interfaces/ButtonProps.md) +- [DialogContentProps](interfaces/DialogContentProps.md) +- [JustWeb3ThemeProviderConfig](interfaces/JustWeb3ThemeProviderConfig.md) +- [JustWeb3ThemeProviderProps](interfaces/JustWeb3ThemeProviderProps.md) +- [LoadingSpinnerProps](interfaces/LoadingSpinnerProps.md) +- [PopoverContentProps](interfaces/PopoverContentProps.md) + +## Variables + +- [chains](variables/chains.md) +- [contentHash](variables/contentHash.md) +- [general](variables/general.md) +- [logo](variables/logo.md) +- [socials](variables/socials.md) + +## Functions + +- [A](functions/A.md) +- [Avatar](functions/Avatar.md) +- [Badge](functions/Badge.md) +- [Button](functions/Button.md) +- [Carousel](functions/Carousel.md) +- [ClickableItem](functions/ClickableItem.md) +- [convertToHSL](functions/convertToHSL.md) +- [detectLightColor](functions/detectLightColor.md) +- [Dialog](functions/Dialog.md) +- [DialogClose](functions/DialogClose.md) +- [DialogContent](functions/DialogContent.md) +- [DialogDescription](functions/DialogDescription.md) +- [DialogFooter](functions/DialogFooter.md) +- [DialogHeader](functions/DialogHeader.md) +- [DialogTitle](functions/DialogTitle.md) +- [DialogTrigger](functions/DialogTrigger.md) +- [Divider](functions/Divider.md) +- [DropdownMenu](functions/DropdownMenu.md) +- [DropdownMenuContent](functions/DropdownMenuContent.md) +- [DropdownMenuItem](functions/DropdownMenuItem.md) +- [DropdownMenuLabel](functions/DropdownMenuLabel.md) +- [DropdownMenuSeparator](functions/DropdownMenuSeparator.md) +- [DropdownMenuTrigger](functions/DropdownMenuTrigger.md) +- [ExpandableText](functions/ExpandableText.md) +- [Flex](functions/Flex.md) +- [Form](functions/Form.md) +- [formatText](functions/formatText.md) +- [FormControl](functions/FormControl.md) +- [FormDescription](functions/FormDescription.md) +- [FormField](functions/FormField.md) +- [FormItem](functions/FormItem.md) +- [FormLabel](functions/FormLabel.md) +- [FormMessage](functions/FormMessage.md) +- [generateDarkVariation](functions/generateDarkVariation.md) +- [generateLightVariation](functions/generateLightVariation.md) +- [H2](functions/H2.md) +- [Input](functions/Input.md) +- [JustWeb3ThemeProvider](functions/JustWeb3ThemeProvider.md) +- [LoadingSpinner](functions/LoadingSpinner.md) +- [OrLine](functions/OrLine.md) +- [OTPInput](functions/OTPInput.md) +- [OTPInputGroup](functions/OTPInputGroup.md) +- [OTPInputSeparator](functions/OTPInputSeparator.md) +- [OTPInputSlot](functions/OTPInputSlot.md) +- [P](functions/P.md) +- [Popover](functions/Popover.md) +- [PopoverContent](functions/PopoverContent.md) +- [PopoverTrigger](functions/PopoverTrigger.md) +- [Separator](functions/Separator.md) +- [SPAN](functions/SPAN.md) +- [Tabs](functions/Tabs.md) +- [TabsContent](functions/TabsContent.md) +- [TabsList](functions/TabsList.md) +- [TabsTrigger](functions/TabsTrigger.md) +- [useFormField](functions/useFormField.md) +- [useJustWeb3Theme](functions/useJustWeb3Theme.md) diff --git a/docs/sdk/JustWeb3 UI/interfaces/ButtonProps.md b/docs/sdk/JustWeb3 UI/interfaces/ButtonProps.md new file mode 100644 index 00000000..ceb8a697 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/interfaces/ButtonProps.md @@ -0,0 +1,4154 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / ButtonProps + +# Interface: ButtonProps + +## Extends + +- `ButtonHTMLAttributes`\<`HTMLButtonElement`\> + +## Properties + +### about? + +> `optional` **about**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.about` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2920 + +*** + +### accessKey? + +> `optional` **accessKey**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.accessKey` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2895 + +*** + +### aria-activedescendant? + +> `optional` **aria-activedescendant**: `string` + +Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-activedescendant` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2593 + +*** + +### aria-atomic? + +> `optional` **aria-atomic**: `Booleanish` + +Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-atomic` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2595 + +*** + +### aria-autocomplete? + +> `optional` **aria-autocomplete**: `"none"` \| `"both"` \| `"inline"` \| `"list"` + +Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be +presented if they are made. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-autocomplete` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2600 + +*** + +### aria-braillelabel? + +> `optional` **aria-braillelabel**: `string` + +Defines a string value that labels the current element, which is intended to be converted into Braille. + +#### See + +aria-label. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-braillelabel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2606 + +*** + +### aria-brailleroledescription? + +> `optional` **aria-brailleroledescription**: `string` + +Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. + +#### See + +aria-roledescription. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-brailleroledescription` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2611 + +*** + +### aria-busy? + +> `optional` **aria-busy**: `Booleanish` + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-busy` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2612 + +*** + +### aria-checked? + +> `optional` **aria-checked**: `boolean` \| `"mixed"` \| `"false"` \| `"true"` + +Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. + +#### See + + - aria-pressed + - aria-selected. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-checked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2617 + +*** + +### aria-colcount? + +> `optional` **aria-colcount**: `number` + +Defines the total number of columns in a table, grid, or treegrid. + +#### See + +aria-colindex. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-colcount` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2622 + +*** + +### aria-colindex? + +> `optional` **aria-colindex**: `number` + +Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. + +#### See + + - aria-colcount + - aria-colspan. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-colindex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2627 + +*** + +### aria-colindextext? + +> `optional` **aria-colindextext**: `string` + +Defines a human readable text alternative of aria-colindex. + +#### See + +aria-rowindextext. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-colindextext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2632 + +*** + +### aria-colspan? + +> `optional` **aria-colspan**: `number` + +Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. + +#### See + + - aria-colindex + - aria-rowspan. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-colspan` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2637 + +*** + +### aria-controls? + +> `optional` **aria-controls**: `string` + +Identifies the element (or elements) whose contents or presence are controlled by the current element. + +#### See + +aria-owns. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-controls` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2642 + +*** + +### aria-current? + +> `optional` **aria-current**: `boolean` \| `"page"` \| `"false"` \| `"true"` \| `"step"` \| `"date"` \| `"time"` \| `"location"` + +Indicates the element that represents the current item within a container or set of related elements. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-current` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2644 + +*** + +### aria-describedby? + +> `optional` **aria-describedby**: `string` + +Identifies the element (or elements) that describes the object. + +#### See + +aria-labelledby + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-describedby` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2649 + +*** + +### aria-description? + +> `optional` **aria-description**: `string` + +Defines a string value that describes or annotates the current element. + +#### See + +related aria-describedby. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-description` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2654 + +*** + +### aria-details? + +> `optional` **aria-details**: `string` + +Identifies the element that provides a detailed, extended description for the object. + +#### See + +aria-describedby. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-details` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2659 + +*** + +### aria-disabled? + +> `optional` **aria-disabled**: `Booleanish` + +Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. + +#### See + + - aria-hidden + - aria-readonly. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-disabled` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2664 + +*** + +### ~~aria-dropeffect?~~ + +> `optional` **aria-dropeffect**: `"link"` \| `"none"` \| `"copy"` \| `"move"` \| `"execute"` \| `"popup"` + +Indicates what functions can be performed when a dragged object is released on the drop target. + +#### Deprecated + +in ARIA 1.1 + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-dropeffect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2669 + +*** + +### aria-errormessage? + +> `optional` **aria-errormessage**: `string` + +Identifies the element that provides an error message for the object. + +#### See + + - aria-invalid + - aria-describedby. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-errormessage` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2674 + +*** + +### aria-expanded? + +> `optional` **aria-expanded**: `Booleanish` + +Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-expanded` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2676 + +*** + +### aria-flowto? + +> `optional` **aria-flowto**: `string` + +Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, +allows assistive technology to override the general default of reading in document source order. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-flowto` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2681 + +*** + +### ~~aria-grabbed?~~ + +> `optional` **aria-grabbed**: `Booleanish` + +Indicates an element's "grabbed" state in a drag-and-drop operation. + +#### Deprecated + +in ARIA 1.1 + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-grabbed` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2686 + +*** + +### aria-haspopup? + +> `optional` **aria-haspopup**: `boolean` \| `"listbox"` \| `"grid"` \| `"menu"` \| `"false"` \| `"true"` \| `"dialog"` \| `"tree"` + +Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-haspopup` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2688 + +*** + +### aria-hidden? + +> `optional` **aria-hidden**: `Booleanish` + +Indicates whether the element is exposed to an accessibility API. + +#### See + +aria-disabled. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-hidden` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2693 + +*** + +### aria-invalid? + +> `optional` **aria-invalid**: `boolean` \| `"false"` \| `"true"` \| `"grammar"` \| `"spelling"` + +Indicates the entered value does not conform to the format expected by the application. + +#### See + +aria-errormessage. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-invalid` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2698 + +*** + +### aria-keyshortcuts? + +> `optional` **aria-keyshortcuts**: `string` + +Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-keyshortcuts` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2700 + +*** + +### aria-label? + +> `optional` **aria-label**: `string` + +Defines a string value that labels the current element. + +#### See + +aria-labelledby. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-label` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2705 + +*** + +### aria-labelledby? + +> `optional` **aria-labelledby**: `string` + +Identifies the element (or elements) that labels the current element. + +#### See + +aria-describedby. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-labelledby` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2710 + +*** + +### aria-level? + +> `optional` **aria-level**: `number` + +Defines the hierarchical level of an element within a structure. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-level` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2712 + +*** + +### aria-live? + +> `optional` **aria-live**: `"off"` \| `"assertive"` \| `"polite"` + +Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-live` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2714 + +*** + +### aria-modal? + +> `optional` **aria-modal**: `Booleanish` + +Indicates whether an element is modal when displayed. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-modal` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2716 + +*** + +### aria-multiline? + +> `optional` **aria-multiline**: `Booleanish` + +Indicates whether a text box accepts multiple lines of input or only a single line. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-multiline` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2718 + +*** + +### aria-multiselectable? + +> `optional` **aria-multiselectable**: `Booleanish` + +Indicates that the user may select more than one item from the current selectable descendants. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-multiselectable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2720 + +*** + +### aria-orientation? + +> `optional` **aria-orientation**: `"horizontal"` \| `"vertical"` + +Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-orientation` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2722 + +*** + +### aria-owns? + +> `optional` **aria-owns**: `string` + +Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship +between DOM elements where the DOM hierarchy cannot be used to represent the relationship. + +#### See + +aria-controls. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-owns` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2728 + +*** + +### aria-placeholder? + +> `optional` **aria-placeholder**: `string` + +Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. +A hint could be a sample value or a brief description of the expected format. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-placeholder` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2733 + +*** + +### aria-posinset? + +> `optional` **aria-posinset**: `number` + +Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. + +#### See + +aria-setsize. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-posinset` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2738 + +*** + +### aria-pressed? + +> `optional` **aria-pressed**: `boolean` \| `"mixed"` \| `"false"` \| `"true"` + +Indicates the current "pressed" state of toggle buttons. + +#### See + + - aria-checked + - aria-selected. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-pressed` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2743 + +*** + +### aria-readonly? + +> `optional` **aria-readonly**: `Booleanish` + +Indicates that the element is not editable, but is otherwise operable. + +#### See + +aria-disabled. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-readonly` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2748 + +*** + +### aria-relevant? + +> `optional` **aria-relevant**: `"all"` \| `"text"` \| `"additions"` \| `"additions removals"` \| `"additions text"` \| `"removals"` \| `"removals additions"` \| `"removals text"` \| `"text additions"` \| `"text removals"` + +Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. + +#### See + +aria-atomic. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-relevant` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2753 + +*** + +### aria-required? + +> `optional` **aria-required**: `Booleanish` + +Indicates that user input is required on the element before a form may be submitted. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-required` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2766 + +*** + +### aria-roledescription? + +> `optional` **aria-roledescription**: `string` + +Defines a human-readable, author-localized description for the role of an element. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-roledescription` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2768 + +*** + +### aria-rowcount? + +> `optional` **aria-rowcount**: `number` + +Defines the total number of rows in a table, grid, or treegrid. + +#### See + +aria-rowindex. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-rowcount` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2773 + +*** + +### aria-rowindex? + +> `optional` **aria-rowindex**: `number` + +Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. + +#### See + + - aria-rowcount + - aria-rowspan. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-rowindex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2778 + +*** + +### aria-rowindextext? + +> `optional` **aria-rowindextext**: `string` + +Defines a human readable text alternative of aria-rowindex. + +#### See + +aria-colindextext. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-rowindextext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2783 + +*** + +### aria-rowspan? + +> `optional` **aria-rowspan**: `number` + +Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. + +#### See + + - aria-rowindex + - aria-colspan. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-rowspan` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2788 + +*** + +### aria-selected? + +> `optional` **aria-selected**: `Booleanish` + +Indicates the current "selected" state of various widgets. + +#### See + + - aria-checked + - aria-pressed. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-selected` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2793 + +*** + +### aria-setsize? + +> `optional` **aria-setsize**: `number` + +Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. + +#### See + +aria-posinset. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-setsize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2798 + +*** + +### aria-sort? + +> `optional` **aria-sort**: `"none"` \| `"ascending"` \| `"descending"` \| `"other"` + +Indicates if items in a table or grid are sorted in ascending or descending order. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-sort` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2800 + +*** + +### aria-valuemax? + +> `optional` **aria-valuemax**: `number` + +Defines the maximum allowed value for a range widget. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-valuemax` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2802 + +*** + +### aria-valuemin? + +> `optional` **aria-valuemin**: `number` + +Defines the minimum allowed value for a range widget. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-valuemin` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2804 + +*** + +### aria-valuenow? + +> `optional` **aria-valuenow**: `number` + +Defines the current value for a range widget. + +#### See + +aria-valuetext. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-valuenow` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2809 + +*** + +### aria-valuetext? + +> `optional` **aria-valuetext**: `string` + +Defines the human readable text alternative of aria-valuenow for a range widget. + +#### Inherited from + +`React.ButtonHTMLAttributes.aria-valuetext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2811 + +*** + +### asChild? + +> `optional` **asChild**: `boolean` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Button/index.tsx:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Button/index.tsx#L16) + +*** + +### autoCapitalize? + +> `optional` **autoCapitalize**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.autoCapitalize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2933 + +*** + +### autoCorrect? + +> `optional` **autoCorrect**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.autoCorrect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2934 + +*** + +### autoFocus? + +> `optional` **autoFocus**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.autoFocus` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2896 + +*** + +### autoSave? + +> `optional` **autoSave**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.autoSave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2935 + +*** + +### children? + +> `optional` **children**: `ReactNode` + +#### Inherited from + +`React.ButtonHTMLAttributes.children` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2379 + +*** + +### className? + +> `optional` **className**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.className` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2897 + +*** + +### color? + +> `optional` **color**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.color` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2936 + +*** + +### content? + +> `optional` **content**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.content` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2921 + +*** + +### contentEditable? + +> `optional` **contentEditable**: `"inherit"` \| `Booleanish` \| `"plaintext-only"` + +#### Inherited from + +`React.ButtonHTMLAttributes.contentEditable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2898 + +*** + +### contextMenu? + +> `optional` **contextMenu**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.contextMenu` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2899 + +*** + +### dangerouslySetInnerHTML? + +> `optional` **dangerouslySetInnerHTML**: `object` + +#### \_\_html + +> **\_\_html**: `string` \| `TrustedHTML` + +#### Inherited from + +`React.ButtonHTMLAttributes.dangerouslySetInnerHTML` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2380 + +*** + +### datatype? + +> `optional` **datatype**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.datatype` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2922 + +*** + +### defaultChecked? + +> `optional` **defaultChecked**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.defaultChecked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2889 + +*** + +### defaultValue? + +> `optional` **defaultValue**: `string` \| `number` \| readonly `string`[] + +#### Inherited from + +`React.ButtonHTMLAttributes.defaultValue` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2890 + +*** + +### dir? + +> `optional` **dir**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.dir` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2900 + +*** + +### disabled? + +> `optional` **disabled**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.disabled` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3135 + +*** + +### draggable? + +> `optional` **draggable**: `Booleanish` + +#### Inherited from + +`React.ButtonHTMLAttributes.draggable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2901 + +*** + +### form? + +> `optional` **form**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.form` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3136 + +*** + +### formAction? + +> `optional` **formAction**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.formAction` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3137 + +*** + +### formEncType? + +> `optional` **formEncType**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.formEncType` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3143 + +*** + +### formMethod? + +> `optional` **formMethod**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.formMethod` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3144 + +*** + +### formNoValidate? + +> `optional` **formNoValidate**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.formNoValidate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3145 + +*** + +### formTarget? + +> `optional` **formTarget**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.formTarget` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3146 + +*** + +### hidden? + +> `optional` **hidden**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.hidden` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2902 + +*** + +### id? + +> `optional` **id**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.id` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2903 + +*** + +### inlist? + +> `optional` **inlist**: `any` + +#### Inherited from + +`React.ButtonHTMLAttributes.inlist` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2923 + +*** + +### inputMode? + +> `optional` **inputMode**: `"search"` \| `"none"` \| `"text"` \| `"tel"` \| `"url"` \| `"email"` \| `"numeric"` \| `"decimal"` + +Hints at the type of data that might be entered by the user while editing the element or its contents + +#### See + +[https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute) + +#### Inherited from + +`React.ButtonHTMLAttributes.inputMode` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2951 + +*** + +### is? + +> `optional` **is**: `string` + +Specify that a standard HTML element should behave like a defined custom built-in element + +#### See + +[https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is](https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is) + +#### Inherited from + +`React.ButtonHTMLAttributes.is` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2956 + +*** + +### itemID? + +> `optional` **itemID**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.itemID` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2940 + +*** + +### itemProp? + +> `optional` **itemProp**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.itemProp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2937 + +*** + +### itemRef? + +> `optional` **itemRef**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.itemRef` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2941 + +*** + +### itemScope? + +> `optional` **itemScope**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.itemScope` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2938 + +*** + +### itemType? + +> `optional` **itemType**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.itemType` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2939 + +*** + +### lang? + +> `optional` **lang**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.lang` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2904 + +*** + +### leftIcon? + +> `optional` **leftIcon**: `ReactNode` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Button/index.tsx:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Button/index.tsx#L19) + +*** + +### loading? + +> `optional` **loading**: `boolean` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Button/index.tsx:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Button/index.tsx#L17) + +*** + +### name? + +> `optional` **name**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.name` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3147 + +*** + +### nonce? + +> `optional` **nonce**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.nonce` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2905 + +*** + +### onAbort? + +> `optional` **onAbort**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAbort` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2439 + +*** + +### onAbortCapture? + +> `optional` **onAbortCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAbortCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2440 + +*** + +### onAnimationEnd? + +> `optional` **onAnimationEnd**: `AnimationEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAnimationEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2569 + +*** + +### onAnimationEndCapture? + +> `optional` **onAnimationEndCapture**: `AnimationEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAnimationEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2570 + +*** + +### onAnimationIteration? + +> `optional` **onAnimationIteration**: `AnimationEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAnimationIteration` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2571 + +*** + +### onAnimationIterationCapture? + +> `optional` **onAnimationIterationCapture**: `AnimationEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAnimationIterationCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2572 + +*** + +### onAnimationStart? + +> `optional` **onAnimationStart**: `AnimationEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAnimationStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2567 + +*** + +### onAnimationStartCapture? + +> `optional` **onAnimationStartCapture**: `AnimationEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAnimationStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2568 + +*** + +### onAuxClick? + +> `optional` **onAuxClick**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAuxClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2487 + +*** + +### onAuxClickCapture? + +> `optional` **onAuxClickCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onAuxClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2488 + +*** + +### onBeforeInput? + +> `optional` **onBeforeInput**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onBeforeInput` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2411 + +*** + +### onBeforeInputCapture? + +> `optional` **onBeforeInputCapture**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onBeforeInputCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2412 + +*** + +### onBlur? + +> `optional` **onBlur**: `FocusEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onBlur` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2405 + +*** + +### onBlurCapture? + +> `optional` **onBlurCapture**: `FocusEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onBlurCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2406 + +*** + +### onCanPlay? + +> `optional` **onCanPlay**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCanPlay` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2441 + +*** + +### onCanPlayCapture? + +> `optional` **onCanPlayCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCanPlayCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2442 + +*** + +### onCanPlayThrough? + +> `optional` **onCanPlayThrough**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCanPlayThrough` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2443 + +*** + +### onCanPlayThroughCapture? + +> `optional` **onCanPlayThroughCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCanPlayThroughCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2444 + +*** + +### onChange? + +> `optional` **onChange**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2409 + +*** + +### onChangeCapture? + +> `optional` **onChangeCapture**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2410 + +*** + +### onClick? + +> `optional` **onClick**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2489 + +*** + +### onClickCapture? + +> `optional` **onClickCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2490 + +*** + +### onCompositionEnd? + +> `optional` **onCompositionEnd**: `CompositionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCompositionEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2395 + +*** + +### onCompositionEndCapture? + +> `optional` **onCompositionEndCapture**: `CompositionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCompositionEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2396 + +*** + +### onCompositionStart? + +> `optional` **onCompositionStart**: `CompositionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCompositionStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2397 + +*** + +### onCompositionStartCapture? + +> `optional` **onCompositionStartCapture**: `CompositionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCompositionStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2398 + +*** + +### onCompositionUpdate? + +> `optional` **onCompositionUpdate**: `CompositionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCompositionUpdate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2399 + +*** + +### onCompositionUpdateCapture? + +> `optional` **onCompositionUpdateCapture**: `CompositionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCompositionUpdateCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2400 + +*** + +### onContextMenu? + +> `optional` **onContextMenu**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onContextMenu` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2491 + +*** + +### onContextMenuCapture? + +> `optional` **onContextMenuCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onContextMenuCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2492 + +*** + +### onCopy? + +> `optional` **onCopy**: `ClipboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCopy` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2387 + +*** + +### onCopyCapture? + +> `optional` **onCopyCapture**: `ClipboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCopyCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2388 + +*** + +### onCut? + +> `optional` **onCut**: `ClipboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2389 + +*** + +### onCutCapture? + +> `optional` **onCutCapture**: `ClipboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onCutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2390 + +*** + +### onDoubleClick? + +> `optional` **onDoubleClick**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDoubleClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2493 + +*** + +### onDoubleClickCapture? + +> `optional` **onDoubleClickCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDoubleClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2494 + +*** + +### onDrag? + +> `optional` **onDrag**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDrag` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2495 + +*** + +### onDragCapture? + +> `optional` **onDragCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2496 + +*** + +### onDragEnd? + +> `optional` **onDragEnd**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2497 + +*** + +### onDragEndCapture? + +> `optional` **onDragEndCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2498 + +*** + +### onDragEnter? + +> `optional` **onDragEnter**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2499 + +*** + +### onDragEnterCapture? + +> `optional` **onDragEnterCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragEnterCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2500 + +*** + +### onDragExit? + +> `optional` **onDragExit**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragExit` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2501 + +*** + +### onDragExitCapture? + +> `optional` **onDragExitCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragExitCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2502 + +*** + +### onDragLeave? + +> `optional` **onDragLeave**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2503 + +*** + +### onDragLeaveCapture? + +> `optional` **onDragLeaveCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragLeaveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2504 + +*** + +### onDragOver? + +> `optional` **onDragOver**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2505 + +*** + +### onDragOverCapture? + +> `optional` **onDragOverCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2506 + +*** + +### onDragStart? + +> `optional` **onDragStart**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2507 + +*** + +### onDragStartCapture? + +> `optional` **onDragStartCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDragStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2508 + +*** + +### onDrop? + +> `optional` **onDrop**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDrop` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2509 + +*** + +### onDropCapture? + +> `optional` **onDropCapture**: `DragEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDropCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2510 + +*** + +### onDurationChange? + +> `optional` **onDurationChange**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDurationChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2445 + +*** + +### onDurationChangeCapture? + +> `optional` **onDurationChangeCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onDurationChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2446 + +*** + +### onEmptied? + +> `optional` **onEmptied**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onEmptied` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2447 + +*** + +### onEmptiedCapture? + +> `optional` **onEmptiedCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onEmptiedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2448 + +*** + +### onEncrypted? + +> `optional` **onEncrypted**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onEncrypted` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2449 + +*** + +### onEncryptedCapture? + +> `optional` **onEncryptedCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onEncryptedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2450 + +*** + +### onEnded? + +> `optional` **onEnded**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onEnded` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2451 + +*** + +### onEndedCapture? + +> `optional` **onEndedCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onEndedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2452 + +*** + +### onError? + +> `optional` **onError**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onError` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2425 + +*** + +### onErrorCapture? + +> `optional` **onErrorCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onErrorCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2426 + +*** + +### onFocus? + +> `optional` **onFocus**: `FocusEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onFocus` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2403 + +*** + +### onFocusCapture? + +> `optional` **onFocusCapture**: `FocusEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onFocusCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2404 + +*** + +### onGotPointerCapture? + +> `optional` **onGotPointerCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onGotPointerCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2553 + +*** + +### onGotPointerCaptureCapture? + +> `optional` **onGotPointerCaptureCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onGotPointerCaptureCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2554 + +*** + +### onInput? + +> `optional` **onInput**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onInput` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2413 + +*** + +### onInputCapture? + +> `optional` **onInputCapture**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onInputCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2414 + +*** + +### onInvalid? + +> `optional` **onInvalid**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onInvalid` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2419 + +*** + +### onInvalidCapture? + +> `optional` **onInvalidCapture**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onInvalidCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2420 + +*** + +### onKeyDown? + +> `optional` **onKeyDown**: `KeyboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onKeyDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2429 + +*** + +### onKeyDownCapture? + +> `optional` **onKeyDownCapture**: `KeyboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onKeyDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2430 + +*** + +### ~~onKeyPress?~~ + +> `optional` **onKeyPress**: `KeyboardEventHandler`\<`HTMLButtonElement`\> + +#### Deprecated + +#### Inherited from + +`React.ButtonHTMLAttributes.onKeyPress` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2432 + +*** + +### ~~onKeyPressCapture?~~ + +> `optional` **onKeyPressCapture**: `KeyboardEventHandler`\<`HTMLButtonElement`\> + +#### Deprecated + +#### Inherited from + +`React.ButtonHTMLAttributes.onKeyPressCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2434 + +*** + +### onKeyUp? + +> `optional` **onKeyUp**: `KeyboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onKeyUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2435 + +*** + +### onKeyUpCapture? + +> `optional` **onKeyUpCapture**: `KeyboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onKeyUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2436 + +*** + +### onLoad? + +> `optional` **onLoad**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoad` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2423 + +*** + +### onLoadCapture? + +> `optional` **onLoadCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoadCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2424 + +*** + +### onLoadedData? + +> `optional` **onLoadedData**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoadedData` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2453 + +*** + +### onLoadedDataCapture? + +> `optional` **onLoadedDataCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoadedDataCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2454 + +*** + +### onLoadedMetadata? + +> `optional` **onLoadedMetadata**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoadedMetadata` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2455 + +*** + +### onLoadedMetadataCapture? + +> `optional` **onLoadedMetadataCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoadedMetadataCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2456 + +*** + +### onLoadStart? + +> `optional` **onLoadStart**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoadStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2457 + +*** + +### onLoadStartCapture? + +> `optional` **onLoadStartCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLoadStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2458 + +*** + +### onLostPointerCapture? + +> `optional` **onLostPointerCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLostPointerCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2555 + +*** + +### onLostPointerCaptureCapture? + +> `optional` **onLostPointerCaptureCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onLostPointerCaptureCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2556 + +*** + +### onMouseDown? + +> `optional` **onMouseDown**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2511 + +*** + +### onMouseDownCapture? + +> `optional` **onMouseDownCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2512 + +*** + +### onMouseEnter? + +> `optional` **onMouseEnter**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2513 + +*** + +### onMouseLeave? + +> `optional` **onMouseLeave**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2514 + +*** + +### onMouseMove? + +> `optional` **onMouseMove**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2515 + +*** + +### onMouseMoveCapture? + +> `optional` **onMouseMoveCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2516 + +*** + +### onMouseOut? + +> `optional` **onMouseOut**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseOut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2517 + +*** + +### onMouseOutCapture? + +> `optional` **onMouseOutCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseOutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2518 + +*** + +### onMouseOver? + +> `optional` **onMouseOver**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2519 + +*** + +### onMouseOverCapture? + +> `optional` **onMouseOverCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2520 + +*** + +### onMouseUp? + +> `optional` **onMouseUp**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2521 + +*** + +### onMouseUpCapture? + +> `optional` **onMouseUpCapture**: `MouseEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onMouseUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2522 + +*** + +### onPaste? + +> `optional` **onPaste**: `ClipboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPaste` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2391 + +*** + +### onPasteCapture? + +> `optional` **onPasteCapture**: `ClipboardEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPasteCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2392 + +*** + +### onPause? + +> `optional` **onPause**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPause` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2459 + +*** + +### onPauseCapture? + +> `optional` **onPauseCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPauseCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2460 + +*** + +### onPlay? + +> `optional` **onPlay**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPlay` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2461 + +*** + +### onPlayCapture? + +> `optional` **onPlayCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPlayCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2462 + +*** + +### onPlaying? + +> `optional` **onPlaying**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPlaying` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2463 + +*** + +### onPlayingCapture? + +> `optional` **onPlayingCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPlayingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2464 + +*** + +### onPointerCancel? + +> `optional` **onPointerCancel**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerCancel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2545 + +*** + +### onPointerCancelCapture? + +> `optional` **onPointerCancelCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerCancelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2546 + +*** + +### onPointerDown? + +> `optional` **onPointerDown**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2539 + +*** + +### onPointerDownCapture? + +> `optional` **onPointerDownCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2540 + +*** + +### onPointerEnter? + +> `optional` **onPointerEnter**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2547 + +*** + +### onPointerLeave? + +> `optional` **onPointerLeave**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2548 + +*** + +### onPointerMove? + +> `optional` **onPointerMove**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2541 + +*** + +### onPointerMoveCapture? + +> `optional` **onPointerMoveCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2542 + +*** + +### onPointerOut? + +> `optional` **onPointerOut**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerOut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2551 + +*** + +### onPointerOutCapture? + +> `optional` **onPointerOutCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerOutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2552 + +*** + +### onPointerOver? + +> `optional` **onPointerOver**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2549 + +*** + +### onPointerOverCapture? + +> `optional` **onPointerOverCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2550 + +*** + +### onPointerUp? + +> `optional` **onPointerUp**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2543 + +*** + +### onPointerUpCapture? + +> `optional` **onPointerUpCapture**: `PointerEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onPointerUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2544 + +*** + +### onProgress? + +> `optional` **onProgress**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onProgress` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2465 + +*** + +### onProgressCapture? + +> `optional` **onProgressCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onProgressCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2466 + +*** + +### onRateChange? + +> `optional` **onRateChange**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onRateChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2467 + +*** + +### onRateChangeCapture? + +> `optional` **onRateChangeCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onRateChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2468 + +*** + +### onReset? + +> `optional` **onReset**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onReset` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2415 + +*** + +### onResetCapture? + +> `optional` **onResetCapture**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onResetCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2416 + +*** + +### onResize? + +> `optional` **onResize**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onResize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2469 + +*** + +### onResizeCapture? + +> `optional` **onResizeCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onResizeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2470 + +*** + +### onScroll? + +> `optional` **onScroll**: `UIEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onScroll` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2559 + +*** + +### onScrollCapture? + +> `optional` **onScrollCapture**: `UIEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onScrollCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2560 + +*** + +### onSeeked? + +> `optional` **onSeeked**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSeeked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2471 + +*** + +### onSeekedCapture? + +> `optional` **onSeekedCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSeekedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2472 + +*** + +### onSeeking? + +> `optional` **onSeeking**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSeeking` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2473 + +*** + +### onSeekingCapture? + +> `optional` **onSeekingCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSeekingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2474 + +*** + +### onSelect? + +> `optional` **onSelect**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSelect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2525 + +*** + +### onSelectCapture? + +> `optional` **onSelectCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSelectCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2526 + +*** + +### onStalled? + +> `optional` **onStalled**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onStalled` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2475 + +*** + +### onStalledCapture? + +> `optional` **onStalledCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onStalledCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2476 + +*** + +### onSubmit? + +> `optional` **onSubmit**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSubmit` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2417 + +*** + +### onSubmitCapture? + +> `optional` **onSubmitCapture**: `FormEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSubmitCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2418 + +*** + +### onSuspend? + +> `optional` **onSuspend**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSuspend` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2477 + +*** + +### onSuspendCapture? + +> `optional` **onSuspendCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onSuspendCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2478 + +*** + +### onTimeUpdate? + +> `optional` **onTimeUpdate**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTimeUpdate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2479 + +*** + +### onTimeUpdateCapture? + +> `optional` **onTimeUpdateCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTimeUpdateCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2480 + +*** + +### onTouchCancel? + +> `optional` **onTouchCancel**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchCancel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2529 + +*** + +### onTouchCancelCapture? + +> `optional` **onTouchCancelCapture**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchCancelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2530 + +*** + +### onTouchEnd? + +> `optional` **onTouchEnd**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2531 + +*** + +### onTouchEndCapture? + +> `optional` **onTouchEndCapture**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2532 + +*** + +### onTouchMove? + +> `optional` **onTouchMove**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2533 + +*** + +### onTouchMoveCapture? + +> `optional` **onTouchMoveCapture**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2534 + +*** + +### onTouchStart? + +> `optional` **onTouchStart**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2535 + +*** + +### onTouchStartCapture? + +> `optional` **onTouchStartCapture**: `TouchEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTouchStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2536 + +*** + +### onTransitionEnd? + +> `optional` **onTransitionEnd**: `TransitionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTransitionEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2575 + +*** + +### onTransitionEndCapture? + +> `optional` **onTransitionEndCapture**: `TransitionEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onTransitionEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2576 + +*** + +### onVolumeChange? + +> `optional` **onVolumeChange**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onVolumeChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2481 + +*** + +### onVolumeChangeCapture? + +> `optional` **onVolumeChangeCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onVolumeChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2482 + +*** + +### onWaiting? + +> `optional` **onWaiting**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onWaiting` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2483 + +*** + +### onWaitingCapture? + +> `optional` **onWaitingCapture**: `ReactEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onWaitingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2484 + +*** + +### onWheel? + +> `optional` **onWheel**: `WheelEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onWheel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2563 + +*** + +### onWheelCapture? + +> `optional` **onWheelCapture**: `WheelEventHandler`\<`HTMLButtonElement`\> + +#### Inherited from + +`React.ButtonHTMLAttributes.onWheelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2564 + +*** + +### prefix? + +> `optional` **prefix**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.prefix` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2924 + +*** + +### property? + +> `optional` **property**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.property` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2925 + +*** + +### radioGroup? + +> `optional` **radioGroup**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.radioGroup` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2914 + +*** + +### rel? + +> `optional` **rel**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.rel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2926 + +*** + +### resource? + +> `optional` **resource**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.resource` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2927 + +*** + +### results? + +> `optional` **results**: `number` + +#### Inherited from + +`React.ButtonHTMLAttributes.results` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2942 + +*** + +### rev? + +> `optional` **rev**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.rev` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2928 + +*** + +### rightIcon? + +> `optional` **rightIcon**: `ReactNode` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Button/index.tsx:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Button/index.tsx#L18) + +*** + +### role? + +> `optional` **role**: `AriaRole` + +#### Inherited from + +`React.ButtonHTMLAttributes.role` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2917 + +*** + +### security? + +> `optional` **security**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.security` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2943 + +*** + +### size? + +> `optional` **size**: `ButtonSize` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Button/index.tsx:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Button/index.tsx#L15) + +*** + +### slot? + +> `optional` **slot**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.slot` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2906 + +*** + +### spellCheck? + +> `optional` **spellCheck**: `Booleanish` + +#### Inherited from + +`React.ButtonHTMLAttributes.spellCheck` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2907 + +*** + +### style? + +> `optional` **style**: `CSSProperties` + +#### Inherited from + +`React.ButtonHTMLAttributes.style` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2908 + +*** + +### suppressContentEditableWarning? + +> `optional` **suppressContentEditableWarning**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.suppressContentEditableWarning` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2891 + +*** + +### suppressHydrationWarning? + +> `optional` **suppressHydrationWarning**: `boolean` + +#### Inherited from + +`React.ButtonHTMLAttributes.suppressHydrationWarning` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2892 + +*** + +### tabIndex? + +> `optional` **tabIndex**: `number` + +#### Inherited from + +`React.ButtonHTMLAttributes.tabIndex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2909 + +*** + +### title? + +> `optional` **title**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.title` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2910 + +*** + +### translate? + +> `optional` **translate**: `"yes"` \| `"no"` + +#### Inherited from + +`React.ButtonHTMLAttributes.translate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2911 + +*** + +### type? + +> `optional` **type**: `"button"` \| `"reset"` \| `"submit"` + +#### Inherited from + +`React.ButtonHTMLAttributes.type` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3148 + +*** + +### typeof? + +> `optional` **typeof**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.typeof` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2929 + +*** + +### unselectable? + +> `optional` **unselectable**: `"on"` \| `"off"` + +#### Inherited from + +`React.ButtonHTMLAttributes.unselectable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2944 + +*** + +### value? + +> `optional` **value**: `string` \| `number` \| readonly `string`[] + +#### Inherited from + +`React.ButtonHTMLAttributes.value` + +#### Defined in + +node\_modules/@types/react/index.d.ts:3149 + +*** + +### variant? + +> `optional` **variant**: `ButtonVariant` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Button/index.tsx:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Button/index.tsx#L14) + +*** + +### vocab? + +> `optional` **vocab**: `string` + +#### Inherited from + +`React.ButtonHTMLAttributes.vocab` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2930 diff --git a/docs/sdk/JustWeb3 UI/interfaces/DialogContentProps.md b/docs/sdk/JustWeb3 UI/interfaces/DialogContentProps.md new file mode 100644 index 00000000..595b612a --- /dev/null +++ b/docs/sdk/JustWeb3 UI/interfaces/DialogContentProps.md @@ -0,0 +1,4170 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / DialogContentProps + +# Interface: DialogContentProps + +## Extends + +- `ComponentPropsWithoutRef`\<*typeof* `DialogPrimitive.Content`\> + +## Properties + +### about? + +> `optional` **about**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.about` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2920 + +*** + +### accessKey? + +> `optional` **accessKey**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.accessKey` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2895 + +*** + +### aria-activedescendant? + +> `optional` **aria-activedescendant**: `string` + +Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-activedescendant` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2593 + +*** + +### aria-atomic? + +> `optional` **aria-atomic**: `Booleanish` + +Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-atomic` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2595 + +*** + +### aria-autocomplete? + +> `optional` **aria-autocomplete**: `"none"` \| `"both"` \| `"inline"` \| `"list"` + +Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be +presented if they are made. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-autocomplete` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2600 + +*** + +### aria-braillelabel? + +> `optional` **aria-braillelabel**: `string` + +Defines a string value that labels the current element, which is intended to be converted into Braille. + +#### See + +aria-label. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-braillelabel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2606 + +*** + +### aria-brailleroledescription? + +> `optional` **aria-brailleroledescription**: `string` + +Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. + +#### See + +aria-roledescription. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-brailleroledescription` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2611 + +*** + +### aria-busy? + +> `optional` **aria-busy**: `Booleanish` + +#### Inherited from + +`ComponentPropsWithoutRef.aria-busy` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2612 + +*** + +### aria-checked? + +> `optional` **aria-checked**: `boolean` \| `"mixed"` \| `"false"` \| `"true"` + +Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. + +#### See + + - aria-pressed + - aria-selected. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-checked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2617 + +*** + +### aria-colcount? + +> `optional` **aria-colcount**: `number` + +Defines the total number of columns in a table, grid, or treegrid. + +#### See + +aria-colindex. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-colcount` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2622 + +*** + +### aria-colindex? + +> `optional` **aria-colindex**: `number` + +Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. + +#### See + + - aria-colcount + - aria-colspan. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-colindex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2627 + +*** + +### aria-colindextext? + +> `optional` **aria-colindextext**: `string` + +Defines a human readable text alternative of aria-colindex. + +#### See + +aria-rowindextext. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-colindextext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2632 + +*** + +### aria-colspan? + +> `optional` **aria-colspan**: `number` + +Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. + +#### See + + - aria-colindex + - aria-rowspan. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-colspan` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2637 + +*** + +### aria-controls? + +> `optional` **aria-controls**: `string` + +Identifies the element (or elements) whose contents or presence are controlled by the current element. + +#### See + +aria-owns. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-controls` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2642 + +*** + +### aria-current? + +> `optional` **aria-current**: `boolean` \| `"page"` \| `"false"` \| `"true"` \| `"step"` \| `"date"` \| `"time"` \| `"location"` + +Indicates the element that represents the current item within a container or set of related elements. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-current` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2644 + +*** + +### aria-describedby? + +> `optional` **aria-describedby**: `string` + +Identifies the element (or elements) that describes the object. + +#### See + +aria-labelledby + +#### Inherited from + +`ComponentPropsWithoutRef.aria-describedby` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2649 + +*** + +### aria-description? + +> `optional` **aria-description**: `string` + +Defines a string value that describes or annotates the current element. + +#### See + +related aria-describedby. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-description` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2654 + +*** + +### aria-details? + +> `optional` **aria-details**: `string` + +Identifies the element that provides a detailed, extended description for the object. + +#### See + +aria-describedby. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-details` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2659 + +*** + +### aria-disabled? + +> `optional` **aria-disabled**: `Booleanish` + +Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. + +#### See + + - aria-hidden + - aria-readonly. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-disabled` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2664 + +*** + +### ~~aria-dropeffect?~~ + +> `optional` **aria-dropeffect**: `"link"` \| `"none"` \| `"copy"` \| `"move"` \| `"execute"` \| `"popup"` + +Indicates what functions can be performed when a dragged object is released on the drop target. + +#### Deprecated + +in ARIA 1.1 + +#### Inherited from + +`ComponentPropsWithoutRef.aria-dropeffect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2669 + +*** + +### aria-errormessage? + +> `optional` **aria-errormessage**: `string` + +Identifies the element that provides an error message for the object. + +#### See + + - aria-invalid + - aria-describedby. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-errormessage` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2674 + +*** + +### aria-expanded? + +> `optional` **aria-expanded**: `Booleanish` + +Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-expanded` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2676 + +*** + +### aria-flowto? + +> `optional` **aria-flowto**: `string` + +Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, +allows assistive technology to override the general default of reading in document source order. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-flowto` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2681 + +*** + +### ~~aria-grabbed?~~ + +> `optional` **aria-grabbed**: `Booleanish` + +Indicates an element's "grabbed" state in a drag-and-drop operation. + +#### Deprecated + +in ARIA 1.1 + +#### Inherited from + +`ComponentPropsWithoutRef.aria-grabbed` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2686 + +*** + +### aria-haspopup? + +> `optional` **aria-haspopup**: `boolean` \| `"listbox"` \| `"grid"` \| `"menu"` \| `"false"` \| `"true"` \| `"dialog"` \| `"tree"` + +Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-haspopup` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2688 + +*** + +### aria-hidden? + +> `optional` **aria-hidden**: `Booleanish` + +Indicates whether the element is exposed to an accessibility API. + +#### See + +aria-disabled. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-hidden` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2693 + +*** + +### aria-invalid? + +> `optional` **aria-invalid**: `boolean` \| `"false"` \| `"true"` \| `"grammar"` \| `"spelling"` + +Indicates the entered value does not conform to the format expected by the application. + +#### See + +aria-errormessage. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-invalid` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2698 + +*** + +### aria-keyshortcuts? + +> `optional` **aria-keyshortcuts**: `string` + +Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-keyshortcuts` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2700 + +*** + +### aria-label? + +> `optional` **aria-label**: `string` + +Defines a string value that labels the current element. + +#### See + +aria-labelledby. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-label` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2705 + +*** + +### aria-labelledby? + +> `optional` **aria-labelledby**: `string` + +Identifies the element (or elements) that labels the current element. + +#### See + +aria-describedby. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-labelledby` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2710 + +*** + +### aria-level? + +> `optional` **aria-level**: `number` + +Defines the hierarchical level of an element within a structure. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-level` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2712 + +*** + +### aria-live? + +> `optional` **aria-live**: `"off"` \| `"assertive"` \| `"polite"` + +Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-live` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2714 + +*** + +### aria-modal? + +> `optional` **aria-modal**: `Booleanish` + +Indicates whether an element is modal when displayed. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-modal` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2716 + +*** + +### aria-multiline? + +> `optional` **aria-multiline**: `Booleanish` + +Indicates whether a text box accepts multiple lines of input or only a single line. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-multiline` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2718 + +*** + +### aria-multiselectable? + +> `optional` **aria-multiselectable**: `Booleanish` + +Indicates that the user may select more than one item from the current selectable descendants. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-multiselectable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2720 + +*** + +### aria-orientation? + +> `optional` **aria-orientation**: `"horizontal"` \| `"vertical"` + +Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-orientation` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2722 + +*** + +### aria-owns? + +> `optional` **aria-owns**: `string` + +Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship +between DOM elements where the DOM hierarchy cannot be used to represent the relationship. + +#### See + +aria-controls. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-owns` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2728 + +*** + +### aria-placeholder? + +> `optional` **aria-placeholder**: `string` + +Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. +A hint could be a sample value or a brief description of the expected format. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-placeholder` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2733 + +*** + +### aria-posinset? + +> `optional` **aria-posinset**: `number` + +Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. + +#### See + +aria-setsize. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-posinset` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2738 + +*** + +### aria-pressed? + +> `optional` **aria-pressed**: `boolean` \| `"mixed"` \| `"false"` \| `"true"` + +Indicates the current "pressed" state of toggle buttons. + +#### See + + - aria-checked + - aria-selected. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-pressed` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2743 + +*** + +### aria-readonly? + +> `optional` **aria-readonly**: `Booleanish` + +Indicates that the element is not editable, but is otherwise operable. + +#### See + +aria-disabled. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-readonly` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2748 + +*** + +### aria-relevant? + +> `optional` **aria-relevant**: `"all"` \| `"text"` \| `"additions"` \| `"additions removals"` \| `"additions text"` \| `"removals"` \| `"removals additions"` \| `"removals text"` \| `"text additions"` \| `"text removals"` + +Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. + +#### See + +aria-atomic. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-relevant` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2753 + +*** + +### aria-required? + +> `optional` **aria-required**: `Booleanish` + +Indicates that user input is required on the element before a form may be submitted. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-required` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2766 + +*** + +### aria-roledescription? + +> `optional` **aria-roledescription**: `string` + +Defines a human-readable, author-localized description for the role of an element. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-roledescription` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2768 + +*** + +### aria-rowcount? + +> `optional` **aria-rowcount**: `number` + +Defines the total number of rows in a table, grid, or treegrid. + +#### See + +aria-rowindex. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-rowcount` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2773 + +*** + +### aria-rowindex? + +> `optional` **aria-rowindex**: `number` + +Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. + +#### See + + - aria-rowcount + - aria-rowspan. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-rowindex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2778 + +*** + +### aria-rowindextext? + +> `optional` **aria-rowindextext**: `string` + +Defines a human readable text alternative of aria-rowindex. + +#### See + +aria-colindextext. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-rowindextext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2783 + +*** + +### aria-rowspan? + +> `optional` **aria-rowspan**: `number` + +Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. + +#### See + + - aria-rowindex + - aria-colspan. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-rowspan` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2788 + +*** + +### aria-selected? + +> `optional` **aria-selected**: `Booleanish` + +Indicates the current "selected" state of various widgets. + +#### See + + - aria-checked + - aria-pressed. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-selected` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2793 + +*** + +### aria-setsize? + +> `optional` **aria-setsize**: `number` + +Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. + +#### See + +aria-posinset. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-setsize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2798 + +*** + +### aria-sort? + +> `optional` **aria-sort**: `"none"` \| `"ascending"` \| `"descending"` \| `"other"` + +Indicates if items in a table or grid are sorted in ascending or descending order. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-sort` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2800 + +*** + +### aria-valuemax? + +> `optional` **aria-valuemax**: `number` + +Defines the maximum allowed value for a range widget. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-valuemax` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2802 + +*** + +### aria-valuemin? + +> `optional` **aria-valuemin**: `number` + +Defines the minimum allowed value for a range widget. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-valuemin` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2804 + +*** + +### aria-valuenow? + +> `optional` **aria-valuenow**: `number` + +Defines the current value for a range widget. + +#### See + +aria-valuetext. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-valuenow` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2809 + +*** + +### aria-valuetext? + +> `optional` **aria-valuetext**: `string` + +Defines the human readable text alternative of aria-valuenow for a range widget. + +#### Inherited from + +`ComponentPropsWithoutRef.aria-valuetext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2811 + +*** + +### asChild? + +> `optional` **asChild**: `boolean` + +#### Inherited from + +`ComponentPropsWithoutRef.asChild` + +#### Defined in + +node\_modules/@radix-ui/react-primitive/dist/index.d.ts:8 + +*** + +### autoCapitalize? + +> `optional` **autoCapitalize**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.autoCapitalize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2933 + +*** + +### autoCorrect? + +> `optional` **autoCorrect**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.autoCorrect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2934 + +*** + +### autoFocus? + +> `optional` **autoFocus**: `boolean` + +#### Inherited from + +`ComponentPropsWithoutRef.autoFocus` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2896 + +*** + +### autoSave? + +> `optional` **autoSave**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.autoSave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2935 + +*** + +### children? + +> `optional` **children**: `ReactNode` + +#### Inherited from + +`ComponentPropsWithoutRef.children` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2379 + +*** + +### className? + +> `optional` **className**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.className` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2897 + +*** + +### color? + +> `optional` **color**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.color` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2936 + +*** + +### content? + +> `optional` **content**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.content` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2921 + +*** + +### contentEditable? + +> `optional` **contentEditable**: `"inherit"` \| `Booleanish` \| `"plaintext-only"` + +#### Inherited from + +`ComponentPropsWithoutRef.contentEditable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2898 + +*** + +### contextMenu? + +> `optional` **contextMenu**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.contextMenu` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2899 + +*** + +### dangerouslySetInnerHTML? + +> `optional` **dangerouslySetInnerHTML**: `object` + +#### \_\_html + +> **\_\_html**: `string` \| `TrustedHTML` + +#### Inherited from + +`ComponentPropsWithoutRef.dangerouslySetInnerHTML` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2380 + +*** + +### datatype? + +> `optional` **datatype**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.datatype` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2922 + +*** + +### defaultChecked? + +> `optional` **defaultChecked**: `boolean` + +#### Inherited from + +`ComponentPropsWithoutRef.defaultChecked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2889 + +*** + +### defaultValue? + +> `optional` **defaultValue**: `string` \| `number` \| readonly `string`[] + +#### Inherited from + +`ComponentPropsWithoutRef.defaultValue` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2890 + +*** + +### dir? + +> `optional` **dir**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.dir` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2900 + +*** + +### disableOverlay? + +> `optional` **disableOverlay**: `boolean` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L20) + +*** + +### draggable? + +> `optional` **draggable**: `Booleanish` + +#### Inherited from + +`ComponentPropsWithoutRef.draggable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2901 + +*** + +### forceMount? + +> `optional` **forceMount**: `true` + +Used to force mounting when more control is needed. Useful when +controlling animation with React animation libraries. + +#### Inherited from + +`ComponentPropsWithoutRef.forceMount` + +#### Defined in + +node\_modules/@radix-ui/react-dialog/dist/index.d.ts:61 + +*** + +### fullScreen? + +> `optional` **fullScreen**: `boolean` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Dialog/index.tsx#L19) + +*** + +### hidden? + +> `optional` **hidden**: `boolean` + +#### Inherited from + +`ComponentPropsWithoutRef.hidden` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2902 + +*** + +### id? + +> `optional` **id**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.id` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2903 + +*** + +### inlist? + +> `optional` **inlist**: `any` + +#### Inherited from + +`ComponentPropsWithoutRef.inlist` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2923 + +*** + +### inputMode? + +> `optional` **inputMode**: `"search"` \| `"none"` \| `"text"` \| `"tel"` \| `"url"` \| `"email"` \| `"numeric"` \| `"decimal"` + +Hints at the type of data that might be entered by the user while editing the element or its contents + +#### See + +[https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute) + +#### Inherited from + +`ComponentPropsWithoutRef.inputMode` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2951 + +*** + +### is? + +> `optional` **is**: `string` + +Specify that a standard HTML element should behave like a defined custom built-in element + +#### See + +[https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is](https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is) + +#### Inherited from + +`ComponentPropsWithoutRef.is` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2956 + +*** + +### itemID? + +> `optional` **itemID**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.itemID` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2940 + +*** + +### itemProp? + +> `optional` **itemProp**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.itemProp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2937 + +*** + +### itemRef? + +> `optional` **itemRef**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.itemRef` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2941 + +*** + +### itemScope? + +> `optional` **itemScope**: `boolean` + +#### Inherited from + +`ComponentPropsWithoutRef.itemScope` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2938 + +*** + +### itemType? + +> `optional` **itemType**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.itemType` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2939 + +*** + +### key? + +> `optional` **key**: `null` \| `Key` + +#### Inherited from + +`ComponentPropsWithoutRef.key` + +#### Defined in + +node\_modules/@types/react/index.d.ts:261 + +*** + +### lang? + +> `optional` **lang**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.lang` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2904 + +*** + +### nonce? + +> `optional` **nonce**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.nonce` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2905 + +*** + +### onAbort? + +> `optional` **onAbort**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAbort` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2439 + +*** + +### onAbortCapture? + +> `optional` **onAbortCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAbortCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2440 + +*** + +### onAnimationEnd? + +> `optional` **onAnimationEnd**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAnimationEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2569 + +*** + +### onAnimationEndCapture? + +> `optional` **onAnimationEndCapture**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAnimationEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2570 + +*** + +### onAnimationIteration? + +> `optional` **onAnimationIteration**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAnimationIteration` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2571 + +*** + +### onAnimationIterationCapture? + +> `optional` **onAnimationIterationCapture**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAnimationIterationCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2572 + +*** + +### onAnimationStart? + +> `optional` **onAnimationStart**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAnimationStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2567 + +*** + +### onAnimationStartCapture? + +> `optional` **onAnimationStartCapture**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAnimationStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2568 + +*** + +### onAuxClick? + +> `optional` **onAuxClick**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAuxClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2487 + +*** + +### onAuxClickCapture? + +> `optional` **onAuxClickCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onAuxClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2488 + +*** + +### onBeforeInput? + +> `optional` **onBeforeInput**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onBeforeInput` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2411 + +*** + +### onBeforeInputCapture? + +> `optional` **onBeforeInputCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onBeforeInputCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2412 + +*** + +### onBlur? + +> `optional` **onBlur**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onBlur` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2405 + +*** + +### onBlurCapture? + +> `optional` **onBlurCapture**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onBlurCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2406 + +*** + +### onCanPlay? + +> `optional` **onCanPlay**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCanPlay` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2441 + +*** + +### onCanPlayCapture? + +> `optional` **onCanPlayCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCanPlayCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2442 + +*** + +### onCanPlayThrough? + +> `optional` **onCanPlayThrough**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCanPlayThrough` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2443 + +*** + +### onCanPlayThroughCapture? + +> `optional` **onCanPlayThroughCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCanPlayThroughCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2444 + +*** + +### onChange? + +> `optional` **onChange**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2409 + +*** + +### onChangeCapture? + +> `optional` **onChangeCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2410 + +*** + +### onClick? + +> `optional` **onClick**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2489 + +*** + +### onClickCapture? + +> `optional` **onClickCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2490 + +*** + +### onCloseAutoFocus()? + +> `optional` **onCloseAutoFocus**: (`event`) => `void` + +Event handler called when auto-focusing on close. +Can be prevented. + +#### Parameters + +• **event**: `Event` + +#### Returns + +`void` + +#### Inherited from + +`ComponentPropsWithoutRef.onCloseAutoFocus` + +#### Defined in + +node\_modules/@radix-ui/react-dialog/dist/index.d.ts:84 + +*** + +### onCompositionEnd? + +> `optional` **onCompositionEnd**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCompositionEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2395 + +*** + +### onCompositionEndCapture? + +> `optional` **onCompositionEndCapture**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCompositionEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2396 + +*** + +### onCompositionStart? + +> `optional` **onCompositionStart**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCompositionStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2397 + +*** + +### onCompositionStartCapture? + +> `optional` **onCompositionStartCapture**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCompositionStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2398 + +*** + +### onCompositionUpdate? + +> `optional` **onCompositionUpdate**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCompositionUpdate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2399 + +*** + +### onCompositionUpdateCapture? + +> `optional` **onCompositionUpdateCapture**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCompositionUpdateCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2400 + +*** + +### onContextMenu? + +> `optional` **onContextMenu**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onContextMenu` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2491 + +*** + +### onContextMenuCapture? + +> `optional` **onContextMenuCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onContextMenuCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2492 + +*** + +### onCopy? + +> `optional` **onCopy**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCopy` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2387 + +*** + +### onCopyCapture? + +> `optional` **onCopyCapture**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCopyCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2388 + +*** + +### onCut? + +> `optional` **onCut**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2389 + +*** + +### onCutCapture? + +> `optional` **onCutCapture**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onCutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2390 + +*** + +### onDoubleClick? + +> `optional` **onDoubleClick**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDoubleClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2493 + +*** + +### onDoubleClickCapture? + +> `optional` **onDoubleClickCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDoubleClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2494 + +*** + +### onDrag? + +> `optional` **onDrag**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDrag` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2495 + +*** + +### onDragCapture? + +> `optional` **onDragCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2496 + +*** + +### onDragEnd? + +> `optional` **onDragEnd**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2497 + +*** + +### onDragEndCapture? + +> `optional` **onDragEndCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2498 + +*** + +### onDragEnter? + +> `optional` **onDragEnter**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2499 + +*** + +### onDragEnterCapture? + +> `optional` **onDragEnterCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragEnterCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2500 + +*** + +### onDragExit? + +> `optional` **onDragExit**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragExit` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2501 + +*** + +### onDragExitCapture? + +> `optional` **onDragExitCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragExitCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2502 + +*** + +### onDragLeave? + +> `optional` **onDragLeave**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2503 + +*** + +### onDragLeaveCapture? + +> `optional` **onDragLeaveCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragLeaveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2504 + +*** + +### onDragOver? + +> `optional` **onDragOver**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2505 + +*** + +### onDragOverCapture? + +> `optional` **onDragOverCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2506 + +*** + +### onDragStart? + +> `optional` **onDragStart**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2507 + +*** + +### onDragStartCapture? + +> `optional` **onDragStartCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDragStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2508 + +*** + +### onDrop? + +> `optional` **onDrop**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDrop` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2509 + +*** + +### onDropCapture? + +> `optional` **onDropCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDropCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2510 + +*** + +### onDurationChange? + +> `optional` **onDurationChange**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDurationChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2445 + +*** + +### onDurationChangeCapture? + +> `optional` **onDurationChangeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onDurationChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2446 + +*** + +### onEmptied? + +> `optional` **onEmptied**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onEmptied` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2447 + +*** + +### onEmptiedCapture? + +> `optional` **onEmptiedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onEmptiedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2448 + +*** + +### onEncrypted? + +> `optional` **onEncrypted**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onEncrypted` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2449 + +*** + +### onEncryptedCapture? + +> `optional` **onEncryptedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onEncryptedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2450 + +*** + +### onEnded? + +> `optional` **onEnded**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onEnded` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2451 + +*** + +### onEndedCapture? + +> `optional` **onEndedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onEndedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2452 + +*** + +### onError? + +> `optional` **onError**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onError` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2425 + +*** + +### onErrorCapture? + +> `optional` **onErrorCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onErrorCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2426 + +*** + +### onEscapeKeyDown()? + +> `optional` **onEscapeKeyDown**: (`event`) => `void` + +Event handler called when the escape key is down. +Can be prevented. + +#### Parameters + +• **event**: `KeyboardEvent` + +#### Returns + +`void` + +#### Inherited from + +`ComponentPropsWithoutRef.onEscapeKeyDown` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:16 + +*** + +### onFocus? + +> `optional` **onFocus**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onFocus` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2403 + +*** + +### onFocusCapture? + +> `optional` **onFocusCapture**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onFocusCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2404 + +*** + +### onFocusOutside()? + +> `optional` **onFocusOutside**: (`event`) => `void` + +Event handler called when the focus moves outside of the `DismissableLayer`. +Can be prevented. + +#### Parameters + +• **event**: `FocusOutsideEvent` + +#### Returns + +`void` + +#### Inherited from + +`ComponentPropsWithoutRef.onFocusOutside` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:26 + +*** + +### onGotPointerCapture? + +> `optional` **onGotPointerCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onGotPointerCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2553 + +*** + +### onGotPointerCaptureCapture? + +> `optional` **onGotPointerCaptureCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onGotPointerCaptureCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2554 + +*** + +### onInput? + +> `optional` **onInput**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onInput` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2413 + +*** + +### onInputCapture? + +> `optional` **onInputCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onInputCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2414 + +*** + +### onInteractOutside()? + +> `optional` **onInteractOutside**: (`event`) => `void` + +Event handler called when an interaction happens outside the `DismissableLayer`. +Specifically, when a `pointerdown` event happens outside or focus moves outside of it. +Can be prevented. + +#### Parameters + +• **event**: `PointerDownOutsideEvent` \| `FocusOutsideEvent` + +#### Returns + +`void` + +#### Inherited from + +`ComponentPropsWithoutRef.onInteractOutside` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:32 + +*** + +### onInvalid? + +> `optional` **onInvalid**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onInvalid` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2419 + +*** + +### onInvalidCapture? + +> `optional` **onInvalidCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onInvalidCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2420 + +*** + +### onKeyDown? + +> `optional` **onKeyDown**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onKeyDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2429 + +*** + +### onKeyDownCapture? + +> `optional` **onKeyDownCapture**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onKeyDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2430 + +*** + +### ~~onKeyPress?~~ + +> `optional` **onKeyPress**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Deprecated + +#### Inherited from + +`ComponentPropsWithoutRef.onKeyPress` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2432 + +*** + +### ~~onKeyPressCapture?~~ + +> `optional` **onKeyPressCapture**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Deprecated + +#### Inherited from + +`ComponentPropsWithoutRef.onKeyPressCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2434 + +*** + +### onKeyUp? + +> `optional` **onKeyUp**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onKeyUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2435 + +*** + +### onKeyUpCapture? + +> `optional` **onKeyUpCapture**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onKeyUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2436 + +*** + +### onLoad? + +> `optional` **onLoad**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoad` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2423 + +*** + +### onLoadCapture? + +> `optional` **onLoadCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoadCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2424 + +*** + +### onLoadedData? + +> `optional` **onLoadedData**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoadedData` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2453 + +*** + +### onLoadedDataCapture? + +> `optional` **onLoadedDataCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoadedDataCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2454 + +*** + +### onLoadedMetadata? + +> `optional` **onLoadedMetadata**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoadedMetadata` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2455 + +*** + +### onLoadedMetadataCapture? + +> `optional` **onLoadedMetadataCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoadedMetadataCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2456 + +*** + +### onLoadStart? + +> `optional` **onLoadStart**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoadStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2457 + +*** + +### onLoadStartCapture? + +> `optional` **onLoadStartCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLoadStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2458 + +*** + +### onLostPointerCapture? + +> `optional` **onLostPointerCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLostPointerCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2555 + +*** + +### onLostPointerCaptureCapture? + +> `optional` **onLostPointerCaptureCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onLostPointerCaptureCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2556 + +*** + +### onMouseDown? + +> `optional` **onMouseDown**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2511 + +*** + +### onMouseDownCapture? + +> `optional` **onMouseDownCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2512 + +*** + +### onMouseEnter? + +> `optional` **onMouseEnter**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2513 + +*** + +### onMouseLeave? + +> `optional` **onMouseLeave**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2514 + +*** + +### onMouseMove? + +> `optional` **onMouseMove**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2515 + +*** + +### onMouseMoveCapture? + +> `optional` **onMouseMoveCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2516 + +*** + +### onMouseOut? + +> `optional` **onMouseOut**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseOut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2517 + +*** + +### onMouseOutCapture? + +> `optional` **onMouseOutCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseOutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2518 + +*** + +### onMouseOver? + +> `optional` **onMouseOver**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2519 + +*** + +### onMouseOverCapture? + +> `optional` **onMouseOverCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2520 + +*** + +### onMouseUp? + +> `optional` **onMouseUp**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2521 + +*** + +### onMouseUpCapture? + +> `optional` **onMouseUpCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onMouseUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2522 + +*** + +### onOpenAutoFocus()? + +> `optional` **onOpenAutoFocus**: (`event`) => `void` + +Event handler called when auto-focusing on open. +Can be prevented. + +#### Parameters + +• **event**: `Event` + +#### Returns + +`void` + +#### Inherited from + +`ComponentPropsWithoutRef.onOpenAutoFocus` + +#### Defined in + +node\_modules/@radix-ui/react-dialog/dist/index.d.ts:79 + +*** + +### onPaste? + +> `optional` **onPaste**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPaste` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2391 + +*** + +### onPasteCapture? + +> `optional` **onPasteCapture**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPasteCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2392 + +*** + +### onPause? + +> `optional` **onPause**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPause` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2459 + +*** + +### onPauseCapture? + +> `optional` **onPauseCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPauseCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2460 + +*** + +### onPlay? + +> `optional` **onPlay**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPlay` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2461 + +*** + +### onPlayCapture? + +> `optional` **onPlayCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPlayCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2462 + +*** + +### onPlaying? + +> `optional` **onPlaying**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPlaying` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2463 + +*** + +### onPlayingCapture? + +> `optional` **onPlayingCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPlayingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2464 + +*** + +### onPointerCancel? + +> `optional` **onPointerCancel**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerCancel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2545 + +*** + +### onPointerCancelCapture? + +> `optional` **onPointerCancelCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerCancelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2546 + +*** + +### onPointerDown? + +> `optional` **onPointerDown**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2539 + +*** + +### onPointerDownCapture? + +> `optional` **onPointerDownCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2540 + +*** + +### onPointerDownOutside()? + +> `optional` **onPointerDownOutside**: (`event`) => `void` + +Event handler called when the a `pointerdown` event happens outside of the `DismissableLayer`. +Can be prevented. + +#### Parameters + +• **event**: `PointerDownOutsideEvent` + +#### Returns + +`void` + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerDownOutside` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:21 + +*** + +### onPointerEnter? + +> `optional` **onPointerEnter**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2547 + +*** + +### onPointerLeave? + +> `optional` **onPointerLeave**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2548 + +*** + +### onPointerMove? + +> `optional` **onPointerMove**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2541 + +*** + +### onPointerMoveCapture? + +> `optional` **onPointerMoveCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2542 + +*** + +### onPointerOut? + +> `optional` **onPointerOut**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerOut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2551 + +*** + +### onPointerOutCapture? + +> `optional` **onPointerOutCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerOutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2552 + +*** + +### onPointerOver? + +> `optional` **onPointerOver**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2549 + +*** + +### onPointerOverCapture? + +> `optional` **onPointerOverCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2550 + +*** + +### onPointerUp? + +> `optional` **onPointerUp**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2543 + +*** + +### onPointerUpCapture? + +> `optional` **onPointerUpCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onPointerUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2544 + +*** + +### onProgress? + +> `optional` **onProgress**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onProgress` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2465 + +*** + +### onProgressCapture? + +> `optional` **onProgressCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onProgressCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2466 + +*** + +### onRateChange? + +> `optional` **onRateChange**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onRateChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2467 + +*** + +### onRateChangeCapture? + +> `optional` **onRateChangeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onRateChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2468 + +*** + +### onReset? + +> `optional` **onReset**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onReset` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2415 + +*** + +### onResetCapture? + +> `optional` **onResetCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onResetCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2416 + +*** + +### onResize? + +> `optional` **onResize**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onResize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2469 + +*** + +### onResizeCapture? + +> `optional` **onResizeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onResizeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2470 + +*** + +### onScroll? + +> `optional` **onScroll**: `UIEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onScroll` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2559 + +*** + +### onScrollCapture? + +> `optional` **onScrollCapture**: `UIEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onScrollCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2560 + +*** + +### onSeeked? + +> `optional` **onSeeked**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSeeked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2471 + +*** + +### onSeekedCapture? + +> `optional` **onSeekedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSeekedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2472 + +*** + +### onSeeking? + +> `optional` **onSeeking**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSeeking` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2473 + +*** + +### onSeekingCapture? + +> `optional` **onSeekingCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSeekingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2474 + +*** + +### onSelect? + +> `optional` **onSelect**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSelect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2525 + +*** + +### onSelectCapture? + +> `optional` **onSelectCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSelectCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2526 + +*** + +### onStalled? + +> `optional` **onStalled**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onStalled` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2475 + +*** + +### onStalledCapture? + +> `optional` **onStalledCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onStalledCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2476 + +*** + +### onSubmit? + +> `optional` **onSubmit**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSubmit` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2417 + +*** + +### onSubmitCapture? + +> `optional` **onSubmitCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSubmitCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2418 + +*** + +### onSuspend? + +> `optional` **onSuspend**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSuspend` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2477 + +*** + +### onSuspendCapture? + +> `optional` **onSuspendCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onSuspendCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2478 + +*** + +### onTimeUpdate? + +> `optional` **onTimeUpdate**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTimeUpdate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2479 + +*** + +### onTimeUpdateCapture? + +> `optional` **onTimeUpdateCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTimeUpdateCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2480 + +*** + +### onTouchCancel? + +> `optional` **onTouchCancel**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchCancel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2529 + +*** + +### onTouchCancelCapture? + +> `optional` **onTouchCancelCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchCancelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2530 + +*** + +### onTouchEnd? + +> `optional` **onTouchEnd**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2531 + +*** + +### onTouchEndCapture? + +> `optional` **onTouchEndCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2532 + +*** + +### onTouchMove? + +> `optional` **onTouchMove**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2533 + +*** + +### onTouchMoveCapture? + +> `optional` **onTouchMoveCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2534 + +*** + +### onTouchStart? + +> `optional` **onTouchStart**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2535 + +*** + +### onTouchStartCapture? + +> `optional` **onTouchStartCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTouchStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2536 + +*** + +### onTransitionEnd? + +> `optional` **onTransitionEnd**: `TransitionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTransitionEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2575 + +*** + +### onTransitionEndCapture? + +> `optional` **onTransitionEndCapture**: `TransitionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onTransitionEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2576 + +*** + +### onVolumeChange? + +> `optional` **onVolumeChange**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onVolumeChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2481 + +*** + +### onVolumeChangeCapture? + +> `optional` **onVolumeChangeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onVolumeChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2482 + +*** + +### onWaiting? + +> `optional` **onWaiting**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onWaiting` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2483 + +*** + +### onWaitingCapture? + +> `optional` **onWaitingCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onWaitingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2484 + +*** + +### onWheel? + +> `optional` **onWheel**: `WheelEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onWheel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2563 + +*** + +### onWheelCapture? + +> `optional` **onWheelCapture**: `WheelEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`ComponentPropsWithoutRef.onWheelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2564 + +*** + +### prefix? + +> `optional` **prefix**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.prefix` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2924 + +*** + +### property? + +> `optional` **property**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.property` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2925 + +*** + +### radioGroup? + +> `optional` **radioGroup**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.radioGroup` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2914 + +*** + +### rel? + +> `optional` **rel**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.rel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2926 + +*** + +### resource? + +> `optional` **resource**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.resource` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2927 + +*** + +### results? + +> `optional` **results**: `number` + +#### Inherited from + +`ComponentPropsWithoutRef.results` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2942 + +*** + +### rev? + +> `optional` **rev**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.rev` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2928 + +*** + +### role? + +> `optional` **role**: `AriaRole` + +#### Inherited from + +`ComponentPropsWithoutRef.role` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2917 + +*** + +### security? + +> `optional` **security**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.security` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2943 + +*** + +### slot? + +> `optional` **slot**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.slot` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2906 + +*** + +### spellCheck? + +> `optional` **spellCheck**: `Booleanish` + +#### Inherited from + +`ComponentPropsWithoutRef.spellCheck` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2907 + +*** + +### style? + +> `optional` **style**: `CSSProperties` + +#### Inherited from + +`ComponentPropsWithoutRef.style` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2908 + +*** + +### suppressContentEditableWarning? + +> `optional` **suppressContentEditableWarning**: `boolean` + +#### Inherited from + +`ComponentPropsWithoutRef.suppressContentEditableWarning` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2891 + +*** + +### suppressHydrationWarning? + +> `optional` **suppressHydrationWarning**: `boolean` + +#### Inherited from + +`ComponentPropsWithoutRef.suppressHydrationWarning` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2892 + +*** + +### tabIndex? + +> `optional` **tabIndex**: `number` + +#### Inherited from + +`ComponentPropsWithoutRef.tabIndex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2909 + +*** + +### title? + +> `optional` **title**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.title` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2910 + +*** + +### translate? + +> `optional` **translate**: `"yes"` \| `"no"` + +#### Inherited from + +`ComponentPropsWithoutRef.translate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2911 + +*** + +### typeof? + +> `optional` **typeof**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.typeof` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2929 + +*** + +### unselectable? + +> `optional` **unselectable**: `"on"` \| `"off"` + +#### Inherited from + +`ComponentPropsWithoutRef.unselectable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2944 + +*** + +### vocab? + +> `optional` **vocab**: `string` + +#### Inherited from + +`ComponentPropsWithoutRef.vocab` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2930 diff --git a/docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderConfig.md b/docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderConfig.md new file mode 100644 index 00000000..03e47cba --- /dev/null +++ b/docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderConfig.md @@ -0,0 +1,33 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / JustWeb3ThemeProviderConfig + +# Interface: JustWeb3ThemeProviderConfig + +## Extended by + +- [`JustWeb3ThemeProviderProps`](JustWeb3ThemeProviderProps.md) + +## Properties + +### color? + +> `optional` **color**: `object` + +#### background? + +> `optional` **background**: `string` + +#### destructive? + +> `optional` **destructive**: `string` + +#### primary? + +> `optional` **primary**: `string` + +#### Defined in + +[packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx:95](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx#L95) diff --git a/docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderProps.md b/docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderProps.md new file mode 100644 index 00000000..3094ba6d --- /dev/null +++ b/docs/sdk/JustWeb3 UI/interfaces/JustWeb3ThemeProviderProps.md @@ -0,0 +1,47 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / JustWeb3ThemeProviderProps + +# Interface: JustWeb3ThemeProviderProps + +## Extends + +- [`JustWeb3ThemeProviderConfig`](JustWeb3ThemeProviderConfig.md) + +## Properties + +### children + +> **children**: `ReactNode` + +#### Defined in + +[packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx:91](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx#L91) + +*** + +### color? + +> `optional` **color**: `object` + +#### background? + +> `optional` **background**: `string` + +#### destructive? + +> `optional` **destructive**: `string` + +#### primary? + +> `optional` **primary**: `string` + +#### Inherited from + +[`JustWeb3ThemeProviderConfig`](JustWeb3ThemeProviderConfig.md).[`color`](JustWeb3ThemeProviderConfig.md#color) + +#### Defined in + +[packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx:95](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/providers/JustWeb3ThemeProvider/index.tsx#L95) diff --git a/docs/sdk/JustWeb3 UI/interfaces/LoadingSpinnerProps.md b/docs/sdk/JustWeb3 UI/interfaces/LoadingSpinnerProps.md new file mode 100644 index 00000000..bf44b2e7 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/interfaces/LoadingSpinnerProps.md @@ -0,0 +1,17 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / LoadingSpinnerProps + +# Interface: LoadingSpinnerProps + +## Properties + +### color? + +> `optional` **color**: `string` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/LoadingSpinner/index.tsx:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/LoadingSpinner/index.tsx#L5) diff --git a/docs/sdk/JustWeb3 UI/interfaces/PopoverContentProps.md b/docs/sdk/JustWeb3 UI/interfaces/PopoverContentProps.md new file mode 100644 index 00000000..99e225bc --- /dev/null +++ b/docs/sdk/JustWeb3 UI/interfaces/PopoverContentProps.md @@ -0,0 +1,4314 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / PopoverContentProps + +# Interface: PopoverContentProps + +## Extends + +- `ComponentPropsWithoutRef`\<*typeof* `PopoverPrimitive.Content`\> + +## Properties + +### about? + +> `optional` **about**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.about` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2920 + +*** + +### accessKey? + +> `optional` **accessKey**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.accessKey` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2895 + +*** + +### align? + +> `optional` **align**: `"center"` \| `"end"` \| `"start"` + +#### Inherited from + +`React.ComponentPropsWithoutRef.align` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:35 + +*** + +### alignOffset? + +> `optional` **alignOffset**: `number` + +#### Inherited from + +`React.ComponentPropsWithoutRef.alignOffset` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:36 + +*** + +### aria-activedescendant? + +> `optional` **aria-activedescendant**: `string` + +Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-activedescendant` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2593 + +*** + +### aria-atomic? + +> `optional` **aria-atomic**: `Booleanish` + +Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-atomic` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2595 + +*** + +### aria-autocomplete? + +> `optional` **aria-autocomplete**: `"none"` \| `"both"` \| `"inline"` \| `"list"` + +Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be +presented if they are made. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-autocomplete` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2600 + +*** + +### aria-braillelabel? + +> `optional` **aria-braillelabel**: `string` + +Defines a string value that labels the current element, which is intended to be converted into Braille. + +#### See + +aria-label. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-braillelabel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2606 + +*** + +### aria-brailleroledescription? + +> `optional` **aria-brailleroledescription**: `string` + +Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille. + +#### See + +aria-roledescription. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-brailleroledescription` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2611 + +*** + +### aria-busy? + +> `optional` **aria-busy**: `Booleanish` + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-busy` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2612 + +*** + +### aria-checked? + +> `optional` **aria-checked**: `boolean` \| `"mixed"` \| `"false"` \| `"true"` + +Indicates the current "checked" state of checkboxes, radio buttons, and other widgets. + +#### See + + - aria-pressed + - aria-selected. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-checked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2617 + +*** + +### aria-colcount? + +> `optional` **aria-colcount**: `number` + +Defines the total number of columns in a table, grid, or treegrid. + +#### See + +aria-colindex. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-colcount` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2622 + +*** + +### aria-colindex? + +> `optional` **aria-colindex**: `number` + +Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid. + +#### See + + - aria-colcount + - aria-colspan. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-colindex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2627 + +*** + +### aria-colindextext? + +> `optional` **aria-colindextext**: `string` + +Defines a human readable text alternative of aria-colindex. + +#### See + +aria-rowindextext. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-colindextext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2632 + +*** + +### aria-colspan? + +> `optional` **aria-colspan**: `number` + +Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid. + +#### See + + - aria-colindex + - aria-rowspan. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-colspan` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2637 + +*** + +### aria-controls? + +> `optional` **aria-controls**: `string` + +Identifies the element (or elements) whose contents or presence are controlled by the current element. + +#### See + +aria-owns. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-controls` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2642 + +*** + +### aria-current? + +> `optional` **aria-current**: `boolean` \| `"page"` \| `"false"` \| `"true"` \| `"step"` \| `"date"` \| `"time"` \| `"location"` + +Indicates the element that represents the current item within a container or set of related elements. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-current` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2644 + +*** + +### aria-describedby? + +> `optional` **aria-describedby**: `string` + +Identifies the element (or elements) that describes the object. + +#### See + +aria-labelledby + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-describedby` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2649 + +*** + +### aria-description? + +> `optional` **aria-description**: `string` + +Defines a string value that describes or annotates the current element. + +#### See + +related aria-describedby. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-description` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2654 + +*** + +### aria-details? + +> `optional` **aria-details**: `string` + +Identifies the element that provides a detailed, extended description for the object. + +#### See + +aria-describedby. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-details` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2659 + +*** + +### aria-disabled? + +> `optional` **aria-disabled**: `Booleanish` + +Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable. + +#### See + + - aria-hidden + - aria-readonly. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-disabled` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2664 + +*** + +### ~~aria-dropeffect?~~ + +> `optional` **aria-dropeffect**: `"link"` \| `"none"` \| `"copy"` \| `"move"` \| `"execute"` \| `"popup"` + +Indicates what functions can be performed when a dragged object is released on the drop target. + +#### Deprecated + +in ARIA 1.1 + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-dropeffect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2669 + +*** + +### aria-errormessage? + +> `optional` **aria-errormessage**: `string` + +Identifies the element that provides an error message for the object. + +#### See + + - aria-invalid + - aria-describedby. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-errormessage` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2674 + +*** + +### aria-expanded? + +> `optional` **aria-expanded**: `Booleanish` + +Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-expanded` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2676 + +*** + +### aria-flowto? + +> `optional` **aria-flowto**: `string` + +Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion, +allows assistive technology to override the general default of reading in document source order. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-flowto` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2681 + +*** + +### ~~aria-grabbed?~~ + +> `optional` **aria-grabbed**: `Booleanish` + +Indicates an element's "grabbed" state in a drag-and-drop operation. + +#### Deprecated + +in ARIA 1.1 + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-grabbed` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2686 + +*** + +### aria-haspopup? + +> `optional` **aria-haspopup**: `boolean` \| `"listbox"` \| `"grid"` \| `"menu"` \| `"false"` \| `"true"` \| `"dialog"` \| `"tree"` + +Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-haspopup` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2688 + +*** + +### aria-hidden? + +> `optional` **aria-hidden**: `Booleanish` + +Indicates whether the element is exposed to an accessibility API. + +#### See + +aria-disabled. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-hidden` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2693 + +*** + +### aria-invalid? + +> `optional` **aria-invalid**: `boolean` \| `"false"` \| `"true"` \| `"grammar"` \| `"spelling"` + +Indicates the entered value does not conform to the format expected by the application. + +#### See + +aria-errormessage. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-invalid` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2698 + +*** + +### aria-keyshortcuts? + +> `optional` **aria-keyshortcuts**: `string` + +Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-keyshortcuts` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2700 + +*** + +### aria-label? + +> `optional` **aria-label**: `string` + +Defines a string value that labels the current element. + +#### See + +aria-labelledby. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-label` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2705 + +*** + +### aria-labelledby? + +> `optional` **aria-labelledby**: `string` + +Identifies the element (or elements) that labels the current element. + +#### See + +aria-describedby. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-labelledby` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2710 + +*** + +### aria-level? + +> `optional` **aria-level**: `number` + +Defines the hierarchical level of an element within a structure. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-level` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2712 + +*** + +### aria-live? + +> `optional` **aria-live**: `"off"` \| `"assertive"` \| `"polite"` + +Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-live` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2714 + +*** + +### aria-modal? + +> `optional` **aria-modal**: `Booleanish` + +Indicates whether an element is modal when displayed. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-modal` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2716 + +*** + +### aria-multiline? + +> `optional` **aria-multiline**: `Booleanish` + +Indicates whether a text box accepts multiple lines of input or only a single line. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-multiline` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2718 + +*** + +### aria-multiselectable? + +> `optional` **aria-multiselectable**: `Booleanish` + +Indicates that the user may select more than one item from the current selectable descendants. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-multiselectable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2720 + +*** + +### aria-orientation? + +> `optional` **aria-orientation**: `"horizontal"` \| `"vertical"` + +Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-orientation` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2722 + +*** + +### aria-owns? + +> `optional` **aria-owns**: `string` + +Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship +between DOM elements where the DOM hierarchy cannot be used to represent the relationship. + +#### See + +aria-controls. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-owns` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2728 + +*** + +### aria-placeholder? + +> `optional` **aria-placeholder**: `string` + +Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. +A hint could be a sample value or a brief description of the expected format. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-placeholder` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2733 + +*** + +### aria-posinset? + +> `optional` **aria-posinset**: `number` + +Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. + +#### See + +aria-setsize. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-posinset` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2738 + +*** + +### aria-pressed? + +> `optional` **aria-pressed**: `boolean` \| `"mixed"` \| `"false"` \| `"true"` + +Indicates the current "pressed" state of toggle buttons. + +#### See + + - aria-checked + - aria-selected. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-pressed` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2743 + +*** + +### aria-readonly? + +> `optional` **aria-readonly**: `Booleanish` + +Indicates that the element is not editable, but is otherwise operable. + +#### See + +aria-disabled. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-readonly` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2748 + +*** + +### aria-relevant? + +> `optional` **aria-relevant**: `"all"` \| `"text"` \| `"additions"` \| `"additions removals"` \| `"additions text"` \| `"removals"` \| `"removals additions"` \| `"removals text"` \| `"text additions"` \| `"text removals"` + +Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified. + +#### See + +aria-atomic. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-relevant` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2753 + +*** + +### aria-required? + +> `optional` **aria-required**: `Booleanish` + +Indicates that user input is required on the element before a form may be submitted. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-required` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2766 + +*** + +### aria-roledescription? + +> `optional` **aria-roledescription**: `string` + +Defines a human-readable, author-localized description for the role of an element. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-roledescription` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2768 + +*** + +### aria-rowcount? + +> `optional` **aria-rowcount**: `number` + +Defines the total number of rows in a table, grid, or treegrid. + +#### See + +aria-rowindex. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-rowcount` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2773 + +*** + +### aria-rowindex? + +> `optional` **aria-rowindex**: `number` + +Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid. + +#### See + + - aria-rowcount + - aria-rowspan. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-rowindex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2778 + +*** + +### aria-rowindextext? + +> `optional` **aria-rowindextext**: `string` + +Defines a human readable text alternative of aria-rowindex. + +#### See + +aria-colindextext. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-rowindextext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2783 + +*** + +### aria-rowspan? + +> `optional` **aria-rowspan**: `number` + +Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid. + +#### See + + - aria-rowindex + - aria-colspan. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-rowspan` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2788 + +*** + +### aria-selected? + +> `optional` **aria-selected**: `Booleanish` + +Indicates the current "selected" state of various widgets. + +#### See + + - aria-checked + - aria-pressed. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-selected` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2793 + +*** + +### aria-setsize? + +> `optional` **aria-setsize**: `number` + +Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM. + +#### See + +aria-posinset. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-setsize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2798 + +*** + +### aria-sort? + +> `optional` **aria-sort**: `"none"` \| `"ascending"` \| `"descending"` \| `"other"` + +Indicates if items in a table or grid are sorted in ascending or descending order. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-sort` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2800 + +*** + +### aria-valuemax? + +> `optional` **aria-valuemax**: `number` + +Defines the maximum allowed value for a range widget. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-valuemax` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2802 + +*** + +### aria-valuemin? + +> `optional` **aria-valuemin**: `number` + +Defines the minimum allowed value for a range widget. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-valuemin` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2804 + +*** + +### aria-valuenow? + +> `optional` **aria-valuenow**: `number` + +Defines the current value for a range widget. + +#### See + +aria-valuetext. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-valuenow` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2809 + +*** + +### aria-valuetext? + +> `optional` **aria-valuetext**: `string` + +Defines the human readable text alternative of aria-valuenow for a range widget. + +#### Inherited from + +`React.ComponentPropsWithoutRef.aria-valuetext` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2811 + +*** + +### arrowPadding? + +> `optional` **arrowPadding**: `number` + +#### Inherited from + +`React.ComponentPropsWithoutRef.arrowPadding` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:37 + +*** + +### asChild? + +> `optional` **asChild**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.asChild` + +#### Defined in + +node\_modules/@radix-ui/react-primitive/dist/index.d.ts:8 + +*** + +### autoCapitalize? + +> `optional` **autoCapitalize**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.autoCapitalize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2933 + +*** + +### autoCorrect? + +> `optional` **autoCorrect**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.autoCorrect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2934 + +*** + +### autoFocus? + +> `optional` **autoFocus**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.autoFocus` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2896 + +*** + +### autoSave? + +> `optional` **autoSave**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.autoSave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2935 + +*** + +### avoidCollisions? + +> `optional` **avoidCollisions**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.avoidCollisions` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:38 + +*** + +### children? + +> `optional` **children**: `ReactNode` + +#### Inherited from + +`React.ComponentPropsWithoutRef.children` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2379 + +*** + +### className? + +> `optional` **className**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.className` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2897 + +*** + +### collisionBoundary? + +> `optional` **collisionBoundary**: `Boundary` \| `Boundary`[] + +#### Inherited from + +`React.ComponentPropsWithoutRef.collisionBoundary` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:39 + +*** + +### collisionPadding? + +> `optional` **collisionPadding**: `number` \| `Partial`\<`Record`\<`"left"` \| `"right"` \| `"bottom"` \| `"top"`, `number`\>\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.collisionPadding` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:40 + +*** + +### color? + +> `optional` **color**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.color` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2936 + +*** + +### content? + +> `optional` **content**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.content` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2921 + +*** + +### contentEditable? + +> `optional` **contentEditable**: `"inherit"` \| `Booleanish` \| `"plaintext-only"` + +#### Inherited from + +`React.ComponentPropsWithoutRef.contentEditable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2898 + +*** + +### contextMenu? + +> `optional` **contextMenu**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.contextMenu` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2899 + +*** + +### dangerouslySetInnerHTML? + +> `optional` **dangerouslySetInnerHTML**: `object` + +#### \_\_html + +> **\_\_html**: `string` \| `TrustedHTML` + +#### Inherited from + +`React.ComponentPropsWithoutRef.dangerouslySetInnerHTML` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2380 + +*** + +### datatype? + +> `optional` **datatype**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.datatype` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2922 + +*** + +### defaultChecked? + +> `optional` **defaultChecked**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.defaultChecked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2889 + +*** + +### defaultValue? + +> `optional` **defaultValue**: `string` \| `number` \| readonly `string`[] + +#### Inherited from + +`React.ComponentPropsWithoutRef.defaultValue` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2890 + +*** + +### dir? + +> `optional` **dir**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.dir` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2900 + +*** + +### draggable? + +> `optional` **draggable**: `Booleanish` + +#### Inherited from + +`React.ComponentPropsWithoutRef.draggable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2901 + +*** + +### forceMount? + +> `optional` **forceMount**: `true` + +Used to force mounting when more control is needed. Useful when +controlling animation with React animation libraries. + +#### Inherited from + +`React.ComponentPropsWithoutRef.forceMount` + +#### Defined in + +node\_modules/@radix-ui/react-popover/dist/index.d.ts:55 + +*** + +### hidden? + +> `optional` **hidden**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.hidden` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2902 + +*** + +### hideWhenDetached? + +> `optional` **hideWhenDetached**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.hideWhenDetached` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:42 + +*** + +### id? + +> `optional` **id**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.id` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2903 + +*** + +### inlist? + +> `optional` **inlist**: `any` + +#### Inherited from + +`React.ComponentPropsWithoutRef.inlist` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2923 + +*** + +### inputMode? + +> `optional` **inputMode**: `"search"` \| `"none"` \| `"text"` \| `"tel"` \| `"url"` \| `"email"` \| `"numeric"` \| `"decimal"` + +Hints at the type of data that might be entered by the user while editing the element or its contents + +#### See + +[https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute](https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute) + +#### Inherited from + +`React.ComponentPropsWithoutRef.inputMode` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2951 + +*** + +### is? + +> `optional` **is**: `string` + +Specify that a standard HTML element should behave like a defined custom built-in element + +#### See + +[https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is](https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is) + +#### Inherited from + +`React.ComponentPropsWithoutRef.is` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2956 + +*** + +### itemID? + +> `optional` **itemID**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.itemID` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2940 + +*** + +### itemProp? + +> `optional` **itemProp**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.itemProp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2937 + +*** + +### itemRef? + +> `optional` **itemRef**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.itemRef` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2941 + +*** + +### itemScope? + +> `optional` **itemScope**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.itemScope` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2938 + +*** + +### itemType? + +> `optional` **itemType**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.itemType` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2939 + +*** + +### key? + +> `optional` **key**: `null` \| `Key` + +#### Inherited from + +`React.ComponentPropsWithoutRef.key` + +#### Defined in + +node\_modules/@types/react/index.d.ts:261 + +*** + +### lang? + +> `optional` **lang**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.lang` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2904 + +*** + +### nonce? + +> `optional` **nonce**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.nonce` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2905 + +*** + +### onAbort? + +> `optional` **onAbort**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAbort` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2439 + +*** + +### onAbortCapture? + +> `optional` **onAbortCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAbortCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2440 + +*** + +### onAnimationEnd? + +> `optional` **onAnimationEnd**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAnimationEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2569 + +*** + +### onAnimationEndCapture? + +> `optional` **onAnimationEndCapture**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAnimationEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2570 + +*** + +### onAnimationIteration? + +> `optional` **onAnimationIteration**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAnimationIteration` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2571 + +*** + +### onAnimationIterationCapture? + +> `optional` **onAnimationIterationCapture**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAnimationIterationCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2572 + +*** + +### onAnimationStart? + +> `optional` **onAnimationStart**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAnimationStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2567 + +*** + +### onAnimationStartCapture? + +> `optional` **onAnimationStartCapture**: `AnimationEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAnimationStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2568 + +*** + +### onAuxClick? + +> `optional` **onAuxClick**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAuxClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2487 + +*** + +### onAuxClickCapture? + +> `optional` **onAuxClickCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onAuxClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2488 + +*** + +### onBeforeInput? + +> `optional` **onBeforeInput**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onBeforeInput` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2411 + +*** + +### onBeforeInputCapture? + +> `optional` **onBeforeInputCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onBeforeInputCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2412 + +*** + +### onBlur? + +> `optional` **onBlur**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onBlur` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2405 + +*** + +### onBlurCapture? + +> `optional` **onBlurCapture**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onBlurCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2406 + +*** + +### onCanPlay? + +> `optional` **onCanPlay**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCanPlay` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2441 + +*** + +### onCanPlayCapture? + +> `optional` **onCanPlayCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCanPlayCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2442 + +*** + +### onCanPlayThrough? + +> `optional` **onCanPlayThrough**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCanPlayThrough` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2443 + +*** + +### onCanPlayThroughCapture? + +> `optional` **onCanPlayThroughCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCanPlayThroughCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2444 + +*** + +### onChange? + +> `optional` **onChange**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2409 + +*** + +### onChangeCapture? + +> `optional` **onChangeCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2410 + +*** + +### onClick? + +> `optional` **onClick**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2489 + +*** + +### onClickCapture? + +> `optional` **onClickCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2490 + +*** + +### onCloseAutoFocus()? + +> `optional` **onCloseAutoFocus**: (`event`) => `void` + +Event handler called when auto-focusing on close. +Can be prevented. + +#### Parameters + +• **event**: `Event` + +#### Returns + +`void` + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCloseAutoFocus` + +#### Defined in + +node\_modules/@radix-ui/react-popover/dist/index.d.ts:78 + +*** + +### onCompositionEnd? + +> `optional` **onCompositionEnd**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCompositionEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2395 + +*** + +### onCompositionEndCapture? + +> `optional` **onCompositionEndCapture**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCompositionEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2396 + +*** + +### onCompositionStart? + +> `optional` **onCompositionStart**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCompositionStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2397 + +*** + +### onCompositionStartCapture? + +> `optional` **onCompositionStartCapture**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCompositionStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2398 + +*** + +### onCompositionUpdate? + +> `optional` **onCompositionUpdate**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCompositionUpdate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2399 + +*** + +### onCompositionUpdateCapture? + +> `optional` **onCompositionUpdateCapture**: `CompositionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCompositionUpdateCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2400 + +*** + +### onContextMenu? + +> `optional` **onContextMenu**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onContextMenu` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2491 + +*** + +### onContextMenuCapture? + +> `optional` **onContextMenuCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onContextMenuCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2492 + +*** + +### onCopy? + +> `optional` **onCopy**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCopy` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2387 + +*** + +### onCopyCapture? + +> `optional` **onCopyCapture**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCopyCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2388 + +*** + +### onCut? + +> `optional` **onCut**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2389 + +*** + +### onCutCapture? + +> `optional` **onCutCapture**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onCutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2390 + +*** + +### onDoubleClick? + +> `optional` **onDoubleClick**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDoubleClick` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2493 + +*** + +### onDoubleClickCapture? + +> `optional` **onDoubleClickCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDoubleClickCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2494 + +*** + +### onDrag? + +> `optional` **onDrag**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDrag` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2495 + +*** + +### onDragCapture? + +> `optional` **onDragCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2496 + +*** + +### onDragEnd? + +> `optional` **onDragEnd**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2497 + +*** + +### onDragEndCapture? + +> `optional` **onDragEndCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2498 + +*** + +### onDragEnter? + +> `optional` **onDragEnter**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2499 + +*** + +### onDragEnterCapture? + +> `optional` **onDragEnterCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragEnterCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2500 + +*** + +### onDragExit? + +> `optional` **onDragExit**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragExit` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2501 + +*** + +### onDragExitCapture? + +> `optional` **onDragExitCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragExitCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2502 + +*** + +### onDragLeave? + +> `optional` **onDragLeave**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2503 + +*** + +### onDragLeaveCapture? + +> `optional` **onDragLeaveCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragLeaveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2504 + +*** + +### onDragOver? + +> `optional` **onDragOver**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2505 + +*** + +### onDragOverCapture? + +> `optional` **onDragOverCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2506 + +*** + +### onDragStart? + +> `optional` **onDragStart**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2507 + +*** + +### onDragStartCapture? + +> `optional` **onDragStartCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDragStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2508 + +*** + +### onDrop? + +> `optional` **onDrop**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDrop` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2509 + +*** + +### onDropCapture? + +> `optional` **onDropCapture**: `DragEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDropCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2510 + +*** + +### onDurationChange? + +> `optional` **onDurationChange**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDurationChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2445 + +*** + +### onDurationChangeCapture? + +> `optional` **onDurationChangeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onDurationChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2446 + +*** + +### onEmptied? + +> `optional` **onEmptied**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onEmptied` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2447 + +*** + +### onEmptiedCapture? + +> `optional` **onEmptiedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onEmptiedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2448 + +*** + +### onEncrypted? + +> `optional` **onEncrypted**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onEncrypted` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2449 + +*** + +### onEncryptedCapture? + +> `optional` **onEncryptedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onEncryptedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2450 + +*** + +### onEnded? + +> `optional` **onEnded**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onEnded` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2451 + +*** + +### onEndedCapture? + +> `optional` **onEndedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onEndedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2452 + +*** + +### onError? + +> `optional` **onError**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onError` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2425 + +*** + +### onErrorCapture? + +> `optional` **onErrorCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onErrorCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2426 + +*** + +### onEscapeKeyDown()? + +> `optional` **onEscapeKeyDown**: (`event`) => `void` + +Event handler called when the escape key is down. +Can be prevented. + +#### Parameters + +• **event**: `KeyboardEvent` + +#### Returns + +`void` + +#### Inherited from + +`React.ComponentPropsWithoutRef.onEscapeKeyDown` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:16 + +*** + +### onFocus? + +> `optional` **onFocus**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onFocus` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2403 + +*** + +### onFocusCapture? + +> `optional` **onFocusCapture**: `FocusEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onFocusCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2404 + +*** + +### onFocusOutside()? + +> `optional` **onFocusOutside**: (`event`) => `void` + +Event handler called when the focus moves outside of the `DismissableLayer`. +Can be prevented. + +#### Parameters + +• **event**: `FocusOutsideEvent` + +#### Returns + +`void` + +#### Inherited from + +`React.ComponentPropsWithoutRef.onFocusOutside` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:26 + +*** + +### onGotPointerCapture? + +> `optional` **onGotPointerCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onGotPointerCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2553 + +*** + +### onGotPointerCaptureCapture? + +> `optional` **onGotPointerCaptureCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onGotPointerCaptureCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2554 + +*** + +### onInput? + +> `optional` **onInput**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onInput` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2413 + +*** + +### onInputCapture? + +> `optional` **onInputCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onInputCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2414 + +*** + +### onInteractOutside()? + +> `optional` **onInteractOutside**: (`event`) => `void` + +Event handler called when an interaction happens outside the `DismissableLayer`. +Specifically, when a `pointerdown` event happens outside or focus moves outside of it. +Can be prevented. + +#### Parameters + +• **event**: `PointerDownOutsideEvent` \| `FocusOutsideEvent` + +#### Returns + +`void` + +#### Inherited from + +`React.ComponentPropsWithoutRef.onInteractOutside` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:32 + +*** + +### onInvalid? + +> `optional` **onInvalid**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onInvalid` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2419 + +*** + +### onInvalidCapture? + +> `optional` **onInvalidCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onInvalidCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2420 + +*** + +### onKeyDown? + +> `optional` **onKeyDown**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onKeyDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2429 + +*** + +### onKeyDownCapture? + +> `optional` **onKeyDownCapture**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onKeyDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2430 + +*** + +### ~~onKeyPress?~~ + +> `optional` **onKeyPress**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Deprecated + +#### Inherited from + +`React.ComponentPropsWithoutRef.onKeyPress` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2432 + +*** + +### ~~onKeyPressCapture?~~ + +> `optional` **onKeyPressCapture**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Deprecated + +#### Inherited from + +`React.ComponentPropsWithoutRef.onKeyPressCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2434 + +*** + +### onKeyUp? + +> `optional` **onKeyUp**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onKeyUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2435 + +*** + +### onKeyUpCapture? + +> `optional` **onKeyUpCapture**: `KeyboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onKeyUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2436 + +*** + +### onLoad? + +> `optional` **onLoad**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoad` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2423 + +*** + +### onLoadCapture? + +> `optional` **onLoadCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoadCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2424 + +*** + +### onLoadedData? + +> `optional` **onLoadedData**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoadedData` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2453 + +*** + +### onLoadedDataCapture? + +> `optional` **onLoadedDataCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoadedDataCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2454 + +*** + +### onLoadedMetadata? + +> `optional` **onLoadedMetadata**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoadedMetadata` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2455 + +*** + +### onLoadedMetadataCapture? + +> `optional` **onLoadedMetadataCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoadedMetadataCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2456 + +*** + +### onLoadStart? + +> `optional` **onLoadStart**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoadStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2457 + +*** + +### onLoadStartCapture? + +> `optional` **onLoadStartCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLoadStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2458 + +*** + +### onLostPointerCapture? + +> `optional` **onLostPointerCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLostPointerCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2555 + +*** + +### onLostPointerCaptureCapture? + +> `optional` **onLostPointerCaptureCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onLostPointerCaptureCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2556 + +*** + +### onMouseDown? + +> `optional` **onMouseDown**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2511 + +*** + +### onMouseDownCapture? + +> `optional` **onMouseDownCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2512 + +*** + +### onMouseEnter? + +> `optional` **onMouseEnter**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2513 + +*** + +### onMouseLeave? + +> `optional` **onMouseLeave**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2514 + +*** + +### onMouseMove? + +> `optional` **onMouseMove**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2515 + +*** + +### onMouseMoveCapture? + +> `optional` **onMouseMoveCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2516 + +*** + +### onMouseOut? + +> `optional` **onMouseOut**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseOut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2517 + +*** + +### onMouseOutCapture? + +> `optional` **onMouseOutCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseOutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2518 + +*** + +### onMouseOver? + +> `optional` **onMouseOver**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2519 + +*** + +### onMouseOverCapture? + +> `optional` **onMouseOverCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2520 + +*** + +### onMouseUp? + +> `optional` **onMouseUp**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2521 + +*** + +### onMouseUpCapture? + +> `optional` **onMouseUpCapture**: `MouseEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onMouseUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2522 + +*** + +### onOpenAutoFocus()? + +> `optional` **onOpenAutoFocus**: (`event`) => `void` + +Event handler called when auto-focusing on open. +Can be prevented. + +#### Parameters + +• **event**: `Event` + +#### Returns + +`void` + +#### Inherited from + +`React.ComponentPropsWithoutRef.onOpenAutoFocus` + +#### Defined in + +node\_modules/@radix-ui/react-popover/dist/index.d.ts:73 + +*** + +### onPaste? + +> `optional` **onPaste**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPaste` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2391 + +*** + +### onPasteCapture? + +> `optional` **onPasteCapture**: `ClipboardEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPasteCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2392 + +*** + +### onPause? + +> `optional` **onPause**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPause` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2459 + +*** + +### onPauseCapture? + +> `optional` **onPauseCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPauseCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2460 + +*** + +### onPlay? + +> `optional` **onPlay**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPlay` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2461 + +*** + +### onPlayCapture? + +> `optional` **onPlayCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPlayCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2462 + +*** + +### onPlaying? + +> `optional` **onPlaying**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPlaying` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2463 + +*** + +### onPlayingCapture? + +> `optional` **onPlayingCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPlayingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2464 + +*** + +### onPointerCancel? + +> `optional` **onPointerCancel**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerCancel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2545 + +*** + +### onPointerCancelCapture? + +> `optional` **onPointerCancelCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerCancelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2546 + +*** + +### onPointerDown? + +> `optional` **onPointerDown**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerDown` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2539 + +*** + +### onPointerDownCapture? + +> `optional` **onPointerDownCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerDownCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2540 + +*** + +### onPointerDownOutside()? + +> `optional` **onPointerDownOutside**: (`event`) => `void` + +Event handler called when the a `pointerdown` event happens outside of the `DismissableLayer`. +Can be prevented. + +#### Parameters + +• **event**: `PointerDownOutsideEvent` + +#### Returns + +`void` + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerDownOutside` + +#### Defined in + +node\_modules/@radix-ui/react-dismissable-layer/dist/index.d.ts:21 + +*** + +### onPointerEnter? + +> `optional` **onPointerEnter**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerEnter` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2547 + +*** + +### onPointerLeave? + +> `optional` **onPointerLeave**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerLeave` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2548 + +*** + +### onPointerMove? + +> `optional` **onPointerMove**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2541 + +*** + +### onPointerMoveCapture? + +> `optional` **onPointerMoveCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2542 + +*** + +### onPointerOut? + +> `optional` **onPointerOut**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerOut` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2551 + +*** + +### onPointerOutCapture? + +> `optional` **onPointerOutCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerOutCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2552 + +*** + +### onPointerOver? + +> `optional` **onPointerOver**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerOver` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2549 + +*** + +### onPointerOverCapture? + +> `optional` **onPointerOverCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerOverCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2550 + +*** + +### onPointerUp? + +> `optional` **onPointerUp**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerUp` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2543 + +*** + +### onPointerUpCapture? + +> `optional` **onPointerUpCapture**: `PointerEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onPointerUpCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2544 + +*** + +### onProgress? + +> `optional` **onProgress**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onProgress` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2465 + +*** + +### onProgressCapture? + +> `optional` **onProgressCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onProgressCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2466 + +*** + +### onRateChange? + +> `optional` **onRateChange**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onRateChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2467 + +*** + +### onRateChangeCapture? + +> `optional` **onRateChangeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onRateChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2468 + +*** + +### onReset? + +> `optional` **onReset**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onReset` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2415 + +*** + +### onResetCapture? + +> `optional` **onResetCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onResetCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2416 + +*** + +### onResize? + +> `optional` **onResize**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onResize` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2469 + +*** + +### onResizeCapture? + +> `optional` **onResizeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onResizeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2470 + +*** + +### onScroll? + +> `optional` **onScroll**: `UIEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onScroll` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2559 + +*** + +### onScrollCapture? + +> `optional` **onScrollCapture**: `UIEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onScrollCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2560 + +*** + +### onSeeked? + +> `optional` **onSeeked**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSeeked` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2471 + +*** + +### onSeekedCapture? + +> `optional` **onSeekedCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSeekedCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2472 + +*** + +### onSeeking? + +> `optional` **onSeeking**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSeeking` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2473 + +*** + +### onSeekingCapture? + +> `optional` **onSeekingCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSeekingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2474 + +*** + +### onSelect? + +> `optional` **onSelect**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSelect` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2525 + +*** + +### onSelectCapture? + +> `optional` **onSelectCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSelectCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2526 + +*** + +### onStalled? + +> `optional` **onStalled**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onStalled` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2475 + +*** + +### onStalledCapture? + +> `optional` **onStalledCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onStalledCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2476 + +*** + +### onSubmit? + +> `optional` **onSubmit**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSubmit` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2417 + +*** + +### onSubmitCapture? + +> `optional` **onSubmitCapture**: `FormEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSubmitCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2418 + +*** + +### onSuspend? + +> `optional` **onSuspend**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSuspend` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2477 + +*** + +### onSuspendCapture? + +> `optional` **onSuspendCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onSuspendCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2478 + +*** + +### onTimeUpdate? + +> `optional` **onTimeUpdate**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTimeUpdate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2479 + +*** + +### onTimeUpdateCapture? + +> `optional` **onTimeUpdateCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTimeUpdateCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2480 + +*** + +### onTouchCancel? + +> `optional` **onTouchCancel**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchCancel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2529 + +*** + +### onTouchCancelCapture? + +> `optional` **onTouchCancelCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchCancelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2530 + +*** + +### onTouchEnd? + +> `optional` **onTouchEnd**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2531 + +*** + +### onTouchEndCapture? + +> `optional` **onTouchEndCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2532 + +*** + +### onTouchMove? + +> `optional` **onTouchMove**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchMove` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2533 + +*** + +### onTouchMoveCapture? + +> `optional` **onTouchMoveCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchMoveCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2534 + +*** + +### onTouchStart? + +> `optional` **onTouchStart**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchStart` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2535 + +*** + +### onTouchStartCapture? + +> `optional` **onTouchStartCapture**: `TouchEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTouchStartCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2536 + +*** + +### onTransitionEnd? + +> `optional` **onTransitionEnd**: `TransitionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTransitionEnd` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2575 + +*** + +### onTransitionEndCapture? + +> `optional` **onTransitionEndCapture**: `TransitionEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onTransitionEndCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2576 + +*** + +### onVolumeChange? + +> `optional` **onVolumeChange**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onVolumeChange` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2481 + +*** + +### onVolumeChangeCapture? + +> `optional` **onVolumeChangeCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onVolumeChangeCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2482 + +*** + +### onWaiting? + +> `optional` **onWaiting**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onWaiting` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2483 + +*** + +### onWaitingCapture? + +> `optional` **onWaitingCapture**: `ReactEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onWaitingCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2484 + +*** + +### onWheel? + +> `optional` **onWheel**: `WheelEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onWheel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2563 + +*** + +### onWheelCapture? + +> `optional` **onWheelCapture**: `WheelEventHandler`\<`HTMLDivElement`\> + +#### Inherited from + +`React.ComponentPropsWithoutRef.onWheelCapture` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2564 + +*** + +### portal? + +> `optional` **portal**: `boolean` + +#### Defined in + +[packages/@justweb3/ui/src/lib/ui/Popover/index.tsx:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/ui/Popover/index.tsx#L8) + +*** + +### prefix? + +> `optional` **prefix**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.prefix` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2924 + +*** + +### property? + +> `optional` **property**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.property` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2925 + +*** + +### radioGroup? + +> `optional` **radioGroup**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.radioGroup` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2914 + +*** + +### rel? + +> `optional` **rel**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.rel` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2926 + +*** + +### resource? + +> `optional` **resource**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.resource` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2927 + +*** + +### results? + +> `optional` **results**: `number` + +#### Inherited from + +`React.ComponentPropsWithoutRef.results` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2942 + +*** + +### rev? + +> `optional` **rev**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.rev` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2928 + +*** + +### role? + +> `optional` **role**: `AriaRole` + +#### Inherited from + +`React.ComponentPropsWithoutRef.role` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2917 + +*** + +### security? + +> `optional` **security**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.security` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2943 + +*** + +### side? + +> `optional` **side**: `"left"` \| `"right"` \| `"bottom"` \| `"top"` + +#### Inherited from + +`React.ComponentPropsWithoutRef.side` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:33 + +*** + +### sideOffset? + +> `optional` **sideOffset**: `number` + +#### Inherited from + +`React.ComponentPropsWithoutRef.sideOffset` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:34 + +*** + +### slot? + +> `optional` **slot**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.slot` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2906 + +*** + +### spellCheck? + +> `optional` **spellCheck**: `Booleanish` + +#### Inherited from + +`React.ComponentPropsWithoutRef.spellCheck` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2907 + +*** + +### sticky? + +> `optional` **sticky**: `"always"` \| `"partial"` + +#### Inherited from + +`React.ComponentPropsWithoutRef.sticky` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:41 + +*** + +### style? + +> `optional` **style**: `CSSProperties` + +#### Inherited from + +`React.ComponentPropsWithoutRef.style` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2908 + +*** + +### suppressContentEditableWarning? + +> `optional` **suppressContentEditableWarning**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.suppressContentEditableWarning` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2891 + +*** + +### suppressHydrationWarning? + +> `optional` **suppressHydrationWarning**: `boolean` + +#### Inherited from + +`React.ComponentPropsWithoutRef.suppressHydrationWarning` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2892 + +*** + +### tabIndex? + +> `optional` **tabIndex**: `number` + +#### Inherited from + +`React.ComponentPropsWithoutRef.tabIndex` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2909 + +*** + +### title? + +> `optional` **title**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.title` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2910 + +*** + +### translate? + +> `optional` **translate**: `"yes"` \| `"no"` + +#### Inherited from + +`React.ComponentPropsWithoutRef.translate` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2911 + +*** + +### typeof? + +> `optional` **typeof**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.typeof` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2929 + +*** + +### unselectable? + +> `optional` **unselectable**: `"on"` \| `"off"` + +#### Inherited from + +`React.ComponentPropsWithoutRef.unselectable` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2944 + +*** + +### updatePositionStrategy? + +> `optional` **updatePositionStrategy**: `"always"` \| `"optimized"` + +#### Inherited from + +`React.ComponentPropsWithoutRef.updatePositionStrategy` + +#### Defined in + +node\_modules/@radix-ui/react-popper/dist/index.d.ts:43 + +*** + +### vocab? + +> `optional` **vocab**: `string` + +#### Inherited from + +`React.ComponentPropsWithoutRef.vocab` + +#### Defined in + +node\_modules/@types/react/index.d.ts:2930 diff --git a/docs/sdk/JustWeb3 UI/variables/chains.md b/docs/sdk/JustWeb3 UI/variables/chains.md new file mode 100644 index 00000000..b0359113 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/variables/chains.md @@ -0,0 +1,1779 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / chains + +# Variable: chains + +> `const` **chains**: `object` + +## Type declaration + +### abbc() + +> **abbc**: (`props`) => `Element` = `AbbcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ada() + +> **ada**: (`props`) => `Element` = `AdaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ae() + +> **ae**: (`props`) => `Element` = `AeChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### aib() + +> **aib**: (`props`) => `Element` = `AibChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### aion() + +> **aion**: (`props`) => `Element` = `AionChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### algo() + +> **algo**: (`props`) => `Element` = `AlgoChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ar() + +> **ar**: (`props`) => `Element` = `ArChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### arb1() + +> **arb1**: (`props`) => `Element` = `Arb1ChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ardr() + +> **ardr**: (`props`) => `Element` = `ArdrChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ark() + +> **ark**: (`props`) => `Element` = `ArkChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### atom() + +> **atom**: (`props`) => `Element` = `AtomChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### avax() + +> **avax**: (`props`) => `Element` = `AvaxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### avaxc() + +> **avaxc**: (`props`) => `Element` = `AvaxcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### base() + +> **base**: (`props`) => `Element` = `BaseChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bcd() + +> **bcd**: (`props`) => `Element` = `BcdChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bch() + +> **bch**: (`props`) => `Element` = `BchChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bcn() + +> **bcn**: (`props`) => `Element` = `BcnChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bdx() + +> **bdx**: (`props`) => `Element` = `BdxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bnb() + +> **bnb**: (`props`) => `Element` = `BnbChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### boba() + +> **boba**: (`props`) => `Element` = `BobaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bps() + +> **bps**: (`props`) => `Element` = `BpsChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bsc() + +> **bsc**: (`props`) => `Element` = `BscChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bsv() + +> **bsv**: (`props`) => `Element` = `BsvChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### btc() + +> **btc**: (`props`) => `Element` = `BtcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### btg() + +> **btg**: (`props`) => `Element` = `BtgChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### btm() + +> **btm**: (`props`) => `Element` = `BtmChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### bts() + +> **bts**: (`props`) => `Element` = `BtsChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### cca() + +> **cca**: (`props`) => `Element` = `CcaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ccxx() + +> **ccxx**: (`props`) => `Element` = `CcxxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### celo() + +> **celo**: (`props`) => `Element` = `CeloChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### celoLegacy() + +> **celoLegacy**: (`props`) => `Element` = `CeloLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ckb() + +> **ckb**: (`props`) => `Element` = `CkbChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### clo() + +> **clo**: (`props`) => `Element` = `CloChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### cloLegacy() + +> **cloLegacy**: (`props`) => `Element` = `CloLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### cro() + +> **cro**: (`props`) => `Element` = `CroChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### dash() + +> **dash**: (`props`) => `Element` = `DashChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### dcr() + +> **dcr**: (`props`) => `Element` = `DcrChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### dgb() + +> **dgb**: (`props`) => `Element` = `DgbChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### divi() + +> **divi**: (`props`) => `Element` = `DiviChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### doge() + +> **doge**: (`props`) => `Element` = `DogeChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### dot() + +> **dot**: (`props`) => `Element` = `DotChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### egld() + +> **egld**: (`props`) => `Element` = `EgldChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ela() + +> **ela**: (`props`) => `Element` = `ElaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### eos() + +> **eos**: (`props`) => `Element` = `EosChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### etc() + +> **etc**: (`props`) => `Element` = `EtcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### etcLegacy() + +> **etcLegacy**: (`props`) => `Element` = `EtcLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### eth() + +> **eth**: (`props`) => `Element` = `EthChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### etn() + +> **etn**: (`props`) => `Element` = `EtnChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ewt() + +> **ewt**: (`props`) => `Element` = `EwtChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ewtLegacy() + +> **ewtLegacy**: (`props`) => `Element` = `EwtLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### fil() + +> **fil**: (`props`) => `Element` = `FilChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### fio() + +> **fio**: (`props`) => `Element` = `FioChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### firo() + +> **firo**: (`props`) => `Element` = `FiroChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### flow() + +> **flow**: (`props`) => `Element` = `FlowChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### flux() + +> **flux**: (`props`) => `Element` = `FluxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ftm() + +> **ftm**: (`props`) => `Element` = `FtmChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ftmLegacy() + +> **ftmLegacy**: (`props`) => `Element` = `FtmLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### gno() + +> **gno**: (`props`) => `Element` = `GnoChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### gnoLegacy() + +> **gnoLegacy**: (`props`) => `Element` = `GnoLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### go() + +> **go**: (`props`) => `Element` = `GoChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### goLegacy() + +> **goLegacy**: (`props`) => `Element` = `GoLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### grin() + +> **grin**: (`props`) => `Element` = `GrinChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### gxc() + +> **gxc**: (`props`) => `Element` = `GxcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### hbar() + +> **hbar**: (`props`) => `Element` = `HbarChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### hive() + +> **hive**: (`props`) => `Element` = `HiveChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### hns() + +> **hns**: (`props`) => `Element` = `HnsChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### hnt() + +> **hnt**: (`props`) => `Element` = `HntChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### icx() + +> **icx**: (`props`) => `Element` = `IcxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### iost() + +> **iost**: (`props`) => `Element` = `IostChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### iota() + +> **iota**: (`props`) => `Element` = `IotaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### iotx() + +> **iotx**: (`props`) => `Element` = `IotxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### iris() + +> **iris**: (`props`) => `Element` = `IrisChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### kava() + +> **kava**: (`props`) => `Element` = `KavaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### kmd() + +> **kmd**: (`props`) => `Element` = `KmdChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ksm() + +> **ksm**: (`props`) => `Element` = `KsmChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### lcc() + +> **lcc**: (`props`) => `Element` = `LccChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### linea() + +> **linea**: (`props`) => `Element` = `LineaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### lrg() + +> **lrg**: (`props`) => `Element` = `LrgChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### lsk() + +> **lsk**: (`props`) => `Element` = `LskChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ltc() + +> **ltc**: (`props`) => `Element` = `LtcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### luna() + +> **luna**: (`props`) => `Element` = `LunaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### manta() + +> **manta**: (`props`) => `Element` = `MantaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### mantle() + +> **mantle**: (`props`) => `Element` = `MantleChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### matic() + +> **matic**: (`props`) => `Element` = `MaticChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### metis() + +> **metis**: (`props`) => `Element` = `MetisChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### mona() + +> **mona**: (`props`) => `Element` = `MonaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### mrx() + +> **mrx**: (`props`) => `Element` = `MrxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nano() + +> **nano**: (`props`) => `Element` = `NanoChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nas() + +> **nas**: (`props`) => `Element` = `NasChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### near() + +> **near**: (`props`) => `Element` = `NearChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### neo() + +> **neo**: (`props`) => `Element` = `NeoChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nim() + +> **nim**: (`props`) => `Element` = `NimChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nmc() + +> **nmc**: (`props`) => `Element` = `NmcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nostr() + +> **nostr**: (`props`) => `Element` = `NostrChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nrg() + +> **nrg**: (`props`) => `Element` = `NrgChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nrgLegacy() + +> **nrgLegacy**: (`props`) => `Element` = `NrgLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### nuls() + +> **nuls**: (`props`) => `Element` = `NulsChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### one() + +> **one**: (`props`) => `Element` = `OneChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ont() + +> **ont**: (`props`) => `Element` = `OntChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### op() + +> **op**: (`props`) => `Element` = `OpChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### poa() + +> **poa**: (`props`) => `Element` = `PoaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### poaLegacy() + +> **poaLegacy**: (`props`) => `Element` = `PoaLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ppc() + +> **ppc**: (`props`) => `Element` = `PpcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### qtum() + +> **qtum**: (`props`) => `Element` = `QtumChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### rbtc() + +> **rbtc**: (`props`) => `Element` = `RbtcChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### rdd() + +> **rdd**: (`props`) => `Element` = `RddChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### rune() + +> **rune**: (`props`) => `Element` = `RuneChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### rvn() + +> **rvn**: (`props`) => `Element` = `RvnChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### sc() + +> **sc**: (`props`) => `Element` = `ScChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### scr() + +> **scr**: (`props`) => `Element` = `ScrChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### sero() + +> **sero**: (`props`) => `Element` = `SeroChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### sol() + +> **sol**: (`props`) => `Element` = `SolChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### srm() + +> **srm**: (`props`) => `Element` = `SrmChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### steem() + +> **steem**: (`props`) => `Element` = `SteemChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### strat() + +> **strat**: (`props`) => `Element` = `StratChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### strk() + +> **strk**: (`props`) => `Element` = `StrkChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### stx() + +> **stx**: (`props`) => `Element` = `StxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### sys() + +> **sys**: (`props`) => `Element` = `SysChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### tfuel() + +> **tfuel**: (`props`) => `Element` = `TfuelChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### theta() + +> **theta**: (`props`) => `Element` = `ThetaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### thetaLegacy() + +> **thetaLegacy**: (`props`) => `Element` = `ThetaLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### tomo() + +> **tomo**: (`props`) => `Element` = `TomoChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### tomoLegacy() + +> **tomoLegacy**: (`props`) => `Element` = `TomoLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### trx() + +> **trx**: (`props`) => `Element` = `TrxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### tt() + +> **tt**: (`props`) => `Element` = `TtChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ttLegacy() + +> **ttLegacy**: (`props`) => `Element` = `TtLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### vet() + +> **vet**: (`props`) => `Element` = `VetChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### via() + +> **via**: (`props`) => `Element` = `ViaChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### vlx() + +> **vlx**: (`props`) => `Element` = `VlxChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### vlxLegacy() + +> **vlxLegacy**: (`props`) => `Element` = `VlxLegacyChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### vsys() + +> **vsys**: (`props`) => `Element` = `VsysChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### wan() + +> **wan**: (`props`) => `Element` = `WanChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### waves() + +> **waves**: (`props`) => `Element` = `WavesChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### wicc() + +> **wicc**: (`props`) => `Element` = `WiccChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xch() + +> **xch**: (`props`) => `Element` = `XchChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xem() + +> **xem**: (`props`) => `Element` = `XemChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xhv() + +> **xhv**: (`props`) => `Element` = `XhvChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xlm() + +> **xlm**: (`props`) => `Element` = `XlmChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xmr() + +> **xmr**: (`props`) => `Element` = `XmrChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xrp() + +> **xrp**: (`props`) => `Element` = `XrpChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xtz() + +> **xtz**: (`props`) => `Element` = `XtzChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### xvg() + +> **xvg**: (`props`) => `Element` = `XvgChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### zec() + +> **zec**: (`props`) => `Element` = `ZecChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### zen() + +> **zen**: (`props`) => `Element` = `ZenChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### zil() + +> **zil**: (`props`) => `Element` = `ZilChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### zksync() + +> **zksync**: (`props`) => `Element` = `ZksyncChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### zora() + +> **zora**: (`props`) => `Element` = `ZoraChainIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +## Defined in + +[packages/@justweb3/ui/src/lib/icons/components/chains/index.ts:148](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/icons/components/chains/index.ts#L148) diff --git a/docs/sdk/JustWeb3 UI/variables/contentHash.md b/docs/sdk/JustWeb3 UI/variables/contentHash.md new file mode 100644 index 00000000..48f07a9f --- /dev/null +++ b/docs/sdk/JustWeb3 UI/variables/contentHash.md @@ -0,0 +1,75 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / contentHash + +# Variable: contentHash + +> `const` **contentHash**: `object` + +## Type declaration + +### arweave() + +> **arweave**: (`props`) => `Element` = `ArweaveIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### ipfs() + +> **ipfs**: (`props`) => `Element` = `IpfsIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### onion() + +> **onion**: (`props`) => `Element` = `OnionIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### skynet() + +> **skynet**: (`props`) => `Element` = `SkynetIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### swarm() + +> **swarm**: (`props`) => `Element` = `SwarmIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +## Defined in + +[packages/@justweb3/ui/src/lib/icons/components/contentHash/index.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/icons/components/contentHash/index.ts#L6) diff --git a/docs/sdk/JustWeb3 UI/variables/general.md b/docs/sdk/JustWeb3 UI/variables/general.md new file mode 100644 index 00000000..ea2b9015 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/variables/general.md @@ -0,0 +1,399 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / general + +# Variable: general + +> `const` **general**: `object` + +## Type declaration + +### add() + +> **add**: (`props`) => `Element` = `AddIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### add-circle() + +> **add-circle**: (`props`) => `Element` = `AddCircleIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### address() + +> **address**: (`props`) => `Element` = `AddressIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### arrow() + +> **arrow**: (`props`) => `Element` = `ArrowIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### arrow-white() + +> **arrow-white**: (`props`) => `Element` = `ArrowWhiteIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### attachment() + +> **attachment**: (`props`) => `Element` = `AttachmentIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### clip() + +> **clip**: (`props`) => `Element` = `ClipIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### close() + +> **close**: (`props`) => `Element` = `CloseIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### comic() + +> **comic**: (`props`) => `Element` = `ComicIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### contacts() + +> **contacts**: (`props`) => `Element` = `ContactsIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### copied() + +> **copied**: (`props`) => `Element` = `CopiedIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### copy() + +> **copy**: (`props`) => `Element` = `CopyIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### delete() + +> **delete**: (`props`) => `Element` = `DeleteIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### done() + +> **done**: (`props`) => `Element` = `DoneIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### edit() + +> **edit**: (`props`) => `Element` = `EditIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### general() + +> **general**: (`props`) => `Element` = `GeneralIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### location() + +> **location**: (`props`) => `Element` = `LocationIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### logout() + +> **logout**: (`props`) => `Element` = `LogoutIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### mapp() + +> **mapp**: (`props`) => `Element` = `MappIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### maximize() + +> **maximize**: (`props`) => `Element` = `MaximizeIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### minimize() + +> **minimize**: (`props`) => `Element` = `MinimizeIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### minus() + +> **minus**: (`props`) => `Element` = `MinusIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### notification() + +> **notification**: (`props`) => `Element` = `NotificationIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### pen() + +> **pen**: (`props`) => `Element` = `PenIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### person-edit() + +> **person-edit**: (`props`) => `Element` = `PersonEditIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### profile() + +> **profile**: (`props`) => `Element` = `ProfileIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### profile-edit() + +> **profile-edit**: (`props`) => `Element` = `ProfileEditIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### social() + +> **social**: (`props`) => `Element` = `SocialIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### trash() + +> **trash**: (`props`) => `Element` = `TrashIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### trash-white() + +> **trash-white**: (`props`) => `Element` = `TrashWhiteIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### verifications() + +> **verifications**: (`props`) => `Element` = `VerificationsIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### wallet() + +> **wallet**: (`props`) => `Element` = `WalletIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +## Defined in + +[packages/@justweb3/ui/src/lib/icons/components/general/index.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/icons/components/general/index.ts#L33) diff --git a/docs/sdk/JustWeb3 UI/variables/logo.md b/docs/sdk/JustWeb3 UI/variables/logo.md new file mode 100644 index 00000000..6ed7e890 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/variables/logo.md @@ -0,0 +1,39 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / logo + +# Variable: logo + +> `const` **logo**: `object` + +## Type declaration + +### just-someone() + +> **just-someone**: (`props`) => `Element` = `JustSomeoneIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### justa-name-logo() + +> **justa-name-logo**: (`props`) => `Element` = `JustaNameLogoIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +## Defined in + +[packages/@justweb3/ui/src/lib/icons/components/logo/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/icons/components/logo/index.ts#L3) diff --git a/docs/sdk/JustWeb3 UI/variables/socials.md b/docs/sdk/JustWeb3 UI/variables/socials.md new file mode 100644 index 00000000..bdd61739 --- /dev/null +++ b/docs/sdk/JustWeb3 UI/variables/socials.md @@ -0,0 +1,207 @@ +[**@justweb3/ui**](../README.md) • **Docs** + +*** + +[@justweb3/ui](../globals.md) / socials + +# Variable: socials + +> `const` **socials**: `object` + +## Type declaration + +### discord() + +> **discord**: (`props`) => `Element` = `DiscordIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### email() + +> **email**: (`props`) => `Element` = `EmailIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### facebook() + +> **facebook**: (`props`) => `Element` = `FacebookIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### farcaster() + +> **farcaster**: (`props`) => `Element` = `FarcasterIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### github() + +> **github**: (`props`) => `Element` = `GithubIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### google() + +> **google**: (`props`) => `Element` = `GoogleIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### instagram() + +> **instagram**: (`props`) => `Element` = `InstagramIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### linkedin() + +> **linkedin**: (`props`) => `Element` = `LinkedinIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### medium() + +> **medium**: (`props`) => `Element` = `MediumIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### mirror() + +> **mirror**: (`props`) => `Element` = `MirrorIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### reddit() + +> **reddit**: (`props`) => `Element` = `RedditIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### telegram() + +> **telegram**: (`props`) => `Element` = `TelegramIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### twitter() + +> **twitter**: (`props`) => `Element` = `TwitterIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### warpcast() + +> **warpcast**: (`props`) => `Element` = `WarpcastIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### website() + +> **website**: (`props`) => `Element` = `WebsiteIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +### x() + +> **x**: (`props`) => `Element` = `XIcon` + +#### Parameters + +• **props**: `SVGProps`\<`SVGSVGElement`\> + +#### Returns + +`Element` + +## Defined in + +[packages/@justweb3/ui/src/lib/icons/components/socials/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/ui/src/lib/icons/components/socials/index.ts#L17) diff --git a/docs/sdk/JustWeb3 Widget/README.md b/docs/sdk/JustWeb3 Widget/README.md new file mode 100644 index 00000000..4be65717 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/README.md @@ -0,0 +1,223 @@ +**@justweb3/widget** • [**Docs**](globals.md) + +*** + +# @justweb3/widget + +The **@justweb3/widget** library offers a complete identity solution for dApps. In just a few minutes, you can start issuing ENS subnames, authenticating users with SIWENS, managing profiles securely, and preventing Sybil attacks through social verifications and Proof of Personhood. The widget also integrates seamlessly with the **Admin Dashboard** to provide analytics and community engagement tools. + +For detailed documentation, visit the official [JustaName Documentation](https://docs.justaname.id/). + +## Try it out today on [Demo](https://demo.justaname.id/). + +--- + +## Table of Contents + +- [Overview](#overview) +- [Installation](#installation) +- [Setup](#setup) +- [Configuration](#configuration) +- [Appearance Customization](#appearance-customization) +- [Network Configuration](#network-configuration) +- [Features](#features) +- [License](#license) +--- + +## Overview + +The **JustWeb3 Widget** is designed to simplify identity management for dApps. It provides: + +- **ENS Subname Issuance:** Issue branded subnames for your users. +- **SIWENS Authentication:** Secure user authentication via ENS domains. +- **Profile Management:** Allow users to update and manage their profiles. +- **Social Verifications & Proof of Personhood:** Prevent Sybil attacks with social and zero-knowledge proofs. +- **Plugins:** Extend the widget’s capabilities with custom plugins. +- **Admin Dashboard:** Monitor subname usage and engage with your community. + +--- + +## Installation + +Install the widget with your preferred package manager: + +```bash +bash +Copy code +npm install @justweb3/widget + +``` + +You will also need additional dependencies: + +```bash +bash +Copy code +npm install wagmi @rainbow-me/rainbowkit @tanstack/react-query + +``` + +--- + +## Setup + +Below is a sample setup for **Next.js** or **Vite** projects. The widget works with **RainbowKit** or any other wallet provider like WalletConnect, Privy, or Web3Auth. + +### Example Integration + +```tsx +'use client'; + +import "@rainbow-me/rainbowkit/styles.css"; +import '@justweb3/widget/styles.css'; +import { + getDefaultConfig, + getDefaultWallets, + RainbowKitProvider, +} from "@rainbow-me/rainbowkit"; +import { WagmiProvider } from "wagmi"; +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { JustWeb3Provider, JustWeb3Button } from "@justweb3/widget"; +import { mainnet, sepolia } from "wagmi/chains"; + +const Providers = ({ children }) => { + const { wallets } = getDefaultWallets(); + const config = getDefaultConfig({ + appName: "Your dApp", + wallets, + chains: [mainnet, sepolia], + }); + + const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + openOnWalletConnect: true, + allowedEns: "all", + logo: "", + ensDomains: [ + { + ensDomain: "yourdomain.eth", + apiKey: "YOUR_API_KEY", + chainId: 1, + }, + ], + }; + + const queryClient = new QueryClient(); + + return ( + + + + + {children} + + + + + ); +}; + +export default Providers; + +``` + +--- + +## Configuration + +### API Key Setup + +1. **Sign Up:** Create an account in the [Admin Dashboard](https://docs.justaname.id/). +2. **Configure ENS Domain:** Set up your domain, or purchase one if needed. +3. **Generate API Key:** Save your API key securely—it will not be retrievable later. + +### Widget Configuration + +```tsx +const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + openOnWalletConnect: true, + allowedEns: "all", + logo: "https://yourdomain.com/your-logo.png", + ensDomains: [ + { + chainId: 1, + domain: 'your_ens_domain.eth', + apiKey: 'your-api-key' // Not recommended for production, use a backend server to protect your API key + } + ], + backendUrl: 'https://your-backend-url.com', // Leave empty for same origin (e.g when using Next.js) + color: { + primary: 'hsl(216, 90%, 58%)', // Sky Blue + background: 'hsl(0, 0%, 100%)', // White + destructive: 'hsl(0, 100%, 50%)', // Red + }, +}; + +``` + +--- + +## Appearance Customization + +The widget supports easy appearance customization to fit your dApp's branding. + +- **Primary Color:** Controls buttons, links, and accents. +- **Background Color:** Matches the widget’s background with your design. +- **Destructive Color:** Used for warnings or destructive actions. +- **Logo:** Add a custom logo to enhance branding. + +```tsx +const justweb3Config = { + color: { + primary: 'hsl(216, 90%, 58%)', + background: 'hsl(0, 0%, 100%)', + destructive: 'hsl(0, 100%, 50%)', + }, + logo: 'https://yourdomain.com/logo.png', +}; + +``` + +--- + +## Network Configuration + +The widget supports **Ethereum Mainnet** and **Sepolia Testnet**. Use public RPCs or provide custom URLs. + +```tsx +const justweb3Config = { + networks: [ + { chainId: 1, providerUrl: "YOUR_MAINNET_PROVIDER_URL" }, + { chainId: 11155111, providerUrl: "YOUR_SEPOLIA_PROVIDER_URL" }, + ], +}; + +``` + +If no custom provider is specified, the widget defaults to public RPC URLs. + +--- + +## Features + +- **Complete ENS Management:** Claim, update, and authenticate ENS subnames. +- **JustEnsCard Component:** Displays detailed ENS data for any name. +- **SIWENS Authentication:** Secure, decentralized sign-in using ENS. +- **Extendable via Plugins:** Add new features with ease. +- **Admin Dashboard Integration:** Monitor user activity and subname management. +- **Flexible Wallet Integration:** Works with RainbowKit, WalletConnect, Privy, and more. + +--- + +## License + +This project is licensed under the MIT License. For more details, refer to the official [JustaName Documentation](https://docs.justaname.id/). diff --git a/docs/sdk/JustWeb3 Widget/functions/EnsMetadataBadge.md b/docs/sdk/JustWeb3 Widget/functions/EnsMetadataBadge.md new file mode 100644 index 00000000..911d51af --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/EnsMetadataBadge.md @@ -0,0 +1,29 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / EnsMetadataBadge + +# Function: EnsMetadataBadge() + +> **EnsMetadataBadge**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `MetadataCardProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/widget/src/lib/components/MetadataCard/index.tsx:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/components/MetadataCard/index.tsx#L15) diff --git a/docs/sdk/JustWeb3 Widget/functions/JustEnsCard.md b/docs/sdk/JustWeb3 Widget/functions/JustEnsCard.md new file mode 100644 index 00000000..f3dce5cb --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/JustEnsCard.md @@ -0,0 +1,29 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustEnsCard + +# Function: JustEnsCard() + +> **JustEnsCard**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `JustEnsCardProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/widget/src/lib/components/JustEnsCard/index.tsx:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/components/JustEnsCard/index.tsx#L17) diff --git a/docs/sdk/JustWeb3 Widget/functions/JustWeb3Button.md b/docs/sdk/JustWeb3 Widget/functions/JustWeb3Button.md new file mode 100644 index 00000000..318d080b --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/JustWeb3Button.md @@ -0,0 +1,29 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustWeb3Button + +# Function: JustWeb3Button() + +> **JustWeb3Button**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `JustWeb3Buttonrops` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/widget/src/lib/components/JustWeb3Button/index.tsx:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/components/JustWeb3Button/index.tsx#L41) diff --git a/docs/sdk/JustWeb3 Widget/functions/JustWeb3Provider.md b/docs/sdk/JustWeb3 Widget/functions/JustWeb3Provider.md new file mode 100644 index 00000000..e606fd3a --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/JustWeb3Provider.md @@ -0,0 +1,29 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustWeb3Provider + +# Function: JustWeb3Provider() + +> **JustWeb3Provider**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: [`JustWeb3ProviderProps`](../interfaces/JustWeb3ProviderProps.md) + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:80](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L80) diff --git a/docs/sdk/JustWeb3 Widget/functions/JustaNameDialog.md b/docs/sdk/JustWeb3 Widget/functions/JustaNameDialog.md new file mode 100644 index 00000000..14f821f3 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/JustaNameDialog.md @@ -0,0 +1,29 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustaNameDialog + +# Function: JustaNameDialog() + +> **JustaNameDialog**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `DefaultDialogProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/widget/src/lib/dialogs/DefaultDialog/index.tsx:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/dialogs/DefaultDialog/index.tsx#L27) diff --git a/docs/sdk/JustWeb3 Widget/functions/JustaNameFooter.md b/docs/sdk/JustWeb3 Widget/functions/JustaNameFooter.md new file mode 100644 index 00000000..b54ec33a --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/JustaNameFooter.md @@ -0,0 +1,17 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustaNameFooter + +# Function: JustaNameFooter() + +> **JustaNameFooter**(): `Element` + +## Returns + +`Element` + +## Defined in + +[packages/@justweb3/widget/src/lib/components/JustaNameFooter/index.tsx:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/components/JustaNameFooter/index.tsx#L3) diff --git a/docs/sdk/JustWeb3 Widget/functions/JustaNameLoadingDialog.md b/docs/sdk/JustWeb3 Widget/functions/JustaNameLoadingDialog.md new file mode 100644 index 00000000..94a9232e --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/JustaNameLoadingDialog.md @@ -0,0 +1,29 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustaNameLoadingDialog + +# Function: JustaNameLoadingDialog() + +> **JustaNameLoadingDialog**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `LoadingDialogProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/widget/src/lib/dialogs/LoadingDialog/index.tsx:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/dialogs/LoadingDialog/index.tsx#L10) diff --git a/docs/sdk/JustWeb3 Widget/functions/ProfileSection.md b/docs/sdk/JustWeb3 Widget/functions/ProfileSection.md new file mode 100644 index 00000000..bf810794 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/ProfileSection.md @@ -0,0 +1,29 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / ProfileSection + +# Function: ProfileSection() + +> **ProfileSection**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +## Parameters + +• **props**: `ProfileSectionProps` + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +## Defined in + +[packages/@justweb3/widget/src/lib/components/Profile/ProfileSection/index.tsx:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/components/Profile/ProfileSection/index.tsx#L10) diff --git a/docs/sdk/JustWeb3 Widget/functions/getChainIcon.md b/docs/sdk/JustWeb3 Widget/functions/getChainIcon.md new file mode 100644 index 00000000..be7b05bb --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/getChainIcon.md @@ -0,0 +1,23 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / getChainIcon + +# Function: getChainIcon() + +> **getChainIcon**(`chain`, `size`?): `Element` + +## Parameters + +• **chain**: `string` + +• **size?**: `number` + +## Returns + +`Element` + +## Defined in + +[packages/@justweb3/widget/src/lib/icons/chain-icons/index.tsx:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/icons/chain-icons/index.tsx#L3) diff --git a/docs/sdk/JustWeb3 Widget/functions/getContentHashIcon.md b/docs/sdk/JustWeb3 Widget/functions/getContentHashIcon.md new file mode 100644 index 00000000..f4de2286 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/getContentHashIcon.md @@ -0,0 +1,21 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / getContentHashIcon + +# Function: getContentHashIcon() + +> **getContentHashIcon**(`contentHashProtocol`): `Element` + +## Parameters + +• **contentHashProtocol**: `string` + +## Returns + +`Element` + +## Defined in + +[packages/@justweb3/widget/src/lib/icons/contentHash-icons/index.tsx:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/icons/contentHash-icons/index.tsx#L11) diff --git a/docs/sdk/JustWeb3 Widget/functions/getTextRecordIcon.md b/docs/sdk/JustWeb3 Widget/functions/getTextRecordIcon.md new file mode 100644 index 00000000..6b8066a9 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/getTextRecordIcon.md @@ -0,0 +1,21 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / getTextRecordIcon + +# Function: getTextRecordIcon() + +> **getTextRecordIcon**(`key`): `Element` + +## Parameters + +• **key**: `string` + +## Returns + +`Element` + +## Defined in + +[packages/@justweb3/widget/src/lib/icons/records-icons/index.tsx:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/icons/records-icons/index.tsx#L17) diff --git a/docs/sdk/JustWeb3 Widget/functions/useDebounce.md b/docs/sdk/JustWeb3 Widget/functions/useDebounce.md new file mode 100644 index 00000000..c9348e1b --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/useDebounce.md @@ -0,0 +1,35 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / useDebounce + +# Function: useDebounce() + +> **useDebounce**\<`T`\>(`value`, `delay`): `object` + +## Type Parameters + +• **T** + +## Parameters + +• **value**: `T` + +• **delay**: `number` + +## Returns + +`object` + +### debouncedValue + +> **debouncedValue**: `T` + +### isDebouncing + +> **isDebouncing**: `boolean` + +## Defined in + +[packages/@justweb3/widget/src/lib/hooks/useDebounce/index.tsx:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/hooks/useDebounce/index.tsx#L3) diff --git a/docs/sdk/JustWeb3 Widget/functions/useJustWeb3.md b/docs/sdk/JustWeb3 Widget/functions/useJustWeb3.md new file mode 100644 index 00000000..983dd6e4 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/useJustWeb3.md @@ -0,0 +1,17 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / useJustWeb3 + +# Function: useJustWeb3() + +> **useJustWeb3**(): [`useJustWeb3`](../interfaces/useJustWeb3.md) + +## Returns + +[`useJustWeb3`](../interfaces/useJustWeb3.md) + +## Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:283](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L283) diff --git a/docs/sdk/JustWeb3 Widget/functions/useMApp.md b/docs/sdk/JustWeb3 Widget/functions/useMApp.md new file mode 100644 index 00000000..38323c6f --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/useMApp.md @@ -0,0 +1,21 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / useMApp + +# Function: useMApp() + +> **useMApp**(`__namedParameters`): `UseMAppResult` + +## Parameters + +• **\_\_namedParameters**: `UseMAppParams` + +## Returns + +`UseMAppResult` + +## Defined in + +[packages/@justweb3/widget/src/lib/providers/MAppProvider/index.tsx:200](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/MAppProvider/index.tsx#L200) diff --git a/docs/sdk/JustWeb3 Widget/functions/useMApps.md b/docs/sdk/JustWeb3 Widget/functions/useMApps.md new file mode 100644 index 00000000..6e62bdec --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/useMApps.md @@ -0,0 +1,17 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / useMApps + +# Function: useMApps() + +> **useMApps**(): `MAppContextProps` + +## Returns + +`MAppContextProps` + +## Defined in + +[packages/@justweb3/widget/src/lib/providers/MAppProvider/index.tsx:288](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/MAppProvider/index.tsx#L288) diff --git a/docs/sdk/JustWeb3 Widget/functions/usePlugins.md b/docs/sdk/JustWeb3 Widget/functions/usePlugins.md new file mode 100644 index 00000000..bbefc9b1 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/functions/usePlugins.md @@ -0,0 +1,17 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / usePlugins + +# Function: usePlugins() + +> **usePlugins**(): `PluginContextProps` + +## Returns + +`PluginContextProps` + +## Defined in + +[packages/@justweb3/widget/src/lib/providers/PluginProvider/index.tsx:421](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/PluginProvider/index.tsx#L421) diff --git a/docs/sdk/JustWeb3 Widget/globals.md b/docs/sdk/JustWeb3 Widget/globals.md new file mode 100644 index 00000000..34c2db83 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/globals.md @@ -0,0 +1,41 @@ +[**@justweb3/widget**](README.md) • **Docs** + +*** + +# @justweb3/widget + +## Interfaces + +- [JustaPlugin](interfaces/JustaPlugin.md) +- [JustWeb3ContextProps](interfaces/JustWeb3ContextProps.md) +- [JustWeb3ProviderConfig](interfaces/JustWeb3ProviderConfig.md) +- [JustWeb3ProviderProps](interfaces/JustWeb3ProviderProps.md) +- [PluginApi](interfaces/PluginApi.md) +- [useJustWeb3](interfaces/useJustWeb3.md) + +## Type Aliases + +- [UpdateRecordsParams](type-aliases/UpdateRecordsParams.md) + +## Variables + +- [JustWeb3Context](variables/JustWeb3Context.md) + +## Functions + +- [EnsMetadataBadge](functions/EnsMetadataBadge.md) +- [getChainIcon](functions/getChainIcon.md) +- [getContentHashIcon](functions/getContentHashIcon.md) +- [getTextRecordIcon](functions/getTextRecordIcon.md) +- [JustaNameDialog](functions/JustaNameDialog.md) +- [JustaNameFooter](functions/JustaNameFooter.md) +- [JustaNameLoadingDialog](functions/JustaNameLoadingDialog.md) +- [JustEnsCard](functions/JustEnsCard.md) +- [JustWeb3Button](functions/JustWeb3Button.md) +- [JustWeb3Provider](functions/JustWeb3Provider.md) +- [ProfileSection](functions/ProfileSection.md) +- [useDebounce](functions/useDebounce.md) +- [useJustWeb3](functions/useJustWeb3.md) +- [useMApp](functions/useMApp.md) +- [useMApps](functions/useMApps.md) +- [usePlugins](functions/usePlugins.md) diff --git a/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ContextProps.md b/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ContextProps.md new file mode 100644 index 00000000..6b83420f --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ContextProps.md @@ -0,0 +1,121 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustWeb3ContextProps + +# Interface: JustWeb3ContextProps + +## Properties + +### config + +> **config**: [`JustWeb3ProviderConfig`](JustWeb3ProviderConfig.md) + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:64](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L64) + +*** + +### handleJustWeb3Config() + +> **handleJustWeb3Config**: (`config`) => `void` + +#### Parameters + +• **config**: [`JustWeb3ProviderConfig`](JustWeb3ProviderConfig.md) + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:61](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L61) + +*** + +### handleOpenEnsProfile() + +> **handleOpenEnsProfile**: (`ens`, `chainId`?) => `void` + +#### Parameters + +• **ens**: `string` + +• **chainId?**: `ChainId` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:62](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L62) + +*** + +### handleOpenSignInDialog() + +> **handleOpenSignInDialog**: (`open`) => `void` + +#### Parameters + +• **open**: `boolean` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:57](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L57) + +*** + +### handleUpdateRecords() + +> **handleUpdateRecords**: (`records`) => `Promise`\<`void`\> + +#### Parameters + +• **records**: [`UpdateRecordsParams`](../type-aliases/UpdateRecordsParams.md) & `object` + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:58](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L58) + +*** + +### isSignInOpen + +> **isSignInOpen**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:63](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L63) + +*** + +### mApps + +> **mApps**: `string`[] + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:66](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L66) + +*** + +### plugins + +> **plugins**: [`JustaPlugin`](JustaPlugin.md)[] + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:65](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L65) diff --git a/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderConfig.md b/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderConfig.md new file mode 100644 index 00000000..be800adb --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderConfig.md @@ -0,0 +1,221 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustWeb3ProviderConfig + +# Interface: JustWeb3ProviderConfig + +## Extends + +- `JustaNameProviderConfig`.`JustWeb3ThemeProviderConfig` + +## Properties + +### allowedEns? + +> `optional` **allowedEns**: `"all"` \| `string`[] \| `"claimable"` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L42) + +*** + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Inherited from + +`JustaNameProviderConfig.backendUrl` + +#### Defined in + +packages/@justaname.id/react/dist/src/lib/providers/JustaNameProvider.d.ts:21 + +*** + +### color? + +> `optional` **color**: `object` + +#### background? + +> `optional` **background**: `string` + +#### destructive? + +> `optional` **destructive**: `string` + +#### primary? + +> `optional` **primary**: `string` + +#### Inherited from + +`JustWeb3ThemeProviderConfig.color` + +#### Defined in + +packages/@justweb3/ui/dist/src/lib/providers/JustWeb3ThemeProvider/index.d.ts:35 + +*** + +### config? + +> `optional` **config**: `Configuration` + +#### Inherited from + +`JustaNameProviderConfig.config` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:28 + +*** + +### dev? + +> `optional` **dev**: `boolean` + +#### Inherited from + +`JustaNameProviderConfig.dev` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:32 + +*** + +### disableOverlay? + +> `optional` **disableOverlay**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L44) + +*** + +### ensDomains? + +> `optional` **ensDomains**: `EnsDomains` + +#### Inherited from + +`JustaNameProviderConfig.ensDomains` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:30 + +*** + +### logo? + +> `optional` **logo**: `string` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L43) + +*** + +### mApps? + +> `optional` **mApps**: (`string` \| `object`)[] + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L45) + +*** + +### networks? + +> `optional` **networks**: `Networks` + +#### Inherited from + +`JustaNameProviderConfig.networks` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:29 + +*** + +### openOnWalletConnect? + +> `optional` **openOnWalletConnect**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L41) + +*** + +### plugins? + +> `optional` **plugins**: [`JustaPlugin`](JustaPlugin.md)[] + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L46) + +*** + +### routes? + +> `optional` **routes**: `Partial`\<`object`\> + +#### Type declaration + +##### addSubnameRoute + +> **addSubnameRoute**: `string` + +##### currentEnsRoute + +> **currentEnsRoute**: `string` + +##### revokeSubnameRoute + +> **revokeSubnameRoute**: `string` + +##### signinNonceRoute + +> **signinNonceRoute**: `string` + +##### signinRoute + +> **signinRoute**: `string` + +##### signoutRoute + +> **signoutRoute**: `string` + +#### Inherited from + +`JustaNameProviderConfig.routes` + +#### Defined in + +packages/@justaname.id/react/dist/src/lib/providers/JustaNameProvider.d.ts:20 + +*** + +### signOnMounted? + +> `optional` **signOnMounted**: `boolean` + +#### Inherited from + +`JustaNameProviderConfig.signOnMounted` + +#### Defined in + +packages/@justaname.id/react/dist/src/lib/providers/JustaNameProvider.d.ts:22 diff --git a/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderProps.md b/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderProps.md new file mode 100644 index 00000000..560f9f3b --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/interfaces/JustWeb3ProviderProps.md @@ -0,0 +1,27 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustWeb3ProviderProps + +# Interface: JustWeb3ProviderProps + +## Properties + +### children + +> **children**: `ReactNode` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:50](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L50) + +*** + +### config + +> **config**: [`JustWeb3ProviderConfig`](JustWeb3ProviderConfig.md) + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L51) diff --git a/docs/sdk/JustWeb3 Widget/interfaces/JustaPlugin.md b/docs/sdk/JustWeb3 Widget/interfaces/JustaPlugin.md new file mode 100644 index 00000000..fe7de520 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/interfaces/JustaPlugin.md @@ -0,0 +1,57 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustaPlugin + +# Interface: JustaPlugin + +## Properties + +### components? + +> `optional` **components**: `PluginComponents` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:124](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L124) + +*** + +### hooks? + +> `optional` **hooks**: `Hooks` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:128](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L128) + +*** + +### mApps? + +> `optional` **mApps**: `string`[] + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:126](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L126) + +*** + +### name + +> **name**: `string` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:122](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L122) + +*** + +### priority? + +> `optional` **priority**: `number` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:130](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L130) diff --git a/docs/sdk/JustWeb3 Widget/interfaces/PluginApi.md b/docs/sdk/JustWeb3 Widget/interfaces/PluginApi.md new file mode 100644 index 00000000..231ba284 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/interfaces/PluginApi.md @@ -0,0 +1,181 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / PluginApi + +# Interface: PluginApi + +## Properties + +### chainId + +> **chainId**: `undefined` \| `number` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L10) + +*** + +### connectedEns + +> **connectedEns**: `undefined` \| `null` \| `object` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L7) + +*** + +### eventEmitter + +> **eventEmitter**: `EventEmitter` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L16) + +*** + +### getState() + +> **getState**: \<`T`\>(`key`) => `undefined` \| `T` + +#### Type Parameters + +• **T** + +#### Parameters + +• **key**: `string` + +#### Returns + +`undefined` \| `T` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L14) + +*** + +### handleOpenAuthorizeMAppDialog() + +> **handleOpenAuthorizeMAppDialog**: (`mApp`, `open`) => `void` + +#### Parameters + +• **mApp**: `string` + +• **open**: `boolean` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L18) + +*** + +### handleOpenRevokeMAppDialog() + +> **handleOpenRevokeMAppDialog**: (`mApp`, `open`) => `void` + +#### Parameters + +• **mApp**: `string` + +• **open**: `boolean` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L19) + +*** + +### handleOpenSignInDialog() + +> **handleOpenSignInDialog**: (`open`) => `void` + +#### Parameters + +• **open**: `boolean` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L20) + +*** + +### isEnsAuthPending + +> **isEnsAuthPending**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L8) + +*** + +### isLoggedIn + +> **isLoggedIn**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L9) + +*** + +### mApps + +> **mApps**: `string`[] + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L12) + +*** + +### records + +> **records**: `undefined` \| `Records` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L11) + +*** + +### setState() + +> **setState**: \<`T`\>(`key`, `value`) => `void` + +#### Type Parameters + +• **T** + +#### Parameters + +• **key**: `string` + +• **value**: `T` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/plugins/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/plugins/index.ts#L13) diff --git a/docs/sdk/JustWeb3 Widget/interfaces/useJustWeb3.md b/docs/sdk/JustWeb3 Widget/interfaces/useJustWeb3.md new file mode 100644 index 00000000..b71acea4 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/interfaces/useJustWeb3.md @@ -0,0 +1,181 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / useJustWeb3 + +# Interface: useJustWeb3 + +## Properties + +### chainId + +> **chainId**: `undefined` \| `ChainId` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:280](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L280) + +*** + +### connectedEns + +> **connectedEns**: `undefined` \| `null` \| `object` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:275](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L275) + +*** + +### handleOpenSignInDialog() + +> **handleOpenSignInDialog**: (`open`) => `void` + +#### Parameters + +• **open**: `boolean` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:265](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L265) + +*** + +### isEnsAuthFetching + +> **isEnsAuthFetching**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:273](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L273) + +*** + +### isEnsAuthLoading + +> **isEnsAuthLoading**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:272](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L272) + +*** + +### isEnsAuthPending + +> **isEnsAuthPending**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:271](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L271) + +*** + +### isLoggedIn + +> **isLoggedIn**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:270](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L270) + +*** + +### isSignInOpen + +> **isSignInOpen**: `boolean` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:266](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L266) + +*** + +### openEnsProfile() + +> **openEnsProfile**: (`ens`, `chainId`?) => `void` + +#### Parameters + +• **ens**: `string` + +• **chainId?**: `ChainId` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:276](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L276) + +*** + +### refreshEnsAuth() + +> **refreshEnsAuth**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:274](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L274) + +*** + +### signIn + +> **signIn**: `UseMutateAsyncFunction`\<`string`, `Error`, `UseEnsSignInFunctionParams`, `unknown`\> + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:267](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L267) + +*** + +### signOut() + +> **signOut**: () => `Promise`\<`void`\> + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:268](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L268) + +*** + +### status + +> **status**: `"pending"` \| `"signedIn"` \| `"signedOut"` + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:269](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L269) + +*** + +### updateRecords() + +> **updateRecords**: (`records`) => `Promise`\<`void`\> + +#### Parameters + +• **records**: `Omit`\<`UseSubnameUpdateFunctionParams`, `"ens"`\> & `object` + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:277](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L277) diff --git a/docs/sdk/JustWeb3 Widget/type-aliases/UpdateRecordsParams.md b/docs/sdk/JustWeb3 Widget/type-aliases/UpdateRecordsParams.md new file mode 100644 index 00000000..21be8c09 --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/type-aliases/UpdateRecordsParams.md @@ -0,0 +1,13 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / UpdateRecordsParams + +# Type Alias: UpdateRecordsParams + +> **UpdateRecordsParams**: `Omit`\<`UseSubnameUpdateFunctionParams`, `"ens"`\> + +## Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:54](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L54) diff --git a/docs/sdk/JustWeb3 Widget/variables/JustWeb3Context.md b/docs/sdk/JustWeb3 Widget/variables/JustWeb3Context.md new file mode 100644 index 00000000..278d4d8f --- /dev/null +++ b/docs/sdk/JustWeb3 Widget/variables/JustWeb3Context.md @@ -0,0 +1,13 @@ +[**@justweb3/widget**](../README.md) • **Docs** + +*** + +[@justweb3/widget](../globals.md) / JustWeb3Context + +# Variable: JustWeb3Context + +> `const` **JustWeb3Context**: `Context`\<[`JustWeb3ContextProps`](../interfaces/JustWeb3ContextProps.md)\> + +## Defined in + +[packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx:69](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/widget/src/lib/providers/JustWeb3Provider/index.tsx#L69) diff --git a/docs/sdk/JustaName Core SDK/README.md b/docs/sdk/JustaName Core SDK/README.md index 17d8e758..fc98e0d4 100644 --- a/docs/sdk/JustaName Core SDK/README.md +++ b/docs/sdk/JustaName Core SDK/README.md @@ -2,139 +2,243 @@ *** -# JustaName Core SDK +# JustaName SDK -The **JustaName Core SDK** enables seamless integration of decentralized identity and ENS (Ethereum Name Service) management into your dApps, offering a modern, gasless, and user-friendly experience. Whether you want to issue ENS subnames, update records for free, or authenticate users with their ENS, JustaName provides an easy-to-use solution. +JustaName SDK is a toolkit for managing Ethereum Name Service (ENS) domains and subnames. It simplifies the integration of ENS functionalities into any application, including resolving ENS names, issuing off-chain subnames, and enabling Sign-In with ENS (SIWENS). +The SDK supports both Ethereum Mainnet and Testnet environments. -## Key Features +## Table of Contents +- [Motivation](#motivation) +- [Features](#features) +- [How It Works](#how-it-works) +- [Installation](#installation) +- [Quickstart Guide](#quickstart-guide) + - [Initialization](#initialization) + - [Issuing a Subname](#issuing-a-subname) + - [Updating a Subname](#updating-a-subname) + - [Signing In with ENS](#signing-in-with-ens) +- [Benefits](#benefits) +- [Available Methods](#available-methods) + - [Subname Management](#subname-management) + - [SIWE](#siwe) + - [Sign-In with ENS](#sign-in-with-ens) + - [Offchain Resolvers](#offchain-resolvers) +- [Contributing](#contributing) -### 1. **Gasless Subname Issuance** -Issue ENS subnames without users having to worry about gas fees. The SDK supports gasless transactions, allowing you to provide a frictionless experience when users claim or manage their subnames. +## Motivation -### 2. **Free ENS Record Updates** -Update your ENS records for free! Modify subname information like avatars, descriptions, and more without incurring any gas fees. This feature allows for fast and frequent updates, giving users more control over their ENS profiles and metadata. +Managing ENS domains and integrating them into applications can be complex and time-consuming. JustaName SDK aims to streamline this process by providing an easy-to-use interface for off-chain ENS management, subname issuance, and authentication using ENS domains. By abstracting the underlying complexities, developers can focus on building feature-rich applications without worrying about ENS integration details. -### 3. **SIWENS: Authentication Using ENS** -Authenticate users with **SIWENS (Sign-In with Ethereum + ENS)**, ensuring not only that users control their Ethereum wallet, but also verifying ownership of the ENS domain used during login. This adds an extra layer of security and simplifies the login process for users. +## Features -### 4. **ENS Name Resolution** -Easily resolve ENS names to their corresponding Ethereum addresses, allowing you to build ENS-powered applications that rely on human-readable identifiers. This makes it simpler for users to interact with decentralized applications using familiar ENS names rather than long, complex wallet addresses. +- **ENS Management:** Manage ENS domains and subnames off-chain effortlessly. +- **Subname Issuance:** Issue and update subnames without interacting directly with smart contracts. +- **ENS Resolution:** Resolve on-chain and off-chain ENS easily within your application. +- **Sign-In with ENS (SIWENS):** Authenticate users using their ENS domains for a decentralized and secure sign-in experience. +- **Mainnet and Testnet Support:** Compatible with Ethereum Mainnet and Testnet environments. +- **Easy Integration:** Simplifies the incorporation of ENS functionalities into any application. -### 5. **Metadata Applications (mApps)** -Leverage **mApps (Metadata Applications)** to manage custom fields and permissions associated with ENS records. Add, modify, or revoke mApp permissions dynamically, allowing for decentralized, role-based access to your dApp’s features. +## How It Works -### 6. **Cross-Chain Support** -The SDK is designed to support multiple blockchains, including Ethereum mainnet, testnets, and other EVM-compatible networks. This cross-chain support ensures your dApp is scalable and adaptable to different blockchain ecosystems. +JustaName SDK interacts with the JustaName API to perform off-chain operations related to ENS domains and subnames. It handles the necessary cryptographic operations, such as signing messages and verifying signatures, to ensure secure interactions. By using the SDK, developers can perform tasks like issuing subnames, updating records, and authenticating users without dealing with the complexities of the Ethereum blockchain directly. -## Why Choose JustaName SDK? +## Installation -- **Gasless & User-Friendly**: Enable users to issue and manage ENS subnames without needing to pay gas fees. -- **Effortless ENS Management**: Free record updates for ENS profiles, making it simple to keep user data current and relevant. -- **Enhanced Security**: With SIWENS authentication, users' ENS domain ownership is verified, providing a secure and decentralized identity solution. -- **Easy ENS Resolution**: Quickly resolve ENS names to Ethereum addresses for seamless transactions and interactions. -- **Custom Metadata Management**: mApps allow you to extend ENS profiles with custom data and permissions, perfect for complex, role-based dApps. -- **Multi-Chain Flexibility**: Build dApps that are blockchain-agnostic, with full support for Ethereum and EVM-compatible chains. - -## Quickstart - -Install the SDK via npm or yarn: +Install the package using npm or yarn: ```bash npm install @justaname.id/sdk -or +# or yarn add @justaname.id/sdk ``` -## Example Usage +## Quickstart Guide +### Initialization +First, import the JustaName SDK and initialize it with your configuration: ```typescript import { JustaName } from '@justaname.id/sdk'; +import { ethers } from 'ethers'; // Initialize the SDK with your configuration const justaname = JustaName.init({ - apiKey: 'your-api-key', - networks: [ - { - chainId: 1, // Ethereum Mainnet - providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' + networks: [ + { + chainId: 1, // Ethereum Mainnet + providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' + } + ], + ensDomains: [ + { + chainId: 1, + domain: 'your_ens_domain.eth', + apiKey: 'your-api-key', + } + + ], + config: { + domain: 'yourdapp.com', + origin: 'https://yourdapp.com' } - ], - ensDomains: [{ - chainId: 1, - domain: 'your_ens_domain.eth' - }], - config:{ - domain: 'yourdapp.com', - origin: 'https://yourdapp.com' - } }); +// Create a signer (for example purposes, we're creating a random wallet) const signer = ethers.Wallet.createRandom(); +``` +### Issuing a Subname +To issue a subname off-chain, you can use the following code: + +```typescript async function issueSubname() { - const challenge = await justaname.siwe.requestChallenge({ - address: signer.address, - chainId: CHAIN_ID, - }); - - const signature = await signer.signMessage(challenge.challenge); - const response = await justaname.subnames.addSubname({ - username: 'username1', - chainId: CHAIN_ID, - }, { - xMessage: challenge.challenge, - xAddress: signer.address, - xSignature: signature - }) - - return response; + const challenge = await justaname.siwe.requestChallenge({ + address: signer.address, + chainId: 1 // Ethereum Mainnet + }); + + const signature = await signer.signMessage(challenge.challenge); + + const response = await justaname.subnames.addSubname( + { + username: 'username1', + chainId: 1 + }, + { + xMessage: challenge.challenge, + xAddress: signer.address, + xSignature: signature + }); + + console.log('Subname issued successfully:', response); + return response; } +``` +### Updating a Subname +To update records associated with a subname, such as setting an avatar: +```typescript async function updateSubname() { const challenge = await justaname.siwe.requestChallenge({ address: signer.address, - chainId: CHAIN_ID, + chainId: 1 }); const signature = await signer.signMessage(challenge.challenge); - const response = await justaname.subnames.updateSubname({ + const response = await justaname.subnames.updateSubname( + { username: 'username1', - chainId: CHAIN_ID, - text: [{ + chainId: 1, + text: [ + { key: 'avatar', value: 'https://youravatar.com/avatar.png' - }] - }, { + } + ] + }, + { xMessage: challenge.challenge, xAddress: signer.address, xSignature: signature }); + console.log('Subname updated successfully:', response); return response; } +``` + +### Signing In with ENS +Enable users to sign in to your application using their ENS domain: +```typescript async function signIn() { - - const requestChallenge = await justaname.signIn.requestSignIn({ - ens: 'your_ens_domain.eth', - address: signer.address - }) // usually this will be done on the frontend - const signature = await signer.signMessage(requestChallenge.message); - - const response = await justaname.signIn.signIn( - requestChallenge.message, - signature - ) // usually this will be done on the backend - - console.log('User signed in with ENS:', response.ens); + const message = await justaname.signIn.requestSignIn({ + ens: 'your_ens_domain.eth', + address: signer.address + }); + + const signature = await signer.signMessage(message); + + const response = await justaname.signIn.signIn({ + message: message, + signature: signature + }); + + console.log('User signed in with ENS:', response.ens); + return response; } +``` + +### Putting It All Together +You can combine these functions to manage subnames and authenticate users: +```typescript async function main() { - await issueSubname(); - await updateSubname(); - await signIn(); + await issueSubname(); + await updateSubname(); + await signIn(); } + +main().catch(console.error); ``` + +## Available Methods +### Subname Management +- acceptSubname +- reserveSubname +- addSubname +- updateSubname +- revokeSubname +- rejectSubname +- getSubnamesByEnsDomainWithCount +- getSubname +- getSubnamesByAddress +- getInvitationsByAddress +- getSubnamesByEnsDomain +- searchSubnames +- isSubnameAvailable +- getRecords +- getPrimaryNameByAddress +### SIWE +- requestChallenge +- verifyChallenge +### Sign-In with ENS +- requestSignIn +- signIn +- generateNonce + +[//]: # (### MApp Management) + +[//]: # (- checkIfMAppIsEnabled) + +[//]: # (- canEnableMApps) + +[//]: # (- requestAddMAppPermissionChallenge) + +[//]: # (- requestAppendMAppFieldChallenge) + +[//]: # (- requestRevokeMAppPermissionChallenge) + +[//]: # (- addMAppPermission) + +[//]: # (- appendMAppField) + +[//]: # (- revokeMAppPermission) +### Offchain Resolvers +- getAllOffchainResolvers + +### Benefits +Simplified ENS Integration: Abstracts the complexities of interacting with the Ethereum blockchain and ENS smart contracts. + +Off-Chain Management: Perform ENS domain and subname operations off-chain, reducing gas costs and improving performance. + +Enhanced Security: Utilizes cryptographic signatures to ensure secure operations. + +User-Friendly Authentication: Allows users to sign in with their ENS domains, enhancing user experience and security. + +Flexible Environment Support: Works seamlessly with both Ethereum Mainnet and Testnet networks. + +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. diff --git a/docs/sdk/JustaName Core SDK/classes/ApiKeyRequiredException.md b/docs/sdk/JustaName Core SDK/classes/ApiKeyRequiredException.md index 8c70a0c2..1e4956fd 100644 --- a/docs/sdk/JustaName Core SDK/classes/ApiKeyRequiredException.md +++ b/docs/sdk/JustaName Core SDK/classes/ApiKeyRequiredException.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts#L2) +[packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts#L2) ## Properties @@ -144,7 +144,7 @@ node\_modules/@types/node/globals.d.ts:13 #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts#L6) +[packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/ApiKeyRequired.exception.ts#L6) *** diff --git a/docs/sdk/JustaName Core SDK/classes/InvalidConfigurationException.md b/docs/sdk/JustaName Core SDK/classes/InvalidConfigurationException.md index b3381fd1..902688bf 100644 --- a/docs/sdk/JustaName Core SDK/classes/InvalidConfigurationException.md +++ b/docs/sdk/JustaName Core SDK/classes/InvalidConfigurationException.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts#L2) +[packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts#L2) ## Properties @@ -174,7 +174,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts#L11) +[packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts#L11) *** @@ -192,4 +192,4 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts#L7) +[packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidConfiguration.exception.ts#L7) diff --git a/docs/sdk/JustaName Core SDK/classes/InvalidENSException.md b/docs/sdk/JustaName Core SDK/classes/InvalidENSException.md index 3a0d56c5..d988647d 100644 --- a/docs/sdk/JustaName Core SDK/classes/InvalidENSException.md +++ b/docs/sdk/JustaName Core SDK/classes/InvalidENSException.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts#L2) +[packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts#L2) ## Properties @@ -174,7 +174,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts#L11) +[packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts#L11) *** @@ -192,4 +192,4 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts#L6) +[packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidENS.exception.ts#L6) diff --git a/docs/sdk/JustaName Core SDK/classes/InvalidSignInException.md b/docs/sdk/JustaName Core SDK/classes/InvalidSignInException.md new file mode 100644 index 00000000..01ab6b91 --- /dev/null +++ b/docs/sdk/JustaName Core SDK/classes/InvalidSignInException.md @@ -0,0 +1,237 @@ +[**@justaname.id/sdk**](../README.md) • **Docs** + +*** + +[@justaname.id/sdk](../globals.md) / InvalidSignInException + +# Class: InvalidSignInException + +## Extends + +- `Error` + +## Constructors + +### new InvalidSignInException() + +> **new InvalidSignInException**(`message`): [`InvalidSignInException`](InvalidSignInException.md) + +#### Parameters + +• **message**: `string` + +#### Returns + +[`InvalidSignInException`](InvalidSignInException.md) + +#### Overrides + +`Error.constructor` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts#L2) + +## Properties + +### cause? + +> `optional` **cause**: `unknown` + +#### Inherited from + +`Error.cause` + +#### Defined in + +node\_modules/typescript/lib/lib.es2022.error.d.ts:24 + +*** + +### message + +> **message**: `string` + +#### Inherited from + +`Error.message` + +#### Defined in + +node\_modules/typescript/lib/lib.es5.d.ts:1077 + +*** + +### name + +> **name**: `string` + +#### Inherited from + +`Error.name` + +#### Defined in + +node\_modules/typescript/lib/lib.es5.d.ts:1076 + +*** + +### stack? + +> `optional` **stack**: `string` + +#### Inherited from + +`Error.stack` + +#### Defined in + +node\_modules/typescript/lib/lib.es5.d.ts:1078 + +*** + +### prepareStackTrace()? + +> `static` `optional` **prepareStackTrace**: (`err`, `stackTraces`) => `any` + +Optional override for formatting stack traces + +#### Parameters + +• **err**: `Error` + +• **stackTraces**: `CallSite`[] + +#### Returns + +`any` + +#### See + +https://v8.dev/docs/stack-trace-api#customizing-stack-traces + +#### Inherited from + +`Error.prepareStackTrace` + +#### Defined in + +node\_modules/@types/node/globals.d.ts:11 + +*** + +### stackTraceLimit + +> `static` **stackTraceLimit**: `number` + +#### Inherited from + +`Error.stackTraceLimit` + +#### Defined in + +node\_modules/@types/node/globals.d.ts:13 + +## Methods + +### captureStackTrace() + +> `static` **captureStackTrace**(`targetObject`, `constructorOpt`?): `void` + +Create .stack property on a target object + +#### Parameters + +• **targetObject**: `object` + +• **constructorOpt?**: `Function` + +#### Returns + +`void` + +#### Inherited from + +`Error.captureStackTrace` + +#### Defined in + +node\_modules/@types/node/globals.d.ts:4 + +*** + +### chainIdMismatch() + +> `static` **chainIdMismatch**(`chainId`, `signedChainId`): [`InvalidSignInException`](InvalidSignInException.md) + +#### Parameters + +• **chainId**: `string` + +• **signedChainId**: `string` + +#### Returns + +[`InvalidSignInException`](InvalidSignInException.md) + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts#L11) + +*** + +### chainIdNotSupported() + +> `static` **chainIdNotSupported**(`chainId`): [`InvalidSignInException`](InvalidSignInException.md) + +#### Parameters + +• **chainId**: `string` + +#### Returns + +[`InvalidSignInException`](InvalidSignInException.md) + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts#L21) + +*** + +### domainMismatch() + +> `static` **domainMismatch**(`domain`, `signedDomain`): [`InvalidSignInException`](InvalidSignInException.md) + +#### Parameters + +• **domain**: `string` + +• **signedDomain**: `string` + +#### Returns + +[`InvalidSignInException`](InvalidSignInException.md) + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts#L6) + +*** + +### nonceMismatch() + +> `static` **nonceMismatch**(`nonce`, `signedNonce`): [`InvalidSignInException`](InvalidSignInException.md) + +#### Parameters + +• **nonce**: `string` + +• **signedNonce**: `string` + +#### Returns + +[`InvalidSignInException`](InvalidSignInException.md) + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/errors/InvalidSignIn.exception.ts#L16) diff --git a/docs/sdk/JustaName Core SDK/classes/JustaName.md b/docs/sdk/JustaName Core SDK/classes/JustaName.md index 5e5350b3..ad7181db 100644 --- a/docs/sdk/JustaName Core SDK/classes/JustaName.md +++ b/docs/sdk/JustaName Core SDK/classes/JustaName.md @@ -56,7 +56,7 @@ const configuration = { #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:72](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L72) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:78](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L78) ## Properties @@ -72,7 +72,7 @@ JustaName #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:70](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L70) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:76](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L76) *** @@ -88,7 +88,7 @@ JustaName #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L54) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:60](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L60) *** @@ -104,7 +104,7 @@ JustaName #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:62](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L62) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:68](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L68) *** @@ -114,7 +114,7 @@ JustaName #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L38) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L44) *** @@ -130,7 +130,7 @@ JustaName #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L46) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:52](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L52) ## Methods @@ -148,7 +148,7 @@ JustaName #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:142](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L142) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:160](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L160) *** @@ -158,7 +158,7 @@ JustaName #### Parameters -• **configuration**: [`JustaNameConfig`](../interfaces/JustaNameConfig.md)\<[`Configuration`](../interfaces/Configuration.md), [`Networks`](../type-aliases/Networks.md), `undefined` \| [`EnsDomains`](../type-aliases/EnsDomains.md), `undefined` \| [`ChainId`](../type-aliases/ChainId.md), `undefined` \| `string`\> = `{}` +• **configuration**: [`JustaNameConfig`](../interfaces/JustaNameConfig.md)\<[`Configuration`](../interfaces/Configuration.md), [`Networks`](../type-aliases/Networks.md), `undefined` \| [`EnsDomains`](../type-aliases/EnsDomains.md), `undefined` \| [`ChainId`](../type-aliases/ChainId.md)\> = `{}` #### Returns @@ -166,4 +166,4 @@ JustaName #### Defined in -[packages/@justaname.id/sdk/src/lib/justaname/index.ts:86](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L86) +[packages/@justaname.id/sdk/src/lib/justaname/index.ts:92](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/justaname/index.ts#L92) diff --git a/docs/sdk/JustaName Core SDK/classes/MApps.md b/docs/sdk/JustaName Core SDK/classes/MApps.md index ed7720d9..39ad60bc 100644 --- a/docs/sdk/JustaName Core SDK/classes/MApps.md +++ b/docs/sdk/JustaName Core SDK/classes/MApps.md @@ -10,11 +10,11 @@ ### new MApps() -> **new MApps**(`__namedParameters`): [`MApps`](MApps.md) +> **new MApps**(`params`): [`MApps`](MApps.md) #### Parameters -• **\_\_namedParameters**: [`MAppsParams`](../interfaces/MAppsParams.md) +• **params**: [`MAppsParams`](../interfaces/MAppsParams.md) #### Returns @@ -22,47 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L29) - -## Properties - -### chainId - -> **chainId**: [`ChainId`](../type-aliases/ChainId.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L25) - -*** - -### networks - -> **networks**: [`NetworksWithProvider`](../type-aliases/NetworksWithProvider.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L27) - -*** - -### siweConfig? - -> `optional` **siweConfig**: `Omit`\<[`SiweConfig`](../interfaces/SiweConfig.md), `"chainId"` \| `"ttl"`\> - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L24) - -*** - -### subnames - -> **subnames**: [`Subnames`](Subnames.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L26) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L31) ## Methods @@ -80,7 +40,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:141](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L141) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:144](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L144) *** @@ -100,7 +60,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:149](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L149) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:152](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L152) *** @@ -122,7 +82,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:79](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L79) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:82](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L82) *** @@ -146,7 +106,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:36](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L36) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L39) *** @@ -164,7 +124,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:93](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L93) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:96](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L96) *** @@ -182,7 +142,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:109](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L109) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:112](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L112) *** @@ -200,7 +160,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:125](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L125) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:128](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L128) *** @@ -218,4 +178,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:160](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L160) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:163](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L163) diff --git a/docs/sdk/JustaName Core SDK/classes/OffchainResolvers.md b/docs/sdk/JustaName Core SDK/classes/OffchainResolvers.md index 9baed233..5824a843 100644 --- a/docs/sdk/JustaName Core SDK/classes/OffchainResolvers.md +++ b/docs/sdk/JustaName Core SDK/classes/OffchainResolvers.md @@ -10,12 +10,20 @@ ### new OffchainResolvers() -> **new OffchainResolvers**(): [`OffchainResolvers`](OffchainResolvers.md) +> **new OffchainResolvers**(`params`): [`OffchainResolvers`](OffchainResolvers.md) + +#### Parameters + +• **params**: [`OffchainResolversParams`](../interfaces/OffchainResolversParams.md) #### Returns [`OffchainResolvers`](OffchainResolvers.md) +#### Defined in + +[packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts#L12) + ## Methods ### getAllOffchainResolvers() @@ -28,4 +36,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts#L7) +[packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts#L17) diff --git a/docs/sdk/JustaName Core SDK/classes/SignIn.md b/docs/sdk/JustaName Core SDK/classes/SignIn.md index 2b01d24e..15633717 100644 --- a/docs/sdk/JustaName Core SDK/classes/SignIn.md +++ b/docs/sdk/JustaName Core SDK/classes/SignIn.md @@ -22,57 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L27) - -## Properties - -### chainId - -> `readonly` **chainId**: [`ChainId`](../type-aliases/ChainId.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L25) - -*** - -### networks - -> `readonly` **networks**: [`NetworksWithProvider`](../type-aliases/NetworksWithProvider.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L24) - -*** - -### offchainResolvers - -> `readonly` **offchainResolvers**: [`OffchainResolvers`](OffchainResolvers.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L26) - -*** - -### signInTtl? - -> `readonly` `optional` **signInTtl**: `number` - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L23) - -*** - -### siweConfig? - -> `readonly` `optional` **siweConfig**: `Omit`\<[`SiweConfig`](../interfaces/SiweConfig.md), `"chainId"` \| `"ttl"`\> - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L22) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L30) ## Methods @@ -86,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:142](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L142) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:152](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L152) *** @@ -104,19 +54,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L35) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L38) *** ### signIn() -> **signIn**(`message`, `signature`): `Promise`\<[`SignInResponse`](../interfaces/SignInResponse.md)\> +> **signIn**(`params`): `Promise`\<[`SignInResponse`](../interfaces/SignInResponse.md)\> #### Parameters -• **message**: `string` - -• **signature**: `string` +• **params**: [`SignInFunctionParams`](../interfaces/SignInFunctionParams.md) #### Returns @@ -124,4 +72,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:71](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L71) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:76](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L76) diff --git a/docs/sdk/JustaName Core SDK/classes/SubnameChallenge.md b/docs/sdk/JustaName Core SDK/classes/SubnameChallenge.md index 143086de..001f9d2f 100644 --- a/docs/sdk/JustaName Core SDK/classes/SubnameChallenge.md +++ b/docs/sdk/JustaName Core SDK/classes/SubnameChallenge.md @@ -10,11 +10,11 @@ ### new SubnameChallenge() -> **new SubnameChallenge**(`config`): [`SubnameChallenge`](SubnameChallenge.md) +> **new SubnameChallenge**(`params`): [`SubnameChallenge`](SubnameChallenge.md) #### Parameters -• **config**: [`SubnameChallengeParams`](../interfaces/SubnameChallengeParams.md) +• **params**: [`SubnameChallengeParams`](../interfaces/SubnameChallengeParams.md) #### Returns @@ -22,37 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L48) - -## Properties - -### chainId - -> **chainId**: [`ChainId`](../type-aliases/ChainId.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L46) - -*** - -### siweConfig? - -> `optional` **siweConfig**: [`SubnameChallengeSiweConfig`](../interfaces/SubnameChallengeSiweConfig.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L45) - -*** - -### subnameChallengeTtl? - -> `optional` **subnameChallengeTtl**: `number` - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:47](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L47) +[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:50](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L50) ## Methods @@ -76,7 +46,7 @@ The request parameters. #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:61](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L61) +[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:64](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L64) *** @@ -100,4 +70,4 @@ The request parameters. #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:84](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L84) +[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:88](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L88) diff --git a/docs/sdk/JustaName Core SDK/classes/Subnames.md b/docs/sdk/JustaName Core SDK/classes/Subnames.md index 66f0a126..44625edc 100644 --- a/docs/sdk/JustaName Core SDK/classes/Subnames.md +++ b/docs/sdk/JustaName Core SDK/classes/Subnames.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:55](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L55) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:58](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L58) ## Methods @@ -42,7 +42,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:62](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L62) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:65](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L65) *** @@ -62,7 +62,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:101](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L101) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:137](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L137) *** @@ -80,7 +80,25 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:233](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L233) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:340](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L340) + +*** + +### getPrimaryNameByAddress() + +> **getPrimaryNameByAddress**(`params`): `Promise`\<`PrimaryNameGetByAddressResponse`\> + +#### Parameters + +• **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<`PrimaryNameGetByAddressRequest`, `"chainId"`\>, `never`\> + +#### Returns + +`Promise`\<`PrimaryNameGetByAddressResponse`\> + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:439](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L439) *** @@ -98,7 +116,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:286](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L286) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:419](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L419) *** @@ -116,7 +134,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:207](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L207) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:302](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L302) *** @@ -134,7 +152,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:219](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L219) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:320](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L320) *** @@ -152,7 +170,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:248](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L248) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:360](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L360) *** @@ -170,7 +188,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:194](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L194) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:283](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L283) *** @@ -188,7 +206,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:274](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L274) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:401](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L401) *** @@ -208,7 +226,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:177](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L177) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:254](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L254) *** @@ -218,7 +236,7 @@ #### Parameters -• **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameReserveRequest`](../interfaces/SubnameReserveRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> +• **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameReserveRequest`](../interfaces/SubnameReserveRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> & `object` #### Returns @@ -226,7 +244,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:82](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L82) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:108](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L108) *** @@ -236,7 +254,7 @@ #### Parameters -• **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameRevokeRequest`](../interfaces/SubnameRevokeRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> +• **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameRevokeRequest`](../interfaces/SubnameRevokeRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> & `object` • **headers**: [`ApiKeyHeaders`](../interfaces/ApiKeyHeaders.md) & [`SIWEHeaders`](../interfaces/SIWEHeaders.md) @@ -246,7 +264,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:156](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L156) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:219](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L219) *** @@ -264,7 +282,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:262](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L262) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:383](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L383) *** @@ -276,7 +294,7 @@ • **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameUpdateRequest`](../interfaces/SubnameUpdateRequest.md), `"chainId"` \| `"ensDomain"`\>, `"addresses"` \| `"text"`\> & `object` -• **headers**: [`ApiKeyHeaders`](../interfaces/ApiKeyHeaders.md) & [`SIWEHeaders`](../interfaces/SIWEHeaders.md) +• **headers**: [`SIWEHeaders`](../interfaces/SIWEHeaders.md) #### Returns @@ -284,4 +302,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:134](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L134) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:188](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L188) diff --git a/docs/sdk/JustaName Core SDK/functions/createAddresses.md b/docs/sdk/JustaName Core SDK/functions/createAddresses.md index 7729d710..a825d454 100644 --- a/docs/sdk/JustaName Core SDK/functions/createAddresses.md +++ b/docs/sdk/JustaName Core SDK/functions/createAddresses.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L41) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L42) diff --git a/docs/sdk/JustaName Core SDK/functions/createGenerals.md b/docs/sdk/JustaName Core SDK/functions/createGenerals.md index 5b75ac09..83ed542b 100644 --- a/docs/sdk/JustaName Core SDK/functions/createGenerals.md +++ b/docs/sdk/JustaName Core SDK/functions/createGenerals.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:68](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L68) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:74](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L74) diff --git a/docs/sdk/JustaName Core SDK/functions/createSocialsAndOthers.md b/docs/sdk/JustaName Core SDK/functions/createSocialsAndOthers.md index acfac410..ece80161 100644 --- a/docs/sdk/JustaName Core SDK/functions/createSocialsAndOthers.md +++ b/docs/sdk/JustaName Core SDK/functions/createSocialsAndOthers.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:50](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L50) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L51) diff --git a/docs/sdk/JustaName Core SDK/functions/getCoinTypeDetails.md b/docs/sdk/JustaName Core SDK/functions/getCoinTypeDetails.md index 0000b0de..d570e3ad 100644 --- a/docs/sdk/JustaName Core SDK/functions/getCoinTypeDetails.md +++ b/docs/sdk/JustaName Core SDK/functions/getCoinTypeDetails.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L28) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L30) diff --git a/docs/sdk/JustaName Core SDK/functions/sanitizeAddresses.md b/docs/sdk/JustaName Core SDK/functions/sanitizeAddresses.md index 40a2ed44..3e060a89 100644 --- a/docs/sdk/JustaName Core SDK/functions/sanitizeAddresses.md +++ b/docs/sdk/JustaName Core SDK/functions/sanitizeAddresses.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts#L13) +[packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts#L13) diff --git a/docs/sdk/JustaName Core SDK/functions/sanitizeRecords.md b/docs/sdk/JustaName Core SDK/functions/sanitizeRecords.md index cb290633..00de8013 100644 --- a/docs/sdk/JustaName Core SDK/functions/sanitizeRecords.md +++ b/docs/sdk/JustaName Core SDK/functions/sanitizeRecords.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:78](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L78) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:84](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L84) diff --git a/docs/sdk/JustaName Core SDK/functions/sanitizeTexts.md b/docs/sdk/JustaName Core SDK/functions/sanitizeTexts.md index 75fcffa3..4a92d4f6 100644 --- a/docs/sdk/JustaName Core SDK/functions/sanitizeTexts.md +++ b/docs/sdk/JustaName Core SDK/functions/sanitizeTexts.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts#L3) +[packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/transformJsonToRecord/index.ts#L3) diff --git a/docs/sdk/JustaName Core SDK/globals.md b/docs/sdk/JustaName Core SDK/globals.md index a9fb8fe6..dca1e698 100644 --- a/docs/sdk/JustaName Core SDK/globals.md +++ b/docs/sdk/JustaName Core SDK/globals.md @@ -9,6 +9,7 @@ - [ApiKeyRequiredException](classes/ApiKeyRequiredException.md) - [InvalidConfigurationException](classes/InvalidConfigurationException.md) - [InvalidENSException](classes/InvalidENSException.md) +- [InvalidSignInException](classes/InvalidSignInException.md) - [JustaName](classes/JustaName.md) - [MApps](classes/MApps.md) - [OffchainResolvers](classes/OffchainResolvers.md) @@ -52,6 +53,7 @@ - [OffchainResolverGetAllRequest](interfaces/OffchainResolverGetAllRequest.md) - [OffchainResolverGetAllResponse](interfaces/OffchainResolverGetAllResponse.md) - [OffchainResolversGetAllRoute](interfaces/OffchainResolversGetAllRoute.md) +- [OffchainResolversParams](interfaces/OffchainResolversParams.md) - [PaginatedResponse](interfaces/PaginatedResponse.md) - [Pagination](interfaces/Pagination.md) - [RecordResponse](interfaces/RecordResponse.md) @@ -73,6 +75,7 @@ - [ROUTES](interfaces/ROUTES.md) - [SanitizedRecords](interfaces/SanitizedRecords.md) - [SigninConfig](interfaces/SigninConfig.md) +- [SignInFunctionParams](interfaces/SignInFunctionParams.md) - [SignInParams](interfaces/SignInParams.md) - [SignInResponse](interfaces/SignInResponse.md) - [SiweConfig](interfaces/SiweConfig.md) diff --git a/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRequest.md b/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRequest.md index 060d383e..c467258f 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts#L5) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts#L7) +[packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts#L7) *** @@ -38,4 +38,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/add-mApp-permission.ts#L6) diff --git a/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRoute.md b/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRoute.md index b04b8fdc..06786331 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/AddMAppPermissionRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Address.md b/docs/sdk/JustaName Core SDK/interfaces/Address.md index 4186c77e..7850f9b5 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Address.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Address.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/index.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/common/index.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L8) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/common/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L10) diff --git a/docs/sdk/JustaName Core SDK/interfaces/AddressWithTypedCoins.md b/docs/sdk/JustaName Core SDK/interfaces/AddressWithTypedCoins.md index e4e03356..066baa0e 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/AddressWithTypedCoins.md +++ b/docs/sdk/JustaName Core SDK/interfaces/AddressWithTypedCoins.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/address.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/common/address.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L10) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/address.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L11) +[packages/@justaname.id/sdk/src/lib/types/common/address.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L11) diff --git a/docs/sdk/JustaName Core SDK/interfaces/ApiKeyHeaders.md b/docs/sdk/JustaName Core SDK/interfaces/ApiKeyHeaders.md index 6c3111d5..3f3a8686 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/ApiKeyHeaders.md +++ b/docs/sdk/JustaName Core SDK/interfaces/ApiKeyHeaders.md @@ -23,4 +23,4 @@ The API key provided to the client. This key should be included in API #### Defined in -[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L30) +[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L30) diff --git a/docs/sdk/JustaName Core SDK/interfaces/ApiKeyResponse.md b/docs/sdk/JustaName Core SDK/interfaces/ApiKeyResponse.md index e3042991..c90d2107 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/ApiKeyResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/ApiKeyResponse.md @@ -25,7 +25,7 @@ The identifier of the user who created this API key. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L25) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L25) *** @@ -37,7 +37,7 @@ The unique identifier of the API key. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L17) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L17) *** @@ -49,7 +49,7 @@ The actual API key string used for authentication and authorization. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L21) *** @@ -61,7 +61,7 @@ The name given to the API key, typically used for easy identification. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L19) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L19) *** @@ -73,4 +73,4 @@ The identifier of the workspace to which this API key belongs. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L23) diff --git a/docs/sdk/JustaName Core SDK/interfaces/ApiKeyRoute.md b/docs/sdk/JustaName Core SDK/interfaces/ApiKeyRoute.md index 78a69db8..902a8075 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/ApiKeyRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/ApiKeyRoute.md @@ -31,7 +31,7 @@ The required headers for API key operations, specified by the #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L45) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L45) *** @@ -45,7 +45,7 @@ The required headers for API key operations, specified by the #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -62,7 +62,7 @@ The type of the request data. It is intentionally broad #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L43) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L43) *** @@ -79,7 +79,7 @@ The expected response structure for the API key operations, #### Defined in -[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L44) +[packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/api-key/health-check.ts#L44) *** @@ -93,4 +93,4 @@ The expected response structure for the API key operations, #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRequest.md b/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRequest.md index a25e93d8..c391598c 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L11) +[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L11) *** @@ -28,4 +28,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L10) diff --git a/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRoute.md b/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRoute.md index e98d9507..24ac0d3a 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldsRequest.md b/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldsRequest.md index 7d9d77e4..25d28dbf 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldsRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/AppendMAppFieldsRequest.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L5) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/append-mApp-field.ts#L6) diff --git a/docs/sdk/JustaName Core SDK/interfaces/BaseResponse.md b/docs/sdk/JustaName Core SDK/interfaces/BaseResponse.md index 52154198..e683ff0a 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/BaseResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/BaseResponse.md @@ -32,7 +32,7 @@ T - The type of the data to be returned. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/base-response/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/base-response/index.ts#L14) +[packages/@justaname.id/sdk/src/lib/types/base-response/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/base-response/index.ts#L14) *** @@ -42,4 +42,4 @@ T - The type of the data to be returned. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/base-response/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/base-response/index.ts#L13) +[packages/@justaname.id/sdk/src/lib/types/base-response/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/base-response/index.ts#L13) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Coin.md b/docs/sdk/JustaName Core SDK/interfaces/Coin.md index 6421931d..110ee8fb 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Coin.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Coin.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L10) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L12) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L12) *** @@ -34,4 +34,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L14) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L14) diff --git a/docs/sdk/JustaName Core SDK/interfaces/CoinType.md b/docs/sdk/JustaName Core SDK/interfaces/CoinType.md index 9d51e55f..fd460dc8 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/CoinType.md +++ b/docs/sdk/JustaName Core SDK/interfaces/CoinType.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L5) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L5) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L7) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L7) *** @@ -34,4 +34,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L6) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L6) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Configuration.md b/docs/sdk/JustaName Core SDK/interfaces/Configuration.md index a2d0c11c..680f47d7 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Configuration.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Configuration.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L22) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L23) *** @@ -34,7 +34,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L25) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L25) *** @@ -44,4 +44,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/ContentHash.md b/docs/sdk/JustaName Core SDK/interfaces/ContentHash.md index df7e8626..8a27279f 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/ContentHash.md +++ b/docs/sdk/JustaName Core SDK/interfaces/ContentHash.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L6) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L4) diff --git a/docs/sdk/JustaName Core SDK/interfaces/EnsDomainByChainId.md b/docs/sdk/JustaName Core SDK/interfaces/EnsDomainByChainId.md index 488d3cec..3475cc55 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/EnsDomainByChainId.md +++ b/docs/sdk/JustaName Core SDK/interfaces/EnsDomainByChainId.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L31) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L31) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L29) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L29) *** @@ -34,4 +34,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L30) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L30) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Generals.md b/docs/sdk/JustaName Core SDK/interfaces/Generals.md index 259252d7..fbc385c6 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Generals.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Generals.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L8) +[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L19) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L7) +[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L18) diff --git a/docs/sdk/JustaName Core SDK/interfaces/IRoute.md b/docs/sdk/JustaName Core SDK/interfaces/IRoute.md index 834be7c7..12a46e1b 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/IRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/IRoute.md @@ -55,7 +55,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -65,7 +65,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -75,7 +75,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -85,7 +85,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -95,4 +95,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRequest.md b/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRequest.md index e080a833..9c5dfdad 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts#L5) *** @@ -28,4 +28,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts#L4) diff --git a/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableResponse.md b/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableResponse.md index 9c34befa..1269211d 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableResponse.md @@ -18,4 +18,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/is-subname-available.ts#L9) diff --git a/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRoute.md b/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRoute.md index e946c905..f0eac8e3 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/IsSubnameAvailableRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfig.md b/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfig.md index f3aad85b..01f813b0 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfig.md +++ b/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfig.md @@ -4,7 +4,7 @@ [@justaname.id/sdk](../globals.md) / JustaNameConfig -# Interface: JustaNameConfig\ +# Interface: JustaNameConfig\ ## Extended by @@ -20,37 +20,35 @@ • **DefaultChainId** *extends* [`ChainId`](../type-aliases/ChainId.md) \| `undefined` = [`ChainId`](../type-aliases/ChainId.md) \| `undefined` -• **ApiKey** *extends* `string` \| `undefined` = `string` \| `undefined` - ## Properties -### apiKey? +### config? -> `optional` **apiKey**: `ApiKey` +> `optional` **config**: `Config` #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:47](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L47) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L42) *** -### config? +### defaultChainId? -> `optional` **config**: `Config` +> `optional` **defaultChainId**: `DefaultChainId` #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L43) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L45) *** -### defaultChainId? +### dev? -> `optional` **defaultChainId**: `DefaultChainId` +> `optional` **dev**: `boolean` #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L46) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L46) *** @@ -60,7 +58,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L45) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L44) *** @@ -70,4 +68,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L44) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L43) diff --git a/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfigDefaults.md b/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfigDefaults.md index 9eba849d..71d05348 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfigDefaults.md +++ b/docs/sdk/JustaName Core SDK/interfaces/JustaNameConfigDefaults.md @@ -16,45 +16,45 @@ ## Properties -### apiKey? +### config? -> `optional` **apiKey**: `string` +> `optional` **config**: [`Configuration`](Configuration.md) #### Inherited from -[`JustaNameConfig`](JustaNameConfig.md).[`apiKey`](JustaNameConfig.md#apikey) +[`JustaNameConfig`](JustaNameConfig.md).[`config`](JustaNameConfig.md#config) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:47](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L47) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L42) *** -### config? +### defaultChainId? -> `optional` **config**: [`Configuration`](Configuration.md) +> `optional` **defaultChainId**: [`ChainId`](../type-aliases/ChainId.md) #### Inherited from -[`JustaNameConfig`](JustaNameConfig.md).[`config`](JustaNameConfig.md#config) +[`JustaNameConfig`](JustaNameConfig.md).[`defaultChainId`](JustaNameConfig.md#defaultchainid) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L43) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L45) *** -### defaultChainId? +### dev? -> `optional` **defaultChainId**: [`ChainId`](../type-aliases/ChainId.md) +> `optional` **dev**: `boolean` #### Inherited from -[`JustaNameConfig`](JustaNameConfig.md).[`defaultChainId`](JustaNameConfig.md#defaultchainid) +[`JustaNameConfig`](JustaNameConfig.md).[`dev`](JustaNameConfig.md#dev) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L46) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L46) *** @@ -68,7 +68,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:58](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L58) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:57](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L57) *** @@ -82,4 +82,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:57](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L57) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:56](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L56) diff --git a/docs/sdk/JustaName Core SDK/interfaces/MApp.md b/docs/sdk/JustaName Core SDK/interfaces/MApp.md index ee3d0d10..704be2b7 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/MApp.md +++ b/docs/sdk/JustaName Core SDK/interfaces/MApp.md @@ -14,4 +14,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/mApp.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/mApp.ts#L2) +[packages/@justaname.id/sdk/src/lib/types/mApps/mApp.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/mApp.ts#L2) diff --git a/docs/sdk/JustaName Core SDK/interfaces/MAppsParams.md b/docs/sdk/JustaName Core SDK/interfaces/MAppsParams.md index 485a5ade..3cffec5a 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/MAppsParams.md +++ b/docs/sdk/JustaName Core SDK/interfaces/MAppsParams.md @@ -14,7 +14,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L18) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L18) + +*** + +### dev + +> **dev**: `boolean` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L21) *** @@ -24,7 +34,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L19) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L19) *** @@ -34,7 +44,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L17) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L17) *** @@ -44,4 +54,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L20) +[packages/@justaname.id/sdk/src/lib/features/mApps/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/mApps/index.ts#L20) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Network.md b/docs/sdk/JustaName Core SDK/interfaces/Network.md index 99c357e5..0589b6a4 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Network.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Network.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L10) *** @@ -32,4 +32,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L11) diff --git a/docs/sdk/JustaName Core SDK/interfaces/NetworkWithProvider.md b/docs/sdk/JustaName Core SDK/interfaces/NetworkWithProvider.md index 24e76906..b862ea08 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/NetworkWithProvider.md +++ b/docs/sdk/JustaName Core SDK/interfaces/NetworkWithProvider.md @@ -26,7 +26,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L10) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L6) *** @@ -50,4 +50,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L11) diff --git a/docs/sdk/JustaName Core SDK/interfaces/OffchainResolverGetAllResponse.md b/docs/sdk/JustaName Core SDK/interfaces/OffchainResolverGetAllResponse.md index 73ba10eb..9ef2cd75 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/OffchainResolverGetAllResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/OffchainResolverGetAllResponse.md @@ -18,4 +18,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/offchain-resolver/get-all-offchain-resolvers.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/offchain-resolver/get-all-offchain-resolvers.ts#L7) +[packages/@justaname.id/sdk/src/lib/types/offchain-resolver/get-all-offchain-resolvers.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/offchain-resolver/get-all-offchain-resolvers.ts#L7) diff --git a/docs/sdk/JustaName Core SDK/interfaces/OffchainResolversGetAllRoute.md b/docs/sdk/JustaName Core SDK/interfaces/OffchainResolversGetAllRoute.md index 9c330eed..e9f63d64 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/OffchainResolversGetAllRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/OffchainResolversGetAllRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/OffchainResolversParams.md b/docs/sdk/JustaName Core SDK/interfaces/OffchainResolversParams.md new file mode 100644 index 00000000..a23851b0 --- /dev/null +++ b/docs/sdk/JustaName Core SDK/interfaces/OffchainResolversParams.md @@ -0,0 +1,17 @@ +[**@justaname.id/sdk**](../README.md) • **Docs** + +*** + +[@justaname.id/sdk](../globals.md) / OffchainResolversParams + +# Interface: OffchainResolversParams + +## Properties + +### dev? + +> `optional` **dev**: `boolean` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/offchain-resolvers/index.ts#L5) diff --git a/docs/sdk/JustaName Core SDK/interfaces/PaginatedResponse.md b/docs/sdk/JustaName Core SDK/interfaces/PaginatedResponse.md index d1bbd06a..d32cabfd 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/PaginatedResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/PaginatedResponse.md @@ -27,7 +27,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L22) *** @@ -37,4 +37,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L23) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Pagination.md b/docs/sdk/JustaName Core SDK/interfaces/Pagination.md index d7a546d8..2a869164 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Pagination.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Pagination.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L16) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L16) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L18) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L18) *** @@ -34,7 +34,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L8) *** @@ -44,7 +44,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L12) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L12) *** @@ -54,7 +54,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L6) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L14) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L14) *** @@ -74,7 +74,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L4) *** @@ -84,4 +84,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L10) diff --git a/docs/sdk/JustaName Core SDK/interfaces/ROUTES.md b/docs/sdk/JustaName Core SDK/interfaces/ROUTES.md index 96e60858..a466e4b7 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/ROUTES.md +++ b/docs/sdk/JustaName Core SDK/interfaces/ROUTES.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:56](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L56) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:66](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L66) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:58](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L58) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:68](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L68) *** @@ -34,7 +34,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:66](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L66) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:76](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L76) *** @@ -44,7 +44,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:69](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L69) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:79](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L79) *** @@ -54,7 +54,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:70](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L70) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:80](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L80) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:64](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L64) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:74](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L74) *** @@ -74,7 +74,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:63](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L63) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:73](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L73) *** @@ -84,7 +84,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:65](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L65) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:75](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L75) + +*** + +### GET\_PRIMARY\_NAME\_BY\_ADDRESS\_ROUTE + +> **GET\_PRIMARY\_NAME\_BY\_ADDRESS\_ROUTE**: `PrimaryNameGetByAddressRoute` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:81](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L81) *** @@ -94,7 +104,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:62](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L62) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:72](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L72) *** @@ -104,7 +114,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:53](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L53) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:63](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L63) *** @@ -114,7 +124,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L54) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:64](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L64) *** @@ -124,7 +134,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:55](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L55) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:65](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L65) *** @@ -134,7 +144,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:68](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L68) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:78](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L78) *** @@ -144,7 +154,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:60](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L60) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:70](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L70) *** @@ -154,7 +164,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:57](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L57) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:67](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L67) *** @@ -164,7 +174,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:61](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L61) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:71](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L71) *** @@ -174,7 +184,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:67](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L67) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:77](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L77) *** @@ -184,7 +194,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:50](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L50) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:60](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L60) *** @@ -194,7 +204,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L51) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:61](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L61) *** @@ -204,7 +214,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:52](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L52) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:62](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L62) *** @@ -214,7 +224,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:49](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L49) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:59](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L59) *** @@ -224,7 +234,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L48) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:58](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L58) *** @@ -234,4 +244,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:59](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L59) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:69](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L69) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RecordResponse.md b/docs/sdk/JustaName Core SDK/interfaces/RecordResponse.md index d4e701cb..1a75d230 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RecordResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RecordResponse.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L28) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L28) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L30) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L30) *** @@ -34,7 +34,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L24) *** @@ -44,4 +44,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L26) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L26) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRequest.md b/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRequest.md index d226ee96..4fb2a9e6 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRequest.md @@ -23,7 +23,7 @@ Represents the ethereum address to be challenged. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L21) *** @@ -35,7 +35,7 @@ Represents the chainId of the blockchain to be used. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L33) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L33) *** @@ -47,7 +47,7 @@ Represents the ENS domain #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L15) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L15) *** @@ -59,7 +59,7 @@ Subname requesting the MApps Permission #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L54) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L54) *** @@ -71,7 +71,7 @@ Represents the origin of the request (e.g. the domain of the website). #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L27) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L27) *** @@ -83,7 +83,7 @@ Subname requesting the ABDC Permission #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L48) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L48) *** @@ -104,4 +104,4 @@ default: 120000 ms, 2 minutes ( 2 * 60 * 1000 ) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L42) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L42) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeResponse.md b/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeResponse.md index 0a96576c..244006ee 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeResponse.md @@ -23,4 +23,4 @@ Represents the challenge to be signed by the user. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:67](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L67) +[packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts:67](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/add-mApp-permission-challenge.ts#L67) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRoute.md b/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRoute.md index 2eb1331e..1252c1b7 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestAddMAppPermissionChallengeRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRequest.md b/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRequest.md index f618555a..d691ee94 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRequest.md @@ -23,7 +23,7 @@ Represents the ethereum address to be challenged. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L21) *** @@ -35,7 +35,7 @@ Represents the chainId of the blockchain to be used. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L33) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L33) *** @@ -47,7 +47,7 @@ Represents the ENS domain #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L15) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L15) *** @@ -59,7 +59,7 @@ Subname requesting the MApps Permission #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L54) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L54) *** @@ -71,7 +71,7 @@ Represents the origin of the request (e.g. the domain of the website). #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L27) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L27) *** @@ -83,7 +83,7 @@ Subname requesting the ABDC Permission #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L48) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L48) *** @@ -104,4 +104,4 @@ default: 120000 ms, 2 minutes ( 2 * 60 * 1000 ) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L42) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L42) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeResponse.md b/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeResponse.md index 5cc154d7..c9ae7a25 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeResponse.md @@ -23,4 +23,4 @@ Represents the challenge to be signed by the user. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:67](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L67) +[packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts:67](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/append-mApp-field-challenge.ts#L67) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRoute.md b/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRoute.md index 6e47ce30..3d624135 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestAppendMAppFieldChallengeRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRequest.md b/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRequest.md index 2994c6a8..96394fea 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L5) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L7) +[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L7) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L4) *** @@ -48,7 +48,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L6) *** @@ -58,4 +58,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L8) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeResponse.md b/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeResponse.md index 80078a98..6f673427 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeResponse.md @@ -18,4 +18,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L12) +[packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/request-challenge.ts#L12) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRoute.md b/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRoute.md index 8c5b5d53..8a05be06 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestChallengeRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRequest.md b/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRequest.md index 6f0c3857..2e9c01b8 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRequest.md @@ -20,7 +20,7 @@ Represents the ethereum address to be challenged. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L15) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L15) *** @@ -32,7 +32,7 @@ Represents the chainId of the blockchain to be used. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L27) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L27) *** @@ -44,7 +44,7 @@ Represents the ENS domain #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L9) *** @@ -56,7 +56,7 @@ Subname requesting the MApps Permission #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L48) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L48) *** @@ -68,7 +68,7 @@ Represents the origin of the request (e.g. the domain of the website). #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L21) *** @@ -80,7 +80,7 @@ Subname requesting the ABDC Permission #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L42) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L42) *** @@ -101,4 +101,4 @@ default: 120000 ms, 2 minutes ( 2 * 60 * 1000 ) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:36](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L36) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:36](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L36) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeResponse.md b/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeResponse.md index 382ec39c..78535078 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeResponse.md @@ -23,4 +23,4 @@ Represents the challenge to be signed by the user. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:61](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L61) +[packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts:61](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/revoke-mApp-permission-challenge.ts#L61) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRoute.md b/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRoute.md index 4a1c65a2..ead85c41 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestRevokeMAppPermissionChallengeRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RequestSignInParams.md b/docs/sdk/JustaName Core SDK/interfaces/RequestSignInParams.md index 2b7f885b..f92528f0 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RequestSignInParams.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RequestSignInParams.md @@ -35,7 +35,7 @@ node\_modules/siwe/dist/client.d.ts:10 #### Defined in -[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L9) *** @@ -45,7 +45,7 @@ node\_modules/siwe/dist/client.d.ts:10 #### Defined in -[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L8) *** @@ -136,7 +136,7 @@ node\_modules/siwe/dist/client.d.ts:32 #### Defined in -[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L7) +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L7) *** @@ -218,7 +218,7 @@ node\_modules/siwe/dist/client.d.ts:13 #### Defined in -[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L10) *** diff --git a/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRequest.md b/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRequest.md index ba5f82bb..ec97476a 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts#L6) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts#L8) *** @@ -38,4 +38,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts#L7) +[packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/mApps/revoke-mApp-permission.ts#L7) diff --git a/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRoute.md b/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRoute.md index 7eae7583..4865b7fc 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/RevokeMAppPermissionRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SIWEHeaders.md b/docs/sdk/JustaName Core SDK/interfaces/SIWEHeaders.md index 60affd0f..4f43c555 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SIWEHeaders.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SIWEHeaders.md @@ -23,7 +23,7 @@ The Ethereum address of the user. This address is expected to match the #### Defined in -[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L17) +[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L17) *** @@ -36,7 +36,7 @@ The original message that was signed by the user. This message typically #### Defined in -[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L15) +[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L15) *** @@ -49,4 +49,4 @@ The digital signature produced by signing `xMessage` with the user's #### Defined in -[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L16) +[packages/@justaname.id/sdk/src/lib/types/headers/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/headers/index.ts#L16) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SanitizedRecords.md b/docs/sdk/JustaName Core SDK/interfaces/SanitizedRecords.md index c24a1354..cb1fd8a4 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SanitizedRecords.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SanitizedRecords.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L15) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L15) *** @@ -24,7 +24,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L24) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L26) + +*** + +### allTexts + +> **allTexts**: [`Text`](Text.md)[] + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L25) *** @@ -34,7 +44,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L17) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L17) *** @@ -44,7 +54,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L18) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L18) *** @@ -54,7 +64,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L26) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L29) + +*** + +### contentHashUri + +> **contentHashUri**: `null` \| `string` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L28) *** @@ -64,7 +84,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L21) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L22) *** @@ -74,7 +94,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L19) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L20) *** @@ -84,7 +104,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L20) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L21) *** @@ -94,7 +114,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L13) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L13) *** @@ -104,7 +124,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L12) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L12) + +*** + +### header? + +> `optional` **header**: `string` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L19) *** @@ -114,7 +144,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L23) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L24) *** @@ -124,7 +154,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L14) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L14) *** @@ -134,7 +164,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L25) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L27) *** @@ -144,7 +174,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L16) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L16) *** @@ -154,4 +184,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L22) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L23) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SignInFunctionParams.md b/docs/sdk/JustaName Core SDK/interfaces/SignInFunctionParams.md new file mode 100644 index 00000000..7297f1e8 --- /dev/null +++ b/docs/sdk/JustaName Core SDK/interfaces/SignInFunctionParams.md @@ -0,0 +1,47 @@ +[**@justaname.id/sdk**](../README.md) • **Docs** + +*** + +[@justaname.id/sdk](../globals.md) / SignInFunctionParams + +# Interface: SignInFunctionParams + +## Properties + +### domain? + +> `optional` **domain**: `string` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L17) + +*** + +### message + +> **message**: `string` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L14) + +*** + +### nonce? + +> `optional` **nonce**: `string` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L16) + +*** + +### signature + +> **signature**: `string` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/types/signin/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/index.ts#L15) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SignInParams.md b/docs/sdk/JustaName Core SDK/interfaces/SignInParams.md index a12268ed..ad74e291 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SignInParams.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SignInParams.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L18) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L21) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L16) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L19) *** @@ -34,7 +34,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L17) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L20) *** @@ -44,7 +44,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L15) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L18) *** @@ -54,4 +54,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L14) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L17) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SignInResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SignInResponse.md index 0842783b..093cc7d0 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SignInResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SignInResponse.md @@ -12,16 +12,6 @@ ## Properties -### chainId - -> **chainId**: [`ChainId`](../type-aliases/ChainId.md) - -#### Defined in - -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L10) - -*** - ### data > **data**: `SiweMessage` @@ -74,7 +64,7 @@ node\_modules/siwe/dist/types.d.ts:32 #### Defined in -[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L9) +[packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts#L13) *** diff --git a/docs/sdk/JustaName Core SDK/interfaces/SigninConfig.md b/docs/sdk/JustaName Core SDK/interfaces/SigninConfig.md index aafb9103..2944afbf 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SigninConfig.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SigninConfig.md @@ -25,4 +25,4 @@ default: 120000 ms, 2 minutes ( 2 * 60 * 1000 ) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/signin/signin-config.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/signin/signin-config.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/signin/signin-config.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/signin/signin-config.ts#L9) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SiweConfig.md b/docs/sdk/JustaName Core SDK/interfaces/SiweConfig.md index 7b558ccc..64c6f809 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SiweConfig.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SiweConfig.md @@ -16,7 +16,7 @@ Represents the chainId of the blockchain to be used. #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L18) +[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L18) *** @@ -28,7 +28,7 @@ Represents the ENS domain #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L8) *** @@ -40,7 +40,7 @@ Represents the origin of the request (e.g. the domain of the website). #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L13) +[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L13) *** @@ -61,4 +61,4 @@ default: 120000 ms, 2 minutes ( 2 * 60 * 1000 ) #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L26) +[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L26) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Socials.md b/docs/sdk/JustaName Core SDK/interfaces/Socials.md index 1fe15732..b29fd8a1 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Socials.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Socials.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L23) +[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L25) *** @@ -32,7 +32,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L24) +[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L26) *** @@ -42,4 +42,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L22) +[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRequest.md index 26672f35..b858230d 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L31) +[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L31) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L29) +[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L29) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L35) +[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L35) *** @@ -48,7 +48,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L27) +[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L27) *** @@ -58,7 +58,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L33) +[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L33) *** @@ -68,4 +68,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L25) +[packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/accept.ts#L25) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRoute.md index 0b7da41e..63aa11fa 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameAcceptRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -46,7 +46,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -60,7 +60,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -74,7 +74,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -88,4 +88,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRequest.md index d2d43219..4c16515d 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L33) +[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L30) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L31) +[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L28) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:37](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L37) +[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L34) *** @@ -48,7 +48,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L29) +[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L26) *** @@ -58,7 +58,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L35) +[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L32) *** @@ -68,4 +68,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L27) +[packages/@justaname.id/sdk/src/lib/types/subnames/add.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/add.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRoute.md index c4e0365b..2c4ef4ea 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameAddRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,6 +36,10 @@ > `optional` **addresses**: `Partial`\<`object`\> \| [`AddressWithTypedCoins`](AddressWithTypedCoins.md)[] +##### apiKey? + +> `optional` **apiKey**: `string` + ##### text? > `optional` **text**: `Record`\<`string`, `string`\> \| `TextRecordAddRequest`[] @@ -46,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -60,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -74,7 +78,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -88,4 +92,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeParams.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeParams.md index f19db18f..95e4f459 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeParams.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeParams.md @@ -14,7 +14,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L39) +[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L40) + +*** + +### dev + +> **dev**: `boolean` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L42) *** @@ -24,7 +34,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L38) +[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L39) *** @@ -34,4 +44,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L40) +[packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subname-challenge/index.ts#L41) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeSiweConfig.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeSiweConfig.md index 9bf91158..8414dfd7 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeSiweConfig.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameChallengeSiweConfig.md @@ -48,7 +48,7 @@ Represents the ENS domain #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L8) *** @@ -64,4 +64,4 @@ Represents the origin of the request (e.g. the domain of the website). #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L13) +[packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/siwe-config.ts#L13) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRequest.md index ab1342c2..cb8a0213 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L11) *** @@ -28,17 +28,17 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L13) *** -### coinType +### coinType? -> **coinType**: `number` +> `optional` **coinType**: `number` #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L15) *** @@ -48,4 +48,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L17) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressResponse.md index 4992cbbd..716c367c 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressResponse.md @@ -18,4 +18,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L14) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-subnames-by-address.ts#L21) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRoute.md index 520fc5bc..cc09cdde 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByAddressRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRequest.md index c47f88bb..f291fffa 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L6) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L7) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L7) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L5) *** @@ -48,7 +48,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L10) *** @@ -58,7 +58,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L9) *** @@ -68,4 +68,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain.ts#L8) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdResponse.md index 4c34160c..33dbccb7 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdResponse.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L22) *** @@ -36,4 +36,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L23) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRoute.md index 8da71f8f..3e630c7d 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByDomainChainIdRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountApiResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountApiResponse.md index e93065ef..38d68557 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountApiResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountApiResponse.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L12) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L12) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L16) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L16) *** @@ -34,4 +34,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L14) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L14) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRequest.md index 50808264..9558d377 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L24) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L28) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L28) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L30) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L30) *** @@ -48,7 +48,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L32) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L32) *** @@ -58,4 +58,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L26) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-all-by-ens-domain-with-count.ts#L26) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountResponse.md index a35b7ff6..41650e94 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountResponse.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L22) *** @@ -36,4 +36,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/pagination.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/pagination.ts#L23) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRoute.md index 0205349c..365c98ec 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetAllByEnsDomainWithCountRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRequest.md index e25ea8fb..b9544a40 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts#L5) *** @@ -28,4 +28,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-by-subname.ts#L4) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRoute.md index e9b69e89..b72aeb60 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetBySubnameRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRequest.md index 8e946f11..d7bcb178 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L4) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L6) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L8) *** @@ -48,4 +48,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L10) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressResponse.md index 57de6b7e..2dfcffcc 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressResponse.md @@ -14,4 +14,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L15) +[packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/get-invitations-by-address.ts#L15) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRoute.md index 29b6cd5d..9ef3c8f4 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameGetInvitationsByAddressRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRequest.md index 0e98595c..9ab2740c 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/records.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/records.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/subnames/records.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/records.ts#L4) *** @@ -28,4 +28,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/records.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/records.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/subnames/records.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/records.ts#L5) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRoute.md index 734504de..26aca412 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameRecordsRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -42,7 +42,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -56,7 +56,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -70,7 +70,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -84,4 +84,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRequest.md index 4d18677f..0022b904 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts#L10) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts#L6) *** @@ -38,4 +38,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/reject.ts#L8) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRoute.md index 3f759b68..eb71d8ab 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameRejectRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRequest.md index ee4ed86d..a3315af9 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L11) +[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L9) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L7) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L13) +[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L11) *** @@ -48,4 +48,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L7) +[packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/reserve.ts#L5) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRoute.md index 31afd336..2941a266 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameReserveRoute.md @@ -8,7 +8,7 @@ ## Extends -- [`IRoute`](IRoute.md)\<[`SubnameReserveRequest`](SubnameReserveRequest.md), [`SubnameResponse`](SubnameResponse.md), [`ApiKeyHeaders`](ApiKeyHeaders.md), `"ensDomain"` \| `"chainId"`\> +- [`IRoute`](IRoute.md)\<[`SubnameReserveRequest`](SubnameReserveRequest.md), [`SubnameResponse`](SubnameResponse.md), [`ApiKeyHeaders`](ApiKeyHeaders.md), `"ensDomain"` \| `"chainId"`, `never`, `object`\> ## Properties @@ -22,13 +22,19 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** ### params -> **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameReserveRequest`](SubnameReserveRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> +> **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameReserveRequest`](SubnameReserveRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> & `object` + +#### Type declaration + +##### apiKey? + +> `optional` **apiKey**: `string` #### Inherited from @@ -36,7 +42,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +56,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +70,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +84,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameResponse.md index 0fc1c7fa..42fcc93e 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameResponse.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L39) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L39) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L35) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L35) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:37](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L37) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:37](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L37) *** @@ -48,7 +48,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L41) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L41) *** @@ -58,4 +58,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L43) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L43) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRequest.md index 1e1b6e69..8340d620 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts#L9) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts#L5) *** @@ -38,4 +38,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts#L8) +[packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/revoke.ts#L7) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRoute.md index 8d6bdef1..f7263451 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameRevokeRoute.md @@ -8,7 +8,7 @@ ## Extends -- [`IRoute`](IRoute.md)\<[`SubnameRevokeRequest`](SubnameRevokeRequest.md), [`SubnameResponse`](SubnameResponse.md), [`ApiKeyHeaders`](ApiKeyHeaders.md) & [`SIWEHeaders`](SIWEHeaders.md), `"ensDomain"` \| `"chainId"`\> +- [`IRoute`](IRoute.md)\<[`SubnameRevokeRequest`](SubnameRevokeRequest.md), [`SubnameResponse`](SubnameResponse.md), [`ApiKeyHeaders`](ApiKeyHeaders.md) & [`SIWEHeaders`](SIWEHeaders.md), `"ensDomain"` \| `"chainId"`, `never`, `object`\> ## Properties @@ -22,13 +22,19 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** ### params -> **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameRevokeRequest`](SubnameRevokeRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> +> **params**: `Omit`\<[`MakeOptionalProps`](../type-aliases/MakeOptionalProps.md)\<[`SubnameRevokeRequest`](SubnameRevokeRequest.md), `"chainId"` \| `"ensDomain"`\>, `never`\> & `object` + +#### Type declaration + +##### apiKey? + +> `optional` **apiKey**: `string` #### Inherited from @@ -36,7 +42,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +56,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +70,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +84,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRequest.md index 2135609f..48ca359b 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L15) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L22) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L17) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L24) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L19) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L26) *** @@ -48,27 +48,27 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L28) *** -### skip +### name -> **skip**: `number` +> **name**: `string` #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L11) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L16) *** -### subname +### skip -> **subname**: `string` +> **skip**: `number` #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L18) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L13) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L20) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchResponse.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchResponse.md index 8f432f95..8331d4f1 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchResponse.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L11) *** @@ -28,4 +28,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/search-subnames.ts#L12) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRoute.md index e787fa78..76910c3f 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameSearchRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRequest.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRequest.md index 5d36c17b..5fd0627a 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L32) +[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L32) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L30) +[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L30) *** @@ -38,7 +38,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:36](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L36) +[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:36](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L36) *** @@ -48,7 +48,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L28) +[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L28) *** @@ -58,7 +58,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L34) +[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L34) *** @@ -68,4 +68,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L26) +[packages/@justaname.id/sdk/src/lib/types/subnames/update.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/subnames/update.ts#L26) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRoute.md b/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRoute.md index ac654909..b7f74d7f 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnameUpdateRoute.md @@ -8,13 +8,13 @@ ## Extends -- [`IRoute`](IRoute.md)\<[`SubnameUpdateRequest`](SubnameUpdateRequest.md), [`SubnameResponse`](SubnameResponse.md), [`ApiKeyHeaders`](ApiKeyHeaders.md) & [`SIWEHeaders`](SIWEHeaders.md), `"ensDomain"` \| `"chainId"`, `"addresses"` \| `"text"`, `object`\> +- [`IRoute`](IRoute.md)\<[`SubnameUpdateRequest`](SubnameUpdateRequest.md), [`SubnameResponse`](SubnameResponse.md), [`SIWEHeaders`](SIWEHeaders.md), `"ensDomain"` \| `"chainId"`, `"addresses"` \| `"text"`, `object`\> ## Properties ### headers -> **headers**: [`ApiKeyHeaders`](ApiKeyHeaders.md) & [`SIWEHeaders`](SIWEHeaders.md) +> **headers**: [`SIWEHeaders`](SIWEHeaders.md) #### Inherited from @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -46,7 +46,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -60,7 +60,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -74,7 +74,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -88,4 +88,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/interfaces/SubnamesConfig.md b/docs/sdk/JustaName Core SDK/interfaces/SubnamesConfig.md index bacaf087..03f3ef0b 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/SubnamesConfig.md +++ b/docs/sdk/JustaName Core SDK/interfaces/SubnamesConfig.md @@ -16,7 +16,7 @@ Represents the API key. #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L28) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L29) *** @@ -28,7 +28,17 @@ Represents the chainId of the blockchain to be used. #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L43) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L44) + +*** + +### dev + +> **dev**: `boolean` + +#### Defined in + +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L46) *** @@ -40,7 +50,7 @@ Represents the ENS ensDomain. #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L38) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L39) *** @@ -52,4 +62,4 @@ Represents the provider URL. #### Defined in -[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L33) +[packages/@justaname.id/sdk/src/lib/features/subnames/index.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/features/subnames/index.ts#L34) diff --git a/docs/sdk/JustaName Core SDK/interfaces/Text.md b/docs/sdk/JustaName Core SDK/interfaces/Text.md index 75c8cf41..1ded10d8 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/Text.md +++ b/docs/sdk/JustaName Core SDK/interfaces/Text.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L18) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L18) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/subname.response.ts#L20) diff --git a/docs/sdk/JustaName Core SDK/interfaces/TextRecord.md b/docs/sdk/JustaName Core SDK/interfaces/TextRecord.md index f1db6072..646a9897 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/TextRecord.md +++ b/docs/sdk/JustaName Core SDK/interfaces/TextRecord.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L14) +[packages/@justaname.id/sdk/src/lib/types/common/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L14) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L16) +[packages/@justaname.id/sdk/src/lib/types/common/index.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/index.ts#L16) diff --git a/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeRequest.md b/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeRequest.md index d68fc42a..873183be 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeRequest.md +++ b/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeRequest.md @@ -18,7 +18,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L4) +[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L4) *** @@ -28,7 +28,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L6) +[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L6) *** @@ -38,4 +38,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L5) diff --git a/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeResponse.md b/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeResponse.md index 58e9326f..553081ba 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeResponse.md +++ b/docs/sdk/JustaName Core SDK/interfaces/VerifyChallengeResponse.md @@ -18,4 +18,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L10) +[packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/siwe/verify-challenge.ts#L10) diff --git a/docs/sdk/JustaName Core SDK/interfaces/VerifyMessageRoute.md b/docs/sdk/JustaName Core SDK/interfaces/VerifyMessageRoute.md index eec1206a..cdbcd8cb 100644 --- a/docs/sdk/JustaName Core SDK/interfaces/VerifyMessageRoute.md +++ b/docs/sdk/JustaName Core SDK/interfaces/VerifyMessageRoute.md @@ -22,7 +22,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L22) *** @@ -36,7 +36,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L23) *** @@ -50,7 +50,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L20) *** @@ -64,7 +64,7 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L21) *** @@ -78,4 +78,4 @@ #### Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L24) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/AddressType.md b/docs/sdk/JustaName Core SDK/type-aliases/AddressType.md index 873a45ba..2b80c284 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/AddressType.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/AddressType.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/types/common/address.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L14) +[packages/@justaname.id/sdk/src/lib/types/common/address.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L14) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/ChainId.md b/docs/sdk/JustaName Core SDK/type-aliases/ChainId.md index 4ae661fa..38b0f7f6 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/ChainId.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/ChainId.md @@ -6,8 +6,8 @@ # Type Alias: ChainId -> **ChainId**: `1` \| `11155111` \| `31337` +> **ChainId**: `1` \| `11155111` ## Defined in -[packages/@justaname.id/sdk/src/lib/types/common/address.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L3) +[packages/@justaname.id/sdk/src/lib/types/common/address.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L3) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/CoinAndDetails.md b/docs/sdk/JustaName Core SDK/type-aliases/CoinAndDetails.md index 994e5ba0..0d88fe22 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/CoinAndDetails.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/CoinAndDetails.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L5) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L5) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeKeys.md b/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeKeys.md index 55d2c155..554c4814 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeKeys.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeKeys.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L25) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L28) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeMap.md b/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeMap.md index 4d51d8a7..8b703a8b 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeMap.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/CoinTypeMap.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L10) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L10) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/EnsDomains.md b/docs/sdk/JustaName Core SDK/type-aliases/EnsDomains.md index bc5b4d4f..980ed9ab 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/EnsDomains.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/EnsDomains.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L34) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L34) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/GeneralsIdentifier.md b/docs/sdk/JustaName Core SDK/type-aliases/GeneralsIdentifier.md index 9e7d3a23..3ef58b15 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/GeneralsIdentifier.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/GeneralsIdentifier.md @@ -6,8 +6,8 @@ # Type Alias: GeneralsIdentifier -> **GeneralsIdentifier**: `"display"` \| `"description"` \| `"url"` \| `"location"` \| `"avatar"` \| `"banner"` +> **GeneralsIdentifier**: `"display"` \| `"description"` \| `"url"` \| `"location"` \| `"avatar"` \| `"header"` ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L3) +[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L9) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/GeneralsName.md b/docs/sdk/JustaName Core SDK/type-aliases/GeneralsName.md index 9a48f504..d83363aa 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/GeneralsName.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/GeneralsName.md @@ -6,8 +6,8 @@ # Type Alias: GeneralsName -> **GeneralsName**: `"Nickname"` \| `"Description"` \| `"Website"` \| `"Location"` \| `"Avatar"` \| `"Banner"` +> **GeneralsName**: `"Nickname"` \| `"Description"` \| `"Website"` \| `"Location"` \| `"Avatar"` \| `"Header"` ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:1](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L1) +[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:1](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L1) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/MakeOptionalProps.md b/docs/sdk/JustaName Core SDK/type-aliases/MakeOptionalProps.md index aa088911..66e330cd 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/MakeOptionalProps.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/MakeOptionalProps.md @@ -16,4 +16,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L9) +[packages/@justaname.id/sdk/src/lib/types/common/iroute.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/iroute.ts#L9) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/Networks.md b/docs/sdk/JustaName Core SDK/type-aliases/Networks.md index d557050b..31c658c4 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/Networks.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/Networks.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L13) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L14) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/NetworksWithProvider.md b/docs/sdk/JustaName Core SDK/type-aliases/NetworksWithProvider.md index 02f18af2..b2405493 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/NetworksWithProvider.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/NetworksWithProvider.md @@ -6,8 +6,8 @@ # Type Alias: NetworksWithProvider -> **NetworksWithProvider**: [[`NetworkWithProvider`](../interfaces/NetworkWithProvider.md)\<`1`\>, [`NetworkWithProvider`](../interfaces/NetworkWithProvider.md)\<`11155111`\>, [`NetworkWithProvider`](../interfaces/NetworkWithProvider.md)\<`31337`\>] +> **NetworksWithProvider**: [[`NetworkWithProvider`](../interfaces/NetworkWithProvider.md)\<`1`\>, [`NetworkWithProvider`](../interfaces/NetworkWithProvider.md)\<`11155111`\>] ## Defined in -[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L15) +[packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/justaname/configuration.ts#L16) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/PartialAddressJson.md b/docs/sdk/JustaName Core SDK/type-aliases/PartialAddressJson.md index 54658659..0a8dac84 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/PartialAddressJson.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/PartialAddressJson.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/types/common/address.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L5) +[packages/@justaname.id/sdk/src/lib/types/common/address.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/types/common/address.ts#L5) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/SocialDetails.md b/docs/sdk/JustaName Core SDK/type-aliases/SocialDetails.md index eb52b844..55b256d4 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/SocialDetails.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/SocialDetails.md @@ -16,4 +16,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L7) +[packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/sanitizeRecords/index.ts#L7) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/SocialsIdentifier.md b/docs/sdk/JustaName Core SDK/type-aliases/SocialsIdentifier.md index 716bc080..cd522401 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/SocialsIdentifier.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/SocialsIdentifier.md @@ -6,8 +6,8 @@ # Type Alias: SocialsIdentifier -> **SocialsIdentifier**: `"com.twitter"` \| `"com.facebook"` \| `"com.instagram"` \| `"com.reddit"` \| `"com.x"` \| `"com.github"` \| `"email"` \| `"org.telegram"` +> **SocialsIdentifier**: `"com.twitter"` \| `"com.facebook"` \| `"com.instagram"` \| `"com.reddit"` \| `"com.x"` \| `"com.github"` \| `"email"` \| `"org.telegram"` \| `"com.discord"` ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L11) +[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L12) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/SocialsName.md b/docs/sdk/JustaName Core SDK/type-aliases/SocialsName.md index b460fb9e..907b2846 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/SocialsName.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/SocialsName.md @@ -6,8 +6,8 @@ # Type Alias: SocialsName -> **SocialsName**: `"Twitter"` \| `"Facebook"` \| `"Instagram"` \| `"Reddit"` \| `"X"` \| `"Github"` \| `"Email"` \| `"Telegram"` +> **SocialsName**: `"Twitter"` \| `"Facebook"` \| `"Instagram"` \| `"Reddit"` \| `"X"` \| `"Github"` \| `"Email"` \| `"Discord"` \| `"Telegram"` ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:1](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L1) +[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:1](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L1) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/SupportedCoins.md b/docs/sdk/JustaName Core SDK/type-aliases/SupportedCoins.md index e90604fe..def785be 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/SupportedCoins.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/SupportedCoins.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L3) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L3) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/SupportedGeneralsNames.md b/docs/sdk/JustaName Core SDK/type-aliases/SupportedGeneralsNames.md index 34654b21..2e240ef9 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/SupportedGeneralsNames.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/SupportedGeneralsNames.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L39) +[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:49](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L49) diff --git a/docs/sdk/JustaName Core SDK/type-aliases/SupportedSocialsNames.md b/docs/sdk/JustaName Core SDK/type-aliases/SupportedSocialsNames.md index fb84ae83..e11de260 100644 --- a/docs/sdk/JustaName Core SDK/type-aliases/SupportedSocialsNames.md +++ b/docs/sdk/JustaName Core SDK/type-aliases/SupportedSocialsNames.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:107](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L107) +[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:119](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L119) diff --git a/docs/sdk/JustaName Core SDK/variables/GENERAL_FIELDS.md b/docs/sdk/JustaName Core SDK/variables/GENERAL_FIELDS.md index 57908c7d..b4c32214 100644 --- a/docs/sdk/JustaName Core SDK/variables/GENERAL_FIELDS.md +++ b/docs/sdk/JustaName Core SDK/variables/GENERAL_FIELDS.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L12) +[packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/general-fields/index.ts#L22) diff --git a/docs/sdk/JustaName Core SDK/variables/Routes.md b/docs/sdk/JustaName Core SDK/variables/Routes.md index 095e423a..14c004e5 100644 --- a/docs/sdk/JustaName Core SDK/variables/Routes.md +++ b/docs/sdk/JustaName Core SDK/variables/Routes.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:73](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L73) +[packages/@justaname.id/sdk/src/lib/api/routes/index.ts:84](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/api/routes/index.ts#L84) diff --git a/docs/sdk/JustaName Core SDK/variables/SUPPORTED_SOCIALS.md b/docs/sdk/JustaName Core SDK/variables/SUPPORTED_SOCIALS.md index db609445..3237af18 100644 --- a/docs/sdk/JustaName Core SDK/variables/SUPPORTED_SOCIALS.md +++ b/docs/sdk/JustaName Core SDK/variables/SUPPORTED_SOCIALS.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L27) +[packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/constants/supported-socials/index.ts#L29) diff --git a/docs/sdk/JustaName Core SDK/variables/coinTypeMap.md b/docs/sdk/JustaName Core SDK/variables/coinTypeMap.md index 74eca154..fdb70af4 100644 --- a/docs/sdk/JustaName Core SDK/variables/coinTypeMap.md +++ b/docs/sdk/JustaName Core SDK/variables/coinTypeMap.md @@ -10,4 +10,4 @@ ## Defined in -[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L14) +[packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/sdk/src/lib/utils/cointypes/index.ts#L14) diff --git a/docs/sdk/JustaName React SDK/README.md b/docs/sdk/JustaName React SDK/README.md new file mode 100644 index 00000000..4526863e --- /dev/null +++ b/docs/sdk/JustaName React SDK/README.md @@ -0,0 +1,197 @@ +**@justaname.id/react** • [**Docs**](globals.md) + +*** + +# JustaName React SDK + +The **JustaName React SDK** makes it easy to integrate Ethereum Name Service (ENS) functionalities, including subname management, and user authentication via ENS into React applications. It simplifies interacting with ENS off-chain operations while ensuring secure and easy integration with your dApps. + +## Table of Contents + +- [Installation](#installation) +- [Usage](#usage) + - [Setup with `JustaNameProvider`](#setup-with-justanameprovider) + - [Example: Add a Subname](#example-add-a-subname) +- [Hooks](#hooks) + - [Account and ENS Management](#account-and-ens-management) + - [Subname Management](#subname-management) + - [Authentication](#authentication) + - [Other Hooks](#other-hooks) +--- + +## Installation + +Install the JustaName React SDK using npm or yarn: + +```bash +npm install @justaname.id/react + +# or + +yarn add @justaname.id/react +``` + +--- + +## Usage + +### Setup with `JustaNameProvider` + +To use the JustaName React SDK, wrap your application with the `JustaNameProvider`. This component provides all child components access to the JustaName context, enabling seamless interaction with ENS services. + +### Example: Setup with `JustaNameProvider` + +```tsx +tsx +'use client'; +import { JustaNameProvider } from '@justaname.id/react'; +import { configureChains, createClient, WagmiConfig } from 'wagmi'; +import { publicProvider } from 'wagmi/providers/public'; +import { getDefaultWallets, RainbowKitProvider } from '@rainbow-me/rainbowkit'; +import '@rainbow-me/rainbowkit/styles.css'; +import { AddSubname } from './AddSubname'; + +const { wallets } = getDefaultWallets(); + +const config = getDefaultConfig({ + appName: 'JustaName Console', + projectId: 'YOUR_PROJECT_ID', + wallets: [ + ...wallets, + { + groupName: 'Other', + wallets: [argentWallet, trustWallet, ledgerWallet], + }, + ], + chains: [mainnet, sepolia], + ssr: true, +}); + +const justaNameConfig = { + networks: [{ chainId: 1, providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' }], + ensDomains: [ + { + chainId: 1, + domain: 'your_ens_domain.eth', + apiKey: 'your-api-key' // Not recommended for production, use a backend server to protect your API key + } + ], + backendUrl: 'https://your-backend-url.com' // Leave empty for same origin (e.g when using Next.js) +}; + +export const App = () => { + return ( + + + + + + + + ); +} + +``` + +--- + +## Example: Add a Subname + +Below is a complete example of a React component where users can claim a subname using the `useAddSubname` hook. It also checks subname availability with `useIsSubnameAvailable`. + +```tsx +tsx +Copy code +import { useAddSubname, useIsSubnameAvailable } from '@justaname.id/react'; +import { useState } from 'react'; +import { useDebounce } from '@uidotdev/usehooks'; +import { ConnectButton } from '@rainbow-me/rainbowkit'; +import { useAccount } from 'wagmi'; + +export const AddSubname = () => { + const { isConnected } = useAccount(); + const [username, setUsername] = useState(''); + const debouncedUsername = useDebounce(username, 500); + const { isSubnameAvailable } = useIsSubnameAvailable({ + username: debouncedUsername + }); + const { addSubname } = useAddSubname(); + + return ( +
+

Claim your subdomain

+ + setUsername(e.target.value)} + placeholder="Enter a subdomain" + /> + +
+ ); +}; + +``` + +--- + +## Hooks + +The SDK offers various hooks for managing ENS accounts, subnames, and authentication. + +### Account and ENS Management + +- **`useAccountEnsNames`**: Fetch ENS names associated with the user's account. +- **`useAddressEnsNames`**: Fetch ENS names for a given Ethereum address. +- **`usePrimaryName`**: Get the primary ENS name of an address. +- **`useAccountInvitations`**: Get pending invitations for the connected account. +- **`useAccountSubnames`**: Fetch all subnames for the connected account. + +### Subname Management + +- **`useIsSubnameAvailable`**: Check if a subname is available. +- **`useAddSubname`**: Add a new subname off-chain. +- **`useAcceptSubname`**: Accept an invitation for a subname. +- **`useRejectSubname`**: Reject a subname invitation. +- **`useRevokeSubname`**: Revoke an issued subname. +- **`useUpdateSubname`**: Update an ens metadata (off-chain and on-chain). +- **`useSearchSubnames`**: Search for subnames based on given parameters. +- **`useSubname`**: Get the details of a specific subname. +- **`useRecords`**: Fetch records associated with any ENS name. + +[//]: # (### mApp Management) + +[//]: # () +[//]: # (- **`useEnabledMApps`**: Get a list of enabled mApps.) + +[//]: # (- **`useIsMAppEnabled`**: Check if a specific mApp is enabled.) + +[//]: # (- **`useAddMAppPermission`**: Add permission for an mApp.) + +[//]: # (- **`useRevokeMAppPermission`**: Revoke an mApp's permission.) + +[//]: # (- **`useCanEnableMApps`**: Check if mApps can be enabled for a subname.) + +### Authentication + +- **`useEnsSignIn`**: Authenticate users with their ENS name. +- **`useEnsSignOut`**: Sign out the connected user. +- **`useEnsAvatar`**: Fetch the avatar of an ENS name. +- **`useEnsAuth`**: Manage authentication state with ENS. + +### Other Hooks + +- **`useJustaName`**: Access the JustaName context directly. +- **`useMounted`**: Check if the component is mounted. +- **`useMountedAccount`**: Get the mounted account details. +- **`useOffchainResolvers`**: Fetch off-chain resolvers. +- **`useUpdateChanges`**: Check for changes in the ENS metadata before updating. +- **`useUploadMedia`**: Upload media for ENS metadata. + +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. diff --git a/docs/sdk/JustaName React SDK/functions/JustaNameProvider.md b/docs/sdk/JustaName React SDK/functions/JustaNameProvider.md new file mode 100644 index 00000000..6a5a6892 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/JustaNameProvider.md @@ -0,0 +1,38 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / JustaNameProvider + +# Function: JustaNameProvider() + +> **JustaNameProvider**(`props`, `deprecatedLegacyContext`?): `ReactNode` + +Provides JustaName context to child components, allowing them to access and interact +with the JustaName service. + +## Parameters + +• **props**: [`JustaNameProviderProps`](../interfaces/JustaNameProviderProps.md) + +The props for the JustaNameProvider component. + +• **deprecatedLegacyContext?**: `any` + +**Deprecated** + +**See** + +[React Docs](https://legacy.reactjs.org/docs/legacy-context.html#referencing-context-in-lifecycle-methods) + +## Returns + +`ReactNode` + +The provider component wrapping children. + +## Component + +## Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:84](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L84) diff --git a/docs/sdk/JustaName React SDK/functions/buildAccountInvitationsKey.md b/docs/sdk/JustaName React SDK/functions/buildAccountInvitationsKey.md new file mode 100644 index 00000000..d88c7e1c --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildAccountInvitationsKey.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildAccountInvitationsKey + +# Function: buildAccountInvitationsKey() + +> **buildAccountInvitationsKey**(`address`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **address**: `undefined` \| `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountInvitations.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountInvitations.ts#L12) diff --git a/docs/sdk/JustaName React SDK/functions/buildAddressEnsNames.md b/docs/sdk/JustaName React SDK/functions/buildAddressEnsNames.md new file mode 100644 index 00000000..c8618a95 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildAddressEnsNames.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildAddressEnsNames + +# Function: buildAddressEnsNames() + +> **buildAddressEnsNames**(`address`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **address**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L10) diff --git a/docs/sdk/JustaName React SDK/functions/buildAddressSubnamesKey.md b/docs/sdk/JustaName React SDK/functions/buildAddressSubnamesKey.md new file mode 100644 index 00000000..f723b33f --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildAddressSubnamesKey.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildAddressSubnamesKey + +# Function: buildAddressSubnamesKey() + +> **buildAddressSubnamesKey**(`address`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **address**: `undefined` \| `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts#L18) diff --git a/docs/sdk/JustaName React SDK/functions/buildAllEnsKey.md b/docs/sdk/JustaName React SDK/functions/buildAllEnsKey.md new file mode 100644 index 00000000..59cfc27d --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildAllEnsKey.md @@ -0,0 +1,25 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildAllEnsKey + +# Function: buildAllEnsKey() + +> **buildAllEnsKey**(`chainId`, `orderBy`, `orderDirection`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **chainId**: `undefined` \| `ChainId` + +• **orderBy**: `string` + +• **orderDirection**: `string` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts#L6) diff --git a/docs/sdk/JustaName React SDK/functions/buildCanEnableMAppsKey.md b/docs/sdk/JustaName React SDK/functions/buildCanEnableMAppsKey.md new file mode 100644 index 00000000..afb6b858 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildCanEnableMAppsKey.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildCanEnableMAppsKey + +# Function: buildCanEnableMAppsKey() + +> **buildCanEnableMAppsKey**(`ens`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **ens**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts#L8) diff --git a/docs/sdk/JustaName React SDK/functions/buildEnabledMAppsKey.md b/docs/sdk/JustaName React SDK/functions/buildEnabledMAppsKey.md new file mode 100644 index 00000000..84d1d51d --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildEnabledMAppsKey.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildEnabledMAppsKey + +# Function: buildEnabledMAppsKey() + +> **buildEnabledMAppsKey**(`ens`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **ens**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L7) diff --git a/docs/sdk/JustaName React SDK/functions/buildEnsAuthKey.md b/docs/sdk/JustaName React SDK/functions/buildEnsAuthKey.md new file mode 100644 index 00000000..e6dd631f --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildEnsAuthKey.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildEnsAuthKey + +# Function: buildEnsAuthKey() + +> **buildEnsAuthKey**(`backendUrl`): `string`[] + +## Parameters + +• **backendUrl**: `string` + +## Returns + +`string`[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L6) diff --git a/docs/sdk/JustaName React SDK/functions/buildEnsAvatarKey.md b/docs/sdk/JustaName React SDK/functions/buildEnsAvatarKey.md new file mode 100644 index 00000000..aadfcede --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildEnsAvatarKey.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildEnsAvatarKey + +# Function: buildEnsAvatarKey() + +> **buildEnsAvatarKey**(`ens`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **ens**: `undefined` \| `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L7) diff --git a/docs/sdk/JustaName React SDK/functions/buildEnsSubnamesKey.md b/docs/sdk/JustaName React SDK/functions/buildEnsSubnamesKey.md new file mode 100644 index 00000000..2c2fbe2c --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildEnsSubnamesKey.md @@ -0,0 +1,29 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildEnsSubnamesKey + +# Function: buildEnsSubnamesKey() + +> **buildEnsSubnamesKey**(`domainName`, `isClaimed`, `chainId`, `page`, `limit`): (`undefined` \| `string` \| `number` \| `boolean`)[] + +## Parameters + +• **domainName**: `undefined` \| `string` + +• **isClaimed**: `boolean` + +• **chainId**: `undefined` \| `ChainId` + +• **page**: `number` + +• **limit**: `number` + +## Returns + +(`undefined` \| `string` \| `number` \| `boolean`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts#L6) diff --git a/docs/sdk/JustaName React SDK/functions/buildIsMAppEnabledKey.md b/docs/sdk/JustaName React SDK/functions/buildIsMAppEnabledKey.md new file mode 100644 index 00000000..5f7a6910 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildIsMAppEnabledKey.md @@ -0,0 +1,25 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildIsMAppEnabledKey + +# Function: buildIsMAppEnabledKey() + +> **buildIsMAppEnabledKey**(`ens`, `mApp`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **ens**: `string` + +• **mApp**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L8) diff --git a/docs/sdk/JustaName React SDK/functions/buildIsSubnameAvailableKey.md b/docs/sdk/JustaName React SDK/functions/buildIsSubnameAvailableKey.md new file mode 100644 index 00000000..e3e3cdc4 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildIsSubnameAvailableKey.md @@ -0,0 +1,25 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildIsSubnameAvailableKey + +# Function: buildIsSubnameAvailableKey() + +> **buildIsSubnameAvailableKey**(`username`, `ensDomain`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **username**: `string` + +• **ensDomain**: `undefined` \| `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L7) diff --git a/docs/sdk/JustaName React SDK/functions/buildPrimaryName.md b/docs/sdk/JustaName React SDK/functions/buildPrimaryName.md new file mode 100644 index 00000000..5b2130c0 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildPrimaryName.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildPrimaryName + +# Function: buildPrimaryName() + +> **buildPrimaryName**(`address`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **address**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L8) diff --git a/docs/sdk/JustaName React SDK/functions/buildRecordsBySubnameKey.md b/docs/sdk/JustaName React SDK/functions/buildRecordsBySubnameKey.md new file mode 100644 index 00000000..24fc7137 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildRecordsBySubnameKey.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildRecordsBySubnameKey + +# Function: buildRecordsBySubnameKey() + +> **buildRecordsBySubnameKey**(`subname`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **subname**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L17) diff --git a/docs/sdk/JustaName React SDK/functions/buildSearchSubnamesKey.md b/docs/sdk/JustaName React SDK/functions/buildSearchSubnamesKey.md new file mode 100644 index 00000000..e7bdbb07 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildSearchSubnamesKey.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildSearchSubnamesKey + +# Function: buildSearchSubnamesKey() + +> **buildSearchSubnamesKey**(`params`): (`string` \| `number` \| `boolean`)[] + +## Parameters + +• **params**: `Omit`\<`MakeOptionalProps`\<`SubnameSearchRequest`, `"chainId"`\>, `never`\> + +## Returns + +(`string` \| `number` \| `boolean`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts#L9) diff --git a/docs/sdk/JustaName React SDK/functions/buildSignature.md b/docs/sdk/JustaName React SDK/functions/buildSignature.md new file mode 100644 index 00000000..9df74d83 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildSignature.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildSignature + +# Function: buildSignature() + +> **buildSignature**(`address`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **address**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:188](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L188) diff --git a/docs/sdk/JustaName React SDK/functions/buildSubnameBySubnameKey.md b/docs/sdk/JustaName React SDK/functions/buildSubnameBySubnameKey.md new file mode 100644 index 00000000..82a79e91 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildSubnameBySubnameKey.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildSubnameBySubnameKey + +# Function: buildSubnameBySubnameKey() + +> **buildSubnameBySubnameKey**(`subname`, `chainId`): (`undefined` \| `string` \| `ChainId`)[] + +## Parameters + +• **subname**: `string` + +• **chainId**: `undefined` \| `ChainId` + +## Returns + +(`undefined` \| `string` \| `ChainId`)[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSubname.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSubname.ts#L9) diff --git a/docs/sdk/JustaName React SDK/functions/buildUpdateChangesKey.md b/docs/sdk/JustaName React SDK/functions/buildUpdateChangesKey.md new file mode 100644 index 00000000..73ef5582 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/buildUpdateChangesKey.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / buildUpdateChangesKey + +# Function: buildUpdateChangesKey() + +> **buildUpdateChangesKey**(`params`): `any`[] + +## Parameters + +• **params**: [`GetUpdateChangesParams`](../interfaces/GetUpdateChangesParams.md) + +## Returns + +`any`[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L14) diff --git a/docs/sdk/JustaName React SDK/functions/getChangedAddresses.md b/docs/sdk/JustaName React SDK/functions/getChangedAddresses.md new file mode 100644 index 00000000..2ed08947 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/getChangedAddresses.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / getChangedAddresses + +# Function: getChangedAddresses() + +> **getChangedAddresses**(`sanitizedRequestAddress`, `records`): `Address`[] + +## Parameters + +• **sanitizedRequestAddress**: `undefined` \| `Address`[] + +• **records**: [`Records`](../interfaces/Records.md) + +## Returns + +`Address`[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:138](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L138) diff --git a/docs/sdk/JustaName React SDK/functions/getChangedContentHash.md b/docs/sdk/JustaName React SDK/functions/getChangedContentHash.md new file mode 100644 index 00000000..700288a2 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/getChangedContentHash.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / getChangedContentHash + +# Function: getChangedContentHash() + +> **getChangedContentHash**(`contentHash`, `records`): `undefined` \| `string` + +## Parameters + +• **contentHash**: `undefined` \| `string` + +• **records**: [`Records`](../interfaces/Records.md) + +## Returns + +`undefined` \| `string` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:179](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L179) diff --git a/docs/sdk/JustaName React SDK/functions/getChangedTextRecords.md b/docs/sdk/JustaName React SDK/functions/getChangedTextRecords.md new file mode 100644 index 00000000..f2781ee3 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/getChangedTextRecords.md @@ -0,0 +1,23 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / getChangedTextRecords + +# Function: getChangedTextRecords() + +> **getChangedTextRecords**(`sanitizedRequestText`, `records`): `TextRecord`[] + +## Parameters + +• **sanitizedRequestText**: `undefined` \| `TextRecord`[] + +• **records**: [`Records`](../interfaces/Records.md) + +## Returns + +`TextRecord`[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:158](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L158) diff --git a/docs/sdk/JustaName React SDK/functions/splitDomain.md b/docs/sdk/JustaName React SDK/functions/splitDomain.md new file mode 100644 index 00000000..1edd2cd0 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/splitDomain.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / splitDomain + +# Function: splitDomain() + +> **splitDomain**(`domain`): [`string`, `string`] + +## Parameters + +• **domain**: `string` + +## Returns + +[`string`, `string`] + +## Defined in + +[packages/@justaname.id/react/src/lib/helpers/splitDomain/index.ts:1](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/helpers/splitDomain/index.ts#L1) diff --git a/docs/sdk/JustaName React SDK/functions/useAcceptSubname.md b/docs/sdk/JustaName React SDK/functions/useAcceptSubname.md new file mode 100644 index 00000000..f0e777fc --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAcceptSubname.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAcceptSubname + +# Function: useAcceptSubname() + +> **useAcceptSubname**(`params`?): [`UseAcceptSubnameResult`](../interfaces/UseAcceptSubnameResult.md) + +## Parameters + +• **params?**: [`UseAcceptSubnameParams`](../type-aliases/UseAcceptSubnameParams.md) + +## Returns + +[`UseAcceptSubnameResult`](../interfaces/UseAcceptSubnameResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts#L27) diff --git a/docs/sdk/JustaName React SDK/functions/useAccountEnsNames.md b/docs/sdk/JustaName React SDK/functions/useAccountEnsNames.md new file mode 100644 index 00000000..06552bb7 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAccountEnsNames.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAccountEnsNames + +# Function: useAccountEnsNames() + +> **useAccountEnsNames**(`props`?): [`UseAccountEnsNamesResult`](../interfaces/UseAccountEnsNamesResult.md) + +## Parameters + +• **props?**: [`UseAccountEnsNamesParams`](../interfaces/UseAccountEnsNamesParams.md) + +## Returns + +[`UseAccountEnsNamesResult`](../interfaces/UseAccountEnsNamesResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts#L19) diff --git a/docs/sdk/JustaName React SDK/functions/useAccountInvitations.md b/docs/sdk/JustaName React SDK/functions/useAccountInvitations.md new file mode 100644 index 00000000..80c3b4c6 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAccountInvitations.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAccountInvitations + +# Function: useAccountInvitations() + +> **useAccountInvitations**(`params`?): `UseAccountInvitationsResult` + +## Parameters + +• **params?**: [`UseAccountInvitationsParams`](../type-aliases/UseAccountInvitationsParams.md) + +## Returns + +`UseAccountInvitationsResult` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountInvitations.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountInvitations.ts#L31) diff --git a/docs/sdk/JustaName React SDK/functions/useAccountSubnames.md b/docs/sdk/JustaName React SDK/functions/useAccountSubnames.md new file mode 100644 index 00000000..e07cb54b --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAccountSubnames.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAccountSubnames + +# Function: useAccountSubnames() + +> **useAccountSubnames**(`params`?): `UseAccountSubnamesResult` + +## Parameters + +• **params?**: [`UseConnectedWalletSubnamesOptions`](../interfaces/UseConnectedWalletSubnamesOptions.md) + +## Returns + +`UseAccountSubnamesResult` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountSubnames.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountSubnames.ts#L27) diff --git a/docs/sdk/JustaName React SDK/functions/useAddMAppPermission.md b/docs/sdk/JustaName React SDK/functions/useAddMAppPermission.md new file mode 100644 index 00000000..910aab0e --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAddMAppPermission.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAddMAppPermission + +# Function: useAddMAppPermission() + +> **useAddMAppPermission**(`params`): [`UseRequestAddMAppPermission`](../interfaces/UseRequestAddMAppPermission.md) + +## Parameters + +• **params**: [`UseAddMAppPermissionParams`](../interfaces/UseAddMAppPermissionParams.md) + +## Returns + +[`UseRequestAddMAppPermission`](../interfaces/UseRequestAddMAppPermission.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts#L24) diff --git a/docs/sdk/JustaName React SDK/functions/useAddSubname.md b/docs/sdk/JustaName React SDK/functions/useAddSubname.md new file mode 100644 index 00000000..2aca84b0 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAddSubname.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAddSubname + +# Function: useAddSubname() + +> **useAddSubname**(`params`?): [`UseAddSubnameResult`](../interfaces/UseAddSubnameResult.md) + +## Parameters + +• **params?**: [`UseAddSubnameParams`](../interfaces/UseAddSubnameParams.md) + +## Returns + +[`UseAddSubnameResult`](../interfaces/UseAddSubnameResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts#L28) diff --git a/docs/sdk/JustaName React SDK/functions/useAddressEnsNames.md b/docs/sdk/JustaName React SDK/functions/useAddressEnsNames.md new file mode 100644 index 00000000..d5ac128e --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAddressEnsNames.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAddressEnsNames + +# Function: useAddressEnsNames() + +> **useAddressEnsNames**(`params`?): [`UseAddressEnsNamesResult`](../interfaces/UseAddressEnsNamesResult.md) + +## Parameters + +• **params?**: [`UseAddressEnsNamesParams`](../interfaces/UseAddressEnsNamesParams.md) + +## Returns + +[`UseAddressEnsNamesResult`](../interfaces/UseAddressEnsNamesResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L33) diff --git a/docs/sdk/JustaName React SDK/functions/useAddressSubnames.md b/docs/sdk/JustaName React SDK/functions/useAddressSubnames.md new file mode 100644 index 00000000..9d88c2cb --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAddressSubnames.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAddressSubnames + +# Function: useAddressSubnames() + +> **useAddressSubnames**(`params`): `UseAddressSubnamesResult` + +## Parameters + +• **params**: [`UseAddressSubnamesParams`](../interfaces/UseAddressSubnamesParams.md) + +## Returns + +`UseAddressSubnamesResult` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts#L43) diff --git a/docs/sdk/JustaName React SDK/functions/useAllEns.md b/docs/sdk/JustaName React SDK/functions/useAllEns.md new file mode 100644 index 00000000..1aa55ba8 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useAllEns.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useAllEns + +# Function: useAllEns() + +> **useAllEns**(`params`): `UseInfiniteQueryResult`\<`InfiniteData`\<`object`, `unknown`\>, `Error`\> + +## Parameters + +• **params**: [`UseAllEnsParams`](../interfaces/UseAllEnsParams.md) + +## Returns + +`UseInfiniteQueryResult`\<`InfiniteData`\<`object`, `unknown`\>, `Error`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts#L22) diff --git a/docs/sdk/JustaName React SDK/functions/useCanEnableMApps.md b/docs/sdk/JustaName React SDK/functions/useCanEnableMApps.md new file mode 100644 index 00000000..46edb800 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useCanEnableMApps.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useCanEnableMApps + +# Function: useCanEnableMApps() + +> **useCanEnableMApps**(`params`): [`UseCanEnableMAppsResult`](../interfaces/UseCanEnableMAppsResult.md) + +## Parameters + +• **params**: [`UseCanEnableMAppsParams`](../interfaces/UseCanEnableMAppsParams.md) + +## Returns + +[`UseCanEnableMAppsResult`](../interfaces/UseCanEnableMAppsResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts#L28) diff --git a/docs/sdk/JustaName React SDK/functions/useEnabledMApps.md b/docs/sdk/JustaName React SDK/functions/useEnabledMApps.md new file mode 100644 index 00000000..6f150b8d --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useEnabledMApps.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useEnabledMApps + +# Function: useEnabledMApps() + +> **useEnabledMApps**(`params`): [`UseEnabledMAppsResult`](../interfaces/UseEnabledMAppsResult.md) + +## Parameters + +• **params**: [`UseEnabledMAppsParams`](../interfaces/UseEnabledMAppsParams.md) + +## Returns + +[`UseEnabledMAppsResult`](../interfaces/UseEnabledMAppsResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L24) diff --git a/docs/sdk/JustaName React SDK/functions/useEnsAuth.md b/docs/sdk/JustaName React SDK/functions/useEnsAuth.md new file mode 100644 index 00000000..35e3ba4c --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useEnsAuth.md @@ -0,0 +1,25 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useEnsAuth + +# Function: useEnsAuth() + +> **useEnsAuth**\<`T`\>(`params`?): [`UseEnsAuthReturn`](../interfaces/UseEnsAuthReturn.md)\<`T`\> + +## Type Parameters + +• **T** *extends* `object` = `object` + +## Parameters + +• **params?**: [`UseEnsAuthParams`](../interfaces/UseEnsAuthParams.md) + +## Returns + +[`UseEnsAuthReturn`](../interfaces/UseEnsAuthReturn.md)\<`T`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L28) diff --git a/docs/sdk/JustaName React SDK/functions/useEnsAvatar.md b/docs/sdk/JustaName React SDK/functions/useEnsAvatar.md new file mode 100644 index 00000000..de8d2ba7 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useEnsAvatar.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useEnsAvatar + +# Function: useEnsAvatar() + +> **useEnsAvatar**(`params`?): [`UseEnsAvatarResult`](../interfaces/UseEnsAvatarResult.md) + +## Parameters + +• **params?**: [`UseEnsAvatarParams`](../interfaces/UseEnsAvatarParams.md) + +## Returns + +[`UseEnsAvatarResult`](../interfaces/UseEnsAvatarResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L35) diff --git a/docs/sdk/JustaName React SDK/functions/useEnsSignIn.md b/docs/sdk/JustaName React SDK/functions/useEnsSignIn.md new file mode 100644 index 00000000..97611fbd --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useEnsSignIn.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useEnsSignIn + +# Function: useEnsSignIn() + +> **useEnsSignIn**(`params`?): [`UseEnsSignInResult`](../interfaces/UseEnsSignInResult.md) + +## Parameters + +• **params?**: [`UseEnsSignInParams`](../interfaces/UseEnsSignInParams.md) + +## Returns + +[`UseEnsSignInResult`](../interfaces/UseEnsSignInResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L34) diff --git a/docs/sdk/JustaName React SDK/functions/useEnsSignOut.md b/docs/sdk/JustaName React SDK/functions/useEnsSignOut.md new file mode 100644 index 00000000..f0cf2bc9 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useEnsSignOut.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useEnsSignOut + +# Function: useEnsSignOut() + +> **useEnsSignOut**(`params`?): [`UseEnsSignOutResult`](../interfaces/UseEnsSignOutResult.md) + +## Parameters + +• **params?**: [`UseEnsSignOutParams`](../interfaces/UseEnsSignOutParams.md) + +## Returns + +[`UseEnsSignOutResult`](../interfaces/UseEnsSignOutResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts#L19) diff --git a/docs/sdk/JustaName React SDK/functions/useEnsSubnames.md b/docs/sdk/JustaName React SDK/functions/useEnsSubnames.md new file mode 100644 index 00000000..0977c80f --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useEnsSubnames.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useEnsSubnames + +# Function: useEnsSubnames() + +> **useEnsSubnames**(`props`): `UseInfiniteQueryResult`\<`InfiniteData`\<`object`, `unknown`\>, `Error`\> + +## Parameters + +• **props**: [`UseEnsSubnamesParams`](../interfaces/UseEnsSubnamesParams.md) + +## Returns + +`UseInfiniteQueryResult`\<`InfiniteData`\<`object`, `unknown`\>, `Error`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts#L29) diff --git a/docs/sdk/JustaName React SDK/functions/useIsMAppEnabled.md b/docs/sdk/JustaName React SDK/functions/useIsMAppEnabled.md new file mode 100644 index 00000000..afe9b9ce --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useIsMAppEnabled.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useIsMAppEnabled + +# Function: useIsMAppEnabled() + +> **useIsMAppEnabled**(`params`): [`UseIsMAppEnabledResult`](../interfaces/UseIsMAppEnabledResult.md) + +## Parameters + +• **params**: [`UseIsMAppEnabledParams`](../interfaces/UseIsMAppEnabledParams.md) + +## Returns + +[`UseIsMAppEnabledResult`](../interfaces/UseIsMAppEnabledResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L31) diff --git a/docs/sdk/JustaName React SDK/functions/useIsSubnameAvailable.md b/docs/sdk/JustaName React SDK/functions/useIsSubnameAvailable.md new file mode 100644 index 00000000..c0ffcb90 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useIsSubnameAvailable.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useIsSubnameAvailable + +# Function: useIsSubnameAvailable() + +> **useIsSubnameAvailable**(`params`): [`UseIsSubnameAvailableResult`](../interfaces/UseIsSubnameAvailableResult.md) + +## Parameters + +• **params**: [`UseIsSubnameAvailableParams`](../interfaces/UseIsSubnameAvailableParams.md) + +## Returns + +[`UseIsSubnameAvailableResult`](../interfaces/UseIsSubnameAvailableResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L26) diff --git a/docs/sdk/JustaName React SDK/functions/useJustaName.md b/docs/sdk/JustaName React SDK/functions/useJustaName.md new file mode 100644 index 00000000..efbad57a --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useJustaName.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useJustaName + +# Function: useJustaName() + +> **useJustaName**(): [`JustaNameContextProps`](../interfaces/JustaNameContextProps.md) + +Custom hook for accessing the JustaNameContext. + +## Returns + +[`JustaNameContextProps`](../interfaces/JustaNameContextProps.md) + +The context value with JustaName service instance and configuration. + +## Hook + +## Throws + +If the hook is used outside a JustaNameProvider. + +## Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:180](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L180) diff --git a/docs/sdk/JustaName React SDK/functions/useMounted.md b/docs/sdk/JustaName React SDK/functions/useMounted.md new file mode 100644 index 00000000..3b8f72a1 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useMounted.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useMounted + +# Function: useMounted() + +> **useMounted**(): `boolean` + +A custom React hook to determine if a component has been mounted. + +## Returns + +`boolean` + +A boolean flag indicating whether the component is currently mounted. + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useMounted.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useMounted.ts#L10) diff --git a/docs/sdk/JustaName React SDK/functions/useMountedAccount.md b/docs/sdk/JustaName React SDK/functions/useMountedAccount.md new file mode 100644 index 00000000..9fbf5941 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useMountedAccount.md @@ -0,0 +1,22 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useMountedAccount + +# Function: useMountedAccount() + +> **useMountedAccount**(): `object` \| `object` \| `object` \| `object` + +A custom hook that wraps the `useAccount` hook from wagmi, incorporating a component mount check. + +## Returns + +`object` \| `object` \| `object` \| `object` + +An enhanced account object that includes all properties and methods from `useAccount`, +along with an improved `isConnected` boolean that also takes the component's mount state into consideration. + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useMountedAccount.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useMountedAccount.ts#L12) diff --git a/docs/sdk/JustaName React SDK/functions/useOffchainResolvers.md b/docs/sdk/JustaName React SDK/functions/useOffchainResolvers.md new file mode 100644 index 00000000..fbb556b5 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useOffchainResolvers.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useOffchainResolvers + +# Function: useOffchainResolvers() + +> **useOffchainResolvers**(): `UseOffchainResolversResult` + +## Returns + +`UseOffchainResolversResult` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/offchainResolver/useOffchainResolvers.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/offchainResolver/useOffchainResolvers.ts#L12) diff --git a/docs/sdk/JustaName React SDK/functions/usePrimaryName.md b/docs/sdk/JustaName React SDK/functions/usePrimaryName.md new file mode 100644 index 00000000..c152d1a1 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/usePrimaryName.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / usePrimaryName + +# Function: usePrimaryName() + +> **usePrimaryName**(`params`?): [`UsePrimaryNameResult`](../interfaces/UsePrimaryNameResult.md) + +## Parameters + +• **params?**: [`UsePrimaryNameParams`](../interfaces/UsePrimaryNameParams.md) + +## Returns + +[`UsePrimaryNameResult`](../interfaces/UsePrimaryNameResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L35) diff --git a/docs/sdk/JustaName React SDK/functions/useRecords.md b/docs/sdk/JustaName React SDK/functions/useRecords.md new file mode 100644 index 00000000..f5fc2774 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useRecords.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useRecords + +# Function: useRecords() + +> **useRecords**(`params`?): [`UseRecordsResult`](../interfaces/UseRecordsResult.md) + +## Parameters + +• **params?**: [`UseRecordsParams`](../interfaces/UseRecordsParams.md) + +## Returns + +[`UseRecordsResult`](../interfaces/UseRecordsResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:52](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L52) diff --git a/docs/sdk/JustaName React SDK/functions/useRejectSubname.md b/docs/sdk/JustaName React SDK/functions/useRejectSubname.md new file mode 100644 index 00000000..5bcbdc1e --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useRejectSubname.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useRejectSubname + +# Function: useRejectSubname() + +> **useRejectSubname**(`params`?): [`UseRejectSubnameResult`](../interfaces/UseRejectSubnameResult.md) + +## Parameters + +• **params?**: [`UseRejectSubnameParams`](../type-aliases/UseRejectSubnameParams.md) + +## Returns + +[`UseRejectSubnameResult`](../interfaces/UseRejectSubnameResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts#L32) diff --git a/docs/sdk/JustaName React SDK/functions/useRevokeMAppPermission.md b/docs/sdk/JustaName React SDK/functions/useRevokeMAppPermission.md new file mode 100644 index 00000000..64a04ae5 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useRevokeMAppPermission.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useRevokeMAppPermission + +# Function: useRevokeMAppPermission() + +> **useRevokeMAppPermission**(`params`): [`UseRequestRevokeMAppPermissionResult`](../interfaces/UseRequestRevokeMAppPermissionResult.md) + +## Parameters + +• **params**: [`UseRevokeMAppPermissionParams`](../interfaces/UseRevokeMAppPermissionParams.md) + +## Returns + +[`UseRequestRevokeMAppPermissionResult`](../interfaces/UseRequestRevokeMAppPermissionResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts#L24) diff --git a/docs/sdk/JustaName React SDK/functions/useRevokeSubname.md b/docs/sdk/JustaName React SDK/functions/useRevokeSubname.md new file mode 100644 index 00000000..18f0a89d --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useRevokeSubname.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useRevokeSubname + +# Function: useRevokeSubname() + +> **useRevokeSubname**(`params`?): [`UseRevokeSubnameResult`](../interfaces/UseRevokeSubnameResult.md) + +## Parameters + +• **params?**: [`UseRevokeSubnameParams`](../interfaces/UseRevokeSubnameParams.md) + +## Returns + +[`UseRevokeSubnameResult`](../interfaces/UseRevokeSubnameResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts#L28) diff --git a/docs/sdk/JustaName React SDK/functions/useSearchSubnames.md b/docs/sdk/JustaName React SDK/functions/useSearchSubnames.md new file mode 100644 index 00000000..917d3b02 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useSearchSubnames.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useSearchSubnames + +# Function: useSearchSubnames() + +> **useSearchSubnames**(`params`): `UseSearchSubnamesResult` + +## Parameters + +• **params**: [`UseSearchSubnamesParams`](../interfaces/UseSearchSubnamesParams.md) + +## Returns + +`UseSearchSubnamesResult` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts#L35) diff --git a/docs/sdk/JustaName React SDK/functions/useSetNameHashJustaNameResolver.md b/docs/sdk/JustaName React SDK/functions/useSetNameHashJustaNameResolver.md new file mode 100644 index 00000000..9a67c6d6 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useSetNameHashJustaNameResolver.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useSetNameHashJustaNameResolver + +# Function: useSetNameHashJustaNameResolver() + +> **useSetNameHashJustaNameResolver**\<`T`\>(): [`UseSetNameHashJustaNameResolver`](../interfaces/UseSetNameHashJustaNameResolver.md)\<`T`\> + +Custom hook for performing a mutation to set the JustaName resolver. + +## Type Parameters + +• **T** = `any` + +The type of additional parameters that can be passed to the set JustaName resolver mutation, extending the base request. + +## Returns + +[`UseSetNameHashJustaNameResolver`](../interfaces/UseSetNameHashJustaNameResolver.md)\<`T`\> + +An object containing the `setNameHashJustaNameResolver` async function to initiate the JustaName resolve,a boolean `NameHashJustaNameResolverSet` indicating if the resolver is set,a boolean `setNameHashJustaNameResolverPending` indicating the state of the process, and a boolean `setNameHashJustaNameResolverError` indicating if an error has occured. + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts:119](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts#L119) diff --git a/docs/sdk/JustaName React SDK/functions/useSubname.md b/docs/sdk/JustaName React SDK/functions/useSubname.md new file mode 100644 index 00000000..9c72e6da --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useSubname.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useSubname + +# Function: useSubname() + +> **useSubname**(`params`): `UseSubnameResult` + +## Parameters + +• **params**: `Omit`\<`MakeOptionalProps`\<`SubnameGetBySubnameRequest`, `"chainId"`\>, `never`\> + +## Returns + +`UseSubnameResult` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSubname.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSubname.ts#L24) diff --git a/docs/sdk/JustaName React SDK/functions/useSubnameSignature.md b/docs/sdk/JustaName React SDK/functions/useSubnameSignature.md new file mode 100644 index 00000000..68b2ba62 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useSubnameSignature.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useSubnameSignature + +# Function: useSubnameSignature() + +> **useSubnameSignature**(): [`UseSubnameSignatureResult`](../interfaces/UseSubnameSignatureResult.md) + +## Returns + +[`UseSubnameSignatureResult`](../interfaces/UseSubnameSignatureResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:204](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L204) diff --git a/docs/sdk/JustaName React SDK/functions/useUpdateChanges.md b/docs/sdk/JustaName React SDK/functions/useUpdateChanges.md new file mode 100644 index 00000000..dff20412 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useUpdateChanges.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useUpdateChanges + +# Function: useUpdateChanges() + +> **useUpdateChanges**(`params`?): [`UseUpdateChangesResult`](../interfaces/UseUpdateChangesResult.md) + +## Parameters + +• **params?**: [`UseUpdateChangesParams`](../interfaces/UseUpdateChangesParams.md) + +## Returns + +[`UseUpdateChangesResult`](../interfaces/UseUpdateChangesResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L48) diff --git a/docs/sdk/JustaName React SDK/functions/useUpdateSubname.md b/docs/sdk/JustaName React SDK/functions/useUpdateSubname.md new file mode 100644 index 00000000..e5ceb019 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useUpdateSubname.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useUpdateSubname + +# Function: useUpdateSubname() + +> **useUpdateSubname**(`params`?): [`UseUpdateSubnameResult`](../interfaces/UseUpdateSubnameResult.md) + +## Parameters + +• **params?**: [`UseUpdateSubnameParams`](../interfaces/UseUpdateSubnameParams.md) + +## Returns + +[`UseUpdateSubnameResult`](../interfaces/UseUpdateSubnameResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts#L43) diff --git a/docs/sdk/JustaName React SDK/functions/useUploadMedia.md b/docs/sdk/JustaName React SDK/functions/useUploadMedia.md new file mode 100644 index 00000000..4332e8f4 --- /dev/null +++ b/docs/sdk/JustaName React SDK/functions/useUploadMedia.md @@ -0,0 +1,21 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / useUploadMedia + +# Function: useUploadMedia() + +> **useUploadMedia**(`params`?): [`UseUploadMediaResult`](../interfaces/UseUploadMediaResult.md) + +## Parameters + +• **params?**: [`UseUploadMediaParams`](../interfaces/UseUploadMediaParams.md) + +## Returns + +[`UseUploadMediaResult`](../interfaces/UseUploadMediaResult.md) + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts#L41) diff --git a/docs/sdk/JustaName React SDK/globals.md b/docs/sdk/JustaName React SDK/globals.md new file mode 100644 index 00000000..20462272 --- /dev/null +++ b/docs/sdk/JustaName React SDK/globals.md @@ -0,0 +1,150 @@ +[**@justaname.id/react**](README.md) • **Docs** + +*** + +# @justaname.id/react + +## Interfaces + +- [GetEnsAvatarParams](interfaces/GetEnsAvatarParams.md) +- [GetEnsNamesForAddressParams](interfaces/GetEnsNamesForAddressParams.md) +- [getPrimaryNameParams](interfaces/getPrimaryNameParams.md) +- [GetRecordsParams](interfaces/GetRecordsParams.md) +- [GetRecordsResult](interfaces/GetRecordsResult.md) +- [GetUpdateChangesParams](interfaces/GetUpdateChangesParams.md) +- [GetUpdateChangesResult](interfaces/GetUpdateChangesResult.md) +- [JustaNameContextProps](interfaces/JustaNameContextProps.md) +- [JustaNameProviderConfig](interfaces/JustaNameProviderConfig.md) +- [JustaNameProviderProps](interfaces/JustaNameProviderProps.md) +- [Records](interfaces/Records.md) +- [SanitizeImageParams](interfaces/SanitizeImageParams.md) +- [UseAcceptSubnameFunctionParams](interfaces/UseAcceptSubnameFunctionParams.md) +- [UseAcceptSubnameResult](interfaces/UseAcceptSubnameResult.md) +- [UseAccountEnsNamesParams](interfaces/UseAccountEnsNamesParams.md) +- [UseAccountEnsNamesResult](interfaces/UseAccountEnsNamesResult.md) +- [UseAddMAppPermissionFunctionParams](interfaces/UseAddMAppPermissionFunctionParams.md) +- [UseAddMAppPermissionParams](interfaces/UseAddMAppPermissionParams.md) +- [UseAddressEnsNamesParams](interfaces/UseAddressEnsNamesParams.md) +- [UseAddressEnsNamesResult](interfaces/UseAddressEnsNamesResult.md) +- [UseAddressSubnamesParams](interfaces/UseAddressSubnamesParams.md) +- [UseAddSubnameParams](interfaces/UseAddSubnameParams.md) +- [UseAddSubnameResult](interfaces/UseAddSubnameResult.md) +- [UseAllEnsParams](interfaces/UseAllEnsParams.md) +- [UseCanEnableMAppsParams](interfaces/UseCanEnableMAppsParams.md) +- [UseCanEnableMAppsResult](interfaces/UseCanEnableMAppsResult.md) +- [UseConnectedWalletSubnamesOptions](interfaces/UseConnectedWalletSubnamesOptions.md) +- [UseEnabledMAppsParams](interfaces/UseEnabledMAppsParams.md) +- [UseEnabledMAppsResult](interfaces/UseEnabledMAppsResult.md) +- [UseEnsAuthParams](interfaces/UseEnsAuthParams.md) +- [UseEnsAuthReturn](interfaces/UseEnsAuthReturn.md) +- [UseEnsAvatarParams](interfaces/UseEnsAvatarParams.md) +- [UseEnsAvatarResult](interfaces/UseEnsAvatarResult.md) +- [UseEnsSignInParams](interfaces/UseEnsSignInParams.md) +- [UseEnsSignInResult](interfaces/UseEnsSignInResult.md) +- [UseEnsSignOutParams](interfaces/UseEnsSignOutParams.md) +- [UseEnsSignOutResult](interfaces/UseEnsSignOutResult.md) +- [UseEnsSubnamesParams](interfaces/UseEnsSubnamesParams.md) +- [UseIsMAppEnabledParams](interfaces/UseIsMAppEnabledParams.md) +- [UseIsMAppEnabledResult](interfaces/UseIsMAppEnabledResult.md) +- [UseIsSubnameAvailableParams](interfaces/UseIsSubnameAvailableParams.md) +- [UseIsSubnameAvailableResult](interfaces/UseIsSubnameAvailableResult.md) +- [UsePrimaryNameParams](interfaces/UsePrimaryNameParams.md) +- [UsePrimaryNameResult](interfaces/UsePrimaryNameResult.md) +- [UseRecordsParams](interfaces/UseRecordsParams.md) +- [UseRecordsResult](interfaces/UseRecordsResult.md) +- [UseRejectSubnameFunctionParams](interfaces/UseRejectSubnameFunctionParams.md) +- [UseRejectSubnameResult](interfaces/UseRejectSubnameResult.md) +- [UseRequestAddMAppPermission](interfaces/UseRequestAddMAppPermission.md) +- [UseRequestRevokeMAppPermissionResult](interfaces/UseRequestRevokeMAppPermissionResult.md) +- [UseRevokeMAppPermissionFunctionParams](interfaces/UseRevokeMAppPermissionFunctionParams.md) +- [UseRevokeMAppPermissionParams](interfaces/UseRevokeMAppPermissionParams.md) +- [UseRevokeSubnameParams](interfaces/UseRevokeSubnameParams.md) +- [UseRevokeSubnameResult](interfaces/UseRevokeSubnameResult.md) +- [UseSearchSubnamesParams](interfaces/UseSearchSubnamesParams.md) +- [UseSetNameHashJustaNameResolver](interfaces/UseSetNameHashJustaNameResolver.md) +- [UseSubnameSignatureResult](interfaces/UseSubnameSignatureResult.md) +- [UseSubnameUpdateFunctionParams](interfaces/UseSubnameUpdateFunctionParams.md) +- [UseUpdateChangesParams](interfaces/UseUpdateChangesParams.md) +- [UseUpdateChangesResult](interfaces/UseUpdateChangesResult.md) +- [UseUpdateSubnameParams](interfaces/UseUpdateSubnameParams.md) +- [UseUpdateSubnameResult](interfaces/UseUpdateSubnameResult.md) +- [UseUploadMediaParams](interfaces/UseUploadMediaParams.md) +- [UseUploadMediaResponse](interfaces/UseUploadMediaResponse.md) +- [UseUploadMediaResult](interfaces/UseUploadMediaResult.md) + +## Type Aliases + +- [EnsAuth](type-aliases/EnsAuth.md) +- [JustaNameConfigWithoutDefaultChainId](type-aliases/JustaNameConfigWithoutDefaultChainId.md) +- [SubnameRecordResponse](type-aliases/SubnameRecordResponse.md) +- [UseAcceptSubnameParams](type-aliases/UseAcceptSubnameParams.md) +- [UseAccountInvitationsParams](type-aliases/UseAccountInvitationsParams.md) +- [UseAddSubnameFunctionParams](type-aliases/UseAddSubnameFunctionParams.md) +- [UseEnsSignInFunctionParams](type-aliases/UseEnsSignInFunctionParams.md) +- [UseRejectSubnameParams](type-aliases/UseRejectSubnameParams.md) +- [UseRevokeSubnameFunctionParams](type-aliases/UseRevokeSubnameFunctionParams.md) +- [UseSubnameParams](type-aliases/UseSubnameParams.md) + +## Variables + +- [JustaNameContext](variables/JustaNameContext.md) +- [OFFCHAIN\_RESOLVERS\_KEY](variables/OFFCHAIN_RESOLVERS_KEY.md) + +## Functions + +- [buildAccountInvitationsKey](functions/buildAccountInvitationsKey.md) +- [buildAddressEnsNames](functions/buildAddressEnsNames.md) +- [buildAddressSubnamesKey](functions/buildAddressSubnamesKey.md) +- [buildAllEnsKey](functions/buildAllEnsKey.md) +- [buildCanEnableMAppsKey](functions/buildCanEnableMAppsKey.md) +- [buildEnabledMAppsKey](functions/buildEnabledMAppsKey.md) +- [buildEnsAuthKey](functions/buildEnsAuthKey.md) +- [buildEnsAvatarKey](functions/buildEnsAvatarKey.md) +- [buildEnsSubnamesKey](functions/buildEnsSubnamesKey.md) +- [buildIsMAppEnabledKey](functions/buildIsMAppEnabledKey.md) +- [buildIsSubnameAvailableKey](functions/buildIsSubnameAvailableKey.md) +- [buildPrimaryName](functions/buildPrimaryName.md) +- [buildRecordsBySubnameKey](functions/buildRecordsBySubnameKey.md) +- [buildSearchSubnamesKey](functions/buildSearchSubnamesKey.md) +- [buildSignature](functions/buildSignature.md) +- [buildSubnameBySubnameKey](functions/buildSubnameBySubnameKey.md) +- [buildUpdateChangesKey](functions/buildUpdateChangesKey.md) +- [getChangedAddresses](functions/getChangedAddresses.md) +- [getChangedContentHash](functions/getChangedContentHash.md) +- [getChangedTextRecords](functions/getChangedTextRecords.md) +- [JustaNameProvider](functions/JustaNameProvider.md) +- [splitDomain](functions/splitDomain.md) +- [useAcceptSubname](functions/useAcceptSubname.md) +- [useAccountEnsNames](functions/useAccountEnsNames.md) +- [useAccountInvitations](functions/useAccountInvitations.md) +- [useAccountSubnames](functions/useAccountSubnames.md) +- [useAddMAppPermission](functions/useAddMAppPermission.md) +- [useAddressEnsNames](functions/useAddressEnsNames.md) +- [useAddressSubnames](functions/useAddressSubnames.md) +- [useAddSubname](functions/useAddSubname.md) +- [useAllEns](functions/useAllEns.md) +- [useCanEnableMApps](functions/useCanEnableMApps.md) +- [useEnabledMApps](functions/useEnabledMApps.md) +- [useEnsAuth](functions/useEnsAuth.md) +- [useEnsAvatar](functions/useEnsAvatar.md) +- [useEnsSignIn](functions/useEnsSignIn.md) +- [useEnsSignOut](functions/useEnsSignOut.md) +- [useEnsSubnames](functions/useEnsSubnames.md) +- [useIsMAppEnabled](functions/useIsMAppEnabled.md) +- [useIsSubnameAvailable](functions/useIsSubnameAvailable.md) +- [useJustaName](functions/useJustaName.md) +- [useMounted](functions/useMounted.md) +- [useMountedAccount](functions/useMountedAccount.md) +- [useOffchainResolvers](functions/useOffchainResolvers.md) +- [usePrimaryName](functions/usePrimaryName.md) +- [useRecords](functions/useRecords.md) +- [useRejectSubname](functions/useRejectSubname.md) +- [useRevokeMAppPermission](functions/useRevokeMAppPermission.md) +- [useRevokeSubname](functions/useRevokeSubname.md) +- [useSearchSubnames](functions/useSearchSubnames.md) +- [useSetNameHashJustaNameResolver](functions/useSetNameHashJustaNameResolver.md) +- [useSubname](functions/useSubname.md) +- [useSubnameSignature](functions/useSubnameSignature.md) +- [useUpdateChanges](functions/useUpdateChanges.md) +- [useUpdateSubname](functions/useUpdateSubname.md) +- [useUploadMedia](functions/useUploadMedia.md) diff --git a/docs/sdk/JustaName React SDK/interfaces/GetEnsAvatarParams.md b/docs/sdk/JustaName React SDK/interfaces/GetEnsAvatarParams.md new file mode 100644 index 00000000..38756576 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/GetEnsAvatarParams.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / GetEnsAvatarParams + +# Interface: GetEnsAvatarParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L25) + +*** + +### name + +> **name**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L24) diff --git a/docs/sdk/JustaName React SDK/interfaces/GetEnsNamesForAddressParams.md b/docs/sdk/JustaName React SDK/interfaces/GetEnsNamesForAddressParams.md new file mode 100644 index 00000000..5ca8d8c6 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/GetEnsNamesForAddressParams.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / GetEnsNamesForAddressParams + +# Interface: GetEnsNamesForAddressParams + +## Properties + +### address + +> **address**: `undefined` \| \`0x$\{string\}\` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L30) diff --git a/docs/sdk/JustaName React SDK/interfaces/GetRecordsParams.md b/docs/sdk/JustaName React SDK/interfaces/GetRecordsParams.md new file mode 100644 index 00000000..48b883a9 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/GetRecordsParams.md @@ -0,0 +1,35 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / GetRecordsParams + +# Interface: GetRecordsParams + +## Extends + +- `Omit`\<`SubnameRecordsRoute`\[`"params"`\], `"ens"` \| `"providerUrl"`\> + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/records.d.ts:7 + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L34) diff --git a/docs/sdk/JustaName React SDK/interfaces/GetRecordsResult.md b/docs/sdk/JustaName React SDK/interfaces/GetRecordsResult.md new file mode 100644 index 00000000..f21afde0 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/GetRecordsResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / GetRecordsResult + +# Interface: GetRecordsResult + +## Properties + +### rawRecords + +> **rawRecords**: `undefined` \| `SubnameResponse` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L23) + +*** + +### sanitizedRecords + +> **sanitizedRecords**: `undefined` \| `SanitizedRecords` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L24) diff --git a/docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesParams.md b/docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesParams.md new file mode 100644 index 00000000..1421339e --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesParams.md @@ -0,0 +1,77 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / GetUpdateChangesParams + +# Interface: GetUpdateChangesParams + +## Extends + +- `Omit`\<`SubnameUpdateRoute`\[`"params"`\], `"username"` \| `"ensDomain"`\> + +## Properties + +### addresses? + +> `optional` **addresses**: `Partial`\<`object`\> \| `AddressWithTypedCoins`[] + +#### Inherited from + +`Omit.addresses` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:20 + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:14 + +*** + +### contentHash? + +> `optional` **contentHash**: `string` + +#### Inherited from + +`Omit.contentHash` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:17 + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L21) + +*** + +### text? + +> `optional` **text**: `Record`\<`string`, `string`\> \| `TextRecordUpdateRequest`[] + +#### Inherited from + +`Omit.text` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:21 diff --git a/docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesResult.md b/docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesResult.md new file mode 100644 index 00000000..62494f7b --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/GetUpdateChangesResult.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / GetUpdateChangesResult + +# Interface: GetUpdateChangesResult + +## Properties + +### changedAddresses? + +> `optional` **changedAddresses**: `Address`[] + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L25) + +*** + +### changedContentHash? + +> `optional` **changedContentHash**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L27) + +*** + +### changedTexts? + +> `optional` **changedTexts**: `TextRecord`[] + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L26) diff --git a/docs/sdk/JustaName React SDK/interfaces/JustaNameContextProps.md b/docs/sdk/JustaName React SDK/interfaces/JustaNameContextProps.md new file mode 100644 index 00000000..4a8faebc --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/JustaNameContextProps.md @@ -0,0 +1,161 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / JustaNameContextProps + +# Interface: JustaNameContextProps + +## Extends + +- `Omit`\<`JustaNameConfigDefaults`, `"defaultChainId"`\> + +## Properties + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:54](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L54) + +*** + +### chainId + +> **chainId**: `undefined` \| `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:57](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L57) + +*** + +### config? + +> `optional` **config**: `Configuration` + +#### Inherited from + +`Omit.config` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:28 + +*** + +### dev? + +> `optional` **dev**: `boolean` + +#### Inherited from + +`Omit.dev` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:32 + +*** + +### ensDomains + +> **ensDomains**: `EnsDomainByChainId`[] + +#### Inherited from + +`Omit.ensDomains` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:36 + +*** + +### justaname + +> **justaname**: `JustaName` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:52](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L52) + +*** + +### justanameConfig + +> **justanameConfig**: [`JustaNameProviderConfig`](JustaNameProviderConfig.md) + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:50](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L50) + +*** + +### networks + +> **networks**: `NetworksWithProvider` + +#### Inherited from + +`Omit.networks` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:35 + +*** + +### routes + +> **routes**: `object` + +#### addSubnameRoute + +> **addSubnameRoute**: `string` = `'/api/subnames/add'` + +#### currentEnsRoute + +> **currentEnsRoute**: `string` = `'/api/current'` + +#### revokeSubnameRoute + +> **revokeSubnameRoute**: `string` = `'/api/subnames/revoke'` + +#### signinNonceRoute + +> **signinNonceRoute**: `string` = `'/api/signin/nonce'` + +#### signinRoute + +> **signinRoute**: `string` = `'/api/signin'` + +#### signoutRoute + +> **signoutRoute**: `string` = `'/api/signout'` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:53](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L53) + +*** + +### selectedEnsDomain + +> **selectedEnsDomain**: `undefined` \| `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:56](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L56) + +*** + +### selectedNetwork + +> **selectedNetwork**: `NetworkWithProvider`\<`ChainId`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:55](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L55) diff --git a/docs/sdk/JustaName React SDK/interfaces/JustaNameProviderConfig.md b/docs/sdk/JustaName React SDK/interfaces/JustaNameProviderConfig.md new file mode 100644 index 00000000..b716ca1e --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/JustaNameProviderConfig.md @@ -0,0 +1,123 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / JustaNameProviderConfig + +# Interface: JustaNameProviderConfig + +## Extends + +- [`JustaNameConfigWithoutDefaultChainId`](../type-aliases/JustaNameConfigWithoutDefaultChainId.md) + +## Properties + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:72](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L72) + +*** + +### config? + +> `optional` **config**: `Configuration` + +#### Inherited from + +`JustaNameConfigWithoutDefaultChainId.config` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:28 + +*** + +### dev? + +> `optional` **dev**: `boolean` + +#### Inherited from + +`JustaNameConfigWithoutDefaultChainId.dev` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:32 + +*** + +### ensDomains? + +> `optional` **ensDomains**: `EnsDomains` + +#### Inherited from + +`JustaNameConfigWithoutDefaultChainId.ensDomains` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:30 + +*** + +### networks? + +> `optional` **networks**: `Networks` + +#### Inherited from + +`JustaNameConfigWithoutDefaultChainId.networks` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/justaname/configuration.d.ts:29 + +*** + +### routes? + +> `optional` **routes**: `Partial`\<`object`\> + +#### Type declaration + +##### addSubnameRoute + +> **addSubnameRoute**: `string` = `'/api/subnames/add'` + +##### currentEnsRoute + +> **currentEnsRoute**: `string` = `'/api/current'` + +##### revokeSubnameRoute + +> **revokeSubnameRoute**: `string` = `'/api/subnames/revoke'` + +##### signinNonceRoute + +> **signinNonceRoute**: `string` = `'/api/signin/nonce'` + +##### signinRoute + +> **signinRoute**: `string` = `'/api/signin'` + +##### signoutRoute + +> **signoutRoute**: `string` = `'/api/signout'` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:71](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L71) + +*** + +### signOnMounted? + +> `optional` **signOnMounted**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:73](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L73) diff --git a/docs/sdk/JustaName React SDK/interfaces/JustaNameProviderProps.md b/docs/sdk/JustaName React SDK/interfaces/JustaNameProviderProps.md new file mode 100644 index 00000000..da42ace0 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/JustaNameProviderProps.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / JustaNameProviderProps + +# Interface: JustaNameProviderProps + +## Properties + +### children + +> **children**: `ReactNode` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:65](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L65) + +*** + +### config + +> **config**: [`JustaNameProviderConfig`](JustaNameProviderConfig.md) + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:66](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L66) diff --git a/docs/sdk/JustaName React SDK/interfaces/Records.md b/docs/sdk/JustaName React SDK/interfaces/Records.md new file mode 100644 index 00000000..69aeb357 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/Records.md @@ -0,0 +1,91 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / Records + +# Interface: Records + +## Extends + +- [`SubnameRecordResponse`](../type-aliases/SubnameRecordResponse.md) + +## Properties + +### claimedAt? + +> `optional` **claimedAt**: `null` \| `Date` + +#### Inherited from + +`SubnameRecordResponse.claimedAt` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/common/subname.response.d.ts:24 + +*** + +### ens + +> **ens**: `string` + +#### Inherited from + +`SubnameRecordResponse.ens` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/common/subname.response.d.ts:22 + +*** + +### isClaimed? + +> `optional` **isClaimed**: `boolean` + +#### Inherited from + +`SubnameRecordResponse.isClaimed` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/common/subname.response.d.ts:23 + +*** + +### isJAN + +> **isJAN**: `boolean` + +#### Inherited from + +`SubnameRecordResponse.isJAN` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/common/subname.response.d.ts:25 + +*** + +### records + +> **records**: `RecordResponse` + +#### Inherited from + +`SubnameRecordResponse.records` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/common/subname.response.d.ts:26 + +*** + +### sanitizedRecords + +> **sanitizedRecords**: `SanitizedRecords` + +#### Defined in + +[packages/@justaname.id/react/src/lib/types/common/index.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/types/common/index.ts#L6) diff --git a/docs/sdk/JustaName React SDK/interfaces/SanitizeImageParams.md b/docs/sdk/JustaName React SDK/interfaces/SanitizeImageParams.md new file mode 100644 index 00000000..20237b36 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/SanitizeImageParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / SanitizeImageParams + +# Interface: SanitizeImageParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L15) + +*** + +### image? + +> `optional` **image**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L14) + +*** + +### name + +> **name**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L13) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameFunctionParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameFunctionParams.md new file mode 100644 index 00000000..2f0a0604 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameFunctionParams.md @@ -0,0 +1,77 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAcceptSubnameFunctionParams + +# Interface: UseAcceptSubnameFunctionParams + +## Extends + +- `Omit`\<`SubnameAcceptRoute`\[`"params"`\], `"ensDomain"` \| `"username"`\> + +## Properties + +### addresses? + +> `optional` **addresses**: `Partial`\<`object`\> \| `AddressWithTypedCoins`[] + +#### Inherited from + +`Omit.addresses` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/accept.d.ts:20 + +*** + +### chainId? + +> `optional` **chainId**: `number` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/accept.d.ts:14 + +*** + +### contentHash? + +> `optional` **contentHash**: `string` + +#### Inherited from + +`Omit.contentHash` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/accept.d.ts:17 + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts#L17) + +*** + +### text? + +> `optional` **text**: `Record`\<`string`, `string`\> \| `TextRecordAcceptRequest`[] + +#### Inherited from + +`Omit.text` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/accept.d.ts:21 diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameResult.md b/docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameResult.md new file mode 100644 index 00000000..4c331643 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAcceptSubnameResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAcceptSubnameResult + +# Interface: UseAcceptSubnameResult + +## Properties + +### acceptSubname + +> **acceptSubname**: `UseMutateAsyncFunction`\<[`Records`](Records.md), `Error`, [`UseAcceptSubnameFunctionParams`](UseAcceptSubnameFunctionParams.md)\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts#L23) + +*** + +### isAcceptSubnamePending + +> **isAcceptSubnamePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts#L24) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesParams.md new file mode 100644 index 00000000..fa7d9c29 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesParams.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAccountEnsNamesParams + +# Interface: UseAccountEnsNamesParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts#L8) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesResult.md b/docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesResult.md new file mode 100644 index 00000000..f085fa76 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAccountEnsNamesResult.md @@ -0,0 +1,61 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAccountEnsNamesResult + +# Interface: UseAccountEnsNamesResult + +## Properties + +### accountEnsNames + +> **accountEnsNames**: [`Records`](Records.md)[] + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts#L12) + +*** + +### isAccountEnsNamesFetching + +> **isAccountEnsNamesFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts#L14) + +*** + +### isAccountEnsNamesLoading + +> **isAccountEnsNamesLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts#L15) + +*** + +### isAccountEnsNamesPending + +> **isAccountEnsNamesPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts#L13) + +*** + +### refetchAccountEnsNames() + +> **refetchAccountEnsNames**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountEnsNames.ts#L16) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionFunctionParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionFunctionParams.md new file mode 100644 index 00000000..2b0fb64f --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionFunctionParams.md @@ -0,0 +1,110 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddMAppPermissionFunctionParams + +# Interface: UseAddMAppPermissionFunctionParams + +## Extends + +- `Omit`\<`RequestAddMAppPermissionChallengeRoute`\[`"params"`\], `"mApp"` \| `"address"`\> + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +Represents the chainId of the blockchain to be used. + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:27 + +*** + +### domain? + +> `optional` **domain**: `string` + +Represents the ENS domain + +#### Inherited from + +`Omit.domain` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:12 + +*** + +### mApp? + +> `optional` **mApp**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts#L10) + +*** + +### origin? + +> `optional` **origin**: `string` + +Represents the origin of the request (e.g. the domain of the website). + +#### Inherited from + +`Omit.origin` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:22 + +*** + +### subname + +> **subname**: `string` + +Subname requesting the ABDC Permission + +#### Inherited from + +`Omit.subname` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:40 + +*** + +### ttl? + +> `optional` **ttl**: `number` + +Specifies the time-to-live (TTL) for a variable. +default: 120000 ms, 2 minutes ( 2 * 60 * 1000 ) + +#### Default + +```ts +120000 +``` + +#### Optional + +#### Inherited from + +`Omit.ttl` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:35 diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionParams.md new file mode 100644 index 00000000..8feaf0c1 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAddMAppPermissionParams.md @@ -0,0 +1,98 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddMAppPermissionParams + +# Interface: UseAddMAppPermissionParams + +## Extends + +- `Omit`\<[`UseAddMAppPermissionFunctionParams`](UseAddMAppPermissionFunctionParams.md), `"subname"` \| `"address"`\> + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +Represents the chainId of the blockchain to be used. + +#### Overrides + +`Omit.chainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts#L15) + +*** + +### domain? + +> `optional` **domain**: `string` + +Represents the ENS domain + +#### Inherited from + +`Omit.domain` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:12 + +*** + +### mApp + +> **mApp**: `string` + +#### Overrides + +`Omit.mApp` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts#L14) + +*** + +### origin? + +> `optional` **origin**: `string` + +Represents the origin of the request (e.g. the domain of the website). + +#### Inherited from + +`Omit.origin` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:22 + +*** + +### ttl? + +> `optional` **ttl**: `number` + +Specifies the time-to-live (TTL) for a variable. +default: 120000 ms, 2 minutes ( 2 * 60 * 1000 ) + +#### Default + +```ts +120000 +``` + +#### Optional + +#### Inherited from + +`Omit.ttl` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/siwe/add-mApp-permission-challenge.d.ts:35 diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAddSubnameParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAddSubnameParams.md new file mode 100644 index 00000000..4e378a99 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAddSubnameParams.md @@ -0,0 +1,115 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddSubnameParams + +# Interface: UseAddSubnameParams + +## Extends + +- `Omit`\<[`UseAddSubnameFunctionParams`](../type-aliases/UseAddSubnameFunctionParams.md), `"username"`\> + +## Properties + +### addresses? + +> `optional` **addresses**: `Partial`\<`object`\> \| `AddressWithTypedCoins`[] + +#### Inherited from + +`Omit.addresses` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/add.d.ts:20 + +*** + +### addSubnameRoute? + +> `optional` **addSubnameRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts#L16) + +*** + +### apiKey? + +> `optional` **apiKey**: `string` + +#### Inherited from + +`Omit.apiKey` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/add.d.ts:22 + +*** + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts#L15) + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/add.d.ts:14 + +*** + +### contentHash? + +> `optional` **contentHash**: `string` + +#### Inherited from + +`Omit.contentHash` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/add.d.ts:17 + +*** + +### ensDomain? + +> `optional` **ensDomain**: `string` + +#### Inherited from + +`Omit.ensDomain` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/add.d.ts:13 + +*** + +### text? + +> `optional` **text**: `Record`\<`string`, `string`\> \| `TextRecordAddRequest`[] + +#### Inherited from + +`Omit.text` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/add.d.ts:21 diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAddSubnameResult.md b/docs/sdk/JustaName React SDK/interfaces/UseAddSubnameResult.md new file mode 100644 index 00000000..61107ccb --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAddSubnameResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddSubnameResult + +# Interface: UseAddSubnameResult + +## Properties + +### addSubname + +> **addSubname**: `UseMutateAsyncFunction`\<[`Records`](Records.md), `Error`, `Omit`\<`MakeOptionalProps`\<`SubnameAddRequest`, `"chainId"` \| `"ensDomain"`\>, `"addresses"` \| `"text"`\> & `object`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts#L20) + +*** + +### isAddSubnamePending + +> **isAddSubnamePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts#L25) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesParams.md new file mode 100644 index 00000000..9b0d6736 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesParams.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddressEnsNamesParams + +# Interface: UseAddressEnsNamesParams + +## Properties + +### address? + +> `optional` **address**: \`0x$\{string\}\` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L16) + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L17) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesResult.md b/docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesResult.md new file mode 100644 index 00000000..2d1ba5d3 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAddressEnsNamesResult.md @@ -0,0 +1,79 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddressEnsNamesResult + +# Interface: UseAddressEnsNamesResult + +## Properties + +### addressEnsNames + +> **addressEnsNames**: [`Records`](Records.md)[] + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L21) + +*** + +### getEnsNamesForAddress() + +> **getEnsNamesForAddress**: (`address`) => `Promise`\<[`Records`](Records.md)[]\> + +#### Parameters + +• **address**: \`0x$\{string\}\` + +#### Returns + +`Promise`\<[`Records`](Records.md)[]\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L25) + +*** + +### isAddressEnsNamesFetching + +> **isAddressEnsNamesFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L23) + +*** + +### isAddressEnsNamesLoading + +> **isAddressEnsNamesLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L24) + +*** + +### isAddressEnsNamesPending + +> **isAddressEnsNamesPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L22) + +*** + +### refetchAddressEnsNames() + +> **refetchAddressEnsNames**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAddressEnsNames.ts#L26) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAddressSubnamesParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAddressSubnamesParams.md new file mode 100644 index 00000000..17edf037 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAddressSubnamesParams.md @@ -0,0 +1,55 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddressSubnamesParams + +# Interface: UseAddressSubnamesParams + +## Extends + +- `Omit`\<`SubnameGetAllByAddressRoute`\[`"params"`\], `"isClaimed"` \| `"coinType"` \| `"address"`\> + +## Properties + +### address + +> **address**: `undefined` \| `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts#L28) + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/get-subnames-by-address.d.ts:4 + +*** + +### coinType? + +> `optional` **coinType**: `number` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts#L30) + +*** + +### isClaimed? + +> `optional` **isClaimed**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddressSubnames.ts#L29) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseAllEnsParams.md b/docs/sdk/JustaName React SDK/interfaces/UseAllEnsParams.md new file mode 100644 index 00000000..4bda753e --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseAllEnsParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAllEnsParams + +# Interface: UseAllEnsParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts#L19) + +*** + +### orderBy? + +> `optional` **orderBy**: `"subnameCount"` \| `"createdAt"` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts#L17) + +*** + +### orderDirection? + +> `optional` **orderDirection**: `"asc"` \| `"desc"` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useAllEns.ts#L18) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsParams.md b/docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsParams.md new file mode 100644 index 00000000..396f8cb8 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsParams.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseCanEnableMAppsParams + +# Interface: UseCanEnableMAppsParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts#L19) + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts#L18) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsResult.md b/docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsResult.md new file mode 100644 index 00000000..d07c1110 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseCanEnableMAppsResult.md @@ -0,0 +1,41 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseCanEnableMAppsResult + +# Interface: UseCanEnableMAppsResult + +## Properties + +### canEnableMApps + +> **canEnableMApps**: `undefined` \| `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts#L23) + +*** + +### isCanEnableMAppsPending + +> **isCanEnableMAppsPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts#L24) + +*** + +### refetchCanEnableMApps() + +> **refetchCanEnableMApps**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useCanEnableMApps.ts#L25) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseConnectedWalletSubnamesOptions.md b/docs/sdk/JustaName React SDK/interfaces/UseConnectedWalletSubnamesOptions.md new file mode 100644 index 00000000..b0f375be --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseConnectedWalletSubnamesOptions.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseConnectedWalletSubnamesOptions + +# Interface: UseConnectedWalletSubnamesOptions + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountSubnames.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountSubnames.ts#L14) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsParams.md b/docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsParams.md new file mode 100644 index 00000000..c3e8aaaf --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnabledMAppsParams + +# Interface: UseEnabledMAppsParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L14) + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L13) + +*** + +### providerUrl? + +> `optional` **providerUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L15) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsResult.md b/docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsResult.md new file mode 100644 index 00000000..0857e2a3 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnabledMAppsResult.md @@ -0,0 +1,41 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnabledMAppsResult + +# Interface: UseEnabledMAppsResult + +## Properties + +### enabledMApps + +> **enabledMApps**: `undefined` \| `string`[] + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L19) + +*** + +### isMAppEnabledPending + +> **isMAppEnabledPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L21) + +*** + +### refetchEnabledMApps() + +> **refetchEnabledMApps**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useEnabledMApps.ts#L20) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsAuthParams.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsAuthParams.md new file mode 100644 index 00000000..fad17cca --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsAuthParams.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsAuthParams + +# Interface: UseEnsAuthParams + +## Properties + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L15) + +*** + +### currentEnsRoute? + +> `optional` **currentEnsRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L16) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsAuthReturn.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsAuthReturn.md new file mode 100644 index 00000000..0d06917a --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsAuthReturn.md @@ -0,0 +1,75 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsAuthReturn + +# Interface: UseEnsAuthReturn\ + +## Type Parameters + +• **T** *extends* `object` = `object` + +## Properties + +### connectedEns + +> **connectedEns**: `undefined` \| `null` \| [`EnsAuth`](../type-aliases/EnsAuth.md)\<`T`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L21) + +*** + +### isEnsAuthFetching + +> **isEnsAuthFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L23) + +*** + +### isEnsAuthLoading + +> **isEnsAuthLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L24) + +*** + +### isEnsAuthPending + +> **isEnsAuthPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L22) + +*** + +### isLoggedIn + +> **isLoggedIn**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L20) + +*** + +### refreshEnsAuth() + +> **refreshEnsAuth**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L25) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarParams.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarParams.md new file mode 100644 index 00000000..979a386c --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarParams.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsAvatarParams + +# Interface: UseEnsAvatarParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L20) + +*** + +### ens + +> **ens**: `undefined` \| `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L19) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarResult.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarResult.md new file mode 100644 index 00000000..14dae881 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsAvatarResult.md @@ -0,0 +1,63 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsAvatarResult + +# Interface: UseEnsAvatarResult + +## Properties + +### avatar? + +> `optional` **avatar**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L29) + +*** + +### getEnsAvatar() + +> **getEnsAvatar**: (`params`) => `Promise`\<`undefined` \| `string`\> + +#### Parameters + +• **params**: [`GetEnsAvatarParams`](GetEnsAvatarParams.md) + +#### Returns + +`Promise`\<`undefined` \| `string`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L30) + +*** + +### isLoading + +> **isLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L32) + +*** + +### sanitizeEnsImage() + +> **sanitizeEnsImage**: (`params`) => `undefined` \| `string` + +#### Parameters + +• **params**: [`SanitizeImageParams`](SanitizeImageParams.md) + +#### Returns + +`undefined` \| `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useAvatar.ts#L31) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsSignInParams.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignInParams.md new file mode 100644 index 00000000..e8ea09f8 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignInParams.md @@ -0,0 +1,258 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsSignInParams + +# Interface: UseEnsSignInParams + +## Extends + +- `Omit`\<[`UseEnsSignInFunctionParams`](../type-aliases/UseEnsSignInFunctionParams.md), `"ens"`\> + +## Properties + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L18) + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/signin/index.d.ts:7 + +*** + +### currentEnsRoute? + +> `optional` **currentEnsRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L21) + +*** + +### domain? + +> `optional` **domain**: `string` + +#### Inherited from + +`Omit.domain` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/signin/index.d.ts:6 + +*** + +### expirationTime? + +> `optional` **expirationTime**: `string` + +ISO 8601 datetime string that, if present, indicates when the signed +authentication message is no longer valid. + +#### Inherited from + +`Omit.expirationTime` + +#### Defined in + +packages/@justaname.id/siwens/dist/src/lib/siwens/siwens.d.ts:9 + +*** + +### issuedAt? + +> `optional` **issuedAt**: `string` + +ISO 8601 datetime string of the current time. + +#### Inherited from + +`Omit.issuedAt` + +#### Defined in + +packages/@justaname.id/siwens/dist/src/lib/siwens/siwens.d.ts:10 + +*** + +### notBefore? + +> `optional` **notBefore**: `string` + +ISO 8601 datetime string that, if present, indicates when the signed +authentication message will become valid. + +#### Inherited from + +`Omit.notBefore` + +#### Defined in + +node\_modules/siwe/dist/client.d.ts:32 + +*** + +### origin? + +> `optional` **origin**: `string` + +#### Inherited from + +`Omit.origin` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/signin/index.d.ts:5 + +*** + +### requestId? + +> `optional` **requestId**: `string` + +System-specific identifier that may be used to uniquely refer to the +sign-in request. + +#### Inherited from + +`Omit.requestId` + +#### Defined in + +node\_modules/siwe/dist/client.d.ts:35 + +*** + +### resources? + +> `optional` **resources**: `string`[] + +List of information or references to information the user wishes to have +resolved as part of authentication by the relying party. They are +expressed as RFC 3986 URIs separated by `\n- `. + +#### Inherited from + +`Omit.resources` + +#### Defined in + +node\_modules/siwe/dist/client.d.ts:39 + +*** + +### scheme? + +> `optional` **scheme**: `string` + +RFC 3986 URI scheme for the authority that is requesting the signing. + +#### Inherited from + +`Omit.scheme` + +#### Defined in + +node\_modules/siwe/dist/client.d.ts:5 + +*** + +### signinNonceRoute? + +> `optional` **signinNonceRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L19) + +*** + +### signinRoute? + +> `optional` **signinRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L20) + +*** + +### statement? + +> `optional` **statement**: `string` + +Human-readable ASCII assertion that the user will sign, and it must not +contain `\n`. + +#### Inherited from + +`Omit.statement` + +#### Defined in + +node\_modules/siwe/dist/client.d.ts:13 + +*** + +### ttl? + +> `optional` **ttl**: `number` + +#### Inherited from + +`Omit.ttl` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/signin/index.d.ts:8 + +*** + +### uri? + +> `optional` **uri**: `string` + +RFC 3986 URI referring to the resource that is the subject of the signing + (as in the __subject__ of a claim). + +#### Inherited from + +`Omit.uri` + +#### Defined in + +node\_modules/siwe/dist/client.d.ts:16 + +*** + +### version? + +> `optional` **version**: `string` + +Current version of the message. + +#### Inherited from + +`Omit.version` + +#### Defined in + +node\_modules/siwe/dist/client.d.ts:18 diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsSignInResult.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignInResult.md new file mode 100644 index 00000000..7c8914dd --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignInResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsSignInResult + +# Interface: UseEnsSignInResult + +## Properties + +### isSignInPending + +> **isSignInPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L31) + +*** + +### signIn + +> **signIn**: `UseMutateAsyncFunction`\<`string`, `Error`, [`UseEnsSignInFunctionParams`](../type-aliases/UseEnsSignInFunctionParams.md), `unknown`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L25) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutParams.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutParams.md new file mode 100644 index 00000000..a4ab0e9b --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsSignOutParams + +# Interface: UseEnsSignOutParams + +## Properties + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts#L14) + +*** + +### currentEnsRoute? + +> `optional` **currentEnsRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts#L16) + +*** + +### signoutRoute? + +> `optional` **signoutRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts#L15) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutResult.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutResult.md new file mode 100644 index 00000000..259b8612 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsSignOutResult.md @@ -0,0 +1,31 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsSignOutResult + +# Interface: UseEnsSignOutResult + +## Properties + +### isSignOutPending + +> **isSignOutPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts#L10) + +*** + +### signOut() + +> **signOut**: () => `Promise`\<`void`\> + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignOut.ts#L9) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseEnsSubnamesParams.md b/docs/sdk/JustaName React SDK/interfaces/UseEnsSubnamesParams.md new file mode 100644 index 00000000..4fff686f --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseEnsSubnamesParams.md @@ -0,0 +1,57 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsSubnamesParams + +# Interface: UseEnsSubnamesParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts#L24) + +*** + +### ensDomain + +> **ensDomain**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts#L22) + +*** + +### isClaimed + +> **isClaimed**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts#L23) + +*** + +### limit? + +> `optional` **limit**: `number` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts#L26) + +*** + +### page? + +> `optional` **page**: `number` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/ens/useEnsSubnames.ts#L25) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledParams.md b/docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledParams.md new file mode 100644 index 00000000..6032fcfc --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseIsMAppEnabledParams + +# Interface: UseIsMAppEnabledParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L22) + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L20) + +*** + +### mApp + +> **mApp**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L21) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledResult.md b/docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledResult.md new file mode 100644 index 00000000..a89ecaf1 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseIsMAppEnabledResult.md @@ -0,0 +1,41 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseIsMAppEnabledResult + +# Interface: UseIsMAppEnabledResult + +## Properties + +### isMAppEnabled + +> **isMAppEnabled**: `undefined` \| `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L26) + +*** + +### isMAppEnabledPending + +> **isMAppEnabledPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L27) + +*** + +### refetchIsMAppEnabled() + +> **refetchIsMAppEnabled**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useIsMAppEnabled.ts#L28) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableParams.md b/docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableParams.md new file mode 100644 index 00000000..058d1f23 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseIsSubnameAvailableParams + +# Interface: UseIsSubnameAvailableParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L16) + +*** + +### ensDomain? + +> `optional` **ensDomain**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L15) + +*** + +### username + +> **username**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L14) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableResult.md b/docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableResult.md new file mode 100644 index 00000000..f889a28c --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseIsSubnameAvailableResult.md @@ -0,0 +1,47 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseIsSubnameAvailableResult + +# Interface: UseIsSubnameAvailableResult + +## Properties + +### isSubnameAvailable + +> **isSubnameAvailable**: `undefined` \| `IsSubnameAvailableResponse` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L20) + +*** + +### isSubnameAvailableFetching + +> **isSubnameAvailableFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L22) + +*** + +### isSubnameAvailableLoading + +> **isSubnameAvailableLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L23) + +*** + +### isSubnameAvailablePending + +> **isSubnameAvailablePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useIsSubnameAvailable.ts#L21) diff --git a/docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameParams.md b/docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameParams.md new file mode 100644 index 00000000..b3708483 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameParams.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UsePrimaryNameParams + +# Interface: UsePrimaryNameParams + +## Properties + +### address? + +> `optional` **address**: \`0x$\{string\}\` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L14) + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L15) diff --git a/docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameResult.md b/docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameResult.md new file mode 100644 index 00000000..7fe124a3 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UsePrimaryNameResult.md @@ -0,0 +1,81 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UsePrimaryNameResult + +# Interface: UsePrimaryNameResult + +## Properties + +### getPrimaryName() + +> **getPrimaryName**: (`params`, `force`?) => `Promise`\<`string`\> + +#### Parameters + +• **params**: [`getPrimaryNameParams`](getPrimaryNameParams.md) + +• **force?**: `boolean` + +#### Returns + +`Promise`\<`string`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L23) + +*** + +### isPrimaryNameFetching + +> **isPrimaryNameFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L21) + +*** + +### isPrimaryNameLoading + +> **isPrimaryNameLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L22) + +*** + +### isPrimaryNamePending + +> **isPrimaryNamePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L20) + +*** + +### primaryName + +> **primaryName**: `undefined` \| `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L19) + +*** + +### refetchPrimaryName() + +> **refetchPrimaryName**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L27) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRecordsParams.md b/docs/sdk/JustaName React SDK/interfaces/UseRecordsParams.md new file mode 100644 index 00000000..2a4f4e4d --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRecordsParams.md @@ -0,0 +1,35 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRecordsParams + +# Interface: UseRecordsParams + +## Extends + +- `Omit`\<`SubnameRecordsRoute`\[`"params"`\], `"ens"` \| `"providerUrl"`\> + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/records.d.ts:7 + +*** + +### ens? + +> `optional` **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L29) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRecordsResult.md b/docs/sdk/JustaName React SDK/interfaces/UseRecordsResult.md new file mode 100644 index 00000000..6bf5f526 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRecordsResult.md @@ -0,0 +1,95 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRecordsResult + +# Interface: UseRecordsResult + +## Properties + +### getRecords() + +> **getRecords**: (`params`, `forceUpdate`?) => `Promise`\<[`Records`](Records.md)\> + +#### Parameters + +• **params**: [`GetRecordsParams`](GetRecordsParams.md) + +• **forceUpdate?**: `boolean` + +#### Returns + +`Promise`\<[`Records`](Records.md)\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L42) + +*** + +### isRecordsFetching + +> **isRecordsFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L39) + +*** + +### isRecordsLoading + +> **isRecordsLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L40) + +*** + +### isRecordsPending + +> **isRecordsPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L38) + +*** + +### records + +> **records**: `undefined` \| [`Records`](Records.md) + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L41) + +*** + +### recordsStatus + +> **recordsStatus**: `"error"` \| `"success"` \| `"pending"` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:49](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L49) + +*** + +### refetchRecords() + +> **refetchRecords**: (`options`?) => `Promise`\<`QueryObserverResult`\<`undefined` \| [`Records`](Records.md), `unknown`\>\> + +#### Parameters + +• **options?**: `RefetchOptions` + +#### Returns + +`Promise`\<`QueryObserverResult`\<`undefined` \| [`Records`](Records.md), `unknown`\>\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/records/useRecords.ts#L46) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameFunctionParams.md b/docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameFunctionParams.md new file mode 100644 index 00000000..6c48f6bb --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameFunctionParams.md @@ -0,0 +1,35 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRejectSubnameFunctionParams + +# Interface: UseRejectSubnameFunctionParams + +## Extends + +- `Omit`\<`SubnameRejectRoute`\[`"params"`\], `"ensDomain"` \| `"username"`\> + +## Properties + +### chainId? + +> `optional` **chainId**: `number` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/reject.d.ts:6 + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts#L15) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameResult.md b/docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameResult.md new file mode 100644 index 00000000..a3b13928 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRejectSubnameResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRejectSubnameResult + +# Interface: UseRejectSubnameResult + +## Properties + +### isRejectSubnamePending + +> **isRejectSubnamePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts#L29) + +*** + +### rejectSubname + +> **rejectSubname**: `UseMutateAsyncFunction`\<[`Records`](Records.md), `Error`, [`UseRejectSubnameFunctionParams`](UseRejectSubnameFunctionParams.md)\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts#L24) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRequestAddMAppPermission.md b/docs/sdk/JustaName React SDK/interfaces/UseRequestAddMAppPermission.md new file mode 100644 index 00000000..df069263 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRequestAddMAppPermission.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRequestAddMAppPermission + +# Interface: UseRequestAddMAppPermission + +## Properties + +### addMAppPermission + +> **addMAppPermission**: `UseMutateAsyncFunction`\<`SubnameResponse`, `Error`, [`UseAddMAppPermissionFunctionParams`](UseAddMAppPermissionFunctionParams.md), `unknown`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts#L19) + +*** + +### isAddMAppPermissionPending + +> **isAddMAppPermissionPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useAddMAppPermission.ts#L20) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRequestRevokeMAppPermissionResult.md b/docs/sdk/JustaName React SDK/interfaces/UseRequestRevokeMAppPermissionResult.md new file mode 100644 index 00000000..21924054 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRequestRevokeMAppPermissionResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRequestRevokeMAppPermissionResult + +# Interface: UseRequestRevokeMAppPermissionResult + +## Properties + +### isRevokeMAppPermissionPending + +> **isRevokeMAppPermissionPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts#L11) + +*** + +### revokeMAppPermission + +> **revokeMAppPermission**: `UseMutateAsyncFunction`\<`SubnameResponse`, `Error`, [`UseRevokeMAppPermissionFunctionParams`](UseRevokeMAppPermissionFunctionParams.md), `unknown`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts#L10) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionFunctionParams.md b/docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionFunctionParams.md new file mode 100644 index 00000000..ebc73f97 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionFunctionParams.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRevokeMAppPermissionFunctionParams + +# Interface: UseRevokeMAppPermissionFunctionParams + +## Properties + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts#L15) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionParams.md b/docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionParams.md new file mode 100644 index 00000000..78d1a997 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRevokeMAppPermissionParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRevokeMAppPermissionParams + +# Interface: UseRevokeMAppPermissionParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts#L20) + +*** + +### mApp + +> **mApp**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts#L19) + +*** + +### providerUrl? + +> `optional` **providerUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/mApp/useRevokeMAppPermission.ts#L21) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameParams.md b/docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameParams.md new file mode 100644 index 00000000..1f8f21b5 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameParams.md @@ -0,0 +1,73 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRevokeSubnameParams + +# Interface: UseRevokeSubnameParams + +## Extends + +- `Omit`\<[`UseRevokeSubnameFunctionParams`](../type-aliases/UseRevokeSubnameFunctionParams.md), `"username"`\> + +## Properties + +### apiKey? + +> `optional` **apiKey**: `string` + +#### Inherited from + +`Omit.apiKey` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/revoke.d.ts:9 + +*** + +### backendUrl? + +> `optional` **backendUrl**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts#L15) + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/revoke.d.ts:6 + +*** + +### ensDomain? + +> `optional` **ensDomain**: `string` + +#### Inherited from + +`Omit.ensDomain` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/revoke.d.ts:4 + +*** + +### revokeSubnameRoute? + +> `optional` **revokeSubnameRoute**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts#L16) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameResult.md b/docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameResult.md new file mode 100644 index 00000000..ddfb6300 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseRevokeSubnameResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRevokeSubnameResult + +# Interface: UseRevokeSubnameResult + +## Properties + +### isRevokeSubnamePending + +> **isRevokeSubnamePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts#L25) + +*** + +### revokeSubname + +> **revokeSubname**: `UseMutateAsyncFunction`\<[`Records`](Records.md), `Error`, `Omit`\<`MakeOptionalProps`\<`SubnameRevokeRequest`, `"chainId"` \| `"ensDomain"`\>, `never`\> & `object`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts#L20) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseSearchSubnamesParams.md b/docs/sdk/JustaName React SDK/interfaces/UseSearchSubnamesParams.md new file mode 100644 index 00000000..0ce14849 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseSearchSubnamesParams.md @@ -0,0 +1,89 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseSearchSubnamesParams + +# Interface: UseSearchSubnamesParams + +## Extends + +- `Omit`\<`SubnameSearchRoute`\[`"params"`\], `"isClaimed"` \| `"skip"` \| `"take"` \| `"data"` \| `"ensRegistered"`\> + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/search-subnames.d.ts:10 + +*** + +### data? + +> `optional` **data**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts#L20) + +*** + +### ensRegistered? + +> `optional` **ensRegistered**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts#L21) + +*** + +### isClaimed? + +> `optional` **isClaimed**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts#L22) + +*** + +### name + +> **name**: `string` + +#### Inherited from + +`Omit.name` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/search-subnames.d.ts:7 + +*** + +### skip? + +> `optional` **skip**: `number` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts#L18) + +*** + +### take? + +> `optional` **take**: `number` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSearchSubnames.ts#L19) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseSetNameHashJustaNameResolver.md b/docs/sdk/JustaName React SDK/interfaces/UseSetNameHashJustaNameResolver.md new file mode 100644 index 00000000..a57eeeed --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseSetNameHashJustaNameResolver.md @@ -0,0 +1,65 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseSetNameHashJustaNameResolver + +# Interface: UseSetNameHashJustaNameResolver\ + +Interface defining the parameters needed to set the JustaName resolver. + +## Type Parameters + +• **T** = `any` + +## Properties + +### isSetNameHashJustaNameResolverPending + +> **isSetNameHashJustaNameResolverPending**: `boolean` + +Indicates if the mutation is currently pending. + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts:110](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts#L110) + +*** + +### NameHashJustaNameResolverSet + +> **NameHashJustaNameResolverSet**: `boolean` + +Indicates if the JustaName resolver is set. + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts:109](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts#L109) + +*** + +### setNameHashJustaNameResolver() + +> **setNameHashJustaNameResolver**: () => `Promise`\<`void`\> + +The function to set the JustaName resolver. + +#### Returns + +`Promise`\<`void`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts:108](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts#L108) + +*** + +### setNameHashJustaNameResolverError + +> **setNameHashJustaNameResolverError**: `boolean` + +Indicates if the mutation has led to an error. + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts:111](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/resolver/useSetNameHashJustaNameResolver.ts#L111) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseSubnameSignatureResult.md b/docs/sdk/JustaName React SDK/interfaces/UseSubnameSignatureResult.md new file mode 100644 index 00000000..7014943b --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseSubnameSignatureResult.md @@ -0,0 +1,57 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseSubnameSignatureResult + +# Interface: UseSubnameSignatureResult + +## Properties + +### getSignature() + +> **getSignature**: () => `Promise`\<`object`\> + +#### Returns + +`Promise`\<`object`\> + +##### address + +> **address**: `string` + +##### expirationTime + +> **expirationTime**: `Date` + +##### message + +> **message**: `string` + +##### signature + +> **signature**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:194](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L194) + +*** + +### isSubnameSignatureFetching + +> **isSubnameSignatureFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:201](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L201) + +*** + +### isSubnameSignaturePending + +> **isSubnameSignaturePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:200](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L200) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseSubnameUpdateFunctionParams.md b/docs/sdk/JustaName React SDK/interfaces/UseSubnameUpdateFunctionParams.md new file mode 100644 index 00000000..5cd4ab83 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseSubnameUpdateFunctionParams.md @@ -0,0 +1,77 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseSubnameUpdateFunctionParams + +# Interface: UseSubnameUpdateFunctionParams + +## Extends + +- `Omit`\<`SubnameUpdateRoute`\[`"params"`\], `"username"` \| `"ensDomain"`\> + +## Properties + +### addresses? + +> `optional` **addresses**: `Partial`\<`object`\> \| `AddressWithTypedCoins`[] + +#### Inherited from + +`Omit.addresses` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:20 + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:14 + +*** + +### contentHash? + +> `optional` **contentHash**: `string` + +#### Inherited from + +`Omit.contentHash` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:17 + +*** + +### ens + +> **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts#L27) + +*** + +### text? + +> `optional` **text**: `Record`\<`string`, `string`\> \| `TextRecordUpdateRequest`[] + +#### Inherited from + +`Omit.text` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:21 diff --git a/docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesParams.md b/docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesParams.md new file mode 100644 index 00000000..0bec53d0 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesParams.md @@ -0,0 +1,77 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseUpdateChangesParams + +# Interface: UseUpdateChangesParams + +## Extends + +- `Omit`\<`SubnameUpdateRoute`\[`"params"`\], `"username"` \| `"ensDomain"`\> + +## Properties + +### addresses? + +> `optional` **addresses**: `Partial`\<`object`\> \| `AddressWithTypedCoins`[] + +#### Inherited from + +`Omit.addresses` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:20 + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Inherited from + +`Omit.chainId` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:14 + +*** + +### contentHash? + +> `optional` **contentHash**: `string` + +#### Inherited from + +`Omit.contentHash` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:17 + +*** + +### ens? + +> `optional` **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L45) + +*** + +### text? + +> `optional` **text**: `Record`\<`string`, `string`\> \| `TextRecordUpdateRequest`[] + +#### Inherited from + +`Omit.text` + +#### Defined in + +packages/@justaname.id/sdk/dist/src/lib/types/subnames/update.d.ts:21 diff --git a/docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesResult.md b/docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesResult.md new file mode 100644 index 00000000..73c87ffb --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseUpdateChangesResult.md @@ -0,0 +1,107 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseUpdateChangesResult + +# Interface: UseUpdateChangesResult + +## Properties + +### canUpdateEns? + +> `optional` **canUpdateEns**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L31) + +*** + +### changes? + +> `optional` **changes**: [`GetUpdateChangesResult`](GetUpdateChangesResult.md) + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L35) + +*** + +### checkIfUpdateIsValid() + +> **checkIfUpdateIsValid**: (`params`) => `Promise`\<`boolean`\> + +#### Parameters + +• **params**: [`GetUpdateChangesParams`](GetUpdateChangesParams.md) + +#### Returns + +`Promise`\<`boolean`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L40) + +*** + +### getUpdateChanges() + +> **getUpdateChanges**: (`params`) => `Promise`\<[`GetUpdateChangesResult`](GetUpdateChangesResult.md)\> + +#### Parameters + +• **params**: [`GetUpdateChangesParams`](GetUpdateChangesParams.md) + +#### Returns + +`Promise`\<[`GetUpdateChangesResult`](GetUpdateChangesResult.md)\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:37](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L37) + +*** + +### isUpdateChangesFetching + +> **isUpdateChangesFetching**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L33) + +*** + +### isUpdateChangesLoading + +> **isUpdateChangesLoading**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L34) + +*** + +### isUpdateChangesPending + +> **isUpdateChangesPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L32) + +*** + +### refetchUpdateChanges() + +> **refetchUpdateChanges**: () => `void` + +#### Returns + +`void` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts:36](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateChanges.ts#L36) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameParams.md b/docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameParams.md new file mode 100644 index 00000000..eadb4d8e --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameParams.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseUpdateSubnameParams + +# Interface: UseUpdateSubnameParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts#L31) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameResult.md b/docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameResult.md new file mode 100644 index 00000000..28fb28c2 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseUpdateSubnameResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseUpdateSubnameResult + +# Interface: UseUpdateSubnameResult + +## Properties + +### isUpdateSubnamePending + +> **isUpdateSubnamePending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts#L40) + +*** + +### updateSubname + +> **updateSubname**: `UseMutateAsyncFunction`\<`void`, `Error`, [`UseSubnameUpdateFunctionParams`](UseSubnameUpdateFunctionParams.md)\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts#L35) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaParams.md b/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaParams.md new file mode 100644 index 00000000..955d1017 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaParams.md @@ -0,0 +1,37 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseUploadMediaParams + +# Interface: UseUploadMediaParams + +## Properties + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts#L17) + +*** + +### ens? + +> `optional` **ens**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts:15](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts#L15) + +*** + +### type? + +> `optional` **type**: `"Avatar"` \| `"Banner"` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts#L16) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResponse.md b/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResponse.md new file mode 100644 index 00000000..bb4af968 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResponse.md @@ -0,0 +1,17 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseUploadMediaResponse + +# Interface: UseUploadMediaResponse + +## Properties + +### url + +> **url**: `string` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts#L21) diff --git a/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResult.md b/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResult.md new file mode 100644 index 00000000..a8fafe96 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/UseUploadMediaResult.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseUploadMediaResult + +# Interface: UseUploadMediaResult + +## Properties + +### isUploadPending + +> **isUploadPending**: `boolean` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts#L31) + +*** + +### uploadMedia + +> **uploadMedia**: `UseMutateAsyncFunction`\<[`UseUploadMediaResponse`](UseUploadMediaResponse.md), `Error`, `UseUploadMediaFunctionParams`, `unknown`\> + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/uploadMedia/useUploadMedia.ts#L25) diff --git a/docs/sdk/JustaName React SDK/interfaces/getPrimaryNameParams.md b/docs/sdk/JustaName React SDK/interfaces/getPrimaryNameParams.md new file mode 100644 index 00000000..122a9c44 --- /dev/null +++ b/docs/sdk/JustaName React SDK/interfaces/getPrimaryNameParams.md @@ -0,0 +1,27 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / getPrimaryNameParams + +# Interface: getPrimaryNameParams + +## Properties + +### address + +> **address**: `undefined` \| \`0x$\{string\}\` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:31](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L31) + +*** + +### chainId? + +> `optional` **chainId**: `ChainId` + +#### Defined in + +[packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/primaryName/usePrimaryName.ts#L32) diff --git a/docs/sdk/JustaName React SDK/type-aliases/EnsAuth.md b/docs/sdk/JustaName React SDK/type-aliases/EnsAuth.md new file mode 100644 index 00000000..66c5365c --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/EnsAuth.md @@ -0,0 +1,31 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / EnsAuth + +# Type Alias: EnsAuth\ + +> **EnsAuth**\<`T`\>: `T` & `object` + +## Type declaration + +### address + +> **address**: `string` + +### chainId + +> **chainId**: `ChainId` + +### ens + +> **ens**: `string` + +## Type Parameters + +• **T** *extends* `object` = `object` + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts:8](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsAuth.ts#L8) diff --git a/docs/sdk/JustaName React SDK/type-aliases/JustaNameConfigWithoutDefaultChainId.md b/docs/sdk/JustaName React SDK/type-aliases/JustaNameConfigWithoutDefaultChainId.md new file mode 100644 index 00000000..c2672af3 --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/JustaNameConfigWithoutDefaultChainId.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / JustaNameConfigWithoutDefaultChainId + +# Type Alias: JustaNameConfigWithoutDefaultChainId + +> **JustaNameConfigWithoutDefaultChainId**: `Omit`\<`JustaNameConfig`, `"defaultChainId"`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L43) diff --git a/docs/sdk/JustaName React SDK/type-aliases/SubnameRecordResponse.md b/docs/sdk/JustaName React SDK/type-aliases/SubnameRecordResponse.md new file mode 100644 index 00000000..be314e65 --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/SubnameRecordResponse.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / SubnameRecordResponse + +# Type Alias: SubnameRecordResponse + +> **SubnameRecordResponse**: `SubnameRecordsRoute`\[`"response"`\] + +## Defined in + +[packages/@justaname.id/react/src/lib/types/common/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/types/common/index.ts#L3) diff --git a/docs/sdk/JustaName React SDK/type-aliases/UseAcceptSubnameParams.md b/docs/sdk/JustaName React SDK/type-aliases/UseAcceptSubnameParams.md new file mode 100644 index 00000000..107a3ae4 --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/UseAcceptSubnameParams.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAcceptSubnameParams + +# Type Alias: UseAcceptSubnameParams + +> **UseAcceptSubnameParams**: `Omit`\<[`UseAcceptSubnameFunctionParams`](../interfaces/UseAcceptSubnameFunctionParams.md), `"ens"`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts:20](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAcceptSubname.ts#L20) diff --git a/docs/sdk/JustaName React SDK/type-aliases/UseAccountInvitationsParams.md b/docs/sdk/JustaName React SDK/type-aliases/UseAccountInvitationsParams.md new file mode 100644 index 00000000..631734ac --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/UseAccountInvitationsParams.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAccountInvitationsParams + +# Type Alias: UseAccountInvitationsParams + +> **UseAccountInvitationsParams**: `Omit`\<`SubnameGetInvitationsByAddressRoute`\[`"params"`\], `"address"`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/account/useAccountInvitations.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/account/useAccountInvitations.ts#L29) diff --git a/docs/sdk/JustaName React SDK/type-aliases/UseAddSubnameFunctionParams.md b/docs/sdk/JustaName React SDK/type-aliases/UseAddSubnameFunctionParams.md new file mode 100644 index 00000000..6825cad8 --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/UseAddSubnameFunctionParams.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseAddSubnameFunctionParams + +# Type Alias: UseAddSubnameFunctionParams + +> **UseAddSubnameFunctionParams**: `SubnameAddRoute`\[`"params"`\] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useAddSubname.ts#L11) diff --git a/docs/sdk/JustaName React SDK/type-aliases/UseEnsSignInFunctionParams.md b/docs/sdk/JustaName React SDK/type-aliases/UseEnsSignInFunctionParams.md new file mode 100644 index 00000000..b8a52136 --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/UseEnsSignInFunctionParams.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseEnsSignInFunctionParams + +# Type Alias: UseEnsSignInFunctionParams + +> **UseEnsSignInFunctionParams**: `Omit`\<`RequestSignInParams`, `"nonce"` \| `"address"`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/signIn/useEnsSignIn.ts#L11) diff --git a/docs/sdk/JustaName React SDK/type-aliases/UseRejectSubnameParams.md b/docs/sdk/JustaName React SDK/type-aliases/UseRejectSubnameParams.md new file mode 100644 index 00000000..8d59e56e --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/UseRejectSubnameParams.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRejectSubnameParams + +# Type Alias: UseRejectSubnameParams + +> **UseRejectSubnameParams**: `Omit`\<[`UseRejectSubnameFunctionParams`](../interfaces/UseRejectSubnameFunctionParams.md), `"ens"`\> + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRejectSubname.ts#L18) diff --git a/docs/sdk/JustaName React SDK/type-aliases/UseRevokeSubnameFunctionParams.md b/docs/sdk/JustaName React SDK/type-aliases/UseRevokeSubnameFunctionParams.md new file mode 100644 index 00000000..ae3ed3b7 --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/UseRevokeSubnameFunctionParams.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseRevokeSubnameFunctionParams + +# Type Alias: UseRevokeSubnameFunctionParams + +> **UseRevokeSubnameFunctionParams**: `SubnameRevokeRoute`\[`"params"`\] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useRevokeSubname.ts#L11) diff --git a/docs/sdk/JustaName React SDK/type-aliases/UseSubnameParams.md b/docs/sdk/JustaName React SDK/type-aliases/UseSubnameParams.md new file mode 100644 index 00000000..a2c61379 --- /dev/null +++ b/docs/sdk/JustaName React SDK/type-aliases/UseSubnameParams.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / UseSubnameParams + +# Type Alias: UseSubnameParams + +> **UseSubnameParams**: `SubnameGetBySubnameRoute`\[`"params"`\] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/subname/useSubname.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/subname/useSubname.ts#L14) diff --git a/docs/sdk/JustaName React SDK/variables/JustaNameContext.md b/docs/sdk/JustaName React SDK/variables/JustaNameContext.md new file mode 100644 index 00000000..6fe319da --- /dev/null +++ b/docs/sdk/JustaName React SDK/variables/JustaNameContext.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / JustaNameContext + +# Variable: JustaNameContext + +> `const` **JustaNameContext**: `Context`\<`null` \| [`JustaNameContextProps`](../interfaces/JustaNameContextProps.md)\> + +## Defined in + +[packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx:60](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/providers/JustaNameProvider.tsx#L60) diff --git a/docs/sdk/JustaName React SDK/variables/OFFCHAIN_RESOLVERS_KEY.md b/docs/sdk/JustaName React SDK/variables/OFFCHAIN_RESOLVERS_KEY.md new file mode 100644 index 00000000..50d91848 --- /dev/null +++ b/docs/sdk/JustaName React SDK/variables/OFFCHAIN_RESOLVERS_KEY.md @@ -0,0 +1,13 @@ +[**@justaname.id/react**](../README.md) • **Docs** + +*** + +[@justaname.id/react](../globals.md) / OFFCHAIN\_RESOLVERS\_KEY + +# Variable: OFFCHAIN\_RESOLVERS\_KEY + +> `const` **OFFCHAIN\_RESOLVERS\_KEY**: `string`[] + +## Defined in + +[packages/@justaname.id/react/src/lib/hooks/offchainResolver/useOffchainResolvers.ts:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/react/src/lib/hooks/offchainResolver/useOffchainResolvers.ts#L5) diff --git a/docs/sdk/siwens/README.md b/docs/sdk/siwens/README.md index 58bf3d2f..b83a97eb 100644 --- a/docs/sdk/siwens/README.md +++ b/docs/sdk/siwens/README.md @@ -97,3 +97,6 @@ signInUser().then(async (signature) => { await verifyUserSignature(signature, 'Signing into dApp'); }); ``` + +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. diff --git a/docs/sdk/siwens/classes/InvalidConfigurationException.md b/docs/sdk/siwens/classes/InvalidConfigurationException.md index 1449a4a9..c164de85 100644 --- a/docs/sdk/siwens/classes/InvalidConfigurationException.md +++ b/docs/sdk/siwens/classes/InvalidConfigurationException.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts#L2) +[packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts#L2) ## Properties @@ -170,7 +170,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts#L12) +[packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts#L12) *** @@ -184,4 +184,4 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts#L7) +[packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidConfiguration.exception.ts#L7) diff --git a/docs/sdk/siwens/classes/InvalidENSException.md b/docs/sdk/siwens/classes/InvalidENSException.md index f44ddf72..ee5bfb44 100644 --- a/docs/sdk/siwens/classes/InvalidENSException.md +++ b/docs/sdk/siwens/classes/InvalidENSException.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L2) +[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L2) ## Properties @@ -174,7 +174,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L24) +[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L24) *** @@ -188,7 +188,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L6) +[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L6) *** @@ -208,7 +208,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L16) +[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L16) *** @@ -226,4 +226,4 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L11) +[packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidENS.exception.ts#L11) diff --git a/docs/sdk/siwens/classes/InvalidStatementException.md b/docs/sdk/siwens/classes/InvalidStatementException.md index 19114824..a4595021 100644 --- a/docs/sdk/siwens/classes/InvalidStatementException.md +++ b/docs/sdk/siwens/classes/InvalidStatementException.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts#L2) +[packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts#L2) ## Properties @@ -170,4 +170,4 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts#L6) +[packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidStatement.exception.ts#L6) diff --git a/docs/sdk/siwens/classes/InvalidTimeException.md b/docs/sdk/siwens/classes/InvalidTimeException.md index 105086a9..e46f9ec0 100644 --- a/docs/sdk/siwens/classes/InvalidTimeException.md +++ b/docs/sdk/siwens/classes/InvalidTimeException.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L2) +[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:2](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L2) ## Properties @@ -170,7 +170,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L16) +[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L16) *** @@ -184,7 +184,7 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L6) +[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:6](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L6) *** @@ -198,4 +198,4 @@ node\_modules/@types/node/globals.d.ts:4 #### Defined in -[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L11) +[packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts:11](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/errors/InvalidTime.exception.ts#L11) diff --git a/docs/sdk/siwens/classes/SIWENS.md b/docs/sdk/siwens/classes/SIWENS.md index 48a94bf8..8fba40aa 100644 --- a/docs/sdk/siwens/classes/SIWENS.md +++ b/docs/sdk/siwens/classes/SIWENS.md @@ -30,7 +30,7 @@ #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L30) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:30](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L30) ## Properties @@ -157,7 +157,7 @@ node\_modules/siwe/dist/client.d.ts:32 #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L28) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L28) *** @@ -370,7 +370,7 @@ This object if valid. #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:74](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L74) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:74](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L74) *** @@ -396,7 +396,7 @@ This object if valid. #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:105](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L105) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:105](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L105) *** @@ -410,4 +410,4 @@ This object if valid. #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:115](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L115) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:115](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L115) diff --git a/docs/sdk/siwens/functions/checkDomainValid.md b/docs/sdk/siwens/functions/checkDomainValid.md index e79f62f3..109ef915 100644 --- a/docs/sdk/siwens/functions/checkDomainValid.md +++ b/docs/sdk/siwens/functions/checkDomainValid.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/siwens/src/lib/utils/checkDomainValid/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/utils/checkDomainValid/index.ts#L3) +[packages/@justaname.id/siwens/src/lib/utils/checkDomainValid/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/utils/checkDomainValid/index.ts#L3) diff --git a/docs/sdk/siwens/functions/checkTTL.md b/docs/sdk/siwens/functions/checkTTL.md index d8f7c7eb..810abfb4 100644 --- a/docs/sdk/siwens/functions/checkTTL.md +++ b/docs/sdk/siwens/functions/checkTTL.md @@ -18,4 +18,4 @@ ## Defined in -[packages/@justaname.id/siwens/src/lib/utils/checkTTL/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/utils/checkTTL/index.ts#L3) +[packages/@justaname.id/siwens/src/lib/utils/checkTTL/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/utils/checkTTL/index.ts#L3) diff --git a/docs/sdk/siwens/functions/constructSignInStatement.md b/docs/sdk/siwens/functions/constructSignInStatement.md index 2bcb8f36..16df2657 100644 --- a/docs/sdk/siwens/functions/constructSignInStatement.md +++ b/docs/sdk/siwens/functions/constructSignInStatement.md @@ -20,4 +20,4 @@ ## Defined in -[packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts#L3) +[packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts:3](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts#L3) diff --git a/docs/sdk/siwens/functions/extractDataFromStatement.md b/docs/sdk/siwens/functions/extractDataFromStatement.md index 0ea4fdd3..cd58d4dc 100644 --- a/docs/sdk/siwens/functions/extractDataFromStatement.md +++ b/docs/sdk/siwens/functions/extractDataFromStatement.md @@ -22,4 +22,4 @@ ## Defined in -[packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts#L7) +[packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/utils/signInStatementHelpers/index.ts#L7) diff --git a/docs/sdk/siwens/interfaces/SiwensConfig.md b/docs/sdk/siwens/interfaces/SiwensConfig.md index bf084410..bbda9fa1 100644 --- a/docs/sdk/siwens/interfaces/SiwensConfig.md +++ b/docs/sdk/siwens/interfaces/SiwensConfig.md @@ -14,7 +14,7 @@ #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L23) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:23](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L23) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L24) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:24](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L24) diff --git a/docs/sdk/siwens/interfaces/SiwensParams.md b/docs/sdk/siwens/interfaces/SiwensParams.md index c5c873fd..e443c346 100644 --- a/docs/sdk/siwens/interfaces/SiwensParams.md +++ b/docs/sdk/siwens/interfaces/SiwensParams.md @@ -68,7 +68,7 @@ node\_modules/siwe/dist/client.d.ts:7 #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L16) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:16](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L16) *** @@ -85,7 +85,7 @@ authentication message is no longer valid. #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L18) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:18](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L18) *** @@ -101,7 +101,7 @@ ISO 8601 datetime string of the current time. #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L19) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:19](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L19) *** @@ -213,7 +213,7 @@ node\_modules/siwe/dist/client.d.ts:13 #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L17) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:17](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L17) *** diff --git a/docs/sdk/siwens/interfaces/SiwensResponse.md b/docs/sdk/siwens/interfaces/SiwensResponse.md index 02d59cf4..6802f5ed 100644 --- a/docs/sdk/siwens/interfaces/SiwensResponse.md +++ b/docs/sdk/siwens/interfaces/SiwensResponse.md @@ -34,7 +34,7 @@ node\_modules/siwe/dist/types.d.ts:34 #### Defined in -[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/626b4b68604f3125538c424811e641247a5bd58d/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L12) +[packages/@justaname.id/siwens/src/lib/siwens/siwens.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts#L12) *** diff --git a/packages/@justaname.id/react/README.md b/packages/@justaname.id/react/README.md index 8a2d6c09..9ddd0f7e 100644 --- a/packages/@justaname.id/react/README.md +++ b/packages/@justaname.id/react/README.md @@ -1,90 +1,193 @@ # JustaName React SDK -The JustaName React SDK is a powerful tool that allows developers to seamlessly integrate robust digital identity and subnaming features into their React applications. It simplifies the complexities of blockchain addresses by enabling the use of human-readable subdomains within the Ethereum Name Service (ENS). +The **JustaName React SDK** makes it easy to integrate Ethereum Name Service (ENS) functionalities, including subname management, and user authentication via ENS into React applications. It simplifies interacting with ENS off-chain operations while ensuring secure and easy integration with your dApps. -## Key Features -- **React Hooks**: Simplify your code with React hooks for managing subnames, checking subname availability, and more. -- **Context Providers**: Use the provided context providers to easily access JustaName functionality throughout your application. -- **TypeScript Support**: Benefit from strong typing to catch errors early and understand your code better. +## Table of Contents + +- [Installation](#installation) +- [Usage](#usage) + - [Setup with `JustaNameProvider`](#setup-with-justanameprovider) + - [Example: Add a Subname](#example-add-a-subname) +- [Hooks](#hooks) + - [Account and ENS Management](#account-and-ens-management) + - [Subname Management](#subname-management) + - [Authentication](#authentication) + - [Other Hooks](#other-hooks) +--- ## Installation +Install the JustaName React SDK using npm or yarn: + ```bash npm install @justaname.id/react + +# or + +yarn add @justaname.id/react ``` -## Configuration +--- + +## Usage + +### Setup with `JustaNameProvider` + +To use the JustaName React SDK, wrap your application with the `JustaNameProvider`. This component provides all child components access to the JustaName context, enabling seamless interaction with ENS services. -Wrap your application with the `JustaNameProvider`: +### Example: Setup with `JustaNameProvider` -```jsx +```tsx +tsx +'use client'; import { JustaNameProvider } from '@justaname.id/react'; +import { configureChains, createClient, WagmiConfig } from 'wagmi'; +import { publicProvider } from 'wagmi/providers/public'; +import { getDefaultWallets, RainbowKitProvider } from '@rainbow-me/rainbowkit'; +import '@rainbow-me/rainbowkit/styles.css'; +import { AddSubname } from './AddSubname'; + +const { wallets } = getDefaultWallets(); + +const config = getDefaultConfig({ + appName: 'JustaName Console', + projectId: 'YOUR_PROJECT_ID', + wallets: [ + ...wallets, + { + groupName: 'Other', + wallets: [argentWallet, trustWallet, ledgerWallet], + }, + ], + chains: [mainnet, sepolia], + ssr: true, +}); + +const justaNameConfig = { + networks: [{ chainId: 1, providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' }], + ensDomains: [ + { + chainId: 1, + domain: 'your_ens_domain.eth', + apiKey: 'your-api-key' // Not recommended for production, use a backend server to protect your API key + } + ], + backendUrl: 'https://your-backend-url.com' // Leave empty for same origin (e.g when using Next.js) +}; -function App() { +export const App = () => { return ( - - {/* Your app goes here */} - + + + + + + + ); } -export default App; ``` -## Usage Examples +--- -### Check if a Subname is Available +## Example: Add a Subname -```jsx -import { useIsSubnameAvailable } from '@justaname.id/react'; +Below is a complete example of a React component where users can claim a subname using the `useAddSubname` hook. It also checks subname availability with `useIsSubnameAvailable`. -function MyComponent() { - const { isAvailable, isLoading } = useIsSubnameAvailable({ username: 'test', ensDomain: 'justaname.id' }); +```tsx +tsx +Copy code +import { useAddSubname, useIsSubnameAvailable } from '@justaname.id/react'; +import { useState } from 'react'; +import { useDebounce } from '@uidotdev/usehooks'; +import { ConnectButton } from '@rainbow-me/rainbowkit'; +import { useAccount } from 'wagmi'; + +export const AddSubname = () => { + const { isConnected } = useAccount(); + const [username, setUsername] = useState(''); + const debouncedUsername = useDebounce(username, 500); + const { isSubnameAvailable } = useIsSubnameAvailable({ + username: debouncedUsername + }); + const { addSubname } = useAddSubname(); + + return ( +
+

Claim your subdomain

+ + setUsername(e.target.value)} + placeholder="Enter a subdomain" + /> + +
+ ); +}; - if (isLoading) return

Loading...

; - if (isAvailable) return

The subname is available!

; - return

The subname is not available.

; -} ``` -### Claim a Subname +--- -```jsx -import { useAddSubname } from '@justaname.id/react'; +## Hooks -function MyComponent() { - const { addSubname, addSubnamePending } = useAddSubname(); +The SDK offers various hooks for managing ENS accounts, subnames, and authentication. - const handleClaim = async () => { - try { - await addSubname({ username: 'test' }); - console.log('Subname claimed successfully!'); - } catch (error) { - console.error('Failed to claim subname:', error); - } - }; +### Account and ENS Management - return ( - - ); -} -``` +- **`useAccountEnsNames`**: Fetch ENS names associated with the user's account. +- **`useAddressEnsNames`**: Fetch ENS names for a given Ethereum address. +- **`usePrimaryName`**: Get the primary ENS name of an address. +- **`useAccountInvitations`**: Get pending invitations for the connected account. +- **`useAccountSubnames`**: Fetch all subnames for the connected account. + +### Subname Management + +- **`useIsSubnameAvailable`**: Check if a subname is available. +- **`useAddSubname`**: Add a new subname off-chain. +- **`useAcceptSubname`**: Accept an invitation for a subname. +- **`useRejectSubname`**: Reject a subname invitation. +- **`useRevokeSubname`**: Revoke an issued subname. +- **`useUpdateSubname`**: Update an ens metadata (off-chain and on-chain). +- **`useSearchSubnames`**: Search for subnames based on given parameters. +- **`useSubname`**: Get the details of a specific subname. +- **`useRecords`**: Fetch records associated with any ENS name. + +[//]: # (### mApp Management) + +[//]: # () +[//]: # (- **`useEnabledMApps`**: Get a list of enabled mApps.) + +[//]: # (- **`useIsMAppEnabled`**: Check if a specific mApp is enabled.) + +[//]: # (- **`useAddMAppPermission`**: Add permission for an mApp.) + +[//]: # (- **`useRevokeMAppPermission`**: Revoke an mApp's permission.) + +[//]: # (- **`useCanEnableMApps`**: Check if mApps can be enabled for a subname.) -## Core Hooks +### Authentication -The JustaName React SDK provides several hooks to simplify working with JustaName: +- **`useEnsSignIn`**: Authenticate users with their ENS name. +- **`useEnsSignOut`**: Sign out the connected user. +- **`useEnsAvatar`**: Fetch the avatar of an ENS name. +- **`useEnsAuth`**: Manage authentication state with ENS. -- `useJustaName`: Access the JustaName context. -- `useIsSubnameAvailable`: Check if a subname is available. -- `useAddSubname`: Claim a subname. -- `useUpdateSubname`: Update a subname. -- `useSubnameSignature`: Get a signature for a subname. -- `useSubname`: Get information about a subname. -- `useAccountSubnames`: Get all subnames for an account. -- `useMountedAccount`: Get information about the currently mounted account. +### Other Hooks -## Conclusion +- **`useJustaName`**: Access the JustaName context directly. +- **`useMounted`**: Check if the component is mounted. +- **`useMountedAccount`**: Get the mounted account details. +- **`useOffchainResolvers`**: Fetch off-chain resolvers. +- **`useUpdateChanges`**: Check for changes in the ENS metadata before updating. +- **`useUploadMedia`**: Upload media for ENS metadata. -For more detailed documentation and additional use cases, please visit [JustaName's Documentation](https://docs.justaname.id). \ No newline at end of file +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. diff --git a/packages/@justaname.id/react/project.json b/packages/@justaname.id/react/project.json index 5e6d47cf..c2b99e6f 100644 --- a/packages/@justaname.id/react/project.json +++ b/packages/@justaname.id/react/project.json @@ -17,6 +17,18 @@ } } }, + "typedoc": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "typedoc" + } + ], + "cwd": "packages/@justaname.id/react", + "parallel": false + } + }, "build": { "executor": "nx:run-commands", "options": { diff --git a/packages/@justaname.id/react/typedoc.json b/packages/@justaname.id/react/typedoc.json new file mode 100644 index 00000000..ceca5084 --- /dev/null +++ b/packages/@justaname.id/react/typedoc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://typedoc-plugin-markdown.org/schema.json", + "entryPoints": ["./src/index.ts"], + "plugin": ["typedoc-plugin-markdown"], + "out": "../../../docs/sdk/JustaName React SDK", + "cleanOutputDir": true +} \ No newline at end of file diff --git a/packages/@justaname.id/sdk/README.md b/packages/@justaname.id/sdk/README.md index 098a57b5..136f2e2d 100644 --- a/packages/@justaname.id/sdk/README.md +++ b/packages/@justaname.id/sdk/README.md @@ -18,7 +18,6 @@ The SDK supports both Ethereum Mainnet and Testnet environments. - [Subname Management](#subname-management) - [SIWE](#siwe) - [Sign-In with ENS](#sign-in-with-ens) - - [MApp Management](#mapp-management) - [Offchain Resolvers](#offchain-resolvers) - [Contributing](#contributing) @@ -61,18 +60,19 @@ import { ethers } from 'ethers'; // Initialize the SDK with your configuration const justaname = JustaName.init({ - apiKey: 'your-api-key', networks: [ { - chainId: 1, // Ethereum Mainnet - providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' + chainId: 1, // Ethereum Mainnet + providerUrl: 'https://mainnet.infura.io/v3/YOUR_INFURA_KEY' } ], ensDomains: [ { - chainId: 1, - domain: 'your_ens_domain.eth' + chainId: 1, + domain: 'your_ens_domain.eth', + apiKey: 'your-api-key', } + ], config: { domain: 'yourdapp.com', @@ -204,21 +204,26 @@ main().catch(console.error); - requestSignIn - signIn - generateNonce -### MApp Management -- checkIfMAppIsEnabled -- canEnableMApps -- requestAddMAppPermissionChallenge -- requestAppendMAppFieldChallenge -- requestRevokeMAppPermissionChallenge -- addMAppPermission -- appendMAppField -- revokeMAppPermission -### Offchain Resolvers -- getAllOffchainResolvers -Contributing -Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. +[//]: # (### MApp Management) + +[//]: # (- checkIfMAppIsEnabled) + +[//]: # (- canEnableMApps) + +[//]: # (- requestAddMAppPermissionChallenge) +[//]: # (- requestAppendMAppFieldChallenge) + +[//]: # (- requestRevokeMAppPermissionChallenge) + +[//]: # (- addMAppPermission) + +[//]: # (- appendMAppField) + +[//]: # (- revokeMAppPermission) +### Offchain Resolvers +- getAllOffchainResolvers ### Benefits Simplified ENS Integration: Abstracts the complexities of interacting with the Ethereum blockchain and ENS smart contracts. diff --git a/packages/@justaname.id/siwens/README.md b/packages/@justaname.id/siwens/README.md index e40a099f..067c7dee 100644 --- a/packages/@justaname.id/siwens/README.md +++ b/packages/@justaname.id/siwens/README.md @@ -92,4 +92,7 @@ async function verifyUserSignature(signature: string, message: string) { signInUser().then(async (signature) => { await verifyUserSignature(signature, 'Signing into dApp'); }); -``` \ No newline at end of file +``` + +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. \ No newline at end of file diff --git a/packages/@justverified/plugin/README.md b/packages/@justverified/plugin/README.md index afe1ecc0..d623266f 100644 --- a/packages/@justverified/plugin/README.md +++ b/packages/@justverified/plugin/README.md @@ -1,7 +1,75 @@ # @justverified/plugin -This library was generated with [Nx](https://nx.dev). +The **@justverified/plugin** integrates easily with the **JustWeb3 Widget** to provide social verification capabilities, enabling your users to verify their identities through platforms like **Twitter**, **GitHub**, **Discord**, **Telegram**, and **Email**. These verifications add a layer of trust and authentication, protecting your dApp from Sybil attacks and ensuring a secure, decentralized user experience. -## Running unit tests +For complete documentation, visit the [JustaName Documentation](https://docs.justaname.id/). -Run `nx test @justverified/plugin` to execute the unit tests via [Jest](https://jestjs.io). +--- + +## Features + +- **Social Identity Verification:** Allow users to authenticate via their social accounts. +- **Supported Platforms:** + - Twitter (`twitter`) + - GitHub (`github`) + - Discord (`discord`) + - Telegram (`telegram`) + - Email (`email`) + - Coming Soon: Google, LinkedIn, and Proof of Humanity +- **Easy Integration:** Enable the plugin by adding it to the `plugins` array in your **JustWeb3** configuration. +- **Extendable UI:** Customize the verification dialog and components to fit your design needs. + +--- + +## Installation + +Install the plugin using your preferred package manager: + +```bash +bash +npm install @justverified/plugin + +# or + +yarn add @justverified/plugin +``` + +--- + +## Usage Example + +Here’s how to enable social verification for **GitHub** and **Discord** in your widget configuration: + +```tsx +tsx +import { JustVerifiedPlugin } from '@justverified/plugin'; + +const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + openOnWalletConnect: true, + allowedEns: "all", + logo: "", + ensDomains: [ + { + ensDomain: "yourdomain.eth", + apiKey: "YOUR_API_KEY", + chainId: 1, + }, + ], + plugins: [ + JustVerifiedPlugin(['github', 'discord']) // Enable GitHub and Discord verification + ], + color: { + primary: "#FEA801", + background: "hsl(0, 0%, 100%)", + destructive: "hsl(0, 100%, 50%)", + }, +}; + +``` + +This configuration ensures that users must verify their **GitHub** and **Discord** identities to access specific features or services within your dApp. \ No newline at end of file diff --git a/packages/@justverified/plugin/project.json b/packages/@justverified/plugin/project.json index d513cc5a..e7d23a01 100644 --- a/packages/@justverified/plugin/project.json +++ b/packages/@justverified/plugin/project.json @@ -17,6 +17,18 @@ } } }, + "typedoc": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "typedoc" + } + ], + "cwd": "packages/@justverified/plugin", + "parallel": false + } + }, "build": { "executor": "nx:run-commands", "options": { diff --git a/packages/@justverified/plugin/typedoc.json b/packages/@justverified/plugin/typedoc.json new file mode 100644 index 00000000..b429bb13 --- /dev/null +++ b/packages/@justverified/plugin/typedoc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://typedoc-plugin-markdown.org/schema.json", + "entryPoints": ["./src/index.ts"], + "plugin": ["typedoc-plugin-markdown"], + "out": "../../../docs/sdk/JustVerified Plugin", + "cleanOutputDir": true +} \ No newline at end of file diff --git a/packages/@justweb3/ui/README.md b/packages/@justweb3/ui/README.md index 6ebb60ce..cb61239d 100644 --- a/packages/@justweb3/ui/README.md +++ b/packages/@justweb3/ui/README.md @@ -1,7 +1,163 @@ -# react-ui +# @justweb3/ui -This library was generated with [Nx](https://nx.dev). +The **@justweb3/ui** library provides a unified UI experience and handles theme generation for the **@justweb3/widget** package. It simplifies theming across widgets by dynamically generating color variations and supports custom theming through its context provider. -## Running unit tests +## Table of Contents -Run `nx test react-auth` to execute the unit tests via [Jest](https://jestjs.io). +- [Installation](#installation) +- [Usage](#usage) + - [Setup with `JustWeb3ThemeProvider`](#setup-with-justweb3themeprovider) + - [Changing Theme Dynamically](#changing-theme-dynamically) +- [Hooks](#hooks) + - [`useJustWeb3Theme`](#usejustweb3theme) + - [Hook Output](#hook-output) +- [How It Works](#how-it-works) +- [Contributing](#contributing) +--- + +## Installation + +Install the library using npm or yarn: + +```bash +npm install @justweb3/ui + +# or + +yarn add @justweb3/ui +``` + +--- + +## Usage + +### Setup with `JustWeb3ThemeProvider` + +To enable the theme context for your widget, wrap your application or component with the `JustWeb3ThemeProvider`. This ensures consistent theming across components and allows you to customize colors dynamically. + +```tsx +'use client'; + +import { JustWeb3ThemeProvider } from '@justweb3/ui'; + +const App = ({ children }) => { + return ( + + {children} + + ); +}; + +export default App; + +``` + +--- + +## Changing Theme Dynamically + +The `JustWeb3ThemeProvider` offers a `changeTheme` function to dynamically change the primary, background, or destructive colors. Here's an example demonstrating dynamic theme switching. + +```tsx +import React, { useState } from 'react'; +import { useJustWeb3Theme } from '@justweb3/ui'; + +const ThemeSwitcher = () => { + const { changeTheme, color } = useJustWeb3Theme(); + const [newColor, setNewColor] = useState(color.primary); + + const handleThemeChange = () => { + changeTheme('primary', newColor); + }; + + return ( +
+

Current Primary Color: {color.primary}

+ setNewColor(e.target.value)} + /> + +
+ ); +}; + +export default ThemeSwitcher; + +``` + +--- + +## Hooks + +### `useJustWeb3Theme` + +The `useJustWeb3Theme` hook provides access to the current theme and allows you to modify theme colors dynamically. + +### Usage + +```tsx +import { useJustWeb3Theme } from '@justweb3/ui'; + +const Component = () => { + const { theme, color, changeTheme } = useJustWeb3Theme(); + + console.log('Current Theme:', theme); + + const switchToDarkBackground = () => { + changeTheme('background', 'hsl(0, 0%, 10%)'); + }; + + return ( +
+ +
+ ); +}; + +``` + +### Hook Output + +- **`theme`**: The current theme values. +- **`color`**: The current primary, background, and destructive colors. +- **`changeTheme`**: A function to dynamically change specific theme colors. + +--- + +## How It Works + +The `JustWeb3ThemeProvider` internally generates color variations for: + +- **Primary Color**: Base color with light and dark variations. +- **Destructive Color**: Used for alerts and destructive actions. +- **Background Color**: Provides variations for background and foreground colors. + +The provider uses **CSS variables** for theme management, ensuring that components and styles are synchronized. + +Example CSS Variables: + +```css +:root { + --justweb3-primary-color: hsl(216, 90%, 58%); + --justweb3-primary-color-light: hsl(216, 90%, 68%); + --justweb3-primary-color-dark: hsl(216, 90%, 48%); + --justweb3-background-color: hsl(0, 0%, 100%); + --justweb3-border-color: hsl(0, 0%, 0%); + --justweb3-destructive-color: hsl(0, 100%, 50%); + --justweb3-font-family: 'Inter', sans-serif; +} +``` + +--- + +## Contributing + +We welcome contributions! Please submit issues or pull requests on our [GitHub repository](https://github.com/your-repository). \ No newline at end of file diff --git a/packages/@justweb3/ui/project.json b/packages/@justweb3/ui/project.json index 3c409db9..4bf3d02a 100644 --- a/packages/@justweb3/ui/project.json +++ b/packages/@justweb3/ui/project.json @@ -17,6 +17,18 @@ } } }, + "typedoc": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "typedoc" + } + ], + "cwd": "packages/@justweb3/ui", + "parallel": false + } + }, "build": { "executor": "nx:run-commands", "options": { diff --git a/packages/@justweb3/ui/tsconfig.json b/packages/@justweb3/ui/tsconfig.json index b7e0209c..f09f8d8a 100644 --- a/packages/@justweb3/ui/tsconfig.json +++ b/packages/@justweb3/ui/tsconfig.json @@ -9,10 +9,7 @@ "strict": true }, "files": [], - "include": [ - "src/**/*.ts", - "src/**/*.tsx", - ], + "include": [], "references": [ { "path": "./tsconfig.lib.json" diff --git a/packages/@justweb3/ui/typedoc.json b/packages/@justweb3/ui/typedoc.json new file mode 100644 index 00000000..f110864e --- /dev/null +++ b/packages/@justweb3/ui/typedoc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://typedoc-plugin-markdown.org/schema.json", + "entryPoints": ["./src/index.ts"], + "plugin": ["typedoc-plugin-markdown"], + "out": "../../../docs/sdk/JustWeb3 UI", + "cleanOutputDir": true +} \ No newline at end of file diff --git a/packages/@justweb3/widget/README.md b/packages/@justweb3/widget/README.md index f9552efb..2ea8f434 100644 --- a/packages/@justweb3/widget/README.md +++ b/packages/@justweb3/widget/README.md @@ -1,7 +1,219 @@ # @justweb3/widget -This library was generated with [Nx](https://nx.dev). +The **@justweb3/widget** library offers a complete identity solution for dApps. In just a few minutes, you can start issuing ENS subnames, authenticating users with SIWENS, managing profiles securely, and preventing Sybil attacks through social verifications and Proof of Personhood. The widget also integrates seamlessly with the **Admin Dashboard** to provide analytics and community engagement tools. -## Running unit tests +For detailed documentation, visit the official [JustaName Documentation](https://docs.justaname.id/). -Run `nx test @justweb3/widget` to execute the unit tests via [Jest](https://jestjs.io). +## Try it out today on [Demo](https://demo.justaname.id/). + +--- + +## Table of Contents + +- [Overview](#overview) +- [Installation](#installation) +- [Setup](#setup) +- [Configuration](#configuration) +- [Appearance Customization](#appearance-customization) +- [Network Configuration](#network-configuration) +- [Features](#features) +- [License](#license) +--- + +## Overview + +The **JustWeb3 Widget** is designed to simplify identity management for dApps. It provides: + +- **ENS Subname Issuance:** Issue branded subnames for your users. +- **SIWENS Authentication:** Secure user authentication via ENS domains. +- **Profile Management:** Allow users to update and manage their profiles. +- **Social Verifications & Proof of Personhood:** Prevent Sybil attacks with social and zero-knowledge proofs. +- **Plugins:** Extend the widget’s capabilities with custom plugins. +- **Admin Dashboard:** Monitor subname usage and engage with your community. + +--- + +## Installation + +Install the widget with your preferred package manager: + +```bash +bash +Copy code +npm install @justweb3/widget + +``` + +You will also need additional dependencies: + +```bash +bash +Copy code +npm install wagmi @rainbow-me/rainbowkit @tanstack/react-query + +``` + +--- + +## Setup + +Below is a sample setup for **Next.js** or **Vite** projects. The widget works with **RainbowKit** or any other wallet provider like WalletConnect, Privy, or Web3Auth. + +### Example Integration + +```tsx +'use client'; + +import "@rainbow-me/rainbowkit/styles.css"; +import '@justweb3/widget/styles.css'; +import { + getDefaultConfig, + getDefaultWallets, + RainbowKitProvider, +} from "@rainbow-me/rainbowkit"; +import { WagmiProvider } from "wagmi"; +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; +import { JustWeb3Provider, JustWeb3Button } from "@justweb3/widget"; +import { mainnet, sepolia } from "wagmi/chains"; + +const Providers = ({ children }) => { + const { wallets } = getDefaultWallets(); + const config = getDefaultConfig({ + appName: "Your dApp", + wallets, + chains: [mainnet, sepolia], + }); + + const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + openOnWalletConnect: true, + allowedEns: "all", + logo: "", + ensDomains: [ + { + ensDomain: "yourdomain.eth", + apiKey: "YOUR_API_KEY", + chainId: 1, + }, + ], + }; + + const queryClient = new QueryClient(); + + return ( + + + + + {children} + + + + + ); +}; + +export default Providers; + +``` + +--- + +## Configuration + +### API Key Setup + +1. **Sign Up:** Create an account in the [Admin Dashboard](https://docs.justaname.id/). +2. **Configure ENS Domain:** Set up your domain, or purchase one if needed. +3. **Generate API Key:** Save your API key securely—it will not be retrievable later. + +### Widget Configuration + +```tsx +const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + openOnWalletConnect: true, + allowedEns: "all", + logo: "https://yourdomain.com/your-logo.png", + ensDomains: [ + { + chainId: 1, + domain: 'your_ens_domain.eth', + apiKey: 'your-api-key' // Not recommended for production, use a backend server to protect your API key + } + ], + backendUrl: 'https://your-backend-url.com', // Leave empty for same origin (e.g when using Next.js) + color: { + primary: 'hsl(216, 90%, 58%)', // Sky Blue + background: 'hsl(0, 0%, 100%)', // White + destructive: 'hsl(0, 100%, 50%)', // Red + }, +}; + +``` + +--- + +## Appearance Customization + +The widget supports easy appearance customization to fit your dApp's branding. + +- **Primary Color:** Controls buttons, links, and accents. +- **Background Color:** Matches the widget’s background with your design. +- **Destructive Color:** Used for warnings or destructive actions. +- **Logo:** Add a custom logo to enhance branding. + +```tsx +const justweb3Config = { + color: { + primary: 'hsl(216, 90%, 58%)', + background: 'hsl(0, 0%, 100%)', + destructive: 'hsl(0, 100%, 50%)', + }, + logo: 'https://yourdomain.com/logo.png', +}; + +``` + +--- + +## Network Configuration + +The widget supports **Ethereum Mainnet** and **Sepolia Testnet**. Use public RPCs or provide custom URLs. + +```tsx +const justweb3Config = { + networks: [ + { chainId: 1, providerUrl: "YOUR_MAINNET_PROVIDER_URL" }, + { chainId: 11155111, providerUrl: "YOUR_SEPOLIA_PROVIDER_URL" }, + ], +}; + +``` + +If no custom provider is specified, the widget defaults to public RPC URLs. + +--- + +## Features + +- **Complete ENS Management:** Claim, update, and authenticate ENS subnames. +- **JustEnsCard Component:** Displays detailed ENS data for any name. +- **SIWENS Authentication:** Secure, decentralized sign-in using ENS. +- **Extendable via Plugins:** Add new features with ease. +- **Admin Dashboard Integration:** Monitor user activity and subname management. +- **Flexible Wallet Integration:** Works with RainbowKit, WalletConnect, Privy, and more. + +--- + +## License + +This project is licensed under the MIT License. For more details, refer to the official [JustaName Documentation](https://docs.justaname.id/). \ No newline at end of file diff --git a/packages/@justweb3/widget/project.json b/packages/@justweb3/widget/project.json index bac86ec2..571f8434 100644 --- a/packages/@justweb3/widget/project.json +++ b/packages/@justweb3/widget/project.json @@ -32,6 +32,18 @@ "parallel": false } }, + "typedoc": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "typedoc" + } + ], + "cwd": "packages/@justweb3/widget", + "parallel": false + } + }, "buildProject": { "executor": "@nx/rollup:rollup", "outputs": ["{options.outputPath}"], diff --git a/packages/@justweb3/widget/src/lib/components/JustWeb3Button/index.tsx b/packages/@justweb3/widget/src/lib/components/JustWeb3Button/index.tsx index db9fc353..5907c49b 100644 --- a/packages/@justweb3/widget/src/lib/components/JustWeb3Button/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/JustWeb3Button/index.tsx @@ -7,14 +7,16 @@ import { Badge, Button, ClickableItem, - Flex, formatText, + Flex, + formatText, LoadingSpinner, LogoutIcon, MappIcon, P, Popover, PopoverTrigger, - SPAN, WalletIcon + SPAN, + WalletIcon, } from '@justweb3/ui'; import { useCanEnableMApps, @@ -124,20 +126,18 @@ export const JustWeb3Button: FC = ({ children }) => { }} left={} right={ - - {formatText(address, 4)} + + {formatText(address, 4)} - - + + } /> ); @@ -179,23 +179,23 @@ export const JustWeb3Button: FC = ({ children }) => { fontWeight: 800, }} > - {data ? ( - <> - {parseFloat( - formatUnits(data?.value, data?.decimals) - ).toFixed(2)}{' '} - {data?.symbol} - - ) : ( - '0' - )} - { - e.stopPropagation(); - signOut(); - }} - /> + {data ? ( + <> + {parseFloat( + formatUnits(data?.value, data?.decimals) + ).toFixed(2)}{' '} + {data?.symbol} + + ) : ( + '0' + )} + { + e.stopPropagation(); + signOut(); + }} + />
} /> @@ -216,7 +216,12 @@ export const JustWeb3Button: FC = ({ children }) => { + ); +}; + +export const Example = () => { + const config = getDefaultConfig({ + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', + chains: [mainnet, sepolia], + }); + + return ( + + + + +

JustWeb3 Sign In

+ +
+
+ + + +
+ + + +
+ + + + + + + +
+
+ + + + + + +
+
+
+
+ +
+
+ ); +}; + +const meta: Meta = { + component: Example, + title: 'Connect/SignIn2', +}; +export default meta; +type Story = StoryObj; diff --git a/packages/@justweb3/widget/typedoc.json b/packages/@justweb3/widget/typedoc.json new file mode 100644 index 00000000..f6dda90f --- /dev/null +++ b/packages/@justweb3/widget/typedoc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://typedoc-plugin-markdown.org/schema.json", + "entryPoints": ["./src/index.ts"], + "plugin": ["typedoc-plugin-markdown"], + "out": "../../../docs/sdk/JustWeb3 Widget", + "cleanOutputDir": true +} \ No newline at end of file diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/plugins/efp/CHANGELOG.md index 6b5d360f..2ca4676c 100644 --- a/packages/plugins/efp/CHANGELOG.md +++ b/packages/plugins/efp/CHANGELOG.md @@ -1,18 +1,18 @@ ## 0.1.4 (2024-10-30) -This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. +This was a version bump only for @justweb3/efp-plugin to align it with other projects, there were no code changes. ## 0.1.3 (2024-10-30) -This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. +This was a version bump only for @justweb3/efp-plugin to align it with other projects, there were no code changes. ## 0.1.2 (2024-10-30) -This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. +This was a version bump only for @justweb3/efp-plugin to align it with other projects, there were no code changes. ## 0.1.1 (2024-10-30) -This was a version bump only for justweb3-efp-plugin to align it with other projects, there were no code changes. +This was a version bump only for @justweb3/efp-plugin to align it with other projects, there were no code changes. ## 0.1.0 (2024-10-30) diff --git a/packages/plugins/efp/README.md b/packages/plugins/efp/README.md index 927fda85..a431399b 100644 --- a/packages/plugins/efp/README.md +++ b/packages/plugins/efp/README.md @@ -1,7 +1,56 @@ -# justweb3-efp-plugin +# @justweb3/efp-plugin -This library was generated with [Nx](https://nx.dev). +The **@justweb3/efp-plugin** extends the **JustWeb3 Widget** with **Ethereum Follow Protocol (EFP)** functionalities, allowing users to **follow** others, **view followers**, and **following** directly within your dApp. -## Running unit tests +--- -Run `nx test justweb3-efp-plugin` to execute the unit tests via [Jest](https://jestjs.io). +## Installation + +Install the **EFP Plugin** using your preferred package manager: + +```bash +bash +npm install @justweb3/efp-plugin + +# or + +yarn add @justweb3/efp-plugin +``` + +--- + +## Usage Example + +Here’s how to enable the **EFP Plugin** in your **JustWeb3 Widget** configuration: + +```tsx +tsx +import { EFPPlugin } from '@justweb3/efp-plugin'; + +const justweb3Config = { + config: { + origin: "http://localhost:3000/", + domain: "localhost", + signInTtl: 86400000, + }, + plugins: [ + EFPPlugin, // Enable the EFP Plugin + ], + ensDomains: [ + { + ensDomain: "yourdomain.eth", + apiKey: "YOUR_API_KEY", + chainId: 1, + }, + ], + color: { + primary: "#FEA801", + background: "hsl(0, 0%, 100%)", + destructive: "hsl(0, 100%, 50%)", + }, +}; + +``` + +### Contributing +Contributions are welcome! If you have suggestions or find issues, please open an issue or submit a pull request on the GitHub repository. \ No newline at end of file diff --git a/packages/plugins/efp/jest.config.ts b/packages/plugins/efp/jest.config.ts index c472ec8c..d964757a 100644 --- a/packages/plugins/efp/jest.config.ts +++ b/packages/plugins/efp/jest.config.ts @@ -1,12 +1,12 @@ /* eslint-disable */ export default { - displayName: 'justweb3-efp-plugin', + displayName: '@justweb3/efp-plugin', preset: '../../../jest.preset.js', transform: { '^(?!.*\\.(js|jsx|ts|tsx|css|json)$)': '@nx/react/plugins/jest', '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/react/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], - coverageDirectory: '../../../coverage/packages/plugins/justweb3-efp-plugin', + coverageDirectory: '../../../coverage/packages/plugins/@justweb3/efp-plugin', passWithNoTests: true, }; diff --git a/packages/plugins/efp/project.json b/packages/plugins/efp/project.json index f3d23a48..9b14c97e 100644 --- a/packages/plugins/efp/project.json +++ b/packages/plugins/efp/project.json @@ -1,5 +1,5 @@ { - "name": "justweb3-efp-plugin", + "name": "@justweb3/efp-plugin", "$schema": "../../../node_modules/nx/schemas/project-schema.json", "sourceRoot": "packages/plugins/efp/src", "projectType": "library", @@ -17,12 +17,24 @@ } } }, + "typedoc": { + "executor": "nx:run-commands", + "options": { + "commands": [ + { + "command": "typedoc" + } + ], + "cwd": "packages/plugins/efp", + "parallel": false + } + }, "build": { "executor": "nx:run-commands", "options": { "commands": [ { - "command": "nx buildProject justweb3-efp-plugin" + "command": "nx buildProject @justweb3/efp-plugin" }, { "command": "node update-package-json.js" diff --git a/packages/plugins/efp/src/lib/components/FollowButton/index.tsx b/packages/plugins/efp/src/lib/components/FollowButton/index.tsx index 921f5cb5..e8e30938 100644 --- a/packages/plugins/efp/src/lib/components/FollowButton/index.tsx +++ b/packages/plugins/efp/src/lib/components/FollowButton/index.tsx @@ -22,7 +22,12 @@ export const FollowButton: React.FC = ({ ens }) => { target={'_blank'} rel="noreferrer" > - @@ -32,7 +37,9 @@ export const FollowButton: React.FC = ({ ens }) => { if (isFollowStateLoading) { return ( diff --git a/packages/plugins/efp/src/lib/index.ts b/packages/plugins/efp/src/lib/index.ts index 35798d72..e721afbe 100644 --- a/packages/plugins/efp/src/lib/index.ts +++ b/packages/plugins/efp/src/lib/index.ts @@ -1,2 +1,3 @@ export * from './plugins'; -export * from './icons'; \ No newline at end of file +export * from './icons'; +export * from './hooks'; diff --git a/packages/plugins/efp/typedoc.json b/packages/plugins/efp/typedoc.json new file mode 100644 index 00000000..a4e7e1e9 --- /dev/null +++ b/packages/plugins/efp/typedoc.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://typedoc-plugin-markdown.org/schema.json", + "entryPoints": ["./src/index.ts"], + "plugin": ["typedoc-plugin-markdown"], + "out": "../../../docs/sdk/JustWeb3 EFP Plugin", + "cleanOutputDir": true +} \ No newline at end of file From 0e908feb30d4a71417caabe15e3131b9b4722445 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 00:04:31 +0200 Subject: [PATCH 18/57] feat: add verbose to the test in ci --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b43e9606..63f668a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,5 +41,5 @@ jobs: SIWENS_PRIVATE_KEY: ${{ secrets.SIWENS_PRIVATE_KEY }} SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} - run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console + run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --verbose - run: npx nx affected -t build --exclude=console From 2e25f9c55ce96160c822c41018d7d0bd91036750 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 00:42:43 +0200 Subject: [PATCH 19/57] trial --- .github/workflows/ci.yml | 6 +++--- .github/workflows/release.yml | 9 +-------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63f668a3..46c886ad 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: ${{ runner.OS }}-yarn- - uses: nrwl/nx-set-shas@v3 - run: yarn install - - run: npx nx affected -t lint + - run: npx nx reset - name: Run Tests env: SDK_JUSTANAME_TEST_API_KEY: ${{ secrets.SDK_JUSTANAME_TEST_API_KEY }} @@ -41,5 +41,5 @@ jobs: SIWENS_PRIVATE_KEY: ${{ secrets.SIWENS_PRIVATE_KEY }} SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} - run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --verbose - - run: npx nx affected -t build --exclude=console + run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk --verbose + - run: npx nx affected -t build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1ecefe31..cb07b813 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Install Dependencies with Immutable Flag run: | yarn install --immutable - + - run: npx nx reset - name: Build and Test env: SDK_JUSTANAME_TEST_API_KEY: ${{ secrets.SDK_JUSTANAME_TEST_API_KEY }} @@ -49,9 +49,7 @@ jobs: SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} run: | - npx nx affected -t lint npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console - npx nx affected -t build --exclude=console - name: Pull latest changes from main run: git pull origin main @@ -65,11 +63,6 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Reset Nx Cache - run: | - npx nx reset - echo "Reset completed" - - name: Release run: | npx nx release --specifier=patch --yes From c66dd2e4bae2ad03cf89804b099bc0e1437655df Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 01:16:45 +0200 Subject: [PATCH 20/57] trial --- apps/console/project.json | 5 +-- apps/console/tsconfig.json | 2 +- .../JustWeb3 EFP Plugin/functions/EFPIcon.md | 2 +- .../functions/buildFollowStateQueryKey.md | 2 +- .../functions/buildFollowersQueryKey.md | 2 +- .../functions/buildFollowingQueryKey.md | 2 +- .../functions/buildStatsQueryKey.md | 2 +- .../functions/getFollowState.md | 2 +- .../functions/getFollowers.md | 2 +- .../functions/getFollowing.md | 2 +- .../JustWeb3 EFP Plugin/functions/getStats.md | 2 +- .../functions/useFollowState.md | 2 +- .../functions/useFollowers.md | 2 +- .../functions/useFollowing.md | 2 +- .../JustWeb3 EFP Plugin/functions/useStats.md | 2 +- .../interfaces/FollowState.md | 6 ++-- .../interfaces/Followers.md | 2 +- .../interfaces/Following.md | 2 +- .../JustWeb3 EFP Plugin/interfaces/Stats.md | 4 +-- .../interfaces/UseFollowStateParams.md | 4 +-- .../interfaces/UseFollowStateResult.md | 8 ++--- .../interfaces/UseFollowersParams.md | 2 +- .../interfaces/UseFollowersResult.md | 12 +++---- .../interfaces/UseFollowingParams.md | 2 +- .../interfaces/UseFollowingResult.md | 12 +++---- .../interfaces/UseStatsParams.md | 2 +- .../interfaces/UseStatsResult.md | 8 ++--- .../variables/EFPPlugin.md | 2 +- nx.json | 2 +- packages/@justaname.id/react/project.json | 3 +- packages/@justaname.id/sdk/project.json | 3 +- packages/@justverified/plugin/project.json | 3 +- .../efp => @justweb3/efp-plugin}/.babelrc | 0 .../efp => @justweb3/efp-plugin}/.env.example | 0 .../efp-plugin}/.eslintrc.json | 0 .../efp => @justweb3/efp-plugin}/.gitignore | 0 .../efp-plugin}/.storybook/main.ts | 0 .../efp-plugin}/.storybook/preview.ts | 0 .../efp => @justweb3/efp-plugin}/CHANGELOG.md | 0 .../efp => @justweb3/efp-plugin}/README.md | 0 .../efp => @justweb3/efp-plugin}/env.d.ts | 0 .../efp-plugin}/jest.config.ts | 0 .../efp => @justweb3/efp-plugin}/package.json | 0 .../efp => @justweb3/efp-plugin}/project.json | 35 ++++++++++--------- .../efp-plugin}/release.config.js | 0 .../efp-plugin}/rollup.config.cjs | 0 .../efp => @justweb3/efp-plugin}/src/index.ts | 0 .../src/lib/components/EFPTab/index.tsx | 0 .../src/lib/components/FollowButton/index.tsx | 0 .../efp-plugin}/src/lib/components/index.ts | 0 .../efp-plugin}/src/lib/hooks/index.ts | 0 .../src/lib/hooks/useFollowState/index.ts | 0 .../src/lib/hooks/useFollowers/index.ts | 0 .../src/lib/hooks/useFollowing/index.ts | 0 .../src/lib/hooks/useInfiniteScroll/index.ts | 0 .../src/lib/hooks/useStats/index.ts | 0 .../src/lib/icons/EFPIcon/index.tsx | 0 .../efp-plugin}/src/lib/icons/index.ts | 0 .../efp-plugin}/src/lib/index.ts | 0 .../efp-plugin}/src/lib/plugins/index.tsx | 0 .../efp-plugin}/src/stories/efp.stories.tsx | 0 .../efp-plugin}/tsconfig.json | 0 .../efp-plugin}/tsconfig.lib.json | 0 .../efp-plugin}/tsconfig.spec.json | 0 .../efp-plugin}/tsconfig.storybook.json | 0 .../efp => @justweb3/efp-plugin}/typedoc.json | 0 .../efp-plugin}/update-package-json.js | 0 packages/@justweb3/ui/project.json | 3 +- packages/@justweb3/widget/project.json | 3 +- .../Profile/ContentSection/index.tsx | 15 ++++++-- .../widget/src/stories/signin.stories.tsx | 1 + 71 files changed, 90 insertions(+), 77 deletions(-) rename packages/{plugins/efp => @justweb3/efp-plugin}/.babelrc (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/.env.example (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/.eslintrc.json (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/.gitignore (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/.storybook/main.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/.storybook/preview.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/CHANGELOG.md (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/README.md (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/env.d.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/jest.config.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/package.json (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/project.json (71%) rename packages/{plugins/efp => @justweb3/efp-plugin}/release.config.js (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/rollup.config.cjs (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/components/EFPTab/index.tsx (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/components/FollowButton/index.tsx (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/components/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/hooks/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/hooks/useFollowState/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/hooks/useFollowers/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/hooks/useFollowing/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/hooks/useInfiniteScroll/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/hooks/useStats/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/icons/EFPIcon/index.tsx (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/icons/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/index.ts (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/lib/plugins/index.tsx (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/src/stories/efp.stories.tsx (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/tsconfig.json (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/tsconfig.lib.json (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/tsconfig.spec.json (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/tsconfig.storybook.json (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/typedoc.json (100%) rename packages/{plugins/efp => @justweb3/efp-plugin}/update-package-json.js (100%) diff --git a/apps/console/project.json b/apps/console/project.json index f19e1e8f..9098a1c7 100644 --- a/apps/console/project.json +++ b/apps/console/project.json @@ -15,10 +15,7 @@ "config": "apps/console/next.config.js" }, "dependsOn": [ - { - "dependencies": true, - "target": "buildProject" - } + "^build" ] }, "serve": { diff --git a/apps/console/tsconfig.json b/apps/console/tsconfig.json index 5e691397..89e6457e 100644 --- a/apps/console/tsconfig.json +++ b/apps/console/tsconfig.json @@ -25,7 +25,7 @@ "@justaname.id/sdk": ["packages/@justaname.id/sdk"], "@justaname.id/siwens": ["packages/@justaname.id/siwens"], "@justverified/plugin": ["packages/@justverified/plugin"], - "@justweb3/efp-plugin": ["packages/plugins/efp"], + "@justweb3/efp-plugin": ["packages/@justweb3/efp-plugin"], } }, diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md b/docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md index f48a1e7a..f8ca6c35 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/EFPIcon.md @@ -26,4 +26,4 @@ ## Defined in -[packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx#L7) +[packages/@justweb3/efp-plugin/src/lib/icons/EFPIcon/index.tsx:7](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/icons/EFPIcon/index.tsx#L7) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md index 5942a5d7..3319eaa5 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowStateQueryKey.md @@ -20,4 +20,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L4) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L4) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md index 3335ff01..285f13dd 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowersQueryKey.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L9) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L9) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md index 05a884ef..d098b6fd 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildFollowingQueryKey.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L9) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L9) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md b/docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md index a336dc60..7c88cac7 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/buildStatsQueryKey.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L4) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:4](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L4) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md index d59189b8..24a26cd4 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowState.md @@ -20,4 +20,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L21) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:21](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L21) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md index c248348c..bc9dc09c 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowers.md @@ -22,4 +22,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L25) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:25](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L25) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md index 92a12197..f3eb4836 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getFollowing.md @@ -22,4 +22,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L22) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L22) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md b/docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md index 3e721a48..e217739c 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/getStats.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L13) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L13) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md index 5582feaa..1015bf31 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowState.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L44) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:44](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L44) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md index 7ddaccbd..91737050 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowers.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L54) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:54](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L54) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md index eb3da320..ac492f2b 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useFollowing.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L51) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L51) diff --git a/docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md b/docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md index b39cfb44..ee911b0b 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md +++ b/docs/sdk/JustWeb3 EFP Plugin/functions/useStats.md @@ -18,4 +18,4 @@ ## Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L32) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:32](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L32) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md index 3874e2f8..b2b88ede 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/FollowState.md @@ -14,7 +14,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L13) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:13](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L13) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L12) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:12](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L12) *** @@ -46,4 +46,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L14) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L14) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md index 99754c7c..f6b13d30 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Followers.md @@ -14,4 +14,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L14) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L14) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md index f51f50ac..c8b35268 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Following.md @@ -14,4 +14,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L14) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:14](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L14) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md index 3ad1ef84..b1d3bf8c 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/Stats.md @@ -14,7 +14,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L9) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:9](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L9) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L10) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:10](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L10) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md index 78632bf8..65cb278b 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateParams.md @@ -14,7 +14,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L33) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:33](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L33) *** @@ -24,4 +24,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L34) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:34](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L34) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md index f0416fb4..5c0c43d9 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowStateResult.md @@ -14,7 +14,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L38) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L38) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L40) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L40) *** @@ -34,7 +34,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L41) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:41](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L41) *** @@ -44,4 +44,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowState/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts#L39) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts#L39) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md index e4056800..c14063d5 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersParams.md @@ -14,4 +14,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L38) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:38](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L38) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md index 5eae4a70..65dc8c06 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowersResult.md @@ -22,7 +22,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L43) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:43](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L43) *** @@ -32,7 +32,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L42) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:42](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L42) *** @@ -42,7 +42,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L48) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L48) *** @@ -52,7 +52,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:50](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L50) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:50](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L50) *** @@ -62,7 +62,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L51) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:51](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L51) *** @@ -72,4 +72,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowers/index.ts:49](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts#L49) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts:49](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts#L49) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md index e1ea6123..cdcabc50 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingParams.md @@ -14,4 +14,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L35) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:35](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L35) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md index 7fcadb7d..0ac31421 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseFollowingResult.md @@ -22,7 +22,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L40) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:40](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L40) *** @@ -32,7 +32,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L39) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:39](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L39) *** @@ -42,7 +42,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L45) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:45](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L45) *** @@ -52,7 +52,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:47](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L47) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:47](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L47) *** @@ -62,7 +62,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L48) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:48](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L48) *** @@ -72,4 +72,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useFollowing/index.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts#L46) +[packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts:46](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts#L46) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md index 0b65f7a2..175982ec 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsParams.md @@ -14,4 +14,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L22) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:22](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L22) diff --git a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md index 1e86177c..7bbff855 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md +++ b/docs/sdk/JustWeb3 EFP Plugin/interfaces/UseStatsResult.md @@ -14,7 +14,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L28) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:28](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L28) *** @@ -24,7 +24,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L29) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:29](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L29) *** @@ -34,7 +34,7 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L27) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:27](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L27) *** @@ -44,4 +44,4 @@ #### Defined in -[packages/plugins/efp/src/lib/hooks/useStats/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/hooks/useStats/index.ts#L26) +[packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts:26](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts#L26) diff --git a/docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md b/docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md index d81fce5f..c4bb01d7 100644 --- a/docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md +++ b/docs/sdk/JustWeb3 EFP Plugin/variables/EFPPlugin.md @@ -10,4 +10,4 @@ ## Defined in -[packages/plugins/efp/src/lib/plugins/index.tsx:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/plugins/efp/src/lib/plugins/index.tsx#L5) +[packages/@justweb3/efp-plugin/src/lib/plugins/index.tsx:5](https://github.com/JustaName-id/JustaName-sdk/blob/dc845c10af242e3ca87d95ef392516ac0bfa8b95/packages/@justweb3/efp-plugin/src/lib/plugins/index.tsx#L5) diff --git a/nx.json b/nx.json index 1977ce8a..271342fe 100644 --- a/nx.json +++ b/nx.json @@ -163,7 +163,7 @@ "packages/@justweb3/ui", "packages/@justweb3/widget", "packages/@justverified/plugin", - "packages/plugins/efp" + "packages/@justweb3/efp-plugin" ] }, "defaultBase": "main" diff --git a/packages/@justaname.id/react/project.json b/packages/@justaname.id/react/project.json index c2b99e6f..fd5da88c 100644 --- a/packages/@justaname.id/react/project.json +++ b/packages/@justaname.id/react/project.json @@ -42,7 +42,8 @@ ], "cwd": "packages/@justaname.id/react", "parallel": false - } + }, + "dependsOn": ["^build"] }, "buildProject": { "executor": "@nx/rollup:rollup", diff --git a/packages/@justaname.id/sdk/project.json b/packages/@justaname.id/sdk/project.json index a745f4da..ff972dec 100644 --- a/packages/@justaname.id/sdk/project.json +++ b/packages/@justaname.id/sdk/project.json @@ -32,7 +32,8 @@ ], "cwd": "packages/@justaname.id/sdk", "parallel": false - } + }, + "dependsOn": ["^build"] }, "buildProject": { "executor": "@nx/rollup:rollup", diff --git a/packages/@justverified/plugin/project.json b/packages/@justverified/plugin/project.json index e7d23a01..6dcd9439 100644 --- a/packages/@justverified/plugin/project.json +++ b/packages/@justverified/plugin/project.json @@ -42,7 +42,8 @@ ], "cwd": "packages/@justverified/plugin", "parallel": false - } + }, + "dependsOn": ["^build"] }, "buildProject": { "executor": "@nx/rollup:rollup", diff --git a/packages/plugins/efp/.babelrc b/packages/@justweb3/efp-plugin/.babelrc similarity index 100% rename from packages/plugins/efp/.babelrc rename to packages/@justweb3/efp-plugin/.babelrc diff --git a/packages/plugins/efp/.env.example b/packages/@justweb3/efp-plugin/.env.example similarity index 100% rename from packages/plugins/efp/.env.example rename to packages/@justweb3/efp-plugin/.env.example diff --git a/packages/plugins/efp/.eslintrc.json b/packages/@justweb3/efp-plugin/.eslintrc.json similarity index 100% rename from packages/plugins/efp/.eslintrc.json rename to packages/@justweb3/efp-plugin/.eslintrc.json diff --git a/packages/plugins/efp/.gitignore b/packages/@justweb3/efp-plugin/.gitignore similarity index 100% rename from packages/plugins/efp/.gitignore rename to packages/@justweb3/efp-plugin/.gitignore diff --git a/packages/plugins/efp/.storybook/main.ts b/packages/@justweb3/efp-plugin/.storybook/main.ts similarity index 100% rename from packages/plugins/efp/.storybook/main.ts rename to packages/@justweb3/efp-plugin/.storybook/main.ts diff --git a/packages/plugins/efp/.storybook/preview.ts b/packages/@justweb3/efp-plugin/.storybook/preview.ts similarity index 100% rename from packages/plugins/efp/.storybook/preview.ts rename to packages/@justweb3/efp-plugin/.storybook/preview.ts diff --git a/packages/plugins/efp/CHANGELOG.md b/packages/@justweb3/efp-plugin/CHANGELOG.md similarity index 100% rename from packages/plugins/efp/CHANGELOG.md rename to packages/@justweb3/efp-plugin/CHANGELOG.md diff --git a/packages/plugins/efp/README.md b/packages/@justweb3/efp-plugin/README.md similarity index 100% rename from packages/plugins/efp/README.md rename to packages/@justweb3/efp-plugin/README.md diff --git a/packages/plugins/efp/env.d.ts b/packages/@justweb3/efp-plugin/env.d.ts similarity index 100% rename from packages/plugins/efp/env.d.ts rename to packages/@justweb3/efp-plugin/env.d.ts diff --git a/packages/plugins/efp/jest.config.ts b/packages/@justweb3/efp-plugin/jest.config.ts similarity index 100% rename from packages/plugins/efp/jest.config.ts rename to packages/@justweb3/efp-plugin/jest.config.ts diff --git a/packages/plugins/efp/package.json b/packages/@justweb3/efp-plugin/package.json similarity index 100% rename from packages/plugins/efp/package.json rename to packages/@justweb3/efp-plugin/package.json diff --git a/packages/plugins/efp/project.json b/packages/@justweb3/efp-plugin/project.json similarity index 71% rename from packages/plugins/efp/project.json rename to packages/@justweb3/efp-plugin/project.json index 9b14c97e..9845743d 100644 --- a/packages/plugins/efp/project.json +++ b/packages/@justweb3/efp-plugin/project.json @@ -1,7 +1,7 @@ { "name": "@justweb3/efp-plugin", "$schema": "../../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages/plugins/efp/src", + "sourceRoot": "packages/@justweb3/efp-plugin/src", "projectType": "library", "tags": [], "targets": { @@ -9,7 +9,7 @@ "executor": "@nx/storybook:storybook", "options": { "port": 4404, - "configDir": "packages/plugins/efp/.storybook" + "configDir": "packages/@justweb3/efp-plugin/.storybook" }, "configurations": { "ci": { @@ -25,7 +25,7 @@ "command": "typedoc" } ], - "cwd": "packages/plugins/efp", + "cwd": "packages/@justweb3/efp-plugin", "parallel": false } }, @@ -40,19 +40,20 @@ "command": "node update-package-json.js" } ], - "cwd": "packages/plugins/efp", + "cwd": "packages/@justweb3/efp-plugin", "parallel": false - } + }, + "dependsOn": ["^build"] }, "buildProject": { "executor": "@nx/rollup:rollup", "outputs": ["{options.outputPath}"], "defaultConfiguration": "production", "options": { - "outputPath": "packages/plugins/efp/dist", - "tsConfig": "packages/plugins/efp/tsconfig.lib.json", - "project": "packages/plugins/efp/package.json", - "entryFile": "packages/plugins/efp/src/index.ts", + "outputPath": "packages/@justweb3/efp-plugin/dist", + "tsConfig": "packages/@justweb3/efp-plugin/tsconfig.lib.json", + "project": "packages/@justweb3/efp-plugin/package.json", + "entryFile": "packages/@justweb3/efp-plugin/src/index.ts", "external": [ "react", "react-dom", @@ -62,13 +63,13 @@ "@justaname.id/sdk", "@justweb3/widget" ], - "rollupConfig": "packages/plugins/efp/rollup.config.cjs", + "rollupConfig": "packages/@justweb3/efp-plugin/rollup.config.cjs", "generateExportsField": true, "compiler": "swc", "format": ["esm"], "assets": [ { - "glob": "packages/plugins/efp/README.md", + "glob": "packages/@justweb3/efp-plugin/README.md", "input": ".", "output": "." } @@ -103,31 +104,31 @@ "options": { "fix": true, "lintFilePatterns": [ - "packages/plugins/efp/**/*.{ts,tsx,js,jsx}", - "packages/plugins/efp/package.json" + "packages/@justweb3/efp-plugin/**/*.{ts,tsx,js,jsx}", + "packages/@justweb3/efp-plugin/package.json" ] } }, "publish": { - "command": "node tools/scripts/publish.mjs plugins/efp {args.ver} {args.tag}", + "command": "node tools/scripts/publish.mjs @justweb3/efp-plugin {args.ver} {args.tag}", "dependsOn": ["build"] }, "nx-release-publish": { "options": { - "packageRoot": "packages/plugins/efp/dist" + "packageRoot": "packages/@justweb3/efp-plugin/dist" }, "dependsOn": ["^build", "build", "^@justaname.id/react:build"] }, "release:package": { "executor": "nx:run-commands", "options": { - "command": "npx semantic-release --debug --extends=./packages/plugins/efp/release.config.js" + "command": "npx semantic-release --debug --extends=./packages/@justweb3/efp-plugin/release.config.js" } }, "update-deps": { "executor": "nx:run-commands", "options": { - "command": "npx rjp ./packages/plugins/efp/dist/package.json $PACKAGE_NAME $VERSION" + "command": "npx rjp ./packages/@justweb3/efp-plugin/dist/package.json $PACKAGE_NAME $VERSION" } } } diff --git a/packages/plugins/efp/release.config.js b/packages/@justweb3/efp-plugin/release.config.js similarity index 100% rename from packages/plugins/efp/release.config.js rename to packages/@justweb3/efp-plugin/release.config.js diff --git a/packages/plugins/efp/rollup.config.cjs b/packages/@justweb3/efp-plugin/rollup.config.cjs similarity index 100% rename from packages/plugins/efp/rollup.config.cjs rename to packages/@justweb3/efp-plugin/rollup.config.cjs diff --git a/packages/plugins/efp/src/index.ts b/packages/@justweb3/efp-plugin/src/index.ts similarity index 100% rename from packages/plugins/efp/src/index.ts rename to packages/@justweb3/efp-plugin/src/index.ts diff --git a/packages/plugins/efp/src/lib/components/EFPTab/index.tsx b/packages/@justweb3/efp-plugin/src/lib/components/EFPTab/index.tsx similarity index 100% rename from packages/plugins/efp/src/lib/components/EFPTab/index.tsx rename to packages/@justweb3/efp-plugin/src/lib/components/EFPTab/index.tsx diff --git a/packages/plugins/efp/src/lib/components/FollowButton/index.tsx b/packages/@justweb3/efp-plugin/src/lib/components/FollowButton/index.tsx similarity index 100% rename from packages/plugins/efp/src/lib/components/FollowButton/index.tsx rename to packages/@justweb3/efp-plugin/src/lib/components/FollowButton/index.tsx diff --git a/packages/plugins/efp/src/lib/components/index.ts b/packages/@justweb3/efp-plugin/src/lib/components/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/components/index.ts rename to packages/@justweb3/efp-plugin/src/lib/components/index.ts diff --git a/packages/plugins/efp/src/lib/hooks/index.ts b/packages/@justweb3/efp-plugin/src/lib/hooks/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/hooks/index.ts rename to packages/@justweb3/efp-plugin/src/lib/hooks/index.ts diff --git a/packages/plugins/efp/src/lib/hooks/useFollowState/index.ts b/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/hooks/useFollowState/index.ts rename to packages/@justweb3/efp-plugin/src/lib/hooks/useFollowState/index.ts diff --git a/packages/plugins/efp/src/lib/hooks/useFollowers/index.ts b/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/hooks/useFollowers/index.ts rename to packages/@justweb3/efp-plugin/src/lib/hooks/useFollowers/index.ts diff --git a/packages/plugins/efp/src/lib/hooks/useFollowing/index.ts b/packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/hooks/useFollowing/index.ts rename to packages/@justweb3/efp-plugin/src/lib/hooks/useFollowing/index.ts diff --git a/packages/plugins/efp/src/lib/hooks/useInfiniteScroll/index.ts b/packages/@justweb3/efp-plugin/src/lib/hooks/useInfiniteScroll/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/hooks/useInfiniteScroll/index.ts rename to packages/@justweb3/efp-plugin/src/lib/hooks/useInfiniteScroll/index.ts diff --git a/packages/plugins/efp/src/lib/hooks/useStats/index.ts b/packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/hooks/useStats/index.ts rename to packages/@justweb3/efp-plugin/src/lib/hooks/useStats/index.ts diff --git a/packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx b/packages/@justweb3/efp-plugin/src/lib/icons/EFPIcon/index.tsx similarity index 100% rename from packages/plugins/efp/src/lib/icons/EFPIcon/index.tsx rename to packages/@justweb3/efp-plugin/src/lib/icons/EFPIcon/index.tsx diff --git a/packages/plugins/efp/src/lib/icons/index.ts b/packages/@justweb3/efp-plugin/src/lib/icons/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/icons/index.ts rename to packages/@justweb3/efp-plugin/src/lib/icons/index.ts diff --git a/packages/plugins/efp/src/lib/index.ts b/packages/@justweb3/efp-plugin/src/lib/index.ts similarity index 100% rename from packages/plugins/efp/src/lib/index.ts rename to packages/@justweb3/efp-plugin/src/lib/index.ts diff --git a/packages/plugins/efp/src/lib/plugins/index.tsx b/packages/@justweb3/efp-plugin/src/lib/plugins/index.tsx similarity index 100% rename from packages/plugins/efp/src/lib/plugins/index.tsx rename to packages/@justweb3/efp-plugin/src/lib/plugins/index.tsx diff --git a/packages/plugins/efp/src/stories/efp.stories.tsx b/packages/@justweb3/efp-plugin/src/stories/efp.stories.tsx similarity index 100% rename from packages/plugins/efp/src/stories/efp.stories.tsx rename to packages/@justweb3/efp-plugin/src/stories/efp.stories.tsx diff --git a/packages/plugins/efp/tsconfig.json b/packages/@justweb3/efp-plugin/tsconfig.json similarity index 100% rename from packages/plugins/efp/tsconfig.json rename to packages/@justweb3/efp-plugin/tsconfig.json diff --git a/packages/plugins/efp/tsconfig.lib.json b/packages/@justweb3/efp-plugin/tsconfig.lib.json similarity index 100% rename from packages/plugins/efp/tsconfig.lib.json rename to packages/@justweb3/efp-plugin/tsconfig.lib.json diff --git a/packages/plugins/efp/tsconfig.spec.json b/packages/@justweb3/efp-plugin/tsconfig.spec.json similarity index 100% rename from packages/plugins/efp/tsconfig.spec.json rename to packages/@justweb3/efp-plugin/tsconfig.spec.json diff --git a/packages/plugins/efp/tsconfig.storybook.json b/packages/@justweb3/efp-plugin/tsconfig.storybook.json similarity index 100% rename from packages/plugins/efp/tsconfig.storybook.json rename to packages/@justweb3/efp-plugin/tsconfig.storybook.json diff --git a/packages/plugins/efp/typedoc.json b/packages/@justweb3/efp-plugin/typedoc.json similarity index 100% rename from packages/plugins/efp/typedoc.json rename to packages/@justweb3/efp-plugin/typedoc.json diff --git a/packages/plugins/efp/update-package-json.js b/packages/@justweb3/efp-plugin/update-package-json.js similarity index 100% rename from packages/plugins/efp/update-package-json.js rename to packages/@justweb3/efp-plugin/update-package-json.js diff --git a/packages/@justweb3/ui/project.json b/packages/@justweb3/ui/project.json index 4bf3d02a..e180d0d0 100644 --- a/packages/@justweb3/ui/project.json +++ b/packages/@justweb3/ui/project.json @@ -42,7 +42,8 @@ ], "cwd": "packages/@justweb3/ui", "parallel": false - } + }, + "dependsOn": ["^build"] }, "buildProject": { "executor": "@nx/rollup:rollup", diff --git a/packages/@justweb3/widget/project.json b/packages/@justweb3/widget/project.json index 571f8434..05e3fa8d 100644 --- a/packages/@justweb3/widget/project.json +++ b/packages/@justweb3/widget/project.json @@ -30,7 +30,8 @@ ], "cwd": "packages/@justweb3/widget", "parallel": false - } + }, + "dependsOn": ["^build"] }, "typedoc": { "executor": "nx:run-commands", diff --git a/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx b/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx index 82e596dd..f3f9513e 100644 --- a/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/Profile/ContentSection/index.tsx @@ -3,6 +3,7 @@ import { useAccountEnsNames, useAccountSubnames, useEnsAvatar, + useMountedAccount, } from '@justaname.id/react'; import { SanitizedRecords, SubnameRecordsRoute } from '@justaname.id/sdk'; import { @@ -47,15 +48,23 @@ const ContentSection: React.FC = ({ onEdit, plugins, }) => { + const { chainId: connectedWalletChainId } = useMountedAccount(); const { accountSubnames } = useAccountSubnames(); const { accountEnsNames } = useAccountEnsNames(); const [tab, setTab] = React.useState('Main'); const isProfileSelf = useMemo(() => { return ( - accountSubnames?.map((subname) => subname.ens).includes(fullSubname) || - accountEnsNames?.map((ens) => ens.ens).includes(fullSubname) + (accountSubnames?.map((subname) => subname.ens).includes(fullSubname) || + accountEnsNames?.map((ens) => ens.ens).includes(fullSubname)) && + chainId === connectedWalletChainId ); - }, [fullSubname, accountSubnames, accountEnsNames]); + }, [ + fullSubname, + accountSubnames, + accountEnsNames, + connectedWalletChainId, + chainId, + ]); const { createPluginApi } = useContext(PluginContext); const { sanitizeEnsImage } = useEnsAvatar(); diff --git a/packages/@justweb3/widget/src/stories/signin.stories.tsx b/packages/@justweb3/widget/src/stories/signin.stories.tsx index b8c63252..3ac55a9d 100644 --- a/packages/@justweb3/widget/src/stories/signin.stories.tsx +++ b/packages/@justweb3/widget/src/stories/signin.stories.tsx @@ -104,6 +104,7 @@ export const Example = () => { + Date: Thu, 31 Oct 2024 01:22:48 +0200 Subject: [PATCH 21/57] trial --- packages/@justweb3/efp-plugin/package.json | 2 +- yarn.lock | 611 ++++++++++++--------- 2 files changed, 338 insertions(+), 275 deletions(-) diff --git a/packages/@justweb3/efp-plugin/package.json b/packages/@justweb3/efp-plugin/package.json index 405b9468..f61dd2b8 100644 --- a/packages/@justweb3/efp-plugin/package.json +++ b/packages/@justweb3/efp-plugin/package.json @@ -2,9 +2,9 @@ "name": "@justweb3/efp-plugin", "version": "0.1.4", "dependencies": { + "@justaname.id/react": "0.3.105", "@justweb3/ui": "0.0.41", "@justweb3/widget": "0.0.41", - "@justaname.id/react": "0.3.105", "@tanstack/react-query": "^5.28.4", "axios": "^1.6.0" }, diff --git a/yarn.lock b/yarn.lock index ebca178e..33dabee0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -65,20 +65,20 @@ __metadata: linkType: hard "@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.10.4, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.16.7, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.25.9, @babel/code-frame@npm:^7.26.0": - version: 7.26.0 - resolution: "@babel/code-frame@npm:7.26.0" + version: 7.26.2 + resolution: "@babel/code-frame@npm:7.26.2" dependencies: "@babel/helper-validator-identifier": "npm:^7.25.9" js-tokens: "npm:^4.0.0" picocolors: "npm:^1.0.0" - checksum: 10c0/46f7e367714be736b52ea3c01b24f47e2102e210fb83021d1c8237d8fc511b9538909e16e2fcdbb5cb6173e0794e28624309a59014e52fcfb7bde908f5284388 + checksum: 10c0/7d79621a6849183c415486af99b1a20b84737e8c11cd55b6544f688c51ce1fd710e6d869c3dd21232023da272a79b91efb3e83b5bc2dc65c1187c5fcd1b72ea8 languageName: node linkType: hard "@babel/compat-data@npm:^7.20.5, @babel/compat-data@npm:^7.22.6, @babel/compat-data@npm:^7.25.9, @babel/compat-data@npm:^7.26.0": - version: 7.26.0 - resolution: "@babel/compat-data@npm:7.26.0" - checksum: 10c0/6325c9151a3c9b0a3a807e854a26255ef66d989bff331475a935af9bb18f160e0fffe6aed550e4e96b63f91efcd874bfbaab2a1f4a2f8d25645d712a0de590fb + version: 7.26.2 + resolution: "@babel/compat-data@npm:7.26.2" + checksum: 10c0/c9b5f3724828d17f728a778f9d66c19b55c018d0d76de6d731178cca64f182c22b71400a73bf2b65dcc4fcfe52b630088a94d5902911b54206aa90e3ffe07d12 languageName: node linkType: hard @@ -106,15 +106,15 @@ __metadata: linkType: hard "@babel/generator@npm:^7.20.0, @babel/generator@npm:^7.20.5, @babel/generator@npm:^7.22.5, @babel/generator@npm:^7.23.0, @babel/generator@npm:^7.25.9, @babel/generator@npm:^7.26.0, @babel/generator@npm:^7.7.2": - version: 7.26.0 - resolution: "@babel/generator@npm:7.26.0" + version: 7.26.2 + resolution: "@babel/generator@npm:7.26.2" dependencies: - "@babel/parser": "npm:^7.26.0" + "@babel/parser": "npm:^7.26.2" "@babel/types": "npm:^7.26.0" "@jridgewell/gen-mapping": "npm:^0.3.5" "@jridgewell/trace-mapping": "npm:^0.3.25" jsesc: "npm:^3.0.2" - checksum: 10c0/b6bb9185f19a97eaf58e04a6d39a13237076678e7ed16b6321dea914535d4bf6a8d7727c9dcb65539845aa0096b326eb67be4bab764bd74bcfd848e2eda68609 + checksum: 10c0/167ebce8977142f5012fad6bd91da51ac52bcd752f2261a54b7ab605d928aebe57e21636cdd2a9c7757e552652c68d9fcb5d40b06fcb66e02d9ee7526e118a5c languageName: node linkType: hard @@ -353,14 +353,14 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.4, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0": - version: 7.26.1 - resolution: "@babel/parser@npm:7.26.1" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.13.16, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.0, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.4, @babel/parser@npm:^7.25.9, @babel/parser@npm:^7.26.0, @babel/parser@npm:^7.26.2": + version: 7.26.2 + resolution: "@babel/parser@npm:7.26.2" dependencies: "@babel/types": "npm:^7.26.0" bin: parser: ./bin/babel-parser.js - checksum: 10c0/dc7d4e6b7eb667fa0784e7e2c3f6f92ca12ad72242f6d4311995310dae55093f02acdb595b69b0dbbf04cb61ad87156ac03186ff32eacfa35149c655bc22c14b + checksum: 10c0/751a743087b3a9172a7599f1421830d44c38f065ef781588d2bfb1c98f9b461719a226feb13c868d7a284783eee120c88ea522593118f2668f46ebfb1105c4d7 languageName: node linkType: hard @@ -1881,8 +1881,8 @@ __metadata: linkType: hard "@cypress/request@npm:^3.0.0": - version: 3.0.5 - resolution: "@cypress/request@npm:3.0.5" + version: 3.0.6 + resolution: "@cypress/request@npm:3.0.6" dependencies: aws-sign2: "npm:~0.7.0" aws4: "npm:^1.8.0" @@ -1899,10 +1899,10 @@ __metadata: performance-now: "npm:^2.1.0" qs: "npm:6.13.0" safe-buffer: "npm:^5.1.2" - tough-cookie: "npm:^4.1.3" + tough-cookie: "npm:^5.0.0" tunnel-agent: "npm:^0.6.0" uuid: "npm:^8.3.2" - checksum: 10c0/3195d59cf0457fd7dff7e7f6a29fbb4f44c483f8007f236952f726f96dabe19b7c58a4d7673d544753e54e1b3b916ae2d067144bc11d72ff7155851f557e1d2c + checksum: 10c0/24671e655768ef09b099e93fdef5bab58f501a050ddb833d0bf13a44d146e5b3359d71658daecd183d2cb37a1e56cf8aed8a736e3730a23e2383263bd87b2305 languageName: node linkType: hard @@ -3530,12 +3530,12 @@ __metadata: linkType: hard "@floating-ui/dom@npm:^1.0.0": - version: 1.6.11 - resolution: "@floating-ui/dom@npm:1.6.11" + version: 1.6.12 + resolution: "@floating-ui/dom@npm:1.6.12" dependencies: "@floating-ui/core": "npm:^1.6.0" "@floating-ui/utils": "npm:^0.2.8" - checksum: 10c0/02ef34a75a515543c772880338eea7b66724997bd5ec7cd58d26b50325709d46d480a306b84e7d5509d734434411a4bcf23af5680c2e461e6e6a8bf45d751df8 + checksum: 10c0/c67b39862175b175c6ac299ea970f17a22c7482cfdf3b1bc79313407bf0880188b022b878953fa69d3ce166ff2bd9ae57c86043e5dd800c262b470d877591b7d languageName: node linkType: hard @@ -3552,8 +3552,8 @@ __metadata: linkType: hard "@floating-ui/react@npm:^0.26.22": - version: 0.26.25 - resolution: "@floating-ui/react@npm:0.26.25" + version: 0.26.26 + resolution: "@floating-ui/react@npm:0.26.26" dependencies: "@floating-ui/react-dom": "npm:^2.1.2" "@floating-ui/utils": "npm:^0.2.8" @@ -3561,7 +3561,7 @@ __metadata: peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" - checksum: 10c0/5206b06a5963e795af2f0b0a6ac39230012263ffa38dd60158e0f0b82d43a24e6a1c005fc8556ee5fe26e6353546ffb72e54716f6bd584fdab516dc128a78995 + checksum: 10c0/9cfc850d2dcb4f9f39b6dd03571b3e158b5cb7a2857c110eef47525dd274babc0fb99915491b939bcd12814f1e231c6fca187f6fb888013a22567243e0f6765b languageName: node linkType: hard @@ -3638,11 +3638,11 @@ __metadata: linkType: hard "@hookform/resolvers@npm:^3.9.0": - version: 3.9.0 - resolution: "@hookform/resolvers@npm:3.9.0" + version: 3.9.1 + resolution: "@hookform/resolvers@npm:3.9.1" peerDependencies: react-hook-form: ^7.0.0 - checksum: 10c0/0e0e55f63abbd212cf14abbd39afad1f9b6105d6b25ce827fc651b624ed2be467ebe9b186026e0f032062db59ce2370b14e9583b436ae2d057738bdd6f04356c + checksum: 10c0/8a4056db3860b12ee30921ba352996104d6ae75ac45996d4c8b6df429e07ee73f5b87c82a22a15403789213f6f52f5fead1c2637b26ef624068b68d213362cd1 languageName: node linkType: hard @@ -4575,6 +4575,20 @@ __metadata: languageName: unknown linkType: soft +"@justweb3/efp-plugin@workspace:packages/@justweb3/efp-plugin": + version: 0.0.0-use.local + resolution: "@justweb3/efp-plugin@workspace:packages/@justweb3/efp-plugin" + dependencies: + "@justaname.id/react": "npm:0.3.105" + "@justweb3/ui": "npm:0.0.41" + "@justweb3/widget": "npm:0.0.41" + "@tanstack/react-query": "npm:^5.28.4" + axios: "npm:^1.6.0" + peerDependencies: + react: ">=17" + languageName: unknown + linkType: soft + "@justweb3/ui@npm:0.0.41, @justweb3/ui@npm:^0.0.41, @justweb3/ui@workspace:packages/@justweb3/ui": version: 0.0.0-use.local resolution: "@justweb3/ui@workspace:packages/@justweb3/ui" @@ -4989,38 +5003,38 @@ __metadata: languageName: node linkType: hard -"@module-federation/bridge-react-webpack-plugin@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/bridge-react-webpack-plugin@npm:0.6.13" +"@module-federation/bridge-react-webpack-plugin@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/bridge-react-webpack-plugin@npm:0.6.14" dependencies: - "@module-federation/sdk": "npm:0.6.13" + "@module-federation/sdk": "npm:0.6.14" "@types/semver": "npm:7.5.8" semver: "npm:7.6.3" - checksum: 10c0/8a505bf860fbcd7dd322f4b4a94b809ffa0ee1db82b6b1c68bbbcf490694c1d326ecbf04635add257e1cb8d029cd468d4aa06d8893c74ec8d09aaa13006deeea + checksum: 10c0/815c525397387d86a13f5a18567f34a58dbbb6d0fcd3cacd4dfb6f89f18e9b55e6449920b4009e574f32c8831d10e7318e9ff18825b25a8e71fec04088f102eb languageName: node linkType: hard -"@module-federation/data-prefetch@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/data-prefetch@npm:0.6.13" +"@module-federation/data-prefetch@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/data-prefetch@npm:0.6.14" dependencies: - "@module-federation/runtime": "npm:0.6.13" - "@module-federation/sdk": "npm:0.6.13" + "@module-federation/runtime": "npm:0.6.14" + "@module-federation/sdk": "npm:0.6.14" fs-extra: "npm:9.1.0" peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 10c0/e4e0e43396cff808b86dcbc49ea58438fe93fb587a01a73c7d8ad4d76c9976cb7b4d2df0b031a1bdd2c090e683cf58baffd2708e529b40e5d1eed325dc9dd95b + checksum: 10c0/4d08c8f4184371bb5866ce821ca723f7dd2f9a50b197820881e68aa9747eb502410b0a269327955111f82bece30a94c602d3c72721490579c623ef22e76976c1 languageName: node linkType: hard -"@module-federation/dts-plugin@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/dts-plugin@npm:0.6.13" +"@module-federation/dts-plugin@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/dts-plugin@npm:0.6.14" dependencies: - "@module-federation/managers": "npm:0.6.13" - "@module-federation/sdk": "npm:0.6.13" - "@module-federation/third-party-dts-extractor": "npm:0.6.13" + "@module-federation/managers": "npm:0.6.14" + "@module-federation/sdk": "npm:0.6.14" + "@module-federation/third-party-dts-extractor": "npm:0.6.14" adm-zip: "npm:^0.5.10" ansi-colors: "npm:^4.1.3" axios: "npm:^1.7.4" @@ -5039,22 +5053,22 @@ __metadata: peerDependenciesMeta: vue-tsc: optional: true - checksum: 10c0/a2fb3bb0cb9044ac68ec6ffeafac133ddd3101cb39b61b6b1b8c14e0ffac39be83c3f960a939c46fc6f90c5e0014f89518b01100ccf1ec53b96281ce7c6858d9 + checksum: 10c0/74b7b0d00b9248d4c210e77fae3b8e946aa392b4a3afbcf51ae2cbbcc7c4038b7924d3bbef0398999fffc9219a405b768c276b77ec00ea8b5dd8257004881e3a languageName: node linkType: hard "@module-federation/enhanced@npm:^0.6.0, @module-federation/enhanced@npm:~0.6.0": - version: 0.6.13 - resolution: "@module-federation/enhanced@npm:0.6.13" - dependencies: - "@module-federation/bridge-react-webpack-plugin": "npm:0.6.13" - "@module-federation/data-prefetch": "npm:0.6.13" - "@module-federation/dts-plugin": "npm:0.6.13" - "@module-federation/managers": "npm:0.6.13" - "@module-federation/manifest": "npm:0.6.13" - "@module-federation/rspack": "npm:0.6.13" - "@module-federation/runtime-tools": "npm:0.6.13" - "@module-federation/sdk": "npm:0.6.13" + version: 0.6.14 + resolution: "@module-federation/enhanced@npm:0.6.14" + dependencies: + "@module-federation/bridge-react-webpack-plugin": "npm:0.6.14" + "@module-federation/data-prefetch": "npm:0.6.14" + "@module-federation/dts-plugin": "npm:0.6.14" + "@module-federation/managers": "npm:0.6.14" + "@module-federation/manifest": "npm:0.6.14" + "@module-federation/rspack": "npm:0.6.14" + "@module-federation/runtime-tools": "npm:0.6.14" + "@module-federation/sdk": "npm:0.6.14" btoa: "npm:^1.2.1" upath: "npm:2.0.1" peerDependencies: @@ -5068,44 +5082,44 @@ __metadata: optional: true webpack: optional: true - checksum: 10c0/3e9efae33654daaccc6b472c30833231d545730b8c96951f908af5caf218e1e69a6e182de80f46a557dae1b1f366ef9893994fec77e31d95aba797292a829125 + checksum: 10c0/5f1a18b108a8e77cac8f2dae89fcbcbf4897ebf4a0f693afdd251b42591680d67c707f81cfe6c9a68efe9ebd4ce4fd8bcc1e5e02f0fb5d23ff4a6d995ca94b2f languageName: node linkType: hard -"@module-federation/managers@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/managers@npm:0.6.13" +"@module-federation/managers@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/managers@npm:0.6.14" dependencies: - "@module-federation/sdk": "npm:0.6.13" + "@module-federation/sdk": "npm:0.6.14" find-pkg: "npm:2.0.0" fs-extra: "npm:9.1.0" - checksum: 10c0/77fa366f1234119da2b9aa7a8a9e7b4aa49f06c05924c5e63965e451d8f0d32bfd3024309523fdb9136c61c10c232cff7cc33d0d1a54687aa8a76038ebac1b39 + checksum: 10c0/cabb9b94acef8d3f118ab5afd2e306acdb9b5229a9564187c2bcb888e4e51115769fbbd6405a5e985c41e2b71da12339e93f8bcecba648c4d4bbf8060ec9700b languageName: node linkType: hard -"@module-federation/manifest@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/manifest@npm:0.6.13" +"@module-federation/manifest@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/manifest@npm:0.6.14" dependencies: - "@module-federation/dts-plugin": "npm:0.6.13" - "@module-federation/managers": "npm:0.6.13" - "@module-federation/sdk": "npm:0.6.13" + "@module-federation/dts-plugin": "npm:0.6.14" + "@module-federation/managers": "npm:0.6.14" + "@module-federation/sdk": "npm:0.6.14" chalk: "npm:3.0.0" find-pkg: "npm:2.0.0" - checksum: 10c0/27e145b073ae8918f2ed4e8269dee0da2a3db59f49492e038269d3b85435ddd42ed201aa67e7e9b6be2a645dfaa02c8109f7f16bdd44c869aa3fc157ec2f04dd + checksum: 10c0/6e7bf238747232093cc1a1ce716f1bc0c6c1487b83c0127f46482caa77811ea1d74d73ba6da2e358e1f6b7b6092c183a5d1d7e1e5055ce9597e5df34163426e7 languageName: node linkType: hard -"@module-federation/rspack@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/rspack@npm:0.6.13" +"@module-federation/rspack@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/rspack@npm:0.6.14" dependencies: - "@module-federation/bridge-react-webpack-plugin": "npm:0.6.13" - "@module-federation/dts-plugin": "npm:0.6.13" - "@module-federation/managers": "npm:0.6.13" - "@module-federation/manifest": "npm:0.6.13" - "@module-federation/runtime-tools": "npm:0.6.13" - "@module-federation/sdk": "npm:0.6.13" + "@module-federation/bridge-react-webpack-plugin": "npm:0.6.14" + "@module-federation/dts-plugin": "npm:0.6.14" + "@module-federation/managers": "npm:0.6.14" + "@module-federation/manifest": "npm:0.6.14" + "@module-federation/runtime-tools": "npm:0.6.14" + "@module-federation/sdk": "npm:0.6.14" peerDependencies: typescript: ^4.9.0 || ^5.0.0 vue-tsc: ">=1.0.24" @@ -5114,54 +5128,56 @@ __metadata: optional: true vue-tsc: optional: true - checksum: 10c0/fd129c24b82a738b08f95dfb48fc5e0cf4fc219cd8363933680c8f1671843de64dfb4752cd9b06564407b4cefa08d247b1a961bc95226c88e728eca9008f68ac + checksum: 10c0/78b361ae2f7c88cf77ea52ab8dcd6f2c52315857caaf880e4451bbb705221f07f5b3ed6ca7c1ce8fd098bd9fa5193045cea2ce8a2e62b4c92301d0c71a155f9b languageName: node linkType: hard -"@module-federation/runtime-tools@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/runtime-tools@npm:0.6.13" +"@module-federation/runtime-tools@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/runtime-tools@npm:0.6.14" dependencies: - "@module-federation/runtime": "npm:0.6.13" - "@module-federation/webpack-bundler-runtime": "npm:0.6.13" - checksum: 10c0/0dce8a716a741e7add50c2fdfe56659529d6ed1e57fa3977908560ddfcd8924e5068f81767fe565c62e82b309367e9281c7f883d0bc1a8c4ae7b9a9a79114bfd + "@module-federation/runtime": "npm:0.6.14" + "@module-federation/webpack-bundler-runtime": "npm:0.6.14" + checksum: 10c0/f36c207bb24b568283939037ea413e936d806d4a1ad534eeb46467990fa78379d6ba19f2479fc41c704f63065fb282398c3a74e5c0a8b55626b51c43a8175819 languageName: node linkType: hard -"@module-federation/runtime@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/runtime@npm:0.6.13" +"@module-federation/runtime@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/runtime@npm:0.6.14" dependencies: - "@module-federation/sdk": "npm:0.6.13" - checksum: 10c0/5801d73ee40c61fd54d156f0c897fe2d5686b4bcf48275bc4ce26077869cefcff7345dc14f649f6f572d1a9606056fe6f380a7beb7391381625529df59bb9b85 + "@module-federation/sdk": "npm:0.6.14" + checksum: 10c0/f790b95a0830c1125a5d9ecd86dd75428614b2d0ab4508c5d0c8320c7e8d856bf22faa676f4dcacb9e7ad0853fed76860966d25b5ce182f728c45576245331d8 languageName: node linkType: hard -"@module-federation/sdk@npm:0.6.13, @module-federation/sdk@npm:^0.6.0": - version: 0.6.13 - resolution: "@module-federation/sdk@npm:0.6.13" - checksum: 10c0/2f68db23bb1c44796d457603de9d21f94263ff4aa0633b4f7600ab073c94bd84ea025397c7fa1c90ef270347e5e74c1459465db4681e9eac129cf23242eb1af8 +"@module-federation/sdk@npm:0.6.14, @module-federation/sdk@npm:^0.6.0": + version: 0.6.14 + resolution: "@module-federation/sdk@npm:0.6.14" + dependencies: + isomorphic-rslog: "npm:0.0.4" + checksum: 10c0/ed6850a955e632cfd6aa0a313c7ee7b93dd93fdddfc1a4925895e7454923964e01c1fd1825aad346732c3160eef7373ff86f2fba3fc4c1a298ffab1a8863f623 languageName: node linkType: hard -"@module-federation/third-party-dts-extractor@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/third-party-dts-extractor@npm:0.6.13" +"@module-federation/third-party-dts-extractor@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/third-party-dts-extractor@npm:0.6.14" dependencies: find-pkg: "npm:2.0.0" fs-extra: "npm:9.1.0" resolve: "npm:1.22.8" - checksum: 10c0/6ab80fb07dfae0ced332c887b5283b3a90800c0122319fdc40c231892e265a22ab53216222a2dec8367d07dab184e267f5b959aaad3b78c0cd0385d1abdd69bd + checksum: 10c0/a4f29572dfccded0c86a6e4c3c793b6880b497e1742abc32248a6f3879e51c125bb41f73db9fba9008e46fd4795f88f9ec90063548e8fa07cd3a6173d471c865 languageName: node linkType: hard -"@module-federation/webpack-bundler-runtime@npm:0.6.13": - version: 0.6.13 - resolution: "@module-federation/webpack-bundler-runtime@npm:0.6.13" +"@module-federation/webpack-bundler-runtime@npm:0.6.14": + version: 0.6.14 + resolution: "@module-federation/webpack-bundler-runtime@npm:0.6.14" dependencies: - "@module-federation/runtime": "npm:0.6.13" - "@module-federation/sdk": "npm:0.6.13" - checksum: 10c0/7ed60ec2d169cac0322617f12c1823fdb50bea682f007a73c40388a96555c8396bbf0895147ff0aade7ed653a6259065d2849deea762d3aa1d3e95fcdb2c7e55 + "@module-federation/runtime": "npm:0.6.14" + "@module-federation/sdk": "npm:0.6.14" + checksum: 10c0/bd07061bbf7c90a3c5f7f7356af9caee1c4de7f2c2f506bb5675ce2f32a6a9152c73d000dc6d9459b4befb567f7d99a25bcdf22d737b143483d783bc3f0544cd languageName: node linkType: hard @@ -6805,18 +6821,18 @@ __metadata: languageName: node linkType: hard -"@privy-io/api-base@npm:1.3.2, @privy-io/api-base@npm:^1.3.2": - version: 1.3.2 - resolution: "@privy-io/api-base@npm:1.3.2" +"@privy-io/api-base@npm:1.4.0, @privy-io/api-base@npm:^1.4.0": + version: 1.4.0 + resolution: "@privy-io/api-base@npm:1.4.0" dependencies: zod: "npm:^3.21.4" - checksum: 10c0/5d5f1bded97834c3618fcd1bdcf4da7a6107b2ec6ef6cbee8d8ade7478b39bc3aa4a432b8b20237f9b6dcfc9a0164e82a1fead505b45e58ab90157d78028c394 + checksum: 10c0/ca042349090468053904113c3d9ccd9213b026385358a57b9d1cd74a91f3f26e476bac9df21eafb007054d9805ae7d23ef07ae0c32adb87be829c7aabcb254d9 languageName: node linkType: hard -"@privy-io/js-sdk-core@npm:0.29.3": - version: 0.29.3 - resolution: "@privy-io/js-sdk-core@npm:0.29.3" +"@privy-io/js-sdk-core@npm:0.30.2": + version: 0.30.2 + resolution: "@privy-io/js-sdk-core@npm:0.30.2" dependencies: "@ethersproject/abstract-signer": "npm:^5.7.0" "@ethersproject/bignumber": "npm:^5.7.0" @@ -6824,8 +6840,8 @@ __metadata: "@ethersproject/providers": "npm:^5.7.2" "@ethersproject/transactions": "npm:^5.7.0" "@ethersproject/units": "npm:^5.7.0" - "@privy-io/api-base": "npm:^1.3.2" - "@privy-io/public-api": "npm:2.11.2" + "@privy-io/api-base": "npm:^1.4.0" + "@privy-io/public-api": "npm:2.11.5" eventemitter3: "npm:^5.0.1" fetch-retry: "npm:^5.0.6" jose: "npm:^4.15.5" @@ -6833,26 +6849,26 @@ __metadata: libphonenumber-js: "npm:^1.10.44" set-cookie-parser: "npm:^2.6.0" uuid: "npm:>=8 <10" - checksum: 10c0/c27dff5f8a5f0139d9b67971c94146d14bf1b949378e57bac3655bd3cc4929c0686f8b0e6047a7db44ca84853e72a01b333f214e81f449dbf2d45f5f0101c4c2 + checksum: 10c0/721b09e0fe310690b21f802d55bc7add36983e7086c1136c90c6e04605b0bc311b2aa0da23196a289d48765c4398c4c924a7d41dad292a2b1d89214451f7bea8 languageName: node linkType: hard -"@privy-io/public-api@npm:2.11.2": - version: 2.11.2 - resolution: "@privy-io/public-api@npm:2.11.2" +"@privy-io/public-api@npm:2.11.5": + version: 2.11.5 + resolution: "@privy-io/public-api@npm:2.11.5" dependencies: - "@privy-io/api-base": "npm:1.3.2" + "@privy-io/api-base": "npm:1.4.0" bs58: "npm:^5.0.0" ethers: "npm:^5.7.2" libphonenumber-js: "npm:^1.10.31" zod: "npm:^3.22.4" - checksum: 10c0/a921d964778925bac8521acbbd64c7e0bf97790bf44ff657bc07b786aa63917ce279513c95858f9667d286e21dafc0a2f9fd1c0d4db621d3a54c3b1128f70012 + checksum: 10c0/34d3946b5ccaa21d945d0d735ba9edb3ba7367564c9b4267a8e56af33999a112cf026f879b20e59c8f2b41ce0895c80fe9b337f6e9a02c2d5f3de80b217006c9 languageName: node linkType: hard "@privy-io/react-auth@npm:^1.82.0": - version: 1.92.2 - resolution: "@privy-io/react-auth@npm:1.92.2" + version: 1.92.5 + resolution: "@privy-io/react-auth@npm:1.92.5" dependencies: "@coinbase/wallet-sdk": "npm:4.0.3" "@ethersproject/abstract-signer": "npm:^5.7.0" @@ -6870,7 +6886,7 @@ __metadata: "@heroicons/react": "npm:^2.1.1" "@marsidev/react-turnstile": "npm:^0.4.1" "@metamask/eth-sig-util": "npm:^6.0.0" - "@privy-io/js-sdk-core": "npm:0.29.3" + "@privy-io/js-sdk-core": "npm:0.30.2" "@simplewebauthn/browser": "npm:^9.0.1" "@solana/wallet-adapter-base": "npm:^0.9.23" "@solana/wallet-standard-wallet-adapter-base": "npm:^1.1.2" @@ -6898,7 +6914,7 @@ __metadata: stylis: "npm:^4.3.4" tinycolor2: "npm:^1.6.0" uuid: "npm:>=8 <10" - viem: "npm:^2.21.3" + viem: "npm:^2.21.9" web3-core: "npm:^1.8.0" web3-core-helpers: "npm:^1.8.0" peerDependencies: @@ -6908,7 +6924,7 @@ __metadata: peerDependenciesMeta: "@solana/web3.js": optional: true - checksum: 10c0/369c51c04b2bb40e3ad7868cf1a5111e3abd83a416fea5ca016c27e1bfd20f7f172e1c4ff5b39436c165466c488f9e8e27fffa62852284fc5501fb0ac43dd1d5 + checksum: 10c0/7791a992734ff2ff9baf0aa7000ccc9f17e01e1a2832d721d2b52fc811ade7480c507d557a330feccf7ca7052ba022bbbd2eafc4d7aca0ae33622c044d2ecb46 languageName: node linkType: hard @@ -8338,128 +8354,128 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.2" +"@rollup/rollup-android-arm-eabi@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.24.3" conditions: os=android & cpu=arm languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-android-arm64@npm:4.24.2" +"@rollup/rollup-android-arm64@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-android-arm64@npm:4.24.3" conditions: os=android & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-darwin-arm64@npm:4.24.2" +"@rollup/rollup-darwin-arm64@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-darwin-arm64@npm:4.24.3" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-darwin-x64@npm:4.24.2" +"@rollup/rollup-darwin-x64@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-darwin-x64@npm:4.24.3" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-freebsd-arm64@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-freebsd-arm64@npm:4.24.2" +"@rollup/rollup-freebsd-arm64@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-freebsd-arm64@npm:4.24.3" conditions: os=freebsd & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-freebsd-x64@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-freebsd-x64@npm:4.24.2" +"@rollup/rollup-freebsd-x64@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-freebsd-x64@npm:4.24.3" conditions: os=freebsd & cpu=x64 languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.2" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.24.3" conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.2" +"@rollup/rollup-linux-arm-musleabihf@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.24.3" conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.2" +"@rollup/rollup-linux-arm64-gnu@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.24.3" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.2" +"@rollup/rollup-linux-arm64-musl@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.24.3" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.2" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.24.3" conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.2" +"@rollup/rollup-linux-riscv64-gnu@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.24.3" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.2" +"@rollup/rollup-linux-s390x-gnu@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.24.3" conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.2" +"@rollup/rollup-linux-x64-gnu@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.24.3" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.2" +"@rollup/rollup-linux-x64-musl@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.24.3" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.2" +"@rollup/rollup-win32-arm64-msvc@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.24.3" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.2" +"@rollup/rollup-win32-ia32-msvc@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.24.3" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.24.2": - version: 4.24.2 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.2" +"@rollup/rollup-win32-x64-msvc@npm:4.24.3": + version: 4.24.3 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.24.3" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -10699,7 +10715,7 @@ __metadata: languageName: node linkType: hard -"@swc/jest@npm:0.2.36, @swc/jest@npm:^0.2.23": +"@swc/jest@npm:0.2.36": version: 0.2.36 resolution: "@swc/jest@npm:0.2.36" dependencies: @@ -10712,6 +10728,19 @@ __metadata: languageName: node linkType: hard +"@swc/jest@npm:^0.2.23": + version: 0.2.37 + resolution: "@swc/jest@npm:0.2.37" + dependencies: + "@jest/create-cache-key-function": "npm:^29.7.0" + "@swc/counter": "npm:^0.1.3" + jsonc-parser: "npm:^3.2.0" + peerDependencies: + "@swc/core": "*" + checksum: 10c0/abe10d87610bf7c172aa7ab14c64599a22e48c1f43a09d6e22733f85f25fb98e57cb4bb58b9554e60a3ac8629be559bd967d7a8601a3ceaacad618aecccebec2 + languageName: node + linkType: hard + "@swc/types@npm:^0.1.13, @swc/types@npm:^0.1.8": version: 0.1.13 resolution: "@swc/types@npm:0.1.13" @@ -11453,9 +11482,9 @@ __metadata: linkType: hard "@types/lodash@npm:^4.14.167, @types/lodash@npm:^4.14.175": - version: 4.17.12 - resolution: "@types/lodash@npm:4.17.12" - checksum: 10c0/106008f628ea3c74ed7ee7842dee79e230c84e3721ac38c293700031adb5bd130113048c22f476dbde0d0c119506b0fc447d4bd62eca922682d11e00e1377967 + version: 4.17.13 + resolution: "@types/lodash@npm:4.17.13" + checksum: 10c0/c3d0b7efe7933ac0369b99f2f7bff9240d960680fdb74b41ed4bd1b3ca60cca1e31fe4046d9abbde778f941a41bc2a75eb629abf8659fa6c27b66efbbb0802a9 languageName: node linkType: hard @@ -11525,11 +11554,11 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:^22.0.0, @types/node@npm:^22.5.5": - version: 22.8.1 - resolution: "@types/node@npm:22.8.1" + version: 22.8.4 + resolution: "@types/node@npm:22.8.4" dependencies: undici-types: "npm:~6.19.8" - checksum: 10c0/83550fdf72a7db5b55eceac3f4fb038844eaee20202bdd2297a8248370cfa08317bda1605b781a8043eda4f173b75e73632e652fc85509eb14dfef78fa17337f + checksum: 10c0/f88d030480630194a9168772462ec09b2d86454f34368c46d2b7fda5dc6e14594b1576fcc5c35cc53b57a4d1e8dd2865a85ae81f34ded0d1af753a0f5d294c25 languageName: node linkType: hard @@ -11557,20 +11586,20 @@ __metadata: linkType: hard "@types/node@npm:^18.0.0, @types/node@npm:^18.7.16": - version: 18.19.59 - resolution: "@types/node@npm:18.19.59" + version: 18.19.61 + resolution: "@types/node@npm:18.19.61" dependencies: undici-types: "npm:~5.26.4" - checksum: 10c0/6ef007a560b505eea8285f84cd9f689c6ec209ec15462bbc0a5cc9b69d19bcc6e0795ef74cd4edc77aac8d52001a49969f94a3cb4b26ff5987da943b835b9456 + checksum: 10c0/a75a9f25f6012f65242ccd79c70d9f49c8e716d276a024a6557b93b2cc2a4921cdce7afd34681395051be6e860e1bbfea7e93c097bf1c71fb921d10e14ddffc6 languageName: node linkType: hard "@types/node@npm:^20.12.4": - version: 20.17.1 - resolution: "@types/node@npm:20.17.1" + version: 20.17.3 + resolution: "@types/node@npm:20.17.3" dependencies: undici-types: "npm:~6.19.2" - checksum: 10c0/214cf1fffff9c80ae0d49d7dd1f04254215d49711276fff44ff6f61e36dc8d53520509a88add6955fe029b2259c87eaf284b43bc1236d4f4f06bd80c46f0e2b8 + checksum: 10c0/31e5076665e906fd5c04fbe840976947fdacb6e69613fde4b129778d54b7447999a96300d5c12f04cc177875b8d1e4c8f9f8fe604cab484efdfc1e33184a695b languageName: node linkType: hard @@ -13181,36 +13210,36 @@ __metadata: linkType: hard "@wallet-standard/app@npm:^1.0.1": - version: 1.0.1 - resolution: "@wallet-standard/app@npm:1.0.1" + version: 1.1.0 + resolution: "@wallet-standard/app@npm:1.1.0" dependencies: - "@wallet-standard/base": "npm:^1.0.1" - checksum: 10c0/4652babe9c7eb26791a13ec3c8f9700d52dd8cfb03a26906b8ad63de5962dca9d67bbab0e32ecc64beab7ea042dca8aa1bec81a50ae6aac4f1e9d2b6b74ce563 + "@wallet-standard/base": "npm:^1.1.0" + checksum: 10c0/04650f92d512493f4556cbf48e49626745a0fe55633b03a96d99698e415d5e66114733ba3cff25867b9f89ef607f5755b0ad964a914e8b43f94df508be6998d0 languageName: node linkType: hard -"@wallet-standard/base@npm:^1.0.1": - version: 1.0.1 - resolution: "@wallet-standard/base@npm:1.0.1" - checksum: 10c0/16d38671219f7f931ee6823cbbd199948849fb1931cb8da26a5eab6545a9085a608ba22b7dccb8ac3075b7017df4eb3031b1162c72bbaac653a4f1afc0d1ad71 +"@wallet-standard/base@npm:^1.0.1, @wallet-standard/base@npm:^1.1.0": + version: 1.1.0 + resolution: "@wallet-standard/base@npm:1.1.0" + checksum: 10c0/4cae344d5a74ba4b7d063b649b191f2267bd11ea9573ebb9e78874163c03b58e3ec531bb296d0a8d7941bc09231761d97afb4c6ca8c0dc399c81d39884b4e408 languageName: node linkType: hard "@wallet-standard/features@npm:^1.0.3": - version: 1.0.3 - resolution: "@wallet-standard/features@npm:1.0.3" + version: 1.1.0 + resolution: "@wallet-standard/features@npm:1.1.0" dependencies: - "@wallet-standard/base": "npm:^1.0.1" - checksum: 10c0/d243442da3e86c5610226a7fb67a71fe6b7737d771cbeafe5ffbac4b5c938925c4edc22751f5a910148fe9e18dcfcaee3327170e622d77fbce324f6feebfd63f + "@wallet-standard/base": "npm:^1.1.0" + checksum: 10c0/9df265b02c0ed7a19da6410e8379baba701f51486324b0eefb0f79f988cc7114dc3b8c97dc1250f76bb546706d242413d99e45c4fc55f67778850366e885d047 languageName: node linkType: hard "@wallet-standard/wallet@npm:^1.0.1": - version: 1.0.1 - resolution: "@wallet-standard/wallet@npm:1.0.1" + version: 1.1.0 + resolution: "@wallet-standard/wallet@npm:1.1.0" dependencies: - "@wallet-standard/base": "npm:^1.0.1" - checksum: 10c0/4aaecb40ef56a49918a9629a1bc7848ab0d642e2e53811c7369e63186d2f02487d0317d6f28a52c17ef26270e308c6fb86288ce3ec984645fb37929e1bc59b8c + "@wallet-standard/base": "npm:^1.1.0" + checksum: 10c0/aa53460568f209d4e38030ee5e98d4f6ea6fec159a1e7fb5a3ee81cf8d91c89f0be86b7188dbf0bb9803d10608bf88bd824f73cd6800823279738827304038e5 languageName: node linkType: hard @@ -16092,9 +16121,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001579, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669": - version: 1.0.30001673 - resolution: "caniuse-lite@npm:1.0.30001673" - checksum: 10c0/0e73a2b0f06973052e563dec9990a6fd440d510fa2ff54fa50310e736abb86e96c96b43c10e609fc22f2109f98fe76428b70441baf6b1a49f69ccf50c1879f6b + version: 1.0.30001675 + resolution: "caniuse-lite@npm:1.0.30001675" + checksum: 10c0/95196bb508a35fa4e2bd1cb2458450cc73a71ed6aea034cd7e8831d569d4f6a2a78d63de75b5a00af5ef4dbf3f1c26b5841d270cb71556fdcd34c3b84c1b164f languageName: node linkType: hard @@ -16338,8 +16367,8 @@ __metadata: linkType: hard "chromatic@npm:^11.4.0": - version: 11.16.1 - resolution: "chromatic@npm:11.16.1" + version: 11.16.3 + resolution: "chromatic@npm:11.16.3" peerDependencies: "@chromatic-com/cypress": ^0.*.* || ^1.0.0 "@chromatic-com/playwright": ^0.*.* || ^1.0.0 @@ -16352,7 +16381,7 @@ __metadata: chroma: dist/bin.js chromatic: dist/bin.js chromatic-cli: dist/bin.js - checksum: 10c0/bd0b5ba68d44a9947677690e9fc72bcf76c4b4069580ed763900befd207e20baad22f45a9a1e46468ddeb6f0f867a33ee37149041c66991d088ca2cfb8c3fa42 + checksum: 10c0/407e8c78ea8cea7a47ea427fe76380d5033dc3be3928b5d3537b81aa0f617db4944d7c1a377705e83900b6bb78ca6d7cbeb55ea4ebf2154f0739c15fc605b3b5 languageName: node linkType: hard @@ -18840,9 +18869,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.41": - version: 1.5.47 - resolution: "electron-to-chromium@npm:1.5.47" - checksum: 10c0/5f8c4a9f0698695960f7bef5242d52b1043020ce50b51fb534409a768847f9bdc9672cb4a6a560eeb8f8b47a04327ae9b31b2cee376cb637b3eb04a4daeaa3b8 + version: 1.5.49 + resolution: "electron-to-chromium@npm:1.5.49" + checksum: 10c0/7b22141c7ebea2f49b87adcbe2b353919abbe44066c50e5e44dd47759c4ef07f0a802b9fc8ce2eaa832a293945b6d49064c859f0fef36d10c12fb46af2c1005d languageName: node linkType: hard @@ -18892,30 +18921,30 @@ __metadata: linkType: hard "embla-carousel-react@npm:^8.3.0": - version: 8.3.0 - resolution: "embla-carousel-react@npm:8.3.0" + version: 8.3.1 + resolution: "embla-carousel-react@npm:8.3.1" dependencies: - embla-carousel: "npm:8.3.0" - embla-carousel-reactive-utils: "npm:8.3.0" + embla-carousel: "npm:8.3.1" + embla-carousel-reactive-utils: "npm:8.3.1" peerDependencies: - react: ^16.8.0 || ^17.0.1 || ^18.0.0 - checksum: 10c0/ee3492dfbc900391c8137cca2f55c403307e3dd121a77ea3bbacca33afb82715647eaae5a6d6cc25590284892e45c75e70ab5bb033ebc20016a1972333104dc6 + react: ^16.8.0 || ^17.0.1 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc + checksum: 10c0/9ba15d3e322210b0dc2a961ef7e49d07ffc6e09b28a3f44277b1463930ed06b4bf277bef9156b122b7ddf2c10681f8dd464433336fd629c1159f94487d49efdb languageName: node linkType: hard -"embla-carousel-reactive-utils@npm:8.3.0": - version: 8.3.0 - resolution: "embla-carousel-reactive-utils@npm:8.3.0" +"embla-carousel-reactive-utils@npm:8.3.1": + version: 8.3.1 + resolution: "embla-carousel-reactive-utils@npm:8.3.1" peerDependencies: - embla-carousel: 8.3.0 - checksum: 10c0/64769d7b5d0169f7cda810d909b446ccd47b28afbcb205196c0e1799c51ebbefaa71465cabd6bc5ab92bad78da99fdf2808dc8e1a3f3f18a7e428ae2e0136a0e + embla-carousel: 8.3.1 + checksum: 10c0/33f83150bba95355c0ab2ec9686d0eb035d66ffeb40cb0c04d3ea7754c58011cd99d05795e11520bb28a5e9040c5385d59ea58591d5ab7a9d22ada05221ba939 languageName: node linkType: hard -"embla-carousel@npm:8.3.0": - version: 8.3.0 - resolution: "embla-carousel@npm:8.3.0" - checksum: 10c0/0240156d6a736603d82ddfe93b03ce296e385e9c18ed2cca9465634c8adb7560bfc2fbef6368a4da2a54926c4ba6de1012ebb33d2fc92c052030ea2288e4cc92 +"embla-carousel@npm:8.3.1": + version: 8.3.1 + resolution: "embla-carousel@npm:8.3.1" + checksum: 10c0/2c6af7af5145913939e61e185264965b8ef008134e926eeb43b354f0df15e75d823856d95b73c7fce201150306a23752eb3115126870be68d3cd24d0e354db08 languageName: node linkType: hard @@ -20467,8 +20496,8 @@ __metadata: linkType: hard "execa@npm:^9.0.0": - version: 9.5.0 - resolution: "execa@npm:9.5.0" + version: 9.5.1 + resolution: "execa@npm:9.5.1" dependencies: "@sindresorhus/merge-streams": "npm:^4.0.0" cross-spawn: "npm:^7.0.3" @@ -20482,7 +20511,7 @@ __metadata: signal-exit: "npm:^4.1.0" strip-final-newline: "npm:^4.0.0" yoctocolors: "npm:^2.0.0" - checksum: 10c0/93bc077249a778accc019bce141e0ebdf85e1a19ea02eaa1ed00cb49436b0751a7983fee0c0d95434e81727808639c512eea8d1308104598859cac2f01336bb1 + checksum: 10c0/1a628d535c5a088f9e17a735bb3143efc4198095392b319ba877b2975d5c3c57724536dccb6f68f1cd9b3af331c5a9e8c1aeb338d52ab316b1e008ff453374a7 languageName: node linkType: hard @@ -21440,9 +21469,9 @@ __metadata: linkType: hard "flow-parser@npm:0.*": - version: 0.250.0 - resolution: "flow-parser@npm:0.250.0" - checksum: 10c0/e6f12ce3b238967d8b52d4d717ce8c8b1cd402c0c0f0dde9b31a84d12396a9d745d1460d7ae66da7e5805d8ad8e1fcff133d5657bf2b2a85b9f1cdc1d300e2ae + version: 0.251.1 + resolution: "flow-parser@npm:0.251.1" + checksum: 10c0/e52b9ae6251317e3255f804aeaa55079622e88dc2e5ff620d4974a35c19a5eb27f5781e74e8e133a05ffa4e05b60614b0668f49cb06d88d54e58b08748e5909f languageName: node linkType: hard @@ -23463,12 +23492,12 @@ __metadata: linkType: hard "input-otp@npm:^1.2.4": - version: 1.2.4 - resolution: "input-otp@npm:1.2.4" + version: 1.2.5 + resolution: "input-otp@npm:1.2.5" peerDependencies: - react: ^16.8 || ^17.0 || ^18.0 - react-dom: ^16.8 || ^17.0 || ^18.0 - checksum: 10c0/bb2cd158cb244da6e807f791261a77a6184de19580af4afba6cc1ea5ff69e675d401537f8186dd6eab7985748e8e2f0ae67c3a7edfbffe963dda029679ee2d8d + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 + checksum: 10c0/007a54776eefce08eb5a7e6c549dc7b018f692349d401917c503f8d1b55435e29263a3b395bf60327e26052fe8adb7a47478fcbd036cc8cd01e84335a531d9a4 languageName: node linkType: hard @@ -24339,6 +24368,13 @@ __metadata: languageName: node linkType: hard +"isomorphic-rslog@npm:0.0.4": + version: 0.0.4 + resolution: "isomorphic-rslog@npm:0.0.4" + checksum: 10c0/8af5332773e863fb8a10966aa052e48cbc344a39671fbde77f5ab970e4955254612f9a075a29af027433b13f57bbc0b2c4006deaaedd1ad83682cc0651483683 + languageName: node + linkType: hard + "isomorphic-timers-promises@npm:^1.0.1": version: 1.0.1 resolution: "isomorphic-timers-promises@npm:1.0.1" @@ -33724,27 +33760,27 @@ __metadata: linkType: hard "rollup@npm:^4.14.0, rollup@npm:^4.2.0, rollup@npm:^4.20.0, rollup@npm:^4.24.0": - version: 4.24.2 - resolution: "rollup@npm:4.24.2" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.24.2" - "@rollup/rollup-android-arm64": "npm:4.24.2" - "@rollup/rollup-darwin-arm64": "npm:4.24.2" - "@rollup/rollup-darwin-x64": "npm:4.24.2" - "@rollup/rollup-freebsd-arm64": "npm:4.24.2" - "@rollup/rollup-freebsd-x64": "npm:4.24.2" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.2" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.24.2" - "@rollup/rollup-linux-arm64-gnu": "npm:4.24.2" - "@rollup/rollup-linux-arm64-musl": "npm:4.24.2" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.2" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.24.2" - "@rollup/rollup-linux-s390x-gnu": "npm:4.24.2" - "@rollup/rollup-linux-x64-gnu": "npm:4.24.2" - "@rollup/rollup-linux-x64-musl": "npm:4.24.2" - "@rollup/rollup-win32-arm64-msvc": "npm:4.24.2" - "@rollup/rollup-win32-ia32-msvc": "npm:4.24.2" - "@rollup/rollup-win32-x64-msvc": "npm:4.24.2" + version: 4.24.3 + resolution: "rollup@npm:4.24.3" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.24.3" + "@rollup/rollup-android-arm64": "npm:4.24.3" + "@rollup/rollup-darwin-arm64": "npm:4.24.3" + "@rollup/rollup-darwin-x64": "npm:4.24.3" + "@rollup/rollup-freebsd-arm64": "npm:4.24.3" + "@rollup/rollup-freebsd-x64": "npm:4.24.3" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.24.3" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.24.3" + "@rollup/rollup-linux-arm64-gnu": "npm:4.24.3" + "@rollup/rollup-linux-arm64-musl": "npm:4.24.3" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.24.3" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.24.3" + "@rollup/rollup-linux-s390x-gnu": "npm:4.24.3" + "@rollup/rollup-linux-x64-gnu": "npm:4.24.3" + "@rollup/rollup-linux-x64-musl": "npm:4.24.3" + "@rollup/rollup-win32-arm64-msvc": "npm:4.24.3" + "@rollup/rollup-win32-ia32-msvc": "npm:4.24.3" + "@rollup/rollup-win32-x64-msvc": "npm:4.24.3" "@types/estree": "npm:1.0.6" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -33788,7 +33824,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10c0/265de71cf6c20854514f0be1727fab3e615aa4afde2431f705c6f535182976c645703d2a21b4d25648a0212fb26a4043f892a83bba4d73c9ea965271a2f4a50e + checksum: 10c0/32425475db7a0bcb8937f92488ee8e48f7adaff711b5b5c52d86d37114c9f21fe756e21a91312d12d30da146d33d8478a11dfeb6249dbecc54fbfcc78da46005 languageName: node linkType: hard @@ -33931,8 +33967,8 @@ __metadata: linkType: hard "sass@npm:^1.42.1": - version: 1.80.4 - resolution: "sass@npm:1.80.4" + version: 1.80.5 + resolution: "sass@npm:1.80.5" dependencies: "@parcel/watcher": "npm:^2.4.1" chokidar: "npm:^4.0.0" @@ -33940,7 +33976,7 @@ __metadata: source-map-js: "npm:>=0.6.2 <2.0.0" bin: sass: sass.js - checksum: 10c0/58ca0f2d10720cde6621ee62f4bdbb537ea2ac572c565d5f02309f8271a5e1e880ad8c163b933e52b22b3dc0550973fb5a6033a500248e6a0d89dd050c1743cf + checksum: 10c0/d592e57c037315f4c5976af3d37ce4c7758b1b4e89d064455d6992829ea59888c71b9dbc86f7fc8dca87ac98ebc9cece10e5c8fc5509bf192db81712a34fd579 languageName: node linkType: hard @@ -36315,6 +36351,24 @@ __metadata: languageName: node linkType: hard +"tldts-core@npm:^6.1.57": + version: 6.1.57 + resolution: "tldts-core@npm:6.1.57" + checksum: 10c0/0d5fa6ecb47a695a0dd83cea36335a96f04c280f93c5dff595e3559b46a96475ee75d9f76c8dd32a48e6e68bfa89c7e652dff360590f0b648d3918102f5855e1 + languageName: node + linkType: hard + +"tldts@npm:^6.1.32": + version: 6.1.57 + resolution: "tldts@npm:6.1.57" + dependencies: + tldts-core: "npm:^6.1.57" + bin: + tldts: bin/cli.js + checksum: 10c0/f35bb22167cb928da4bacb6dc8b49b8cea78b343dc9461675f939630df84f22de4e514aa56e64cedfb361cd1137132bdc37f945d51d4092aa081052e00c9d4dc + languageName: node + linkType: hard + "tmp@npm:^0.0.33": version: 0.0.33 resolution: "tmp@npm:0.0.33" @@ -36390,6 +36444,15 @@ __metadata: languageName: node linkType: hard +"tough-cookie@npm:^5.0.0": + version: 5.0.0 + resolution: "tough-cookie@npm:5.0.0" + dependencies: + tldts: "npm:^6.1.32" + checksum: 10c0/4a69c885bf6f45c5a64e60262af99e8c0d58a33bd3d0ce5da62121eeb9c00996d0128a72df8fc4614cbde59cc8b70aa3e21e4c3c98c2bbde137d7aba7fa00124 + languageName: node + linkType: hard + "tr46@npm:^3.0.0": version: 3.0.0 resolution: "tr46@npm:3.0.0" @@ -36468,11 +36531,11 @@ __metadata: linkType: hard "ts-api-utils@npm:^1.0.1, ts-api-utils@npm:^1.3.0": - version: 1.3.0 - resolution: "ts-api-utils@npm:1.3.0" + version: 1.4.0 + resolution: "ts-api-utils@npm:1.4.0" peerDependencies: typescript: ">=4.2.0" - checksum: 10c0/f54a0ba9ed56ce66baea90a3fa087a484002e807f28a8ccb2d070c75e76bde64bd0f6dce98b3802834156306050871b67eec325cb4e918015a360a3f0868c77c + checksum: 10c0/1b2bfa50ea52771d564bb143bb69010d25cda03ed573095fbac9b86f717012426443af6647e00e3db70fca60360482a30c1be7cf73c3521c321f6bf5e3594ea0 languageName: node linkType: hard @@ -37873,9 +37936,9 @@ __metadata: languageName: node linkType: hard -"viem@npm:2.x, viem@npm:^2.1.1, viem@npm:^2.21.3": - version: 2.21.35 - resolution: "viem@npm:2.21.35" +"viem@npm:2.x, viem@npm:^2.1.1, viem@npm:^2.21.9": + version: 2.21.37 + resolution: "viem@npm:2.21.37" dependencies: "@adraffy/ens-normalize": "npm:1.11.0" "@noble/curves": "npm:1.6.0" @@ -37891,7 +37954,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10c0/d35c0004aa46099c45fdde142f074da124246cf9b58304246bf29c4ddd9218a1114ebc9eae08e7907238daabee6bb870fbf72219d5655c9980cd377c8e66941d + checksum: 10c0/573bacabc42f9e6b7050ce7fe62c2a41fe878bb9659888904d9f1acbc91a051fa4a4528eafd5c04242ddba99919cd2f5fab8987f299aa2936145254fb5caa951 languageName: node linkType: hard From 0e66044eccde9a63250bedf766112a803f9845e7 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 01:34:48 +0200 Subject: [PATCH 22/57] trial --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46c886ad..cf14b746 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,5 +41,5 @@ jobs: SIWENS_PRIVATE_KEY: ${{ secrets.SIWENS_PRIVATE_KEY }} SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} - run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk --verbose - - run: npx nx affected -t build + run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --verbose + - run: npx nx affected -t build --exclude=justaname-mono-sdk,console From 1c0750a6d3d68fd17dd069908eabd69b9af33235 Mon Sep 17 00:00:00 2001 From: JustHadi <35467011+HadiKhai@users.noreply.github.com> Date: Thu, 31 Oct 2024 02:21:43 +0200 Subject: [PATCH 23/57] Trial (#42) * trial * trial * trial * trial * trial --- .github/workflows/ci.yml | 22 +++++++++---------- apps/console/project.json | 5 +---- demo/express-trial/project.json | 7 +----- demo/express-trial/tsconfig.app.json | 4 ++-- demo/express-trial/tsconfig.json | 4 ++-- packages/@justaname.id/react/project.json | 12 ++-------- packages/@justaname.id/sdk/project.json | 12 ++-------- packages/@justaname.id/siwens/project.json | 3 +-- packages/@justverified/plugin/project.json | 18 ++------------- packages/@justweb3/efp-plugin/project.json | 18 ++------------- packages/@justweb3/ui/project.json | 6 ++--- packages/@justweb3/widget/project.json | 12 ++-------- .../src/lib/dialogs/SignInDialog/index.tsx | 7 ------ 13 files changed, 30 insertions(+), 100 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf14b746..466578a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,17 +14,17 @@ jobs: with: fetch-depth: 0 - - name: Get yarn cache directory path - id: yarn-cache-dir-path - run: echo "::set-output name=dir::$(yarn cache dir)" +# - name: Get yarn cache directory path +# id: yarn-cache-dir-path +# run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v3 - id: yarn-cache - with: - path: ${{ steps.yarn-cache-dir-path.outputs.dir }} - key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.OS }}-yarn- +# - uses: actions/cache@v3 +# id: yarn-cache +# with: +# path: ${{ steps.yarn-cache-dir-path.outputs.dir }} +# key: ${{ runner.OS }}-yarn-${{ hashFiles('**/yarn.lock') }} +# restore-keys: | +# ${{ runner.OS }}-yarn- - uses: nrwl/nx-set-shas@v3 - run: yarn install - run: npx nx reset @@ -41,5 +41,5 @@ jobs: SIWENS_PRIVATE_KEY: ${{ secrets.SIWENS_PRIVATE_KEY }} SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} - run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --verbose + run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console - run: npx nx affected -t build --exclude=justaname-mono-sdk,console diff --git a/apps/console/project.json b/apps/console/project.json index 9098a1c7..a656ddd6 100644 --- a/apps/console/project.json +++ b/apps/console/project.json @@ -13,10 +13,7 @@ "root": "apps/console", "outputPath": "dist/apps/console", "config": "apps/console/next.config.js" - }, - "dependsOn": [ - "^build" - ] + } }, "serve": { "executor": "@nx/next:server", diff --git a/demo/express-trial/project.json b/demo/express-trial/project.json index caed30e5..9039387c 100644 --- a/demo/express-trial/project.json +++ b/demo/express-trial/project.json @@ -35,12 +35,7 @@ "configurations": { "development": {}, "production": {} - }, - "dependsOn": ["lint", - { - "projects": ["@justaname.id/sdk"], - "target": "build" - }] + } } }, "tags": [] diff --git a/demo/express-trial/tsconfig.app.json b/demo/express-trial/tsconfig.app.json index 6a6c89d5..aa2094dd 100644 --- a/demo/express-trial/tsconfig.app.json +++ b/demo/express-trial/tsconfig.app.json @@ -7,8 +7,8 @@ "esModuleInterop": true, "declarationMap": false, "paths": { - "@justaname.id/sdk": ["packages/@justaname.id/sdk/dist"], - "@justaname.id/siwens": ["packages/@justaname.id/siwens/dist"], + "@justaname.id/sdk": ["packages/@justaname.id/sdk"], + "@justaname.id/siwens": ["packages/@justaname.id/siwens"], } }, "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"], diff --git a/demo/express-trial/tsconfig.json b/demo/express-trial/tsconfig.json index 58986348..5330035d 100644 --- a/demo/express-trial/tsconfig.json +++ b/demo/express-trial/tsconfig.json @@ -14,8 +14,8 @@ "esModuleInterop": true, "declarationMap": false, "paths": { - "@justaname.id/sdk": ["packages/@justaname.id/sdk/dist"], - "@justaname.id/siwens": ["packages/@justaname.id/siwens/dist"] + "@justaname.id/sdk": ["packages/@justaname.id/sdk"], + "@justaname.id/siwens": ["packages/@justaname.id/siwens"] } } } diff --git a/packages/@justaname.id/react/project.json b/packages/@justaname.id/react/project.json index fd5da88c..b37c87c3 100644 --- a/packages/@justaname.id/react/project.json +++ b/packages/@justaname.id/react/project.json @@ -42,8 +42,7 @@ ], "cwd": "packages/@justaname.id/react", "parallel": false - }, - "dependsOn": ["^build"] + } }, "buildProject": { "executor": "@nx/rollup:rollup", @@ -75,14 +74,7 @@ "extractLicenses": true, "vendorChunk": false } - }, - "dependsOn": [ - "lint", - { - "dependencies": true, - "target": "build" - } - ] + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/@justaname.id/sdk/project.json b/packages/@justaname.id/sdk/project.json index ff972dec..38f55126 100644 --- a/packages/@justaname.id/sdk/project.json +++ b/packages/@justaname.id/sdk/project.json @@ -32,8 +32,7 @@ ], "cwd": "packages/@justaname.id/sdk", "parallel": false - }, - "dependsOn": ["^build"] + } }, "buildProject": { "executor": "@nx/rollup:rollup", @@ -64,14 +63,7 @@ "extractLicenses": true, "vendorChunk": false } - }, - "dependsOn": [ - "lint", - { - "dependencies": true, - "target": "build" - } - ] + } }, "publish": { "command": "node tools/scripts/publish.mjs @justaname.id/sdk {args.ver} {args.tag}", diff --git a/packages/@justaname.id/siwens/project.json b/packages/@justaname.id/siwens/project.json index 2f808971..a77cc6aa 100644 --- a/packages/@justaname.id/siwens/project.json +++ b/packages/@justaname.id/siwens/project.json @@ -64,8 +64,7 @@ "extractLicenses": true, "vendorChunk": false } - }, - "dependsOn": ["lint"] + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/@justverified/plugin/project.json b/packages/@justverified/plugin/project.json index 6dcd9439..868b3db4 100644 --- a/packages/@justverified/plugin/project.json +++ b/packages/@justverified/plugin/project.json @@ -42,8 +42,7 @@ ], "cwd": "packages/@justverified/plugin", "parallel": false - }, - "dependsOn": ["^build"] + } }, "buildProject": { "executor": "@nx/rollup:rollup", @@ -83,20 +82,7 @@ "extractLicenses": true, "vendorChunk": false } - }, - "dependsOn": [ - "lint", - { - "projects": [ - "@justaname.id/siwens", - "@justaname.id/sdk", - "@justaname.id/react", - "@justweb3/ui", - "@justweb3/widget" - ], - "target": "build" - } - ] + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/@justweb3/efp-plugin/project.json b/packages/@justweb3/efp-plugin/project.json index 9845743d..9eb3d5cf 100644 --- a/packages/@justweb3/efp-plugin/project.json +++ b/packages/@justweb3/efp-plugin/project.json @@ -42,8 +42,7 @@ ], "cwd": "packages/@justweb3/efp-plugin", "parallel": false - }, - "dependsOn": ["^build"] + } }, "buildProject": { "executor": "@nx/rollup:rollup", @@ -83,20 +82,7 @@ "extractLicenses": true, "vendorChunk": false } - }, - "dependsOn": [ - "lint", - { - "projects": [ - "@justaname.id/siwens", - "@justaname.id/sdk", - "@justaname.id/react", - "@justweb3/ui", - "@justweb3/widget" - ], - "target": "build" - } - ] + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/@justweb3/ui/project.json b/packages/@justweb3/ui/project.json index e180d0d0..fa8da63c 100644 --- a/packages/@justweb3/ui/project.json +++ b/packages/@justweb3/ui/project.json @@ -42,8 +42,7 @@ ], "cwd": "packages/@justweb3/ui", "parallel": false - }, - "dependsOn": ["^build"] + } }, "buildProject": { "executor": "@nx/rollup:rollup", @@ -73,8 +72,7 @@ "extractLicenses": true, "vendorChunk": false } - }, - "dependsOn": ["lint"] + } }, "transform:logo-linux": { "executor": "nx:run-commands", diff --git a/packages/@justweb3/widget/project.json b/packages/@justweb3/widget/project.json index 05e3fa8d..65f16c22 100644 --- a/packages/@justweb3/widget/project.json +++ b/packages/@justweb3/widget/project.json @@ -30,8 +30,7 @@ ], "cwd": "packages/@justweb3/widget", "parallel": false - }, - "dependsOn": ["^build"] + } }, "typedoc": { "executor": "nx:run-commands", @@ -83,14 +82,7 @@ "extractLicenses": true, "vendorChunk": false } - }, - "dependsOn": [ - "lint", - { - "dependencies": true, - "target": "buildProject" - } - ] + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/@justweb3/widget/src/lib/dialogs/SignInDialog/index.tsx b/packages/@justweb3/widget/src/lib/dialogs/SignInDialog/index.tsx index 22d0a70d..653f8f6d 100644 --- a/packages/@justweb3/widget/src/lib/dialogs/SignInDialog/index.tsx +++ b/packages/@justweb3/widget/src/lib/dialogs/SignInDialog/index.tsx @@ -199,13 +199,6 @@ export const SignInDialog: FC = ({ (resolver) => resolver.chainId === chainId ); - console.log( - name.ens, - resolverAddress, - offchainResolver?.resolverAddress, - name.records.resolverAddress - ); - return !( name.records.resolverAddress !== resolverAddress && name.records.resolverAddress !== offchainResolver?.resolverAddress From b29cd296460fd14995eb206221317b3d7afcb5cc Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 02:30:03 +0200 Subject: [PATCH 24/57] fix: lint fix on react and package json of projects --- packages/@justaname.id/react/.eslintrc.json | 7 ++++++- packages/@justaname.id/react/package.json | 3 +-- packages/@justweb3/efp-plugin/package.json | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/packages/@justaname.id/react/.eslintrc.json b/packages/@justaname.id/react/.eslintrc.json index e7d779bf..47e76b4c 100644 --- a/packages/@justaname.id/react/.eslintrc.json +++ b/packages/@justaname.id/react/.eslintrc.json @@ -31,7 +31,12 @@ "@nx/dependency-checks": [ "error", { - "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}"] + "ignoredFiles": [ + "{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", + "{projectRoot}/.storybook/main.{js,ts}", + "{projectRoot}/src/stories/**/*.{js,ts,jsx,tsx}", + "{projectRoot}/src/stories/**.{js,ts,jsx,tsx}" + ] } ] } diff --git a/packages/@justaname.id/react/package.json b/packages/@justaname.id/react/package.json index 163ab540..6533de74 100644 --- a/packages/@justaname.id/react/package.json +++ b/packages/@justaname.id/react/package.json @@ -5,8 +5,7 @@ "@ensdomains/ensjs": "4.0.1-alpha.0", "@justaname.id/sdk": "0.2.105", "axios": "^1.6.0", - "qs": "^6.12.0", - "vite": "~5.0.0" + "qs": "^6.12.0" }, "peerDependencies": { "@tanstack/react-query": "^5.x", diff --git a/packages/@justweb3/efp-plugin/package.json b/packages/@justweb3/efp-plugin/package.json index f61dd2b8..92bf46a6 100644 --- a/packages/@justweb3/efp-plugin/package.json +++ b/packages/@justweb3/efp-plugin/package.json @@ -2,9 +2,9 @@ "name": "@justweb3/efp-plugin", "version": "0.1.4", "dependencies": { - "@justaname.id/react": "0.3.105", - "@justweb3/ui": "0.0.41", - "@justweb3/widget": "0.0.41", + "@justaname.id/react": "0.3.108", + "@justweb3/ui": "0.0.44", + "@justweb3/widget": "0.0.44", "@tanstack/react-query": "^5.28.4", "axios": "^1.6.0" }, From 294291b435d303706f79b8c30375f4cab972081f Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 02:30:41 +0200 Subject: [PATCH 25/57] fix: lint fix on react and package json of projects --- yarn.lock | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/yarn.lock b/yarn.lock index 33dabee0..fbdf99e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4509,22 +4509,15 @@ __metadata: languageName: node linkType: hard -"@justaname.id/react@npm:0.3.105, @justaname.id/react@workspace:packages/@justaname.id/react": +"@justaname.id/react@npm:0.3.108, @justaname.id/react@workspace:packages/@justaname.id/react": version: 0.0.0-use.local resolution: "@justaname.id/react@workspace:packages/@justaname.id/react" dependencies: "@ensdomains/ensjs": "npm:4.0.1-alpha.0" - "@justaname.id/sdk": "npm:0.2.102" - "@nx/vite": "npm:19.7.3" - "@rainbow-me/rainbowkit": "npm:^2.0.2" - "@storybook/react": "npm:8.3.6" - "@storybook/react-vite": "npm:^8.3.1" - "@tanstack/react-query-devtools": "npm:^5.59.15" - "@vitejs/plugin-react": "npm:^4.2.0" + "@justaname.id/sdk": "npm:0.2.105" axios: "npm:^1.6.0" jest: "npm:^29.4.1" qs: "npm:^6.12.0" - vite: "npm:~5.0.0" peerDependencies: "@tanstack/react-query": ^5.x ethers: ^6.x @@ -4534,11 +4527,11 @@ __metadata: languageName: unknown linkType: soft -"@justaname.id/sdk@npm:0.2.102, @justaname.id/sdk@workspace:packages/@justaname.id/sdk": +"@justaname.id/sdk@npm:0.2.105, @justaname.id/sdk@workspace:packages/@justaname.id/sdk": version: 0.0.0-use.local resolution: "@justaname.id/sdk@workspace:packages/@justaname.id/sdk" dependencies: - "@justaname.id/siwens": "npm:0.0.35" + "@justaname.id/siwens": "npm:0.0.38" axios: "npm:^1.6.0" jest: "npm:^29.4.1" qs: "npm:^6.12.0" @@ -4548,7 +4541,7 @@ __metadata: languageName: unknown linkType: soft -"@justaname.id/siwens@npm:0.0.35, @justaname.id/siwens@workspace:packages/@justaname.id/siwens": +"@justaname.id/siwens@npm:0.0.38, @justaname.id/siwens@workspace:packages/@justaname.id/siwens": version: 0.0.0-use.local resolution: "@justaname.id/siwens@workspace:packages/@justaname.id/siwens" dependencies: @@ -4561,10 +4554,10 @@ __metadata: version: 0.0.0-use.local resolution: "@justverified/plugin@workspace:packages/@justverified/plugin" dependencies: - "@justaname.id/react": "npm:0.3.105" - "@justaname.id/sdk": "npm:0.2.102" - "@justweb3/ui": "npm:0.0.41" - "@justweb3/widget": "npm:0.0.41" + "@justaname.id/react": "npm:0.3.108" + "@justaname.id/sdk": "npm:0.2.105" + "@justweb3/ui": "npm:0.0.44" + "@justweb3/widget": "npm:0.0.44" axios: "npm:^1.6.0" lodash: "npm:4.17.21" moment: "npm:^2.30.1" @@ -4579,9 +4572,9 @@ __metadata: version: 0.0.0-use.local resolution: "@justweb3/efp-plugin@workspace:packages/@justweb3/efp-plugin" dependencies: - "@justaname.id/react": "npm:0.3.105" - "@justweb3/ui": "npm:0.0.41" - "@justweb3/widget": "npm:0.0.41" + "@justaname.id/react": "npm:0.3.108" + "@justweb3/ui": "npm:0.0.44" + "@justweb3/widget": "npm:0.0.44" "@tanstack/react-query": "npm:^5.28.4" axios: "npm:^1.6.0" peerDependencies: @@ -4589,7 +4582,7 @@ __metadata: languageName: unknown linkType: soft -"@justweb3/ui@npm:0.0.41, @justweb3/ui@npm:^0.0.41, @justweb3/ui@workspace:packages/@justweb3/ui": +"@justweb3/ui@npm:0.0.44, @justweb3/ui@npm:^0.0.44, @justweb3/ui@workspace:packages/@justweb3/ui": version: 0.0.0-use.local resolution: "@justweb3/ui@workspace:packages/@justweb3/ui" dependencies: @@ -4608,16 +4601,16 @@ __metadata: languageName: unknown linkType: soft -"@justweb3/widget@npm:0.0.41, @justweb3/widget@workspace:packages/@justweb3/widget": +"@justweb3/widget@npm:0.0.44, @justweb3/widget@workspace:packages/@justweb3/widget": version: 0.0.0-use.local resolution: "@justweb3/widget@workspace:packages/@justweb3/widget" dependencies: "@ensdomains/address-encoder": "npm:^1.1.2" "@ensdomains/ensjs": "npm:4.0.1-alpha.0" "@hookform/resolvers": "npm:^3.9.0" - "@justaname.id/react": "npm:0.3.105" - "@justaname.id/sdk": "npm:0.2.102" - "@justweb3/ui": "npm:^0.0.41" + "@justaname.id/react": "npm:0.3.108" + "@justaname.id/sdk": "npm:0.2.105" + "@justweb3/ui": "npm:^0.0.44" clsx: "npm:1.2.1" cropperjs: "npm:^1.6.2" lodash: "npm:4.17.21" From 892cf6441dbab282a80dcff0a1227d9fb3f780a7 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 05:06:31 +0200 Subject: [PATCH 26/57] trial --- .../react/update-package-json.js | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/packages/@justaname.id/react/update-package-json.js b/packages/@justaname.id/react/update-package-json.js index 9256823b..2741d3d2 100644 --- a/packages/@justaname.id/react/update-package-json.js +++ b/packages/@justaname.id/react/update-package-json.js @@ -10,17 +10,32 @@ packageJson.module = packageJson.module.replace('./dist/', './'); packageJson.types = packageJson.types.replace('./dist/', './'); if (packageJson.exports) { - Object.keys(packageJson.exports).forEach(key => { + Object.keys(packageJson.exports).forEach((key) => { if (typeof packageJson.exports[key] === 'string') { - packageJson.exports[key] = packageJson.exports[key].replace('./dist/', './'); + packageJson.exports[key] = packageJson.exports[key].replace( + './dist/', + './' + ); } else if (typeof packageJson.exports[key] === 'object') { - Object.keys(packageJson.exports[key]).forEach(subKey => { - packageJson.exports[key][subKey] = packageJson.exports[key][subKey].replace('./dist/', './'); + Object.keys(packageJson.exports[key]).forEach((subKey) => { + packageJson.exports[key][subKey] = packageJson.exports[key][ + subKey + ].replace('./dist/', './'); }); } }); } // Write the modified package.json to the dist folder +console.log('Writing package.json to dist folder'); +// I want to see the content of __dirname +fs.readdirSync(__dirname).forEach((file) => { + console.log(file); +}); + +fs.readdirSync(path.join(__dirname, 'dist')).forEach((file) => { + console.log(file); +}); + const distPath = path.join(__dirname, 'dist', 'package.json'); fs.writeFileSync(distPath, JSON.stringify(packageJson, null, 2)); From 6fb29aad1ff7fda0a174c7d86d25e19dd608a9c4 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 11:43:43 +0200 Subject: [PATCH 27/57] trial --- apps/console/tsconfig.json | 45 ++++-- package.json | 3 + packages/@justaname.id/react/project.json | 3 + .../react/update-package-json.js | 20 +-- packages/@justaname.id/sdk/project.json | 3 + packages/@justaname.id/siwens/project.json | 3 + packages/@justverified/plugin/project.json | 3 + packages/@justweb3/efp-plugin/project.json | 3 + packages/@justweb3/ui/project.json | 3 + packages/@justweb3/widget/project.json | 3 + yarn.lock | 134 +++++++++--------- 11 files changed, 134 insertions(+), 89 deletions(-) diff --git a/apps/console/tsconfig.json b/apps/console/tsconfig.json index 89e6457e..f6ded24c 100644 --- a/apps/console/tsconfig.json +++ b/apps/console/tsconfig.json @@ -11,22 +11,37 @@ "resolveJsonModule": true, "isolatedModules": true, "incremental": true, - "plugins": [ { "name": "next" } ], - "types": ["jest", "node"], + "types": [ + "jest", + "node" + ], "paths": { - "@justweb3/widget": ["packages/@justweb3/widget"], - "@justweb3/ui": ["packages/@justweb3/ui"], - "@justaname.id/react": ["packages/@justaname.id/react"], - "@justaname.id/sdk": ["packages/@justaname.id/sdk"], - "@justaname.id/siwens": ["packages/@justaname.id/siwens"], - "@justverified/plugin": ["packages/@justverified/plugin"], - "@justweb3/efp-plugin": ["packages/@justweb3/efp-plugin"], - + "@justweb3/widget": [ + "packages/@justweb3/widget" + ], + "@justweb3/ui": [ + "packages/@justweb3/ui" + ], + "@justaname.id/react": [ + "packages/@justaname.id/react" + ], + "@justaname.id/sdk": [ + "packages/@justaname.id/sdk" + ], + "@justaname.id/siwens": [ + "packages/@justaname.id/siwens" + ], + "@justverified/plugin": [ + "packages/@justverified/plugin" + ], + "@justweb3/efp-plugin": [ + "packages/@justweb3/efp-plugin" + ] } }, "include": [ @@ -37,7 +52,13 @@ "../../apps/console/.next/types/**/*.ts", "../../dist/apps/console/.next/types/**/*.ts", "next-env.d.ts", - ".next/types/**/*.ts" + ".next/types/**/*.ts", + "../../dist/dist/apps/console/types/**/*.ts" ], - "exclude": ["node_modules", "jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] + "exclude": [ + "node_modules", + "jest.config.ts", + "**/*.spec.ts", + "**/*.test.ts" + ] } diff --git a/package.json b/package.json index fc2912c5..0169530e 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,9 @@ "author": "JustaLab", "license": "MIT", "private": true, + "scripts": { + "build:all": "rm -rf node_modules/.cache/rollup-plugin-typescript2 && nx run-many -t build --all" + }, "dependencies": { "@docusaurus/eslint-plugin": "^3.5.2", "@ensdomains/address-encoder": "^1.1.2", diff --git a/packages/@justaname.id/react/project.json b/packages/@justaname.id/react/project.json index b37c87c3..b0d83e9c 100644 --- a/packages/@justaname.id/react/project.json +++ b/packages/@justaname.id/react/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justaname.id/react", diff --git a/packages/@justaname.id/react/update-package-json.js b/packages/@justaname.id/react/update-package-json.js index 2741d3d2..b32f3978 100644 --- a/packages/@justaname.id/react/update-package-json.js +++ b/packages/@justaname.id/react/update-package-json.js @@ -26,16 +26,16 @@ if (packageJson.exports) { }); } -// Write the modified package.json to the dist folder -console.log('Writing package.json to dist folder'); -// I want to see the content of __dirname -fs.readdirSync(__dirname).forEach((file) => { - console.log(file); -}); - -fs.readdirSync(path.join(__dirname, 'dist')).forEach((file) => { - console.log(file); -}); +// // Write the modified package.json to the dist folder +// console.log('Writing package.json to dist folder'); +// // I want to see the content of __dirname +// fs.readdirSync(__dirname).forEach((file) => { +// console.log(file); +// }); +// +// fs.readdirSync(path.join(__dirname, 'dist')).forEach((file) => { +// console.log(file); +// }); const distPath = path.join(__dirname, 'dist', 'package.json'); fs.writeFileSync(distPath, JSON.stringify(packageJson, null, 2)); diff --git a/packages/@justaname.id/sdk/project.json b/packages/@justaname.id/sdk/project.json index 38f55126..39baa55b 100644 --- a/packages/@justaname.id/sdk/project.json +++ b/packages/@justaname.id/sdk/project.json @@ -28,6 +28,9 @@ }, { "command": "node copy-to-outside-dist.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justaname.id/sdk", diff --git a/packages/@justaname.id/siwens/project.json b/packages/@justaname.id/siwens/project.json index a77cc6aa..e110212a 100644 --- a/packages/@justaname.id/siwens/project.json +++ b/packages/@justaname.id/siwens/project.json @@ -29,6 +29,9 @@ }, { "command": "node copy-to-outside-dist.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justaname.id/siwens", diff --git a/packages/@justverified/plugin/project.json b/packages/@justverified/plugin/project.json index 868b3db4..90ad5aed 100644 --- a/packages/@justverified/plugin/project.json +++ b/packages/@justverified/plugin/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justverified/plugin", diff --git a/packages/@justweb3/efp-plugin/project.json b/packages/@justweb3/efp-plugin/project.json index 9eb3d5cf..0b855f20 100644 --- a/packages/@justweb3/efp-plugin/project.json +++ b/packages/@justweb3/efp-plugin/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justweb3/efp-plugin", diff --git a/packages/@justweb3/ui/project.json b/packages/@justweb3/ui/project.json index fa8da63c..9c5f1d3b 100644 --- a/packages/@justweb3/ui/project.json +++ b/packages/@justweb3/ui/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justweb3/ui", diff --git a/packages/@justweb3/widget/project.json b/packages/@justweb3/widget/project.json index 65f16c22..93b2af8b 100644 --- a/packages/@justweb3/widget/project.json +++ b/packages/@justweb3/widget/project.json @@ -26,6 +26,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justweb3/widget", diff --git a/yarn.lock b/yarn.lock index 40c94edb..ca174877 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1936,11 +1936,11 @@ __metadata: linkType: hard "@ecies/ciphers@npm:^0.2.0": - version: 0.2.0 - resolution: "@ecies/ciphers@npm:0.2.0" + version: 0.2.1 + resolution: "@ecies/ciphers@npm:0.2.1" peerDependencies: "@noble/ciphers": ^1.0.0 - checksum: 10c0/1aa83fd46c52325e267c67eb2ab1575751da008a18ef806b4ade3ff3db71df7e29155287c3b66e1dcc3c47bf5ce7b302509518569763b6c91cc5b6f9f6f12cb3 + checksum: 10c0/0ce13f5f8216047afde68afe549021c65145af2d2f08da032552487f170c47fd480c11fa358b5cdcc29e70928e5d81e037b6a5963a20ba74d3c242881ba5bb50 languageName: node linkType: hard @@ -10457,9 +10457,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-darwin-arm64@npm:1.7.40" +"@swc/core-darwin-arm64@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-darwin-arm64@npm:1.7.42" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -10471,9 +10471,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-darwin-x64@npm:1.7.40" +"@swc/core-darwin-x64@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-darwin-x64@npm:1.7.42" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -10485,9 +10485,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.40" +"@swc/core-linux-arm-gnueabihf@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.42" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -10499,9 +10499,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-arm64-gnu@npm:1.7.40" +"@swc/core-linux-arm64-gnu@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-arm64-gnu@npm:1.7.42" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -10513,9 +10513,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-arm64-musl@npm:1.7.40" +"@swc/core-linux-arm64-musl@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-arm64-musl@npm:1.7.42" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -10527,9 +10527,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-x64-gnu@npm:1.7.40" +"@swc/core-linux-x64-gnu@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-x64-gnu@npm:1.7.42" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -10541,9 +10541,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-x64-musl@npm:1.7.40" +"@swc/core-linux-x64-musl@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-x64-musl@npm:1.7.42" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -10555,9 +10555,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-win32-arm64-msvc@npm:1.7.40" +"@swc/core-win32-arm64-msvc@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-win32-arm64-msvc@npm:1.7.42" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -10569,9 +10569,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-win32-ia32-msvc@npm:1.7.40" +"@swc/core-win32-ia32-msvc@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-win32-ia32-msvc@npm:1.7.42" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -10583,9 +10583,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-win32-x64-msvc@npm:1.7.40" +"@swc/core-win32-x64-msvc@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-win32-x64-msvc@npm:1.7.42" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -10637,19 +10637,19 @@ __metadata: linkType: hard "@swc/core@npm:^1.3.18, @swc/core@npm:^1.7.26": - version: 1.7.40 - resolution: "@swc/core@npm:1.7.40" - dependencies: - "@swc/core-darwin-arm64": "npm:1.7.40" - "@swc/core-darwin-x64": "npm:1.7.40" - "@swc/core-linux-arm-gnueabihf": "npm:1.7.40" - "@swc/core-linux-arm64-gnu": "npm:1.7.40" - "@swc/core-linux-arm64-musl": "npm:1.7.40" - "@swc/core-linux-x64-gnu": "npm:1.7.40" - "@swc/core-linux-x64-musl": "npm:1.7.40" - "@swc/core-win32-arm64-msvc": "npm:1.7.40" - "@swc/core-win32-ia32-msvc": "npm:1.7.40" - "@swc/core-win32-x64-msvc": "npm:1.7.40" + version: 1.7.42 + resolution: "@swc/core@npm:1.7.42" + dependencies: + "@swc/core-darwin-arm64": "npm:1.7.42" + "@swc/core-darwin-x64": "npm:1.7.42" + "@swc/core-linux-arm-gnueabihf": "npm:1.7.42" + "@swc/core-linux-arm64-gnu": "npm:1.7.42" + "@swc/core-linux-arm64-musl": "npm:1.7.42" + "@swc/core-linux-x64-gnu": "npm:1.7.42" + "@swc/core-linux-x64-musl": "npm:1.7.42" + "@swc/core-win32-arm64-msvc": "npm:1.7.42" + "@swc/core-win32-ia32-msvc": "npm:1.7.42" + "@swc/core-win32-x64-msvc": "npm:1.7.42" "@swc/counter": "npm:^0.1.3" "@swc/types": "npm:^0.1.13" peerDependencies: @@ -10678,7 +10678,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 10c0/d763413eb649e365282de70994ff6582ecc32b282721d04bd72b8c4403bc3a43327cd4d05fdac2bdb21eb2a6c6de77d9268ace1d358848ee9ffa7d81463b7ee8 + checksum: 10c0/bf5e242ad4098b5f02c084460fdaac486b420fb3b2ee8e96271e471c100ac6f446cc27c3840eed106130be149e20c8165df23ba5fe1a89364650c07aaa507177 languageName: node linkType: hard @@ -11547,11 +11547,11 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:^22.0.0, @types/node@npm:^22.5.5": - version: 22.8.4 - resolution: "@types/node@npm:22.8.4" + version: 22.8.5 + resolution: "@types/node@npm:22.8.5" dependencies: undici-types: "npm:~6.19.8" - checksum: 10c0/f88d030480630194a9168772462ec09b2d86454f34368c46d2b7fda5dc6e14594b1576fcc5c35cc53b57a4d1e8dd2865a85ae81f34ded0d1af753a0f5d294c25 + checksum: 10c0/5e43553026c83f18bfa381d35c8fd608e69d12d0f0fe4601e8bb98b651a3b240be9d66c1f2f4decdbebb41d55b18e89238b02f3992d820d89801b9b3625ba8ab languageName: node linkType: hard @@ -11579,20 +11579,20 @@ __metadata: linkType: hard "@types/node@npm:^18.0.0, @types/node@npm:^18.7.16": - version: 18.19.61 - resolution: "@types/node@npm:18.19.61" + version: 18.19.62 + resolution: "@types/node@npm:18.19.62" dependencies: undici-types: "npm:~5.26.4" - checksum: 10c0/a75a9f25f6012f65242ccd79c70d9f49c8e716d276a024a6557b93b2cc2a4921cdce7afd34681395051be6e860e1bbfea7e93c097bf1c71fb921d10e14ddffc6 + checksum: 10c0/b21337f972ff223718f64cee0f247cc85b1976e53af9c230e1142d822c227d46ee041550bf850548c8af84c82161e1568b4bc60f2f84bdbc81f532846021ab5b languageName: node linkType: hard "@types/node@npm:^20.12.4": - version: 20.17.3 - resolution: "@types/node@npm:20.17.3" + version: 20.17.4 + resolution: "@types/node@npm:20.17.4" dependencies: undici-types: "npm:~6.19.2" - checksum: 10c0/31e5076665e906fd5c04fbe840976947fdacb6e69613fde4b129778d54b7447999a96300d5c12f04cc177875b8d1e4c8f9f8fe604cab484efdfc1e33184a695b + checksum: 10c0/ce6e0a75bbc6b292db4c3bb72884f588753d8751699a3f4a60d5ba4ec1f0fa3d3f08547eacfaf9de517831960c1d6ca3430a28493b5d13b8beacb76e912da35c languageName: node linkType: hard @@ -15697,7 +15697,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.23.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0": +"browserslist@npm:^4.0.0, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.23.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0, browserslist@npm:^4.24.2": version: 4.24.2 resolution: "browserslist@npm:4.24.2" dependencies: @@ -16114,9 +16114,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001579, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669": - version: 1.0.30001675 - resolution: "caniuse-lite@npm:1.0.30001675" - checksum: 10c0/95196bb508a35fa4e2bd1cb2458450cc73a71ed6aea034cd7e8831d569d4f6a2a78d63de75b5a00af5ef4dbf3f1c26b5841d270cb71556fdcd34c3b84c1b164f + version: 1.0.30001676 + resolution: "caniuse-lite@npm:1.0.30001676" + checksum: 10c0/53d310d76b5282947c99638a65d7534ac28a80aae1920de085a616ec8ad603358fad67cebacfc0452b1efdea12cce24fd37a50a712d074986b4962110e87d82b languageName: node linkType: hard @@ -17189,18 +17189,18 @@ __metadata: linkType: hard "core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": - version: 3.38.1 - resolution: "core-js-compat@npm:3.38.1" + version: 3.39.0 + resolution: "core-js-compat@npm:3.39.0" dependencies: - browserslist: "npm:^4.23.3" - checksum: 10c0/d8bc8a35591fc5fbf3e376d793f298ec41eb452619c7ef9de4ea59b74be06e9fda799e0dcbf9ba59880dae87e3b41fb191d744ffc988315642a1272bb9442b31 + browserslist: "npm:^4.24.2" + checksum: 10c0/880579a3dab235e3b6350f1e324269c600753b48e891ea859331618d5051e68b7a95db6a03ad2f3cc7df4397318c25a5bc7740562ad39e94f56568638d09d414 languageName: node linkType: hard "core-js-pure@npm:^3.23.3, core-js-pure@npm:^3.30.2": - version: 3.38.1 - resolution: "core-js-pure@npm:3.38.1" - checksum: 10c0/466adbc0468b8c2a95b9bc49829492dece2cc6584d757c5b38555a26ed3d71f8364ac1ea3128a0a949e004e0e60206cc535ed84320982c3efb9a40c1785ddcc6 + version: 3.39.0 + resolution: "core-js-pure@npm:3.39.0" + checksum: 10c0/5d954e467703ea1e860eb070bd72cf9dc5bfddd7037c09d750f0eba3ffc4066db741a595af86dc833a709929e161a909e48da3cbdd2d9bee7795cb516dc9f7d4 languageName: node linkType: hard From e384c09e3c6de53ebb92147992de24920980da09 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 11:58:28 +0200 Subject: [PATCH 28/57] trial --- apps/console/next.config.js | 2 +- package.json | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/console/next.config.js b/apps/console/next.config.js index 5e139050..cffac9d0 100644 --- a/apps/console/next.config.js +++ b/apps/console/next.config.js @@ -7,7 +7,7 @@ const { composePlugins, withNx } = require('@nx/next'); * @type {import('@nx/next/plugins/with-nx').WithNxOptions} **/ const nextConfig = { - distDir: '../../dist/apps/console', + // distDir: '../../dist/apps/console', nx: { // Set this to true if you would like to use SVGR // See: https://github.com/gregberge/svgr diff --git a/package.json b/package.json index 0169530e..92c4b0c4 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "license": "MIT", "private": true, "scripts": { - "build:all": "rm -rf node_modules/.cache/rollup-plugin-typescript2 && nx run-many -t build --all" + "remove:cache": "rm -rf node_modules/.cache/rollup-plugin-typescript2", + "build:all": "yarn remove:cache && nx run-many -t build --all", + "test:all": "yarn remove:cache && nx run-many -t test --all" }, "dependencies": { "@docusaurus/eslint-plugin": "^3.5.2", From 5a96f7bdbb53849a472221539f330006b1d778a1 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 12:02:38 +0200 Subject: [PATCH 29/57] trial --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 92c4b0c4..69acc8cf 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "private": true, "scripts": { "remove:cache": "rm -rf node_modules/.cache/rollup-plugin-typescript2", - "build:all": "yarn remove:cache && nx run-many -t build --all", + "build:all": "yarn remove:cache && nx run-many -t build --verbose --all", "test:all": "yarn remove:cache && nx run-many -t test --all" }, "dependencies": { From d1c49cea03714f79230c5bc72aaef7e1f8911bbd Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 12:25:00 +0200 Subject: [PATCH 30/57] trial --- package.json | 2 +- packages/@justweb3/efp-plugin/jest.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 69acc8cf..169b16d9 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "private": true, "scripts": { "remove:cache": "rm -rf node_modules/.cache/rollup-plugin-typescript2", - "build:all": "yarn remove:cache && nx run-many -t build --verbose --all", + "build:all": "yarn remove:cache && nx run-many -t build --verbose --all --parallel=1", "test:all": "yarn remove:cache && nx run-many -t test --all" }, "dependencies": { diff --git a/packages/@justweb3/efp-plugin/jest.config.ts b/packages/@justweb3/efp-plugin/jest.config.ts index d964757a..db84f50e 100644 --- a/packages/@justweb3/efp-plugin/jest.config.ts +++ b/packages/@justweb3/efp-plugin/jest.config.ts @@ -7,6 +7,6 @@ export default { '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/react/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], - coverageDirectory: '../../../coverage/packages/plugins/@justweb3/efp-plugin', + coverageDirectory: '../../../coverage/packages/@justweb3/efp-plugin', passWithNoTests: true, }; From 5db67b8486c176fe0c356df2495a89ea113f1918 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 12:36:51 +0200 Subject: [PATCH 31/57] trial --- .github/workflows/ci.yml | 6 ++++-- package.json | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 466578a2..ccba94ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,7 @@ jobs: - uses: nrwl/nx-set-shas@v3 - run: yarn install - run: npx nx reset + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 - name: Run Tests env: SDK_JUSTANAME_TEST_API_KEY: ${{ secrets.SDK_JUSTANAME_TEST_API_KEY }} @@ -41,5 +42,6 @@ jobs: SIWENS_PRIVATE_KEY: ${{ secrets.SIWENS_PRIVATE_KEY }} SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} - run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console - - run: npx nx affected -t build --exclude=justaname-mono-sdk,console + run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --parallel=1 + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 + - run: npx nx affected -t build --exclude=justaname-mono-sdk,console --parallel=1 diff --git a/package.json b/package.json index 169b16d9..a9020ada 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "private": true, "scripts": { "remove:cache": "rm -rf node_modules/.cache/rollup-plugin-typescript2", - "build:all": "yarn remove:cache && nx run-many -t build --verbose --all --parallel=1", - "test:all": "yarn remove:cache && nx run-many -t test --all" + "build:all": "yarn remove:cache && nx run-many -t build --all --parallel=1", + "test:all": "yarn remove:cache && nx run-many -t test --all --parallel=1" }, "dependencies": { "@docusaurus/eslint-plugin": "^3.5.2", From 06bae16f0fc4515a23b92aa88734c2f31f5811b6 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 12:44:17 +0200 Subject: [PATCH 32/57] trial --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb07b813..02ac699f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: run: | yarn install --immutable - run: npx nx reset + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 - name: Build and Test env: SDK_JUSTANAME_TEST_API_KEY: ${{ secrets.SDK_JUSTANAME_TEST_API_KEY }} @@ -49,7 +50,7 @@ jobs: SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} run: | - npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console + npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --parallel=1 - name: Pull latest changes from main run: git pull origin main @@ -63,6 +64,7 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 - name: Release run: | npx nx release --specifier=patch --yes From d019132e7edb81f7d792b20441dddea888e62cde Mon Sep 17 00:00:00 2001 From: JustHadi <35467011+HadiKhai@users.noreply.github.com> Date: Thu, 31 Oct 2024 13:01:51 +0200 Subject: [PATCH 33/57] Console (#43) * fix: naming app name * fix: packages * fix(console): deployment * fix: trial * fix(console): trial * trial * trial * trial * trial * trial * trial * trial --------- Co-authored-by: anthony2399 --- .github/workflows/ci.yml | 6 +- .github/workflows/release.yml | 4 +- apps/console/next.config.js | 1 + apps/console/src/app/providers.tsx | 1 - apps/console/tsconfig.json | 45 ++++-- package.json | 5 + packages/@justaname.id/react/project.json | 3 + .../react/update-package-json.js | 25 +++- packages/@justaname.id/sdk/project.json | 3 + packages/@justaname.id/siwens/project.json | 3 + packages/@justverified/plugin/project.json | 3 + packages/@justweb3/efp-plugin/jest.config.ts | 2 +- packages/@justweb3/efp-plugin/project.json | 3 + packages/@justweb3/ui/project.json | 3 + packages/@justweb3/widget/project.json | 3 + yarn.lock | 134 +++++++++--------- 16 files changed, 155 insertions(+), 89 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 466578a2..ccba94ca 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,7 @@ jobs: - uses: nrwl/nx-set-shas@v3 - run: yarn install - run: npx nx reset + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 - name: Run Tests env: SDK_JUSTANAME_TEST_API_KEY: ${{ secrets.SDK_JUSTANAME_TEST_API_KEY }} @@ -41,5 +42,6 @@ jobs: SIWENS_PRIVATE_KEY: ${{ secrets.SIWENS_PRIVATE_KEY }} SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} - run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console - - run: npx nx affected -t build --exclude=justaname-mono-sdk,console + run: npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --parallel=1 + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 + - run: npx nx affected -t build --exclude=justaname-mono-sdk,console --parallel=1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb07b813..02ac699f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: run: | yarn install --immutable - run: npx nx reset + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 - name: Build and Test env: SDK_JUSTANAME_TEST_API_KEY: ${{ secrets.SDK_JUSTANAME_TEST_API_KEY }} @@ -49,7 +50,7 @@ jobs: SIWENS_PROVIDER_URL: ${{ secrets.SIWENS_PROVIDER_URL }} SIWENS_VALID_ENS: ${{ secrets.SIWENS_VALID_ENS }} run: | - npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console + npx nx affected -t test --configuration=ci --passWithNoTests --exclude=justaname-mono-sdk,console --parallel=1 - name: Pull latest changes from main run: git pull origin main @@ -63,6 +64,7 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - run: rm -rf node_modules/.cache/rollup-plugin-typescript2 - name: Release run: | npx nx release --specifier=patch --yes diff --git a/apps/console/next.config.js b/apps/console/next.config.js index 007b2aa5..cffac9d0 100644 --- a/apps/console/next.config.js +++ b/apps/console/next.config.js @@ -7,6 +7,7 @@ const { composePlugins, withNx } = require('@nx/next'); * @type {import('@nx/next/plugins/with-nx').WithNxOptions} **/ const nextConfig = { + // distDir: '../../dist/apps/console', nx: { // Set this to true if you would like to use SVGR // See: https://github.com/gregberge/svgr diff --git a/apps/console/src/app/providers.tsx b/apps/console/src/app/providers.tsx index 41c79ae3..b105517d 100644 --- a/apps/console/src/app/providers.tsx +++ b/apps/console/src/app/providers.tsx @@ -60,7 +60,6 @@ export const Providers: React.FC = (props) => { }; const queryClient = new QueryClient(); - return ( diff --git a/apps/console/tsconfig.json b/apps/console/tsconfig.json index 89e6457e..f6ded24c 100644 --- a/apps/console/tsconfig.json +++ b/apps/console/tsconfig.json @@ -11,22 +11,37 @@ "resolveJsonModule": true, "isolatedModules": true, "incremental": true, - "plugins": [ { "name": "next" } ], - "types": ["jest", "node"], + "types": [ + "jest", + "node" + ], "paths": { - "@justweb3/widget": ["packages/@justweb3/widget"], - "@justweb3/ui": ["packages/@justweb3/ui"], - "@justaname.id/react": ["packages/@justaname.id/react"], - "@justaname.id/sdk": ["packages/@justaname.id/sdk"], - "@justaname.id/siwens": ["packages/@justaname.id/siwens"], - "@justverified/plugin": ["packages/@justverified/plugin"], - "@justweb3/efp-plugin": ["packages/@justweb3/efp-plugin"], - + "@justweb3/widget": [ + "packages/@justweb3/widget" + ], + "@justweb3/ui": [ + "packages/@justweb3/ui" + ], + "@justaname.id/react": [ + "packages/@justaname.id/react" + ], + "@justaname.id/sdk": [ + "packages/@justaname.id/sdk" + ], + "@justaname.id/siwens": [ + "packages/@justaname.id/siwens" + ], + "@justverified/plugin": [ + "packages/@justverified/plugin" + ], + "@justweb3/efp-plugin": [ + "packages/@justweb3/efp-plugin" + ] } }, "include": [ @@ -37,7 +52,13 @@ "../../apps/console/.next/types/**/*.ts", "../../dist/apps/console/.next/types/**/*.ts", "next-env.d.ts", - ".next/types/**/*.ts" + ".next/types/**/*.ts", + "../../dist/dist/apps/console/types/**/*.ts" ], - "exclude": ["node_modules", "jest.config.ts", "**/*.spec.ts", "**/*.test.ts"] + "exclude": [ + "node_modules", + "jest.config.ts", + "**/*.spec.ts", + "**/*.test.ts" + ] } diff --git a/package.json b/package.json index fc2912c5..a9020ada 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,11 @@ "author": "JustaLab", "license": "MIT", "private": true, + "scripts": { + "remove:cache": "rm -rf node_modules/.cache/rollup-plugin-typescript2", + "build:all": "yarn remove:cache && nx run-many -t build --all --parallel=1", + "test:all": "yarn remove:cache && nx run-many -t test --all --parallel=1" + }, "dependencies": { "@docusaurus/eslint-plugin": "^3.5.2", "@ensdomains/address-encoder": "^1.1.2", diff --git a/packages/@justaname.id/react/project.json b/packages/@justaname.id/react/project.json index b37c87c3..b0d83e9c 100644 --- a/packages/@justaname.id/react/project.json +++ b/packages/@justaname.id/react/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justaname.id/react", diff --git a/packages/@justaname.id/react/update-package-json.js b/packages/@justaname.id/react/update-package-json.js index 9256823b..b32f3978 100644 --- a/packages/@justaname.id/react/update-package-json.js +++ b/packages/@justaname.id/react/update-package-json.js @@ -10,17 +10,32 @@ packageJson.module = packageJson.module.replace('./dist/', './'); packageJson.types = packageJson.types.replace('./dist/', './'); if (packageJson.exports) { - Object.keys(packageJson.exports).forEach(key => { + Object.keys(packageJson.exports).forEach((key) => { if (typeof packageJson.exports[key] === 'string') { - packageJson.exports[key] = packageJson.exports[key].replace('./dist/', './'); + packageJson.exports[key] = packageJson.exports[key].replace( + './dist/', + './' + ); } else if (typeof packageJson.exports[key] === 'object') { - Object.keys(packageJson.exports[key]).forEach(subKey => { - packageJson.exports[key][subKey] = packageJson.exports[key][subKey].replace('./dist/', './'); + Object.keys(packageJson.exports[key]).forEach((subKey) => { + packageJson.exports[key][subKey] = packageJson.exports[key][ + subKey + ].replace('./dist/', './'); }); } }); } -// Write the modified package.json to the dist folder +// // Write the modified package.json to the dist folder +// console.log('Writing package.json to dist folder'); +// // I want to see the content of __dirname +// fs.readdirSync(__dirname).forEach((file) => { +// console.log(file); +// }); +// +// fs.readdirSync(path.join(__dirname, 'dist')).forEach((file) => { +// console.log(file); +// }); + const distPath = path.join(__dirname, 'dist', 'package.json'); fs.writeFileSync(distPath, JSON.stringify(packageJson, null, 2)); diff --git a/packages/@justaname.id/sdk/project.json b/packages/@justaname.id/sdk/project.json index 38f55126..39baa55b 100644 --- a/packages/@justaname.id/sdk/project.json +++ b/packages/@justaname.id/sdk/project.json @@ -28,6 +28,9 @@ }, { "command": "node copy-to-outside-dist.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justaname.id/sdk", diff --git a/packages/@justaname.id/siwens/project.json b/packages/@justaname.id/siwens/project.json index a77cc6aa..e110212a 100644 --- a/packages/@justaname.id/siwens/project.json +++ b/packages/@justaname.id/siwens/project.json @@ -29,6 +29,9 @@ }, { "command": "node copy-to-outside-dist.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justaname.id/siwens", diff --git a/packages/@justverified/plugin/project.json b/packages/@justverified/plugin/project.json index 868b3db4..90ad5aed 100644 --- a/packages/@justverified/plugin/project.json +++ b/packages/@justverified/plugin/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justverified/plugin", diff --git a/packages/@justweb3/efp-plugin/jest.config.ts b/packages/@justweb3/efp-plugin/jest.config.ts index d964757a..db84f50e 100644 --- a/packages/@justweb3/efp-plugin/jest.config.ts +++ b/packages/@justweb3/efp-plugin/jest.config.ts @@ -7,6 +7,6 @@ export default { '^.+\\.[tj]sx?$': ['babel-jest', { presets: ['@nx/react/babel'] }], }, moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'], - coverageDirectory: '../../../coverage/packages/plugins/@justweb3/efp-plugin', + coverageDirectory: '../../../coverage/packages/@justweb3/efp-plugin', passWithNoTests: true, }; diff --git a/packages/@justweb3/efp-plugin/project.json b/packages/@justweb3/efp-plugin/project.json index 9eb3d5cf..0b855f20 100644 --- a/packages/@justweb3/efp-plugin/project.json +++ b/packages/@justweb3/efp-plugin/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justweb3/efp-plugin", diff --git a/packages/@justweb3/ui/project.json b/packages/@justweb3/ui/project.json index fa8da63c..9c5f1d3b 100644 --- a/packages/@justweb3/ui/project.json +++ b/packages/@justweb3/ui/project.json @@ -38,6 +38,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justweb3/ui", diff --git a/packages/@justweb3/widget/project.json b/packages/@justweb3/widget/project.json index 65f16c22..93b2af8b 100644 --- a/packages/@justweb3/widget/project.json +++ b/packages/@justweb3/widget/project.json @@ -26,6 +26,9 @@ }, { "command": "node update-package-json.js" + }, + { + "command": "rm -rf node_modules" } ], "cwd": "packages/@justweb3/widget", diff --git a/yarn.lock b/yarn.lock index 40c94edb..ca174877 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1936,11 +1936,11 @@ __metadata: linkType: hard "@ecies/ciphers@npm:^0.2.0": - version: 0.2.0 - resolution: "@ecies/ciphers@npm:0.2.0" + version: 0.2.1 + resolution: "@ecies/ciphers@npm:0.2.1" peerDependencies: "@noble/ciphers": ^1.0.0 - checksum: 10c0/1aa83fd46c52325e267c67eb2ab1575751da008a18ef806b4ade3ff3db71df7e29155287c3b66e1dcc3c47bf5ce7b302509518569763b6c91cc5b6f9f6f12cb3 + checksum: 10c0/0ce13f5f8216047afde68afe549021c65145af2d2f08da032552487f170c47fd480c11fa358b5cdcc29e70928e5d81e037b6a5963a20ba74d3c242881ba5bb50 languageName: node linkType: hard @@ -10457,9 +10457,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-darwin-arm64@npm:1.7.40" +"@swc/core-darwin-arm64@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-darwin-arm64@npm:1.7.42" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -10471,9 +10471,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-darwin-x64@npm:1.7.40" +"@swc/core-darwin-x64@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-darwin-x64@npm:1.7.42" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -10485,9 +10485,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.40" +"@swc/core-linux-arm-gnueabihf@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.42" conditions: os=linux & cpu=arm languageName: node linkType: hard @@ -10499,9 +10499,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-arm64-gnu@npm:1.7.40" +"@swc/core-linux-arm64-gnu@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-arm64-gnu@npm:1.7.42" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -10513,9 +10513,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-arm64-musl@npm:1.7.40" +"@swc/core-linux-arm64-musl@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-arm64-musl@npm:1.7.42" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -10527,9 +10527,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-x64-gnu@npm:1.7.40" +"@swc/core-linux-x64-gnu@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-x64-gnu@npm:1.7.42" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -10541,9 +10541,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-linux-x64-musl@npm:1.7.40" +"@swc/core-linux-x64-musl@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-linux-x64-musl@npm:1.7.42" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -10555,9 +10555,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-win32-arm64-msvc@npm:1.7.40" +"@swc/core-win32-arm64-msvc@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-win32-arm64-msvc@npm:1.7.42" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -10569,9 +10569,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-win32-ia32-msvc@npm:1.7.40" +"@swc/core-win32-ia32-msvc@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-win32-ia32-msvc@npm:1.7.42" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -10583,9 +10583,9 @@ __metadata: languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.7.40": - version: 1.7.40 - resolution: "@swc/core-win32-x64-msvc@npm:1.7.40" +"@swc/core-win32-x64-msvc@npm:1.7.42": + version: 1.7.42 + resolution: "@swc/core-win32-x64-msvc@npm:1.7.42" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -10637,19 +10637,19 @@ __metadata: linkType: hard "@swc/core@npm:^1.3.18, @swc/core@npm:^1.7.26": - version: 1.7.40 - resolution: "@swc/core@npm:1.7.40" - dependencies: - "@swc/core-darwin-arm64": "npm:1.7.40" - "@swc/core-darwin-x64": "npm:1.7.40" - "@swc/core-linux-arm-gnueabihf": "npm:1.7.40" - "@swc/core-linux-arm64-gnu": "npm:1.7.40" - "@swc/core-linux-arm64-musl": "npm:1.7.40" - "@swc/core-linux-x64-gnu": "npm:1.7.40" - "@swc/core-linux-x64-musl": "npm:1.7.40" - "@swc/core-win32-arm64-msvc": "npm:1.7.40" - "@swc/core-win32-ia32-msvc": "npm:1.7.40" - "@swc/core-win32-x64-msvc": "npm:1.7.40" + version: 1.7.42 + resolution: "@swc/core@npm:1.7.42" + dependencies: + "@swc/core-darwin-arm64": "npm:1.7.42" + "@swc/core-darwin-x64": "npm:1.7.42" + "@swc/core-linux-arm-gnueabihf": "npm:1.7.42" + "@swc/core-linux-arm64-gnu": "npm:1.7.42" + "@swc/core-linux-arm64-musl": "npm:1.7.42" + "@swc/core-linux-x64-gnu": "npm:1.7.42" + "@swc/core-linux-x64-musl": "npm:1.7.42" + "@swc/core-win32-arm64-msvc": "npm:1.7.42" + "@swc/core-win32-ia32-msvc": "npm:1.7.42" + "@swc/core-win32-x64-msvc": "npm:1.7.42" "@swc/counter": "npm:^0.1.3" "@swc/types": "npm:^0.1.13" peerDependencies: @@ -10678,7 +10678,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 10c0/d763413eb649e365282de70994ff6582ecc32b282721d04bd72b8c4403bc3a43327cd4d05fdac2bdb21eb2a6c6de77d9268ace1d358848ee9ffa7d81463b7ee8 + checksum: 10c0/bf5e242ad4098b5f02c084460fdaac486b420fb3b2ee8e96271e471c100ac6f446cc27c3840eed106130be149e20c8165df23ba5fe1a89364650c07aaa507177 languageName: node linkType: hard @@ -11547,11 +11547,11 @@ __metadata: linkType: hard "@types/node@npm:*, @types/node@npm:^22.0.0, @types/node@npm:^22.5.5": - version: 22.8.4 - resolution: "@types/node@npm:22.8.4" + version: 22.8.5 + resolution: "@types/node@npm:22.8.5" dependencies: undici-types: "npm:~6.19.8" - checksum: 10c0/f88d030480630194a9168772462ec09b2d86454f34368c46d2b7fda5dc6e14594b1576fcc5c35cc53b57a4d1e8dd2865a85ae81f34ded0d1af753a0f5d294c25 + checksum: 10c0/5e43553026c83f18bfa381d35c8fd608e69d12d0f0fe4601e8bb98b651a3b240be9d66c1f2f4decdbebb41d55b18e89238b02f3992d820d89801b9b3625ba8ab languageName: node linkType: hard @@ -11579,20 +11579,20 @@ __metadata: linkType: hard "@types/node@npm:^18.0.0, @types/node@npm:^18.7.16": - version: 18.19.61 - resolution: "@types/node@npm:18.19.61" + version: 18.19.62 + resolution: "@types/node@npm:18.19.62" dependencies: undici-types: "npm:~5.26.4" - checksum: 10c0/a75a9f25f6012f65242ccd79c70d9f49c8e716d276a024a6557b93b2cc2a4921cdce7afd34681395051be6e860e1bbfea7e93c097bf1c71fb921d10e14ddffc6 + checksum: 10c0/b21337f972ff223718f64cee0f247cc85b1976e53af9c230e1142d822c227d46ee041550bf850548c8af84c82161e1568b4bc60f2f84bdbc81f532846021ab5b languageName: node linkType: hard "@types/node@npm:^20.12.4": - version: 20.17.3 - resolution: "@types/node@npm:20.17.3" + version: 20.17.4 + resolution: "@types/node@npm:20.17.4" dependencies: undici-types: "npm:~6.19.2" - checksum: 10c0/31e5076665e906fd5c04fbe840976947fdacb6e69613fde4b129778d54b7447999a96300d5c12f04cc177875b8d1e4c8f9f8fe604cab484efdfc1e33184a695b + checksum: 10c0/ce6e0a75bbc6b292db4c3bb72884f588753d8751699a3f4a60d5ba4ec1f0fa3d3f08547eacfaf9de517831960c1d6ca3430a28493b5d13b8beacb76e912da35c languageName: node linkType: hard @@ -15697,7 +15697,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.0.0, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.23.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0": +"browserslist@npm:^4.0.0, browserslist@npm:^4.21.10, browserslist@npm:^4.21.4, browserslist@npm:^4.23.0, browserslist@npm:^4.23.3, browserslist@npm:^4.24.0, browserslist@npm:^4.24.2": version: 4.24.2 resolution: "browserslist@npm:4.24.2" dependencies: @@ -16114,9 +16114,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001579, caniuse-lite@npm:^1.0.30001646, caniuse-lite@npm:^1.0.30001669": - version: 1.0.30001675 - resolution: "caniuse-lite@npm:1.0.30001675" - checksum: 10c0/95196bb508a35fa4e2bd1cb2458450cc73a71ed6aea034cd7e8831d569d4f6a2a78d63de75b5a00af5ef4dbf3f1c26b5841d270cb71556fdcd34c3b84c1b164f + version: 1.0.30001676 + resolution: "caniuse-lite@npm:1.0.30001676" + checksum: 10c0/53d310d76b5282947c99638a65d7534ac28a80aae1920de085a616ec8ad603358fad67cebacfc0452b1efdea12cce24fd37a50a712d074986b4962110e87d82b languageName: node linkType: hard @@ -17189,18 +17189,18 @@ __metadata: linkType: hard "core-js-compat@npm:^3.38.0, core-js-compat@npm:^3.38.1": - version: 3.38.1 - resolution: "core-js-compat@npm:3.38.1" + version: 3.39.0 + resolution: "core-js-compat@npm:3.39.0" dependencies: - browserslist: "npm:^4.23.3" - checksum: 10c0/d8bc8a35591fc5fbf3e376d793f298ec41eb452619c7ef9de4ea59b74be06e9fda799e0dcbf9ba59880dae87e3b41fb191d744ffc988315642a1272bb9442b31 + browserslist: "npm:^4.24.2" + checksum: 10c0/880579a3dab235e3b6350f1e324269c600753b48e891ea859331618d5051e68b7a95db6a03ad2f3cc7df4397318c25a5bc7740562ad39e94f56568638d09d414 languageName: node linkType: hard "core-js-pure@npm:^3.23.3, core-js-pure@npm:^3.30.2": - version: 3.38.1 - resolution: "core-js-pure@npm:3.38.1" - checksum: 10c0/466adbc0468b8c2a95b9bc49829492dece2cc6584d757c5b38555a26ed3d71f8364ac1ea3128a0a949e004e0e60206cc535ed84320982c3efb9a40c1785ddcc6 + version: 3.39.0 + resolution: "core-js-pure@npm:3.39.0" + checksum: 10c0/5d954e467703ea1e860eb070bd72cf9dc5bfddd7037c09d750f0eba3ffc4066db741a595af86dc833a709929e161a909e48da3cbdd2d9bee7795cb516dc9f7d4 languageName: node linkType: hard From 67043376e0300a1b395f0db82a2cdda10271b3fe Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 31 Oct 2024 17:21:40 +0200 Subject: [PATCH 34/57] fix: error from useEnsWalletClient --- .../lib/hooks/client/useEnsWalletClient.ts | 47 ++-- .../src/lib/hooks/subname/useUpdateSubname.ts | 4 +- .../react/src/stories/multichain.stories.tsx | 219 ++++++++++++++++++ .../widget/src/stories/multichain.stories.tsx | 147 ++++++++++++ 4 files changed, 402 insertions(+), 15 deletions(-) create mode 100644 packages/@justaname.id/react/src/stories/multichain.stories.tsx create mode 100644 packages/@justweb3/widget/src/stories/multichain.stories.tsx diff --git a/packages/@justaname.id/react/src/lib/hooks/client/useEnsWalletClient.ts b/packages/@justaname.id/react/src/lib/hooks/client/useEnsWalletClient.ts index 1fc095ae..ed68998e 100644 --- a/packages/@justaname.id/react/src/lib/hooks/client/useEnsWalletClient.ts +++ b/packages/@justaname.id/react/src/lib/hooks/client/useEnsWalletClient.ts @@ -1,31 +1,50 @@ import { useWalletClient } from 'wagmi'; -import { WalletClient, Transport, Account, Chain, RpcSchema } from 'viem'; +import { Account, Chain, RpcSchema, Transport, WalletClient } from 'viem'; import { addEnsContracts } from '@ensdomains/ensjs'; import { CheckedChainWithEns } from '@ensdomains/ensjs/contracts'; export interface UseEnsWalletClientResult { - ensWalletClient: WalletClient, Account, RpcSchema> | undefined - isEnsWalletClientPending: boolean + ensWalletClient: + | WalletClient, Account, RpcSchema> + | undefined; + isEnsWalletClientPending: boolean; } export interface UseEnsWalletClientParams {} -export const useEnsWalletClient = (params?: UseEnsWalletClientParams): UseEnsWalletClientResult => { - const query = useWalletClient() +export const useEnsWalletClient = ( + params?: UseEnsWalletClientParams +): UseEnsWalletClientResult => { + const query = useWalletClient(); - const transformWalletToEnsWallet = (wallet: WalletClient | undefined): WalletClient, Account, RpcSchema> | undefined => { + const transformWalletToEnsWallet = ( + wallet: WalletClient | undefined + ): + | WalletClient, Account, RpcSchema> + | undefined => { if (!wallet) { - return + return; + } + + if (wallet?.chain.id !== 1 && wallet?.chain.id !== 11155111) { + return; } return { ...wallet, - chain: addEnsContracts(wallet.chain as Chain) - } as WalletClient, Account, RpcSchema> - } + chain: addEnsContracts(wallet.chain as Chain), + } as WalletClient< + Transport, + CheckedChainWithEns, + Account, + RpcSchema + >; + }; return { - ensWalletClient: transformWalletToEnsWallet(query.data as WalletClient), - isEnsWalletClientPending: query.isPending - } -} \ No newline at end of file + ensWalletClient: transformWalletToEnsWallet( + query.data as WalletClient + ), + isEnsWalletClientPending: query.isPending, + }; +}; diff --git a/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts b/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts index 18839f8a..dd6d9361 100644 --- a/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts +++ b/packages/@justaname.id/react/src/lib/hooks/subname/useUpdateSubname.ts @@ -107,7 +107,9 @@ export const useUpdateSubname = ( ); } else { if (!ensWalletClient) { - throw new Error('No wallet client found'); + throw new Error( + 'No Wallet Client found, chain not supported, only mainnet and sepolia are supported' + ); } const changeIsValid = await checkIfUpdateIsValid(_params); diff --git a/packages/@justaname.id/react/src/stories/multichain.stories.tsx b/packages/@justaname.id/react/src/stories/multichain.stories.tsx new file mode 100644 index 00000000..2a1cb32b --- /dev/null +++ b/packages/@justaname.id/react/src/stories/multichain.stories.tsx @@ -0,0 +1,219 @@ +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import '@rainbow-me/rainbowkit/styles.css'; +import { + ConnectButton, + getDefaultConfig, + RainbowKitProvider, +} from '@rainbow-me/rainbowkit'; +import { useAccount, WagmiProvider } from 'wagmi'; +import { + arbitrum, + base, + bsc, + gnosis, + mainnet, + optimism, + polygon, +} from 'wagmi/chains'; +import { Meta, StoryObj } from '@storybook/react'; +import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; +import { JustaNameProvider, JustaNameProviderConfig } from '../lib/providers'; +import { splitDomain } from '../lib/helpers'; +import { + useAccountSubnames, + useAddSubname, + useIsSubnameAvailable, + useRevokeSubname, +} from '../lib/hooks'; +import { useEffect, useMemo, useState } from 'react'; + +const queryClient = new QueryClient(); + +const useDebounce = (value: string, delay: number) => { + const [debouncedValue, setDebouncedValue] = useState(value); + + useEffect(() => { + const handler = setTimeout(() => { + setDebouncedValue(value); + }, delay); + + return () => { + clearTimeout(handler); + }; + }, [value, delay]); + + return { debouncedValue }; +}; + +const justanameConfig: JustaNameProviderConfig = { + config: { + origin: import.meta.env.STORYBOOK_APP_ORIGIN, + domain: import.meta.env.STORYBOOK_APP_DOMAIN, + signInTtl: 1000 * 60 * 60 * 24, + }, + backendUrl: import.meta.env.STORYBOOK_APP_BACKEND_URL, + ensDomains: [ + { + ensDomain: import.meta.env.STORYBOOK_APP_ENS_DOMAIN, + chainId: 1, + }, + ], + networks: [ + { + chainId: 1, + providerUrl: import.meta.env.STORYBOOK_APP_MAINNET_PROVIDER_URL, + }, + { + chainId: 11155111, + providerUrl: import.meta.env.STORYBOOK_APP_SEPOLIA_PROVIDER_URL, + }, + ], + dev: import.meta.env.STORYBOOK_APP_DEV === 'true', +}; + +const AddSubname = () => { + const { isConnected } = useAccount(); + const { accountSubnames } = useAccountSubnames(); + const { addSubname } = useAddSubname(); + + const [key, setKey] = useState(''); + const [value, setValue] = useState(''); + const [username, setUsername] = useState(''); + + const debouncedUsername = useDebounce(username, 500); + + const { isSubnameAvailable } = useIsSubnameAvailable({ + username: debouncedUsername.debouncedValue, + }); + + const claimedSubname = useMemo(() => { + return accountSubnames.find((subname) => + subname.ens.endsWith(import.meta.env.STORYBOOK_APP_ENS_DOMAIN as string) + ); + }, [accountSubnames]); + + const { revokeSubname } = useRevokeSubname(); + return ( +
+ + + {isConnected && !claimedSubname && ( +
{ + e.preventDefault(); + addSubname({ + username: debouncedUsername.debouncedValue, + text: + key && value + ? { + [key]: value, + } + : undefined, + }); + }} + className="flex flex-col items-center gap-4" + > +
+ setUsername(e.target.value)} + placeholder="Enter a subname" + className="p-4 border border-gray-300 rounded-md w-80" + /> + +
+

+ {import.meta.env.STORYBOOK_APP_ENS_DOMAIN} +

+
+
+ +
+ setKey(e.target.value)} + placeholder="Key" + className="p-4 border border-gray-300 rounded-md w-80" + /> + setValue(e.target.value)} + placeholder="Value" + className="p-4 border border-gray-300 rounded-md w-80" + /> +
+ +
+ )} + {claimedSubname && isConnected && ( +
+ {claimedSubname?.ens} + + +
+ )} +
+ ); +}; + +export const Example = () => { + const config = getDefaultConfig({ + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', + chains: [mainnet, polygon, bsc, arbitrum, optimism, gnosis, base], + }); + + return ( + + + + +

JustaName

+ +
+
+ +
+
+ ); +}; + +const meta: Meta = { + component: Example, + title: 'Hooks/MultiChain', +}; +export default meta; +type Story = StoryObj; diff --git a/packages/@justweb3/widget/src/stories/multichain.stories.tsx b/packages/@justweb3/widget/src/stories/multichain.stories.tsx new file mode 100644 index 00000000..8378dcd0 --- /dev/null +++ b/packages/@justweb3/widget/src/stories/multichain.stories.tsx @@ -0,0 +1,147 @@ +import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; +import { + JustEnsCard, + JustWeb3Provider, + JustWeb3ProviderConfig, + useJustWeb3, +} from '../lib'; +import '@rainbow-me/rainbowkit/styles.css'; +import { + ConnectButton, + getDefaultConfig, + RainbowKitProvider, +} from '@rainbow-me/rainbowkit'; +import { WagmiProvider } from 'wagmi'; +import { + arbitrum, + base, + bsc, + gnosis, + mainnet, + optimism, + polygon, +} from 'wagmi/chains'; +import { Meta, StoryObj } from '@storybook/react'; +import { JustWeb3Button } from '../lib/components'; +import { ReactQueryDevtools } from '@tanstack/react-query-devtools'; +import { Button } from '@justweb3/ui'; + +const queryClient = new QueryClient(); + +const JustWeb3Config: JustWeb3ProviderConfig = { + config: { + origin: import.meta.env.STORYBOOK_APP_ORIGIN, + domain: import.meta.env.STORYBOOK_APP_DOMAIN, + signInTtl: 1000 * 60 * 60 * 24, + }, + backendUrl: import.meta.env.STORYBOOK_APP_BACKEND_URL, + networks: [ + { + chainId: 1, + providerUrl: import.meta.env.STORYBOOK_APP_MAINNET_PROVIDER_URL, + }, + { + chainId: 11155111, + providerUrl: import.meta.env.STORYBOOK_APP_SEPOLIA_PROVIDER_URL, + }, + ], + mApps: ['justverified.eth', 'justweb3.eth'], + openOnWalletConnect: false, + allowedEns: 'all', + dev: import.meta.env.STORYBOOK_APP_DEV === 'true', +}; + +const UpdateButton = () => { + const { updateRecords } = useJustWeb3(); + + return ( + + ); +}; + +export const Example = () => { + const config = getDefaultConfig({ + appName: 'My RainbowKit App', + projectId: 'YOUR_PROJECT_ID', + chains: [mainnet, polygon, bsc, arbitrum, optimism, gnosis, base], + }); + + return ( + + + + +

JustWeb3 Sign In

+ +
+
+ + + +
+ + + +
+ + + + + + + + +
+
+ + + + + + +
+
+
+
+ +
+
+ ); +}; + +const meta: Meta = { + component: Example, + title: 'Connect/MultiChain', +}; +export default meta; +type Story = StoryObj; From 81b05f2935ec94895f35bc6166afaf0edf9ebff2 Mon Sep 17 00:00:00 2001 From: anthony2399 Date: Mon, 4 Nov 2024 16:47:42 +0200 Subject: [PATCH 35/57] fix: update rest call and ui fixes --- packages/@justaname.id/react/project.json | 2 +- packages/@justaname.id/sdk/project.json | 4 +- .../@justaname.id/sdk/src/lib/api/rest.ts | 54 +++++----- packages/@justaname.id/siwens/project.json | 4 +- packages/@justverified/plugin/project.json | 2 +- packages/@justweb3/efp-plugin/project.json | 2 +- packages/@justweb3/ui/project.json | 2 +- .../src/lib/ui/OTPInput/OTPInput.module.css | 99 ++++++++++--------- packages/@justweb3/widget/project.json | 2 +- .../Profile/ContentHashSection/index.tsx | 4 +- .../src/lib/dialogs/SignInDialog/index.tsx | 9 +- 11 files changed, 95 insertions(+), 89 deletions(-) diff --git a/packages/@justaname.id/react/project.json b/packages/@justaname.id/react/project.json index b0d83e9c..1553a41e 100644 --- a/packages/@justaname.id/react/project.json +++ b/packages/@justaname.id/react/project.json @@ -40,7 +40,7 @@ "command": "node update-package-json.js" }, { - "command": "rm -rf node_modules" + "command": "rm -rf node_modules || rmdir /s /q node_modules" } ], "cwd": "packages/@justaname.id/react", diff --git a/packages/@justaname.id/sdk/project.json b/packages/@justaname.id/sdk/project.json index 39baa55b..6e677eb0 100644 --- a/packages/@justaname.id/sdk/project.json +++ b/packages/@justaname.id/sdk/project.json @@ -30,7 +30,7 @@ "command": "node copy-to-outside-dist.js" }, { - "command": "rm -rf node_modules" + "command": "rm -rf node_modules || rmdir /s /q node_modules" } ], "cwd": "packages/@justaname.id/sdk", @@ -87,7 +87,7 @@ "options": { "packageRoot": "packages/@justaname.id/sdk/dist" }, - "dependsOn": ["build","^build"] + "dependsOn": ["build", "^build"] }, "release:package": { "executor": "nx:run-commands", diff --git a/packages/@justaname.id/sdk/src/lib/api/rest.ts b/packages/@justaname.id/sdk/src/lib/api/rest.ts index 326bbd96..49cef6e0 100644 --- a/packages/@justaname.id/sdk/src/lib/api/rest.ts +++ b/packages/@justaname.id/sdk/src/lib/api/rest.ts @@ -35,28 +35,30 @@ export const restCall = < headers?: V, dev?: boolean ): Promise => { - - const currentHeaders: HeaderTypes = { + const currentHeaders: HeaderTypes = { 'x-api-key': undefined, 'x-message': undefined, 'x-signature': undefined, 'x-address': undefined, - } + }; - if(headers){ + if (headers) { if ('xApiKey' in headers) { currentHeaders['x-api-key'] = headers.xApiKey as string; } - if('xMessage' in headers){ - currentHeaders['x-message'] = headers['xMessage'].replace(/\n/g, '\\n') as string; + if ('xMessage' in headers) { + currentHeaders['x-message'] = headers['xMessage'].replace( + /\n/g, + '\\n' + ) as string; } - if('xSignature' in headers){ + if ('xSignature' in headers) { currentHeaders['x-signature'] = headers['xSignature'] as string; } - if('xAddress' in headers){ + if ('xAddress' in headers) { currentHeaders['x-address'] = headers['xAddress'] as string; } } @@ -70,10 +72,10 @@ export const restCall = < return qs.stringify(params, { arrayFormat: 'repeat' }); }, data: method === 'POST' ? request : undefined, - headers: currentHeaders + headers: currentHeaders, }) - ) -} + ); +}; // Function overload when headers are not provided export function assertRestCall< @@ -116,31 +118,33 @@ export function assertRestCall< K extends 'GET' | 'POST', U extends Partial, V extends Partial | undefined ->( - route: T, - method: K, - request: U, - headers?: V, - dev?: boolean -) { +>(route: T, method: K, request: U, headers?: V, dev?: boolean) { return ( requiredFields: Array>, requiredHeaders?: Array> ): Promise => { - const missingFields = requiredFields.filter(field => !request[field]); + const missingFields = requiredFields.filter( + (field) => request[field] === undefined + ); if (missingFields.length) { - throw InvalidConfigurationException.missingParameters(missingFields.map(field => field.toString())); + throw InvalidConfigurationException.missingParameters( + missingFields.map((field) => field.toString()) + ); } if (headers && requiredHeaders) { const missingHeaders = requiredHeaders.filter( - header => !headers[header] + (header) => headers[header] === undefined ); if (missingHeaders.length) { - throw InvalidConfigurationException.missingHeaders(missingHeaders.map(header => header.toString())); + throw InvalidConfigurationException.missingHeaders( + missingHeaders.map((header) => header.toString()) + ); } } else if (requiredHeaders && requiredHeaders.length > 0) { - throw InvalidConfigurationException.missingHeaders(requiredHeaders.map(header => header.toString())); + throw InvalidConfigurationException.missingHeaders( + requiredHeaders.map((header) => header.toString()) + ); } return restCall(route, method, request, headers, dev); @@ -148,5 +152,5 @@ export function assertRestCall< } export default { restCall, - assertRestCall -} \ No newline at end of file + assertRestCall, +}; diff --git a/packages/@justaname.id/siwens/project.json b/packages/@justaname.id/siwens/project.json index e110212a..33d0fd81 100644 --- a/packages/@justaname.id/siwens/project.json +++ b/packages/@justaname.id/siwens/project.json @@ -31,7 +31,7 @@ "command": "node copy-to-outside-dist.js" }, { - "command": "rm -rf node_modules" + "command": "rm -rf node_modules || rmdir /s /q node_modules" } ], "cwd": "packages/@justaname.id/siwens", @@ -84,7 +84,7 @@ "options": { "packageRoot": "packages/@justaname.id/siwens/dist" }, - "dependsOn": ["build","^build"] + "dependsOn": ["build", "^build"] }, "release:package": { "executor": "nx:run-commands", diff --git a/packages/@justverified/plugin/project.json b/packages/@justverified/plugin/project.json index 90ad5aed..bb9c95e6 100644 --- a/packages/@justverified/plugin/project.json +++ b/packages/@justverified/plugin/project.json @@ -40,7 +40,7 @@ "command": "node update-package-json.js" }, { - "command": "rm -rf node_modules" + "command": "rm -rf node_modules || rmdir /s /q node_modules" } ], "cwd": "packages/@justverified/plugin", diff --git a/packages/@justweb3/efp-plugin/project.json b/packages/@justweb3/efp-plugin/project.json index 0b855f20..f7f01a1c 100644 --- a/packages/@justweb3/efp-plugin/project.json +++ b/packages/@justweb3/efp-plugin/project.json @@ -40,7 +40,7 @@ "command": "node update-package-json.js" }, { - "command": "rm -rf node_modules" + "command": "rm -rf node_modules || rmdir /s /q node_modules" } ], "cwd": "packages/@justweb3/efp-plugin", diff --git a/packages/@justweb3/ui/project.json b/packages/@justweb3/ui/project.json index 9c5f1d3b..112cc57c 100644 --- a/packages/@justweb3/ui/project.json +++ b/packages/@justweb3/ui/project.json @@ -40,7 +40,7 @@ "command": "node update-package-json.js" }, { - "command": "rm -rf node_modules" + "command": "rm -rf node_modules || rmdir /s /q node_modules" } ], "cwd": "packages/@justweb3/ui", diff --git a/packages/@justweb3/ui/src/lib/ui/OTPInput/OTPInput.module.css b/packages/@justweb3/ui/src/lib/ui/OTPInput/OTPInput.module.css index d5068426..3e42b566 100644 --- a/packages/@justweb3/ui/src/lib/ui/OTPInput/OTPInput.module.css +++ b/packages/@justweb3/ui/src/lib/ui/OTPInput/OTPInput.module.css @@ -1,85 +1,88 @@ .otpInputContainer { - display: flex; - align-items: center; - gap: 0.5rem; - width: 100%; + display: flex; + align-items: center; + gap: 0.5rem; + width: 100%; } .otpInputContainer > div { - display: flex; - justify-content: space-between; - width: 100%; - align-items: center; + display: flex; + justify-content: space-between; + width: 100%; + align-items: center; } .otpInputContainer:has(:disabled) { - opacity: 0.5; + opacity: 0.5; } .otpInput { - display: flex; + display: flex; } .otpInput:disabled { - cursor: not-allowed; + cursor: not-allowed; } .otpInputGroup { - display: flex; - align-items: center; + display: flex; + align-items: center; } .caret { - height: 1rem; - width: 1px; - background-color: var(--justweb3-background-color); - animation: blinkAnimation 1s steps(1) infinite; + height: 1rem; + width: 1px; + background-color: var(--justweb3-background-color); + animation: blinkAnimation 1s steps(1) infinite; } .caretWrapper { - pointer-events: none; - position: absolute; - inset: 0; - display: flex; - align-items: center; - justify-content: center; + pointer-events: none; + position: absolute; + inset: 0; + display: flex; + align-items: center; + justify-content: center; } .otpInputSlot { - position: relative; - display: flex; - height: 2.5rem; - width: 2.5rem; - align-items: center; - justify-content: center; - border-top: 1px solid var(--justweb3-foreground-color-4); - border-right: 1px solid var(--justweb3-foreground-color-4); - border-bottom: 1px solid var(--justweb3-foreground-color-4); - font-size: 1.25rem; - transition: all 0.2s; + position: relative; + display: flex; + height: 2.5rem; + width: 2.5rem; + align-items: center; + justify-content: center; + border-top: 1px solid var(--justweb3-foreground-color-4); + border-right: 1px solid var(--justweb3-foreground-color-4); + border-bottom: 1px solid var(--justweb3-foreground-color-4); + font-size: 1.25rem; + color: var(--justweb3-primary-color); + transition: all 0.2s; } .otpInputSlot:first-child { - border-left: 1px solid var(--justweb3-foreground-color-4); - border-top-left-radius: 0.375rem; - border-bottom-left-radius: 0.375rem; + border-left: 1px solid var(--justweb3-foreground-color-4); + border-top-left-radius: 0.375rem; + border-bottom-left-radius: 0.375rem; } .otpInputSlot:last-child { - border-top-right-radius: 0.375rem; - border-bottom-right-radius: 0.375rem; + border-top-right-radius: 0.375rem; + border-bottom-right-radius: 0.375rem; } .otpInputSlotActive { - z-index: 10; - box-shadow: 0 0 0 2px var(--justweb3-primary-color); + z-index: 10; + box-shadow: 0 0 0 2px var(--justweb3-primary-color); } @keyframes blinkAnimation { - 0%, 50% { - opacity: 1; - } - 51%, 100% { - opacity: 0; - } -} \ No newline at end of file + 0%, + 50% { + opacity: 1; + } + 51%, + 100% { + opacity: 0; + } +} diff --git a/packages/@justweb3/widget/project.json b/packages/@justweb3/widget/project.json index 93b2af8b..fc4ed577 100644 --- a/packages/@justweb3/widget/project.json +++ b/packages/@justweb3/widget/project.json @@ -28,7 +28,7 @@ "command": "node update-package-json.js" }, { - "command": "rm -rf node_modules" + "command": "rm -rf node_modules || rmdir /s /q node_modules" } ], "cwd": "packages/@justweb3/widget", diff --git a/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx b/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx index 0607224a..0aab1672 100644 --- a/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx +++ b/packages/@justweb3/widget/src/lib/components/Profile/ContentHashSection/index.tsx @@ -105,7 +105,7 @@ export const ContentHashSection: React.FC = ({ ref={contentHashesRef} > -

+

Add ContentHash

@@ -116,7 +116,7 @@ export const ContentHashSection: React.FC = ({ }} > = ({
{isAccountSubnamesPending || - isAccountEnsNamesPending || - isOffchainResolversPending ? ( + isAccountEnsNamesPending || + isOffchainResolversPending ? (
@@ -304,11 +304,10 @@ export const SignInDialog: FC = ({ + maxheight="100px"> - +

Claim a Subname

From 0068b21b00d102fb4b00bdc30492146ab3ecab1c Mon Sep 17 00:00:00 2001 From: anthony2399 Date: Mon, 4 Nov 2024 17:20:05 +0200 Subject: [PATCH 36/57] fix: console --- .../customizer/PluginsSection/EFP/index.tsx | 42 +++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx b/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx index 89333f47..68046c60 100644 --- a/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx +++ b/apps/console/src/components/sections/customizer/PluginsSection/EFP/index.tsx @@ -1,4 +1,4 @@ -import { AccordionItem, AccordionTrigger } from '../../../../ui/accordion'; +// import { AccordionItem, AccordionTrigger } from '../../../../ui/accordion'; import { Switch } from '../../../../ui/switch'; import { useContext } from 'react'; import { JustWeb3Context } from '@justweb3/widget'; @@ -29,25 +29,25 @@ export const EFP = () => { }; return ( - - -
-

- EFP -

- plugin.name === 'EFPPlugin') - } - onClick={(e) => { - e.stopPropagation(); - }} - onCheckedChange={(checked) => { - handleEFPConfig(checked); - }} - /> -
-
-
+ // + // +
+

+ EFP +

+ plugin.name === 'EFPPlugin') + } + onClick={(e) => { + e.stopPropagation(); + }} + onCheckedChange={(checked) => { + handleEFPConfig(checked); + }} + /> +
+ //
+ //
); }; From 8d8fc66330cc3d85aa183ebecdd6c5d56aad8908 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Tue, 5 Nov 2024 05:29:14 +0200 Subject: [PATCH 37/57] fix console errors --- .../sections/code/CodeSection/index.tsx | 98 +++++++++++++------ .../PluginsSection/Verified/index.tsx | 38 ++++--- package.json | 1 + yarn.lock | 22 ++++- 4 files changed, 113 insertions(+), 46 deletions(-) diff --git a/apps/console/src/components/sections/code/CodeSection/index.tsx b/apps/console/src/components/sections/code/CodeSection/index.tsx index fcca18df..0f94f11d 100644 --- a/apps/console/src/components/sections/code/CodeSection/index.tsx +++ b/apps/console/src/components/sections/code/CodeSection/index.tsx @@ -1,8 +1,8 @@ -import { a11yLight, CopyBlock } from 'react-code-blocks'; import { JustWeb3Context } from '@justweb3/widget'; -import { useContext, useMemo } from 'react'; +import React, { useContext, useMemo } from 'react'; import { useJustWeb3Theme } from '@justweb3/ui'; import { useConsole } from '../../../../providers/ConsoleProvider'; +import { Highlight, themes } from 'prism-react-renderer'; export const CodeSection: React.FC = () => { const { config } = useContext(JustWeb3Context); @@ -14,7 +14,7 @@ export const CodeSection: React.FC = () => { if (config.plugins?.find((p) => p.name === 'JustVerifiedPlugin')) { plugins.push( - `JustVerifiedPlugin([${justVerified.map((v) => `'${v}'`).join(', ')}])` + `JustVerifiedPlugin([${justVerified.map((v) => `${v}`).join(', ')}])` ); } @@ -22,8 +22,9 @@ export const CodeSection: React.FC = () => { plugins.push('EFPPlugin'); } - return `import '@rainbow-me/rainbowkit/styles.css' -import '@justweb3/widget/styles.css' + return ` +import '@rainbow-me/rainbowkit/styles.css'; +import '@justweb3/widget/styles.css'; import React from 'react'; import { getDefaultConfig, @@ -39,21 +40,14 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import { - WagmiProvider -} from 'wagmi'; -import { - mainnet, - sepolia -} from 'wagmi/chains'; +import { WagmiProvider } from 'wagmi'; +import { mainnet, sepolia } from 'wagmi/chains'; import { JustWeb3Provider, JustWeb3ProviderConfig, JustWeb3Button } from '@justweb3/widget'; -import { - ConnectButton -} from '@rainbow-me/rainbowkit'; +import { ConnectButton } from '@rainbow-me/rainbowkit'; ${ config.plugins?.find((p) => p.name === 'JustVerifiedPlugin') ? "import { JustVerifiedPlugin } from '@justverified/plugin';" @@ -64,7 +58,7 @@ ${ ? "import { EFPPlugin } from '@justweb3/efp-plugin';" : '' } - + export const App: React.FC = () => { const { wallets } = getDefaultWallets(); @@ -85,6 +79,16 @@ export const App: React.FC = () => { const justweb3Config: JustWeb3ProviderConfig = ${JSON.stringify( { ...config, + networks: [ + { + chainId: 1, + providerUrl: ``, + }, + { + chainId: 11155111, + providerUrl: ``, + }, + ], dev: undefined, disableOverlay: undefined, plugins: plugins.length > 0 ? plugins : undefined, @@ -111,25 +115,57 @@ export const App: React.FC = () => { ); }; -export default App; - `; +export default App;`.trim(); }, [color, config, justVerified]); + const handleCopy = () => { + navigator.clipboard.writeText(code); + }; + return (
-

Code

- +
+

Code

+ +
+ + {({ className, style, tokens, getLineProps, getTokenProps }) => ( +
+            {tokens.map((line, i) => (
+              
+ + {i + 1} + + + {line.map((token, key) => ( + + ))} + +
+ ))} +
+ )} +
); }; diff --git a/apps/console/src/components/sections/customizer/PluginsSection/Verified/index.tsx b/apps/console/src/components/sections/customizer/PluginsSection/Verified/index.tsx index a1ae22a9..1c6ca75e 100644 --- a/apps/console/src/components/sections/customizer/PluginsSection/Verified/index.tsx +++ b/apps/console/src/components/sections/customizer/PluginsSection/Verified/index.tsx @@ -80,25 +80,35 @@ export const Verified = () => { }, [justVerified]); return ( - + + plugin.name === 'JustVerifiedPlugin' + ) + } + onClick={(e) => { + e.stopPropagation(); + }} + onCheckedChange={(checked) => { + handleJustVerifiedConfig(checked); + }} + style={{ + position: 'absolute', + right: 0, + top: '24px', + }} + />

JustVerified

- plugin.name === 'JustVerifiedPlugin' - ) - } - onClick={(e) => { - e.stopPropagation(); - }} - onCheckedChange={(checked) => { - handleJustVerifiedConfig(checked); - }} - />
diff --git a/package.json b/package.json index a9020ada..224aadcd 100644 --- a/package.json +++ b/package.json @@ -77,6 +77,7 @@ "ora": "^8.0.1", "pino-pretty": "^11.0.0", "postcss-import": "^16.1.0", + "prism-react-renderer": "^2.4.0", "qs": "^6.12.0", "react": "18.3.1", "react-code-blocks": "^0.1.6", diff --git a/yarn.lock b/yarn.lock index 9f78a04f..561ca6db 100644 --- a/yarn.lock +++ b/yarn.lock @@ -11633,6 +11633,13 @@ __metadata: languageName: node linkType: hard +"@types/prismjs@npm:^1.26.0": + version: 1.26.5 + resolution: "@types/prismjs@npm:1.26.5" + checksum: 10c0/5619cb449e0d8df098c8759d6f47bf8fdd510abf5dbdfa999e55c6a2545efbd1e209cc85a33d8d9f4ff2898089a1a6d9a70737c9baffaae635c46852c40d384a + languageName: node + linkType: hard + "@types/prop-types@npm:*": version: 15.7.13 resolution: "@types/prop-types@npm:15.7.13" @@ -16681,7 +16688,7 @@ __metadata: languageName: node linkType: hard -"clsx@npm:2.1.1": +"clsx@npm:2.1.1, clsx@npm:^2.0.0": version: 2.1.1 resolution: "clsx@npm:2.1.1" checksum: 10c0/c4c8eb865f8c82baab07e71bfa8897c73454881c4f99d6bc81585aecd7c441746c1399d08363dc096c550cceaf97bd4ce1e8854e1771e9998d9f94c4fe075839 @@ -26283,6 +26290,7 @@ __metadata: postcss: "npm:8.4.38" postcss-import: "npm:^16.1.0" prettier: "npm:^2.6.2" + prism-react-renderer: "npm:^2.4.0" qs: "npm:^6.12.0" react: "npm:18.3.1" react-code-blocks: "npm:^0.1.6" @@ -31878,6 +31886,18 @@ __metadata: languageName: node linkType: hard +"prism-react-renderer@npm:^2.4.0": + version: 2.4.0 + resolution: "prism-react-renderer@npm:2.4.0" + dependencies: + "@types/prismjs": "npm:^1.26.0" + clsx: "npm:^2.0.0" + peerDependencies: + react: ">=16.0.0" + checksum: 10c0/3d6969b057da0efe39e3e637bf93601cd5757de5919180e8df16daf1d1b8eedc39b70c7f6f28724fba0a01bc857c6b78312ab027f4e913159d1165c5aba235bb + languageName: node + linkType: hard + "prismjs@npm:^1.27.0": version: 1.29.0 resolution: "prismjs@npm:1.29.0" From df352c6f4b038beb96891bb56b0e4cea2e4837d5 Mon Sep 17 00:00:00 2001 From: JustHadi <35467011+HadiKhai@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:12:46 +0200 Subject: [PATCH 38/57] potential emoji fix (#49) * potential emoji fix * fix: deprecated punycode implementation --------- Co-authored-by: anthony2399 --- package.json | 1 + .../siwens/src/lib/siwens/siwens.ts | 129 ++++++++++-------- yarn.lock | 3 +- 3 files changed, 75 insertions(+), 58 deletions(-) diff --git a/package.json b/package.json index 224aadcd..1661ac36 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "pino-pretty": "^11.0.0", "postcss-import": "^16.1.0", "prism-react-renderer": "^2.4.0", + "punycode": "^2.3.1", "qs": "^6.12.0", "react": "18.3.1", "react-code-blocks": "^0.1.6", diff --git a/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts b/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts index 43a19564..0aadd133 100644 --- a/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts +++ b/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts @@ -1,77 +1,100 @@ import { JsonRpcProvider } from 'ethers'; -import { generateNonce, SiweMessage, SiweResponse, VerifyOpts, VerifyParams, } from 'siwe'; import { - InvalidStatementException, + generateNonce, + SiweMessage, + SiweResponse, + VerifyOpts, + VerifyParams, +} from 'siwe'; +import { InvalidConfigurationException, + InvalidENSException, + InvalidStatementException, InvalidTimeException, - InvalidENSException } from '../errors'; -import { checkDomainValid, checkTTL, constructSignInStatement, extractDataFromStatement } from '../utils'; +import { + checkDomainValid, + checkTTL, + constructSignInStatement, + extractDataFromStatement, +} from '../utils'; +import { toASCII, toUnicode } from 'punycode'; export interface SiwensResponse extends SiweResponse { - ens: string + ens: string; } -export interface SiwensParams extends Partial> { - ens: string, - ttl?: number, - expirationTime?: string, - issuedAt?: string, +export interface SiwensParams + extends Partial< + Omit + > { + ens: string; + ttl?: number; + expirationTime?: string; + issuedAt?: string; } export interface SiwensConfig { - params: string | SiwensParams - providerUrl?: string + params: string | SiwensParams; + providerUrl?: string; } export class SIWENS extends SiweMessage { readonly provider: JsonRpcProvider; - constructor(signInConfig: SiwensConfig){ + constructor(signInConfig: SiwensConfig) { const { params, providerUrl } = signInConfig; - if(typeof params === "string"){ - super(params) + if (typeof params === 'string') { + super(params); if (!providerUrl) { - throw InvalidConfigurationException.providerUrlRequired() + throw InvalidConfigurationException.providerUrlRequired(); } this.provider = new JsonRpcProvider(providerUrl); return; } - if(!params.ttl){ - throw InvalidTimeException.requiredTTL() + if (!params.ttl) { + throw InvalidTimeException.requiredTTL(); } - if(!params.domain){ - throw InvalidConfigurationException.domainRequired() + if (!params.domain) { + throw InvalidConfigurationException.domainRequired(); } let issuedAt = params.issuedAt; let expirationTime = params.expirationTime; - if(params.ttl){ + if (params.ttl) { checkTTL(params.ttl); - const { issuedAt: issuedAtGenerated, expirationTime: expirationTimeGenerated } = SIWENS.generateIssuedAndExpirationTime(params.ttl); + const { + issuedAt: issuedAtGenerated, + expirationTime: expirationTimeGenerated, + } = SIWENS.generateIssuedAndExpirationTime(params.ttl); issuedAt = issuedAt || issuedAtGenerated; expirationTime = expirationTime || expirationTimeGenerated; } checkDomainValid(params.ens); - const statement = constructSignInStatement(params.ens, params?.statement || ""); - + const statement = constructSignInStatement( + toASCII(params.ens), + params?.statement || '' + ); super({ ...params, statement, - version: params.version || "1", + version: params.version || '1', issuedAt, - expirationTime - }) - this.provider = new JsonRpcProvider(providerUrl) + expirationTime, + }); + this.provider = new JsonRpcProvider(providerUrl); } - override async verify(params: VerifyParams, opts?: VerifyOpts): Promise { + override async verify( + params: VerifyParams, + opts?: VerifyOpts + ): Promise { let verification: SiweResponse; try { @@ -81,55 +104,47 @@ export class SIWENS extends SiweMessage { const { ens } = extractDataFromStatement(statement); throw { ...e, - ens - } + ens: toUnicode(ens), + }; } - const statement = verification.data.statement - if(!statement){ - throw InvalidStatementException.invalidStatement() + const statement = verification.data.statement; + if (!statement) { + throw InvalidStatementException.invalidStatement(); } - const { ens } = extractDataFromStatement(statement) - - await this.verifyEnsAddress( - ens, - this.address - ) + const { ens: asciiEns } = extractDataFromStatement(statement); + const ens = toUnicode(asciiEns); + await this.verifyEnsAddress(ens, this.address); return { ...verification, - ens + ens, }; } - static generateIssuedAndExpirationTime(ttl: number){ + static generateIssuedAndExpirationTime(ttl: number) { const date = new Date(); const issuedAt = date.toISOString(); const expirationTime = new Date(date.getTime() + ttl).toISOString(); return { issuedAt, - expirationTime - } + expirationTime, + }; } - static generateNonce(){ - return generateNonce() + static generateNonce() { + return generateNonce(); } - private async verifyEnsAddress(ens:string, address:string){ + private async verifyEnsAddress(ens: string, address: string) { const resolvedAddress = await this.provider.resolveName(ens); - if(!resolvedAddress){ - throw InvalidENSException.notRegisteredENS( - ens - ) + if (!resolvedAddress) { + throw InvalidENSException.notRegisteredENS(ens); } - if(resolvedAddress !== address){ - throw InvalidENSException.invalidENSOwner( - ens, - address - ) + if (resolvedAddress !== address) { + throw InvalidENSException.invalidENSOwner(ens, address); } return true; } -} \ No newline at end of file +} diff --git a/yarn.lock b/yarn.lock index 561ca6db..f33ca7d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26291,6 +26291,7 @@ __metadata: postcss-import: "npm:^16.1.0" prettier: "npm:^2.6.2" prism-react-renderer: "npm:^2.4.0" + punycode: "npm:^2.3.1" qs: "npm:^6.12.0" react: "npm:18.3.1" react-code-blocks: "npm:^0.1.6" @@ -32211,7 +32212,7 @@ __metadata: languageName: node linkType: hard -"punycode@npm:^2.1.0, punycode@npm:^2.1.1, punycode@npm:^2.3.0": +"punycode@npm:^2.1.0, punycode@npm:^2.1.1, punycode@npm:^2.3.0, punycode@npm:^2.3.1": version: 2.3.1 resolution: "punycode@npm:2.3.1" checksum: 10c0/14f76a8206bc3464f794fb2e3d3cc665ae416c01893ad7a02b23766eb07159144ee612ad67af5e84fa4479ccfe67678c4feb126b0485651b302babf66f04f9e9 From 316047cbf331c71872a19029196c12fd843ddd40 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 6 Nov 2024 09:33:56 +0200 Subject: [PATCH 39/57] feat: move justweb3 to peer dep in the plugins --- packages/@justverified/plugin/.eslintrc.json | 8 +++++++- packages/@justverified/plugin/package.json | 5 +---- packages/@justweb3/efp-plugin/.eslintrc.json | 8 +++++++- packages/@justweb3/efp-plugin/package.json | 4 +--- packages/@justweb3/ui/README.md | 1 + 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/packages/@justverified/plugin/.eslintrc.json b/packages/@justverified/plugin/.eslintrc.json index 4cf70de1..324c11cb 100644 --- a/packages/@justverified/plugin/.eslintrc.json +++ b/packages/@justverified/plugin/.eslintrc.json @@ -25,7 +25,13 @@ "@nx/dependency-checks": [ "error", { - "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", "{projectRoot}/src/stories/**/*", "{projectRoot}/.storybook/**/*"] + "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", "{projectRoot}/src/stories/**/*", "{projectRoot}/.storybook/**/*"], + "ignoredDependencies": [ + "@justaname.id/siwens", + "@justaname.id/sdk", + "@justaname.id/react", + "@justweb3/ui" + ] } ] } diff --git a/packages/@justverified/plugin/package.json b/packages/@justverified/plugin/package.json index 9d4c86ba..aaeceb7c 100644 --- a/packages/@justverified/plugin/package.json +++ b/packages/@justverified/plugin/package.json @@ -2,16 +2,13 @@ "name": "@justverified/plugin", "version": "0.0.71", "dependencies": { - "@justaname.id/react": "0.3.136", - "@justaname.id/sdk": "0.2.133", - "@justweb3/ui": "0.0.72", - "@justweb3/widget": "0.0.72", "axios": "^1.6.0", "lodash": "4.17.21", "moment": "^2.30.1", "qs": "^6.12.0" }, "peerDependencies": { + "@justweb3/widget": ">=0.0.0", "@tanstack/react-query": "^5.x", "react": ">=17" }, diff --git a/packages/@justweb3/efp-plugin/.eslintrc.json b/packages/@justweb3/efp-plugin/.eslintrc.json index 4cf70de1..324c11cb 100644 --- a/packages/@justweb3/efp-plugin/.eslintrc.json +++ b/packages/@justweb3/efp-plugin/.eslintrc.json @@ -25,7 +25,13 @@ "@nx/dependency-checks": [ "error", { - "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", "{projectRoot}/src/stories/**/*", "{projectRoot}/.storybook/**/*"] + "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", "{projectRoot}/src/stories/**/*", "{projectRoot}/.storybook/**/*"], + "ignoredDependencies": [ + "@justaname.id/siwens", + "@justaname.id/sdk", + "@justaname.id/react", + "@justweb3/ui" + ] } ] } diff --git a/packages/@justweb3/efp-plugin/package.json b/packages/@justweb3/efp-plugin/package.json index cfc47257..55ae0fa1 100644 --- a/packages/@justweb3/efp-plugin/package.json +++ b/packages/@justweb3/efp-plugin/package.json @@ -2,13 +2,11 @@ "name": "@justweb3/efp-plugin", "version": "0.1.32", "dependencies": { - "@justaname.id/react": "0.3.136", - "@justweb3/ui": "0.0.72", - "@justweb3/widget": "0.0.72", "@tanstack/react-query": "^5.28.4", "axios": "^1.6.0" }, "peerDependencies": { + "@justweb3/widget": ">=0.0.0", "react": ">=17" }, "exports": { diff --git a/packages/@justweb3/ui/README.md b/packages/@justweb3/ui/README.md index cb61239d..3ad2ac36 100644 --- a/packages/@justweb3/ui/README.md +++ b/packages/@justweb3/ui/README.md @@ -2,6 +2,7 @@ The **@justweb3/ui** library provides a unified UI experience and handles theme generation for the **@justweb3/widget** package. It simplifies theming across widgets by dynamically generating color variations and supports custom theming through its context provider. +This library was inspired by [shadcn](https://ui.shadcn.com/) ## Table of Contents - [Installation](#installation) From 78e2725ec84689f238e1c30a7c9d0cfb33828423 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 6 Nov 2024 09:35:05 +0200 Subject: [PATCH 40/57] feat: update yarn lock --- yarn.lock | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/yarn.lock b/yarn.lock index f33ca7d8..b34a5516 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4554,15 +4554,12 @@ __metadata: version: 0.0.0-use.local resolution: "@justverified/plugin@workspace:packages/@justverified/plugin" dependencies: - "@justaname.id/react": "npm:0.3.136" - "@justaname.id/sdk": "npm:0.2.133" - "@justweb3/ui": "npm:0.0.72" - "@justweb3/widget": "npm:0.0.72" axios: "npm:^1.6.0" lodash: "npm:4.17.21" moment: "npm:^2.30.1" qs: "npm:^6.12.0" peerDependencies: + "@justweb3/widget": ">=0.0.0" "@tanstack/react-query": ^5.x react: ">=17" languageName: unknown @@ -4572,17 +4569,15 @@ __metadata: version: 0.0.0-use.local resolution: "@justweb3/efp-plugin@workspace:packages/@justweb3/efp-plugin" dependencies: - "@justaname.id/react": "npm:0.3.136" - "@justweb3/ui": "npm:0.0.72" - "@justweb3/widget": "npm:0.0.72" "@tanstack/react-query": "npm:^5.28.4" axios: "npm:^1.6.0" peerDependencies: + "@justweb3/widget": ">=0.0.0" react: ">=17" languageName: unknown linkType: soft -"@justweb3/ui@npm:0.0.72, @justweb3/ui@npm:^0.0.72, @justweb3/ui@workspace:packages/@justweb3/ui": +"@justweb3/ui@npm:^0.0.72, @justweb3/ui@workspace:packages/@justweb3/ui": version: 0.0.0-use.local resolution: "@justweb3/ui@workspace:packages/@justweb3/ui" dependencies: @@ -4601,7 +4596,7 @@ __metadata: languageName: unknown linkType: soft -"@justweb3/widget@npm:0.0.72, @justweb3/widget@workspace:packages/@justweb3/widget": +"@justweb3/widget@workspace:packages/@justweb3/widget": version: 0.0.0-use.local resolution: "@justweb3/widget@workspace:packages/@justweb3/widget" dependencies: From 52944a729c7aae7c3050877b3c9cf535d8f9e40f Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 6 Nov 2024 23:46:32 +0200 Subject: [PATCH 41/57] feat: sdk signin fix for aa wallets --- apps/console/src/app/api/signin/route.ts | 19 +++++--- packages/@justaname.id/sdk/.swcrc | 3 +- packages/@justaname.id/sdk/package.json | 5 +- packages/@justaname.id/sdk/project.json | 1 + packages/@justaname.id/sdk/rollup.config.cjs | 15 ++++++ .../sdk/src/lib/features/sign-in/index.ts | 48 +++++++++++++++++-- packages/@justaname.id/siwens/package.json | 6 +-- .../siwens/src/lib/siwens/siwens.ts | 5 +- packages/@justweb3/efp-plugin/package.json | 2 +- packages/@justweb3/ui/package.json | 2 +- packages/@justweb3/widget/.eslintrc.json | 3 +- packages/@justweb3/widget/package.json | 1 - 12 files changed, 87 insertions(+), 23 deletions(-) create mode 100644 packages/@justaname.id/sdk/rollup.config.cjs diff --git a/apps/console/src/app/api/signin/route.ts b/apps/console/src/app/api/signin/route.ts index 486b0327..c7b50549 100644 --- a/apps/console/src/app/api/signin/route.ts +++ b/apps/console/src/app/api/signin/route.ts @@ -1,9 +1,11 @@ import { NextRequest, NextResponse } from 'next/server'; -import { tap, justaname, Session } from '../../../../lib'; +import { justaname, Session, tap } from '../../../../lib'; import { SignInResponse } from '@justaname.id/sdk'; export const POST = async (req: NextRequest) => { const { message, signature } = await req.json(); + + console.log(message, signature); const session = await Session.fromRequest(req); let signInMessage: SignInResponse; @@ -13,21 +15,26 @@ export const POST = async (req: NextRequest) => { message, signature, nonce: session.nonce, - domain: process.env.DOMAIN + domain: process.env.DOMAIN, }); } catch (error) { - return tap(new NextResponse(error.message, { status: 422 }), res => session.clear(res)); + return tap(new NextResponse(error.message, { status: 422 }), (res) => + session.clear(res) + ); } const { data: fields, ens, success, error } = signInMessage; - if(!success) { - return tap(new NextResponse(error?.type || "something went wrong", { status: 422 }), res => session.clear(res)); + if (!success) { + return tap( + new NextResponse(error?.type || 'something went wrong', { status: 422 }), + (res) => session.clear(res) + ); } session.address = fields.address; session.chainId = fields.chainId; session.ens = ens; - return tap(new NextResponse(''), res => session.persist(res)); + return tap(new NextResponse(''), (res) => session.persist(res)); }; diff --git a/packages/@justaname.id/sdk/.swcrc b/packages/@justaname.id/sdk/.swcrc index 28e88ec1..4a408fae 100644 --- a/packages/@justaname.id/sdk/.swcrc +++ b/packages/@justaname.id/sdk/.swcrc @@ -23,7 +23,6 @@ ".*\\.spec.tsx?$", ".*\\.test.tsx?$", "./src/jest-setup.ts$", - "./**/jest-setup.ts$", - ".*.js$" + "./**/jest-setup.ts$" ] } diff --git a/packages/@justaname.id/sdk/package.json b/packages/@justaname.id/sdk/package.json index a8334991..a61ad6e6 100644 --- a/packages/@justaname.id/sdk/package.json +++ b/packages/@justaname.id/sdk/package.json @@ -10,8 +10,9 @@ "jest": "^29.4.1" }, "peerDependencies": { - "ethers": "^6.11.1", - "siwe": "^2.3.2" + "ethers": ">=6.0.0", + "siwe": ">=2.0.0", + "viem": ">=2.0.0" }, "exports": { "./package.json": "./dist/package.json", diff --git a/packages/@justaname.id/sdk/project.json b/packages/@justaname.id/sdk/project.json index 6e677eb0..a2aa4987 100644 --- a/packages/@justaname.id/sdk/project.json +++ b/packages/@justaname.id/sdk/project.json @@ -46,6 +46,7 @@ "outputPath": "packages/@justaname.id/sdk/dist", "tsConfig": "packages/@justaname.id/sdk/tsconfig.lib.json", "project": "packages/@justaname.id/sdk/package.json", + "rollupConfig": "packages/@justaname.id/sdk/rollup.config.cjs", "generateExportsField": true, "allowJs": true, "compiler": "swc", diff --git a/packages/@justaname.id/sdk/rollup.config.cjs b/packages/@justaname.id/sdk/rollup.config.cjs new file mode 100644 index 00000000..3e6d2596 --- /dev/null +++ b/packages/@justaname.id/sdk/rollup.config.cjs @@ -0,0 +1,15 @@ +const { nodeResolve } = require('@rollup/plugin-node-resolve'); +const commonjs = require('@rollup/plugin-commonjs') + +module.exports = (config) => { + return { + ...config, + plugins: [ + nodeResolve({ + extensions: ['.js', '.ts', '.tsx'], + }), + commonjs(), + ...config.plugins, + ], + }; +} \ No newline at end of file diff --git a/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts b/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts index 10e1e2a0..9bdb136a 100644 --- a/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts +++ b/packages/@justaname.id/sdk/src/lib/features/sign-in/index.ts @@ -8,6 +8,8 @@ import { } from '../../errors'; import { OffchainResolvers } from '../offchain-resolvers'; import { RequestSignInParams, SignInFunctionParams } from '../../types/signin'; +import { createPublicClient, http } from 'viem'; +import { mainnet, sepolia } from 'viem/chains'; export interface SignInResponse extends SiwensResponse { isJustaName: boolean; @@ -107,11 +109,47 @@ export class SignIn { providerUrl: network.providerUrl, }); - const siwensResponse = await siwens.verify({ - signature: params.signature, - nonce: params.nonce, - domain: params.domain, - }); + const siwensResponse = await siwens.verify( + { + signature: params.signature, + nonce: params.nonce, + domain: params.domain, + }, + { + provider: network.provider, + verificationFallback: async (params, opts, message, EIP1271Promise) => { + const publicClient = createPublicClient({ + chain: this.chainId === 1 ? mainnet : sepolia, + transport: http(network.providerUrl), + }); + + const result = await EIP1271Promise; + + if (result.success) { + return result; + } else { + const viemResponse = await publicClient.verifySiweMessage({ + message: message.toMessage(), + signature: params.signature as `0x${string}`, + address: result.data.address as `0x${string}`, + nonce: params.nonce, + domain: params.domain as string, + time: params.time ? new Date(params.time) : undefined, + scheme: params.scheme as string, + }); + + if (viemResponse) { + return { + data: result.data, + success: true, + }; + } + + return result; + } + }, + } + ); if (siwensResponse.data.chainId !== chainId) { throw InvalidSignInException.chainIdMismatch( diff --git a/packages/@justaname.id/siwens/package.json b/packages/@justaname.id/siwens/package.json index b4995722..0803c031 100644 --- a/packages/@justaname.id/siwens/package.json +++ b/packages/@justaname.id/siwens/package.json @@ -1,9 +1,9 @@ { "name": "@justaname.id/siwens", "version": "0.0.66", - "dependencies": { - "ethers": "^6.11.1", - "siwe": "^2.3.2" + "peerDependencies": { + "ethers": ">=6.0.0", + "siwe": ">=2.0.0" }, "exports": { "./package.json": "./dist/package.json", diff --git a/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts b/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts index 0aadd133..0a173eb5 100644 --- a/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts +++ b/packages/@justaname.id/siwens/src/lib/siwens/siwens.ts @@ -41,6 +41,7 @@ export interface SiwensConfig { export class SIWENS extends SiweMessage { readonly provider: JsonRpcProvider; + readonly providerUrl: string | undefined; constructor(signInConfig: SiwensConfig) { const { params, providerUrl } = signInConfig; @@ -50,6 +51,7 @@ export class SIWENS extends SiweMessage { throw InvalidConfigurationException.providerUrlRequired(); } this.provider = new JsonRpcProvider(providerUrl); + this.providerUrl = providerUrl; return; } @@ -88,12 +90,13 @@ export class SIWENS extends SiweMessage { issuedAt, expirationTime, }); + this.providerUrl = providerUrl; this.provider = new JsonRpcProvider(providerUrl); } override async verify( params: VerifyParams, - opts?: VerifyOpts + opts: VerifyOpts ): Promise { let verification: SiweResponse; diff --git a/packages/@justweb3/efp-plugin/package.json b/packages/@justweb3/efp-plugin/package.json index 55ae0fa1..a0aa18aa 100644 --- a/packages/@justweb3/efp-plugin/package.json +++ b/packages/@justweb3/efp-plugin/package.json @@ -2,10 +2,10 @@ "name": "@justweb3/efp-plugin", "version": "0.1.32", "dependencies": { - "@tanstack/react-query": "^5.28.4", "axios": "^1.6.0" }, "peerDependencies": { + "@tanstack/react-query": "^5.x", "@justweb3/widget": ">=0.0.0", "react": ">=17" }, diff --git a/packages/@justweb3/ui/package.json b/packages/@justweb3/ui/package.json index 304137bb..2026471d 100644 --- a/packages/@justweb3/ui/package.json +++ b/packages/@justweb3/ui/package.json @@ -11,7 +11,7 @@ "clsx": "1.2.1", "embla-carousel-react": "^8.3.0", "input-otp": "^1.2.4", - "react-hook-form": "^7.49.2" + "react-hook-form": "^7.53.0" }, "peerDependencies": { "react": ">=17" diff --git a/packages/@justweb3/widget/.eslintrc.json b/packages/@justweb3/widget/.eslintrc.json index 4cf70de1..42a0bdb8 100644 --- a/packages/@justweb3/widget/.eslintrc.json +++ b/packages/@justweb3/widget/.eslintrc.json @@ -25,7 +25,8 @@ "@nx/dependency-checks": [ "error", { - "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", "{projectRoot}/src/stories/**/*", "{projectRoot}/.storybook/**/*"] + "ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts,cjs}", "{projectRoot}/src/stories/**/*", "{projectRoot}/.storybook/**/*"], + "ignoredDependencies": ["react-hook-form"] } ] } diff --git a/packages/@justweb3/widget/package.json b/packages/@justweb3/widget/package.json index 61fc4d47..f688df9b 100644 --- a/packages/@justweb3/widget/package.json +++ b/packages/@justweb3/widget/package.json @@ -11,7 +11,6 @@ "clsx": "1.2.1", "cropperjs": "^1.6.2", "lodash": "4.17.21", - "react-hook-form": "^7.53.0", "yup": "0.32.11" }, "peerDependencies": { From 98e8b8b21e56263a68280d43044c0b3407f161d3 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Wed, 6 Nov 2024 23:48:48 +0200 Subject: [PATCH 42/57] fix: yarn lock --- packages/@justweb3/efp-plugin/package.json | 2 +- yarn.lock | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/@justweb3/efp-plugin/package.json b/packages/@justweb3/efp-plugin/package.json index a0aa18aa..6ebde80a 100644 --- a/packages/@justweb3/efp-plugin/package.json +++ b/packages/@justweb3/efp-plugin/package.json @@ -5,8 +5,8 @@ "axios": "^1.6.0" }, "peerDependencies": { - "@tanstack/react-query": "^5.x", "@justweb3/widget": ">=0.0.0", + "@tanstack/react-query": "^5.x", "react": ">=17" }, "exports": { diff --git a/yarn.lock b/yarn.lock index b34a5516..2ca107e0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4536,17 +4536,18 @@ __metadata: jest: "npm:^29.4.1" qs: "npm:^6.12.0" peerDependencies: - ethers: ^6.11.1 - siwe: ^2.3.2 + ethers: ">=6.0.0" + siwe: ">=2.0.0" + viem: ">=2.0.0" languageName: unknown linkType: soft "@justaname.id/siwens@npm:0.0.66, @justaname.id/siwens@workspace:packages/@justaname.id/siwens": version: 0.0.0-use.local resolution: "@justaname.id/siwens@workspace:packages/@justaname.id/siwens" - dependencies: - ethers: "npm:^6.11.1" - siwe: "npm:^2.3.2" + peerDependencies: + ethers: ">=6.0.0" + siwe: ">=2.0.0" languageName: unknown linkType: soft @@ -4569,10 +4570,10 @@ __metadata: version: 0.0.0-use.local resolution: "@justweb3/efp-plugin@workspace:packages/@justweb3/efp-plugin" dependencies: - "@tanstack/react-query": "npm:^5.28.4" axios: "npm:^1.6.0" peerDependencies: "@justweb3/widget": ">=0.0.0" + "@tanstack/react-query": ^5.x react: ">=17" languageName: unknown linkType: soft @@ -4590,7 +4591,7 @@ __metadata: clsx: "npm:1.2.1" embla-carousel-react: "npm:^8.3.0" input-otp: "npm:^1.2.4" - react-hook-form: "npm:^7.49.2" + react-hook-form: "npm:^7.53.0" peerDependencies: react: ">=17" languageName: unknown @@ -4609,7 +4610,6 @@ __metadata: clsx: "npm:1.2.1" cropperjs: "npm:^1.6.2" lodash: "npm:4.17.21" - react-hook-form: "npm:^7.53.0" yup: "npm:0.32.11" peerDependencies: react: ">=17" @@ -32585,7 +32585,7 @@ __metadata: languageName: node linkType: hard -"react-hook-form@npm:^7.49.2, react-hook-form@npm:^7.53.0": +"react-hook-form@npm:^7.53.0": version: 7.53.1 resolution: "react-hook-form@npm:7.53.1" peerDependencies: From fb2aa7dc0fb0567e3086409d09f405c991720e54 Mon Sep 17 00:00:00 2001 From: HadiKhai Date: Thu, 7 Nov 2024 12:20:52 +0200 Subject: [PATCH 43/57] feat: rainbow and privy examples --- demo/express-trial/.env.example | 6 -- .../src/app/components/ClaimSubname.tsx | 37 ------- .../src/app/components/Subname.tsx | 75 -------------- demo/server/.env.example | 6 ++ demo/{express-trial => server}/.eslintrc.json | 0 demo/{express-trial => server}/.gitignore | 0 demo/{express-trial => server}/jest.config.ts | 4 +- demo/{express-trial => server}/project.json | 18 ++-- .../src/assets/.gitkeep | 0 demo/{express-trial => server}/src/config.ts | 0 demo/{express-trial => server}/src/main.ts | 0 .../tsconfig.app.json | 0 demo/{express-trial => server}/tsconfig.json | 0 .../tsconfig.spec.json | 0 .../webpack.config.js | 0 demo/with-privy/.env.example | 6 ++ demo/with-privy/src/app/app.tsx | 62 +++++------- .../.env.example | 0 .../.eslintrc.json | 0 demo/{react-trial => with-rainbow}/.gitignore | 0 demo/{react-trial => with-rainbow}/index.html | 2 +- .../project.json | 10 +- .../public/favicon.ico | Bin .../src/app/app.module.css | 0 .../src/app/app.tsx | 20 ++-- .../src/assets/react.svg | 0 .../src/index.css | 0 .../src/main.tsx | 0 .../src/vite-env.d.ts | 0 .../tsconfig.app.json | 0 .../tsconfig.json | 0 .../tsconfig.spec.json | 0 .../vite.config.ts | 4 +- .../src/stories/justverified.stories.tsx | 2 +- .../ui/src/lib/ui/Dialog/Dialog.module.css | 4 +- packages/@justweb3/widget/env.d.ts | 1 + .../lib/components/JustWeb3Button/index.tsx | 75 +++++++------- .../Profile/ContentSection/index.tsx | 9 +- .../lib/providers/JustWeb3Provider/index.tsx | 44 +++++--- .../widget/src/stories/privy.stories.tsx | 95 ++++++++++++++++++ 40 files changed, 238 insertions(+), 242 deletions(-) delete mode 100644 demo/express-trial/.env.example delete mode 100644 demo/react-trial/src/app/components/ClaimSubname.tsx delete mode 100644 demo/react-trial/src/app/components/Subname.tsx create mode 100644 demo/server/.env.example rename demo/{express-trial => server}/.eslintrc.json (100%) rename demo/{express-trial => server}/.gitignore (100%) rename demo/{express-trial => server}/jest.config.ts (73%) rename demo/{express-trial => server}/project.json (59%) rename demo/{express-trial => server}/src/assets/.gitkeep (100%) rename demo/{express-trial => server}/src/config.ts (100%) rename demo/{express-trial => server}/src/main.ts (100%) rename demo/{express-trial => server}/tsconfig.app.json (100%) rename demo/{express-trial => server}/tsconfig.json (100%) rename demo/{express-trial => server}/tsconfig.spec.json (100%) rename demo/{express-trial => server}/webpack.config.js (100%) create mode 100644 demo/with-privy/.env.example rename demo/{react-trial => with-rainbow}/.env.example (100%) rename demo/{react-trial => with-rainbow}/.eslintrc.json (100%) rename demo/{react-trial => with-rainbow}/.gitignore (100%) rename demo/{react-trial => with-rainbow}/index.html (91%) rename demo/{react-trial => with-rainbow}/project.json (77%) rename demo/{react-trial => with-rainbow}/public/favicon.ico (100%) rename demo/{react-trial => with-rainbow}/src/app/app.module.css (100%) rename demo/{react-trial => with-rainbow}/src/app/app.tsx (72%) rename demo/{react-trial => with-rainbow}/src/assets/react.svg (100%) rename demo/{react-trial => with-rainbow}/src/index.css (100%) rename demo/{react-trial => with-rainbow}/src/main.tsx (100%) rename demo/{react-trial => with-rainbow}/src/vite-env.d.ts (100%) rename demo/{react-trial => with-rainbow}/tsconfig.app.json (100%) rename demo/{react-trial => with-rainbow}/tsconfig.json (100%) rename demo/{react-trial => with-rainbow}/tsconfig.spec.json (100%) rename demo/{react-trial => with-rainbow}/vite.config.ts (88%) create mode 100644 packages/@justweb3/widget/src/stories/privy.stories.tsx diff --git a/demo/express-trial/.env.example b/demo/express-trial/.env.example deleted file mode 100644 index a7319491..00000000 --- a/demo/express-trial/.env.example +++ /dev/null @@ -1,6 +0,0 @@ -JUSTANAME_API_KEY=your_api_key -JUSTANAME_PROVIDER_URL=https://rpc.yourprovider.com -JUSTANAME_CHAIN_ID=your_chain_id -JUSTANAME_DOMAIN=yourwebsite -JUSTANAME_ORIGIN=yourwebsite.com -JUSTANAME_ENS_DOMAIN=yourens.eth \ No newline at end of file diff --git a/demo/react-trial/src/app/components/ClaimSubname.tsx b/demo/react-trial/src/app/components/ClaimSubname.tsx deleted file mode 100644 index 0738d7bf..00000000 --- a/demo/react-trial/src/app/components/ClaimSubname.tsx +++ /dev/null @@ -1,37 +0,0 @@ -import { useAddSubname, useIsSubnameAvailable } from '@justaname.id/react'; -import { useState } from 'react'; -import { useDebounce } from '@uidotdev/usehooks'; -import { ConnectButton } from '@rainbow-me/rainbowkit'; -import { useAccount } from 'wagmi'; - -export const AddSubname = () => { - const { isConnected } = useAccount(); - const [username, setUsername] = useState(''); - const debouncedUsername = useDebounce(username, 500); - const { isSubnameAvailable } = useIsSubnameAvailable({ - username: debouncedUsername, - }); - const { addSubname } = useAddSubname(); - - return ( -
-

Claim your subdomain

- - setUsername(e.target.value)} - placeholder="Enter a subdomain" - /> - -
- ); -}; diff --git a/demo/react-trial/src/app/components/Subname.tsx b/demo/react-trial/src/app/components/Subname.tsx deleted file mode 100644 index 72ee8971..00000000 --- a/demo/react-trial/src/app/components/Subname.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import React from 'react'; -import { useSubname, useUpdateSubname } from '@justaname.id/react'; - -export interface SubnameProps { - currentSubname: string; -} -export const Subname: React.FC = ({ currentSubname }) => { - const { subname } = useSubname({ - subname: currentSubname - }) - - const { - updateSubname - } = useUpdateSubname(); - - if (!subname) { - return

Loading...

- } - - return ( -
-

{subname?.subname}

- -

Data

- - - - - - - - - - { - subname.data.textRecords.map((record, index) => ( - - - - - )) - } - -
KeyValue
{record.key}{record.value}
- -
{ - e.preventDefault(); - const formData = new FormData(e.target as HTMLFormElement); - const key = formData.get('key') as string; - const value = formData.get('value') as string; - updateSubname({ - username: subname.username, - subname: subname.subname, - ...subname.data, - text: [ - ...subname.data.textRecords.filter(record => record.key !== key ).map((record)=>{ - return { - key: record.key, - value: record.value - } - }), - { - key, - value - } - ], - contentHash: subname.data.contentHash - }); - }}> - - - -
-
- ) -} \ No newline at end of file diff --git a/demo/server/.env.example b/demo/server/.env.example new file mode 100644 index 00000000..d0df3804 --- /dev/null +++ b/demo/server/.env.example @@ -0,0 +1,6 @@ +JUSTANAME_API_KEY= +JUSTANAME_PROVIDER_URL= +JUSTANAME_CHAIN_ID= +JUSTANAME_DOMAIN= +JUSTANAME_ORIGIN= +JUSTANAME_ENS_DOMAIN= \ No newline at end of file diff --git a/demo/express-trial/.eslintrc.json b/demo/server/.eslintrc.json similarity index 100% rename from demo/express-trial/.eslintrc.json rename to demo/server/.eslintrc.json diff --git a/demo/express-trial/.gitignore b/demo/server/.gitignore similarity index 100% rename from demo/express-trial/.gitignore rename to demo/server/.gitignore diff --git a/demo/express-trial/jest.config.ts b/demo/server/jest.config.ts similarity index 73% rename from demo/express-trial/jest.config.ts rename to demo/server/jest.config.ts index bea9d529..dbfe8e2d 100644 --- a/demo/express-trial/jest.config.ts +++ b/demo/server/jest.config.ts @@ -1,12 +1,12 @@ /* eslint-disable */ export default { - displayName: 'justaname-express-trial', + displayName: 'server', preset: '../../jest.preset.js', testEnvironment: 'node', transform: { '^.+\\.[tj]s$': ['ts-jest', { tsconfig: '/tsconfig.spec.json' }], }, moduleFileExtensions: ['ts', 'js', 'html'], - coverageDirectory: '../../coverage/apps/express-trial', + coverageDirectory: '../../coverage/apps/server', passWithNoTests: true, }; diff --git a/demo/express-trial/project.json b/demo/server/project.json similarity index 59% rename from demo/express-trial/project.json rename to demo/server/project.json index 9039387c..650039e6 100644 --- a/demo/express-trial/project.json +++ b/demo/server/project.json @@ -1,21 +1,21 @@ { - "name": "justaname-express-trial", + "name": "server", "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "demo/express-trial/src", + "sourceRoot": "demo/server/src", "projectType": "application", "targets": { "serve": { "executor": "@nx/js:node", "defaultConfiguration": "development", "options": { - "buildTarget": "justaname-express-trial:build" + "buildTarget": "server:build" }, "configurations": { "development": { - "buildTarget": "justaname-express-trial:build:development" + "buildTarget": "server:build:development" }, "production": { - "buildTarget": "justaname-express-trial:build:production" + "buildTarget": "server:build:production" } } }, @@ -26,10 +26,10 @@ "options": { "target": "node", "compiler": "tsc", - "outputPath": "dist/demo/express-trial", - "main": "demo/express-trial/src/main.ts", - "tsConfig": "demo/express-trial/tsconfig.app.json", - "webpackConfig": "demo/express-trial/webpack.config.js", + "outputPath": "dist/demo/server", + "main": "demo/server/src/main.ts", + "tsConfig": "demo/server/tsconfig.app.json", + "webpackConfig": "demo/server/webpack.config.js", "generatePackageJson": true }, "configurations": { diff --git a/demo/express-trial/src/assets/.gitkeep b/demo/server/src/assets/.gitkeep similarity index 100% rename from demo/express-trial/src/assets/.gitkeep rename to demo/server/src/assets/.gitkeep diff --git a/demo/express-trial/src/config.ts b/demo/server/src/config.ts similarity index 100% rename from demo/express-trial/src/config.ts rename to demo/server/src/config.ts diff --git a/demo/express-trial/src/main.ts b/demo/server/src/main.ts similarity index 100% rename from demo/express-trial/src/main.ts rename to demo/server/src/main.ts diff --git a/demo/express-trial/tsconfig.app.json b/demo/server/tsconfig.app.json similarity index 100% rename from demo/express-trial/tsconfig.app.json rename to demo/server/tsconfig.app.json diff --git a/demo/express-trial/tsconfig.json b/demo/server/tsconfig.json similarity index 100% rename from demo/express-trial/tsconfig.json rename to demo/server/tsconfig.json diff --git a/demo/express-trial/tsconfig.spec.json b/demo/server/tsconfig.spec.json similarity index 100% rename from demo/express-trial/tsconfig.spec.json rename to demo/server/tsconfig.spec.json diff --git a/demo/express-trial/webpack.config.js b/demo/server/webpack.config.js similarity index 100% rename from demo/express-trial/webpack.config.js rename to demo/server/webpack.config.js diff --git a/demo/with-privy/.env.example b/demo/with-privy/.env.example new file mode 100644 index 00000000..d79f1b59 --- /dev/null +++ b/demo/with-privy/.env.example @@ -0,0 +1,6 @@ +VITE_APP_BACKEND_URL= +VITE_APP_ORIGIN= +VITE_APP_DOMAIN= +VITE_APP_MAINNET_PROVIDER_URL= +VITE_APP_SEPOLIA_PROVIDER_URL= +VITE_APP_PRIVY_APP_ID= \ No newline at end of file diff --git a/demo/with-privy/src/app/app.tsx b/demo/with-privy/src/app/app.tsx index 842ccbbb..1a935975 100644 --- a/demo/with-privy/src/app/app.tsx +++ b/demo/with-privy/src/app/app.tsx @@ -1,9 +1,12 @@ -import { JustWeb3Provider, JustWeb3ProviderConfig } from '@justweb3/widget'; +import { + JustWeb3Button, + JustWeb3Provider, + JustWeb3ProviderConfig, +} from '@justweb3/widget'; import '@rainbow-me/rainbowkit/styles.css'; import { http } from 'wagmi'; import { mainnet, sepolia } from 'wagmi/chains'; import { QueryClient, QueryClientProvider } from '@tanstack/react-query'; -import { ChainId } from '@justaname.id/sdk'; import { PrivyProvider, usePrivy } from '@privy-io/react-auth'; import { createConfig, WagmiProvider } from '@privy-io/wagmi'; import { useEnsAuth } from '@justaname.id/react'; @@ -18,14 +21,12 @@ const JustaNameConfig: JustWeb3ProviderConfig = { backendUrl: import.meta.env.VITE_APP_BACKEND_URL, networks: [ { - chainId: parseInt(import.meta.env.VITE_APP_CHAIN_ID) as ChainId, - providerUrl: import.meta.env.VITE_APP_PROVIDER_URL, + chainId: 1, + providerUrl: import.meta.env.VITE_APP_MAINNET_PROVIDER_URL, }, - ], - ensDomains: [ { - ensDomain: import.meta.env.VITE_APP_ENS_DOMAIN, - chainId: parseInt(import.meta.env.VITE_APP_CHAIN_ID) as ChainId, + chainId: 11155111, + providerUrl: import.meta.env.VITE_APP_SEPOLIA_PROVIDER_URL, }, ], openOnWalletConnect: true, @@ -42,33 +43,17 @@ const Connect = () => { return (
- {/* If the user is not authenticated, show a login button */} - {/* If the user is authenticated, show the user object and a logout button */} - {ready && authenticated ? ( -
-