) {
16 | const newName = e.target.value
17 | setName(newName)
18 | }
19 |
20 | return (
21 |
22 |
34 |
35 |
36 | {loading ? (
37 | Loading...
38 | ) : error ? (
39 | {error.message}
40 | ) : data ? (
41 | {data}
42 | ) : null}
43 |
44 |
45 | )
46 | }
47 |
48 | export default Greeting
49 |
--------------------------------------------------------------------------------
/src/declarations/hello/hello.did.d.ts:
--------------------------------------------------------------------------------
1 | import type { Principal } from '@dfinity/principal';
2 | import type { ActorMethod } from '@dfinity/agent';
3 | import type { IDL } from '@dfinity/candid';
4 |
5 | export interface _SERVICE { 'greet' : ActorMethod<[string], string> }
6 | export declare const idlFactory: IDL.InterfaceFactory;
7 | export declare const init: ({ IDL }: { IDL: IDL }) => IDL.Type[];
8 |
--------------------------------------------------------------------------------
/src/declarations/hello/hello.did.js:
--------------------------------------------------------------------------------
1 | export const idlFactory = ({ IDL }) => {
2 | return IDL.Service({ 'greet' : IDL.Func([IDL.Text], [IDL.Text], ['query']) });
3 | };
4 | export const init = ({ IDL }) => { return []; };
5 |
--------------------------------------------------------------------------------
/src/declarations/hello/index.d.ts:
--------------------------------------------------------------------------------
1 | import type {
2 | ActorSubclass,
3 | HttpAgentOptions,
4 | ActorConfig,
5 | Agent,
6 | } from "@dfinity/agent";
7 | import type { Principal } from "@dfinity/principal";
8 | import type { IDL } from "@dfinity/candid";
9 |
10 | import { _SERVICE } from './hello.did';
11 |
12 | export declare const idlFactory: IDL.InterfaceFactory;
13 | export declare const canisterId: string;
14 |
15 | export declare interface CreateActorOptions {
16 | /**
17 | * @see {@link Agent}
18 | */
19 | agent?: Agent;
20 | /**
21 | * @see {@link HttpAgentOptions}
22 | */
23 | agentOptions?: HttpAgentOptions;
24 | /**
25 | * @see {@link ActorConfig}
26 | */
27 | actorOptions?: ActorConfig;
28 | }
29 |
30 | /**
31 | * Intializes an {@link ActorSubclass}, configured with the provided SERVICE interface of a canister.
32 | * @constructs {@link ActorSubClass}
33 | * @param {string | Principal} canisterId - ID of the canister the {@link Actor} will talk to
34 | * @param {CreateActorOptions} options - see {@link CreateActorOptions}
35 | * @param {CreateActorOptions["agent"]} options.agent - a pre-configured agent you'd like to use. Supercedes agentOptions
36 | * @param {CreateActorOptions["agentOptions"]} options.agentOptions - options to set up a new agent
37 | * @see {@link HttpAgentOptions}
38 | * @param {CreateActorOptions["actorOptions"]} options.actorOptions - options for the Actor
39 | * @see {@link ActorConfig}
40 | */
41 | export declare const createActor: (
42 | canisterId: string | Principal,
43 | options?: CreateActorOptions
44 | ) => ActorSubclass<_SERVICE>;
45 |
46 | /**
47 | * Intialized Actor using default settings, ready to talk to a canister using its candid interface
48 | * @constructs {@link ActorSubClass}
49 | */
50 | export declare const hello: ActorSubclass<_SERVICE>;
51 |
--------------------------------------------------------------------------------
/src/declarations/hello/index.js:
--------------------------------------------------------------------------------
1 | import { Actor, HttpAgent } from "@dfinity/agent";
2 |
3 | // Imports and re-exports candid interface
4 | import { idlFactory } from "./hello.did.js";
5 | export { idlFactory } from "./hello.did.js";
6 |
7 | /* CANISTER_ID is replaced by webpack based on node environment
8 | * Note: canister environment variable will be standardized as
9 | * process.env.CANISTER_ID_
10 | * beginning in dfx 0.15.0
11 | */
12 | export const canisterId =
13 | process.env.CANISTER_ID_HELLO ||
14 | process.env.HELLO_CANISTER_ID;
15 |
16 | export const createActor = (canisterId, options = {}) => {
17 | const agent = options.agent || new HttpAgent({ ...options.agentOptions });
18 |
19 | if (options.agent && options.agentOptions) {
20 | console.warn(
21 | "Detected both agent and agentOptions passed to createActor. Ignoring agentOptions and proceeding with the provided agent."
22 | );
23 | }
24 |
25 | // Fetch root key for certificate validation during development
26 | if (process.env.DFX_NETWORK !== "ic") {
27 | agent.fetchRootKey().catch((err) => {
28 | console.warn(
29 | "Unable to fetch root key. Check to ensure that your local replica is running"
30 | );
31 | console.error(err);
32 | });
33 | }
34 |
35 | // Creates an actor with using the candid interface and the HttpAgent
36 | return Actor.createActor(idlFactory, {
37 | agent,
38 | canisterId,
39 | ...options.actorOptions,
40 | });
41 | };
42 |
--------------------------------------------------------------------------------
/src/pages/_app.tsx:
--------------------------------------------------------------------------------
1 | import { AppProps } from "next/app"
2 | import React from "react"
3 | import "styles/global.css"
4 |
5 | const App: React.FC = ({ Component, pageProps }) => {
6 | return
7 | }
8 |
9 | export default App
10 |
--------------------------------------------------------------------------------
/src/pages/index.tsx:
--------------------------------------------------------------------------------
1 | import Head from "next/head"
2 |
3 | import styles from "styles/Home.module.css"
4 |
5 | import Greeting from "components/Greeting"
6 | import Image from "next/image"
7 |
8 | function HomePage() {
9 | return (
10 |
11 |
12 |
Internet Computer
13 |
14 |
15 |
16 | Welcome to the Internet Computer starter template
17 |
18 |
19 |
20 |
35 |
36 | )
37 | }
38 |
39 | export default HomePage
40 |
--------------------------------------------------------------------------------
/src/service/hello.ts:
--------------------------------------------------------------------------------
1 | import { createReactor } from "@ic-reactor/react"
2 | import { canisterId, hello, idlFactory } from "declarations/hello"
3 |
4 | export const { initialize, useQueryCall } = createReactor({
5 | canisterId,
6 | idlFactory,
7 | withLocalEnv: true
8 | })
9 |
--------------------------------------------------------------------------------
/src/styles/Home.module.css:
--------------------------------------------------------------------------------
1 | .container {
2 | min-height: 100vh;
3 | padding: 0 0.5rem;
4 | }
5 |
6 | .main {
7 | padding: 2rem 0;
8 | flex: 1;
9 | display: flex;
10 | flex-direction: column;
11 | justify-content: center;
12 | align-items: center;
13 | gap: 1rem;
14 | }
15 |
16 | .title {
17 | margin: 0;
18 | line-height: 1.15;
19 | font-size: 2rem;
20 | text-align: center;
21 | }
22 |
23 | .logo {
24 | width: 140px;
25 | }
26 |
27 | .footer {
28 | width: 100%;
29 | height: 50px;
30 | border-top: 1px solid #eaeaea;
31 | display: flex;
32 | justify-content: center;
33 | align-items: center;
34 | }
--------------------------------------------------------------------------------
/src/styles/global.css:
--------------------------------------------------------------------------------
1 | html,
2 | body {
3 | padding: 0;
4 | margin: 0;
5 | font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
6 | Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
7 | line-height: 1.6;
8 | font-size: 18px;
9 | }
10 |
11 | * {
12 | box-sizing: border-box;
13 | }
14 |
15 | a {
16 | color: #0070f3;
17 | text-decoration: none;
18 | }
19 |
20 | a:hover {
21 | text-decoration: underline;
22 | }
23 |
24 | img {
25 | max-width: 100%;
26 | display: block;
27 | }
28 |
29 | button {
30 | width: 150px;
31 | height: 40px;
32 | font-size: 1rem;
33 | margin-left: 6px;
34 | margin-right: 6px;
35 | }
36 |
37 | section {
38 | padding: 6px;
39 | width: 600px
40 | }
41 |
42 | input {
43 | padding: 4px;
44 | margin: 0px 12px;
45 | width: 200px;
46 | height: 40px;
47 | font-size: 1rem;
48 | }
49 |
50 | label {
51 | font-size: 1.1rem;
52 | }
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "ESNext",
4 | "lib": ["dom", "dom.iterable", "esnext"],
5 | "allowJs": true,
6 | "skipLibCheck": true,
7 | "strict": true,
8 | "forceConsistentCasingInFileNames": true,
9 | "noEmit": true,
10 | "esModuleInterop": true,
11 | "module": "esnext",
12 | "moduleResolution": "node",
13 | "resolveJsonModule": true,
14 | "isolatedModules": true,
15 | "jsx": "preserve",
16 | "incremental": true,
17 | "plugins": [
18 | {
19 | "name": "next"
20 | }
21 | ],
22 | "paths": {
23 | "*": ["./src/*"]
24 | }
25 | },
26 | "include": ["next-env.d.ts", "src/**/*"],
27 | "exclude": ["node_modules", "out"]
28 | }
29 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | "@babel/runtime@^7":
6 | version "7.24.0"
7 | resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.0.tgz"
8 | integrity sha512-Chk32uHMg6TnQdvw2e9IlqPpFX/6NLuK0Ys2PqLb7/gL5uFn9mXvK715FGLlOLQrcO4qIkNHkvPGktzzXexsFw==
9 | dependencies:
10 | regenerator-runtime "^0.14.0"
11 |
12 | "@dfinity/agent@^1.3", "@dfinity/agent@^1.4.0":
13 | version "1.4.0"
14 | resolved "https://registry.npmjs.org/@dfinity/agent/-/agent-1.4.0.tgz"
15 | integrity sha512-/zgGajZpxtbu+kLXtFx2e9V2+HbMUjrtGWx9ZEwtVwhVxKgVi/2kGQpFRPEDFJ461V7wdTwCig4OkMxVU4shTw==
16 | dependencies:
17 | "@noble/curves" "^1.4.0"
18 | "@noble/hashes" "^1.3.1"
19 | base64-arraybuffer "^0.2.0"
20 | borc "^2.1.1"
21 | buffer "^6.0.3"
22 | simple-cbor "^0.4.1"
23 |
24 | "@dfinity/auth-client@^1.3":
25 | version "1.4.0"
26 | resolved "https://registry.npmjs.org/@dfinity/auth-client/-/auth-client-1.4.0.tgz"
27 | integrity sha512-9ImeOAw61SQvHJ+w4RHIuKKUL2xAQDLoce+JhmH3DbJuVvNbZIM5xMW8gHTZVlXaMw3Vhip+a1DPJIGy95r9pA==
28 | dependencies:
29 | idb "^7.0.2"
30 |
31 | "@dfinity/candid@^1.3", "@dfinity/candid@^1.4.0":
32 | version "1.4.0"
33 | resolved "https://registry.npmjs.org/@dfinity/candid/-/candid-1.4.0.tgz"
34 | integrity sha512-PsTJVn63ZM4A/6Xs5coI0zMFevSwJ8hcyh38LdH/92n6wi9UOTis1yc4qL5MZvvRCUAD0c3rVjELL+49E9sPyA==
35 |
36 | "@dfinity/identity@^1.3", "@dfinity/identity@^1.4.0":
37 | version "1.4.0"
38 | resolved "https://registry.npmjs.org/@dfinity/identity/-/identity-1.4.0.tgz"
39 | integrity sha512-4WmMsQSuzfWXmm4s+0FYGbFiQcMGE88Ztg6yFq7aTMtRWuAjhz66Dy1+jRCrXxsoxvDdUvPzsyjkOSpr1AuUYQ==
40 | dependencies:
41 | "@noble/curves" "^1.2.0"
42 | "@noble/hashes" "^1.3.1"
43 | borc "^2.1.1"
44 |
45 | "@dfinity/principal@^1.3", "@dfinity/principal@^1.4.0":
46 | version "1.4.0"
47 | resolved "https://registry.npmjs.org/@dfinity/principal/-/principal-1.4.0.tgz"
48 | integrity sha512-SuTBVlc71ub89ji0WN5/T100zUG2uIMn5x4+We4vS4nJ0R3/Xt89XJsHepjd5SQTSQPOvP7eQ+S8cQKWRz/RkA==
49 | dependencies:
50 | "@noble/hashes" "^1.3.1"
51 |
52 | "@ic-reactor/core@^1.8.0":
53 | version "1.8.0"
54 | resolved "https://registry.npmjs.org/@ic-reactor/core/-/core-1.8.0.tgz"
55 | integrity sha512-5NhsCHKk8OF/ePCgGU9632dDM8AbCbOmKrCMle2tzpAAbueOsqH6pC8EY8LOIljAO0iMETpeKNLqI2E0OND4TA==
56 | dependencies:
57 | "@dfinity/agent" "^1.3"
58 | "@dfinity/auth-client" "^1.3"
59 | "@dfinity/candid" "^1.3"
60 | "@dfinity/identity" "^1.3"
61 | "@dfinity/principal" "^1.3"
62 | zustand "^4.5"
63 |
64 | "@ic-reactor/react@^1.2":
65 | version "1.8.2"
66 | resolved "https://registry.npmjs.org/@ic-reactor/react/-/react-1.8.2.tgz"
67 | integrity sha512-7pFq7o1gL+7eSts+pG5w+uPp0L3MoQr9BgfGJ4A3xb6UrRKY1sHQg/L+VSX1MLqVWgjXpBLVbCRjljrXpn0Cyw==
68 | dependencies:
69 | "@ic-reactor/core" "^1.8.0"
70 | zustand-utils "^1.3"
71 |
72 | "@next/env@14.2.5":
73 | version "14.2.5"
74 | resolved "https://registry.npmjs.org/@next/env/-/env-14.2.5.tgz"
75 | integrity sha512-/zZGkrTOsraVfYjGP8uM0p6r0BDT6xWpkjdVbcz66PJVSpwXX3yNiRycxAuDfBKGWBrZBXRuK/YVlkNgxHGwmA==
76 |
77 | "@next/swc-darwin-arm64@14.2.5":
78 | version "14.2.5"
79 | resolved "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.5.tgz"
80 | integrity sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==
81 |
82 | "@noble/curves@^1.2.0", "@noble/curves@^1.4.0":
83 | version "1.4.2"
84 | resolved "https://registry.npmjs.org/@noble/curves/-/curves-1.4.2.tgz"
85 | integrity sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==
86 | dependencies:
87 | "@noble/hashes" "1.4.0"
88 |
89 | "@noble/hashes@^1.3.1", "@noble/hashes@1.4.0":
90 | version "1.4.0"
91 | resolved "https://registry.npmjs.org/@noble/hashes/-/hashes-1.4.0.tgz"
92 | integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==
93 |
94 | "@peculiar/asn1-schema@^2.3.8":
95 | version "2.3.8"
96 | resolved "https://registry.npmjs.org/@peculiar/asn1-schema/-/asn1-schema-2.3.8.tgz"
97 | integrity sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA==
98 | dependencies:
99 | asn1js "^3.0.5"
100 | pvtsutils "^1.3.5"
101 | tslib "^2.6.2"
102 |
103 | "@peculiar/json-schema@^1.1.12":
104 | version "1.1.12"
105 | resolved "https://registry.npmjs.org/@peculiar/json-schema/-/json-schema-1.1.12.tgz"
106 | integrity sha512-coUfuoMeIB7B8/NMekxaDzLhaYmp0HZNPEjYRm9goRou8UZIC3z21s0sL9AWoCw4EG876QyO3kYrc61WNF9B/w==
107 | dependencies:
108 | tslib "^2.0.0"
109 |
110 | "@peculiar/webcrypto@^1.4.0":
111 | version "1.5.0"
112 | resolved "https://registry.npmjs.org/@peculiar/webcrypto/-/webcrypto-1.5.0.tgz"
113 | integrity sha512-BRs5XUAwiyCDQMsVA9IDvDa7UBR9gAvPHgugOeGng3YN6vJ9JYonyDc0lNczErgtCWtucjR5N7VtaonboD/ezg==
114 | dependencies:
115 | "@peculiar/asn1-schema" "^2.3.8"
116 | "@peculiar/json-schema" "^1.1.12"
117 | pvtsutils "^1.3.5"
118 | tslib "^2.6.2"
119 | webcrypto-core "^1.8.0"
120 |
121 | "@swc/counter@^0.1.3":
122 | version "0.1.3"
123 | resolved "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz"
124 | integrity sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==
125 |
126 | "@swc/helpers@0.5.5":
127 | version "0.5.5"
128 | resolved "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.5.tgz"
129 | integrity sha512-KGYxvIOXcceOAbEk4bi/dVLEK9z8sZ0uBB3Il5b1rhfClSpcX0yfRO0KmTkqR2cnQDymwLB+25ZyMzICg/cm/A==
130 | dependencies:
131 | "@swc/counter" "^0.1.3"
132 | tslib "^2.4.0"
133 |
134 | "@types/node@^20.14.10":
135 | version "20.14.10"
136 | resolved "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz"
137 | integrity sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==
138 | dependencies:
139 | undici-types "~5.26.4"
140 |
141 | "@types/prop-types@*":
142 | version "15.7.11"
143 | resolved "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.11.tgz"
144 | integrity sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng==
145 |
146 | "@types/react@^18.3.3", "@types/react@>=16.8":
147 | version "18.3.3"
148 | resolved "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz"
149 | integrity sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==
150 | dependencies:
151 | "@types/prop-types" "*"
152 | csstype "^3.0.2"
153 |
154 | asn1js@^3.0.1, asn1js@^3.0.5:
155 | version "3.0.5"
156 | resolved "https://registry.npmjs.org/asn1js/-/asn1js-3.0.5.tgz"
157 | integrity sha512-FVnvrKJwpt9LP2lAMl8qZswRNm3T4q9CON+bxldk2iwk3FFpuwhx2FfinyitizWHsVYyaY+y5JzDR0rCMV5yTQ==
158 | dependencies:
159 | pvtsutils "^1.3.2"
160 | pvutils "^1.1.3"
161 | tslib "^2.4.0"
162 |
163 | base64-arraybuffer@^0.2.0:
164 | version "0.2.0"
165 | resolved "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.2.0.tgz"
166 | integrity sha512-7emyCsu1/xiBXgQZrscw/8KPRT44I4Yq9Pe6EGs3aPRTsWuggML1/1DTuZUuIaJPIm1FTDUVXl4x/yW8s0kQDQ==
167 |
168 | base64-js@^1.3.1:
169 | version "1.5.1"
170 | resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz"
171 | integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
172 |
173 | bignumber.js@^9.0.0:
174 | version "9.1.2"
175 | resolved "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz"
176 | integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==
177 |
178 | borc@^2.1.1:
179 | version "2.1.2"
180 | resolved "https://registry.npmjs.org/borc/-/borc-2.1.2.tgz"
181 | integrity sha512-Sy9eoUi4OiKzq7VovMn246iTo17kzuyHJKomCfpWMlI6RpfN1gk95w7d7gH264nApVLg0HZfcpz62/g4VH1Y4w==
182 | dependencies:
183 | bignumber.js "^9.0.0"
184 | buffer "^5.5.0"
185 | commander "^2.15.0"
186 | ieee754 "^1.1.13"
187 | iso-url "~0.4.7"
188 | json-text-sequence "~0.1.0"
189 | readable-stream "^3.6.0"
190 |
191 | buffer@^5.5.0:
192 | version "5.7.1"
193 | resolved "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz"
194 | integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==
195 | dependencies:
196 | base64-js "^1.3.1"
197 | ieee754 "^1.1.13"
198 |
199 | buffer@^6.0.3:
200 | version "6.0.3"
201 | resolved "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz"
202 | integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==
203 | dependencies:
204 | base64-js "^1.3.1"
205 | ieee754 "^1.2.1"
206 |
207 | busboy@1.6.0:
208 | version "1.6.0"
209 | resolved "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz"
210 | integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==
211 | dependencies:
212 | streamsearch "^1.1.0"
213 |
214 | caniuse-lite@^1.0.30001579:
215 | version "1.0.30001593"
216 | resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001593.tgz"
217 | integrity sha512-UWM1zlo3cZfkpBysd7AS+z+v007q9G1+fLTUU42rQnY6t2axoogPW/xol6T7juU5EUoOhML4WgBIdG+9yYqAjQ==
218 |
219 | client-only@0.0.1:
220 | version "0.0.1"
221 | resolved "https://registry.npmjs.org/client-only/-/client-only-0.0.1.tgz"
222 | integrity sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==
223 |
224 | commander@^2.15.0:
225 | version "2.20.3"
226 | resolved "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz"
227 | integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
228 |
229 | csstype@^3.0.2:
230 | version "3.1.3"
231 | resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz"
232 | integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==
233 |
234 | delimit-stream@0.1.0:
235 | version "0.1.0"
236 | resolved "https://registry.npmjs.org/delimit-stream/-/delimit-stream-0.1.0.tgz"
237 | integrity sha512-a02fiQ7poS5CnjiJBAsjGLPp5EwVoGHNeu9sziBd9huppRfsAFIpv5zNLv0V1gbop53ilngAf5Kf331AwcoRBQ==
238 |
239 | dotenv@^16.4.5:
240 | version "16.4.5"
241 | resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.4.5.tgz"
242 | integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==
243 |
244 | fast-deep-equal@^3:
245 | version "3.1.3"
246 | resolved "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
247 | integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==
248 |
249 | graceful-fs@^4.2.11:
250 | version "4.2.11"
251 | resolved "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz"
252 | integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==
253 |
254 | idb@^7.0.2:
255 | version "7.1.1"
256 | resolved "https://registry.npmjs.org/idb/-/idb-7.1.1.tgz"
257 | integrity sha512-gchesWBzyvGHRO9W8tzUWFDycow5gwjvFKfyV9FF32Y7F50yZMp7mP+T2mJIWFx49zicqyC4uefHM17o6xKIVQ==
258 |
259 | ieee754@^1.1.13, ieee754@^1.2.1:
260 | version "1.2.1"
261 | resolved "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz"
262 | integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
263 |
264 | inherits@^2.0.3:
265 | version "2.0.4"
266 | resolved "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz"
267 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
268 |
269 | iso-url@~0.4.7:
270 | version "0.4.7"
271 | resolved "https://registry.npmjs.org/iso-url/-/iso-url-0.4.7.tgz"
272 | integrity sha512-27fFRDnPAMnHGLq36bWTpKET+eiXct3ENlCcdcMdk+mjXrb2kw3mhBUg1B7ewAC0kVzlOPhADzQgz1SE6Tglog==
273 |
274 | "js-tokens@^3.0.0 || ^4.0.0":
275 | version "4.0.0"
276 | resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"
277 | integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
278 |
279 | json-text-sequence@~0.1.0:
280 | version "0.1.1"
281 | resolved "https://registry.npmjs.org/json-text-sequence/-/json-text-sequence-0.1.1.tgz"
282 | integrity sha512-L3mEegEWHRekSHjc7+sc8eJhba9Clq1PZ8kMkzf8OxElhXc8O4TS5MwcVlj9aEbm5dr81N90WHC5nAz3UO971w==
283 | dependencies:
284 | delimit-stream "0.1.0"
285 |
286 | loose-envify@^1.1.0:
287 | version "1.4.0"
288 | resolved "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz"
289 | integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
290 | dependencies:
291 | js-tokens "^3.0.0 || ^4.0.0"
292 |
293 | nanoid@^3.3.6:
294 | version "3.3.7"
295 | resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz"
296 | integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
297 |
298 | next@^14.2.5:
299 | version "14.2.5"
300 | resolved "https://registry.npmjs.org/next/-/next-14.2.5.tgz"
301 | integrity sha512-0f8aRfBVL+mpzfBjYfQuLWh2WyAwtJXCRfkPF4UJ5qd2YwrHczsrSzXU4tRMV0OAxR8ZJZWPFn6uhSC56UTsLA==
302 | dependencies:
303 | "@next/env" "14.2.5"
304 | "@swc/helpers" "0.5.5"
305 | busboy "1.6.0"
306 | caniuse-lite "^1.0.30001579"
307 | graceful-fs "^4.2.11"
308 | postcss "8.4.31"
309 | styled-jsx "5.1.1"
310 | optionalDependencies:
311 | "@next/swc-darwin-arm64" "14.2.5"
312 | "@next/swc-darwin-x64" "14.2.5"
313 | "@next/swc-linux-arm64-gnu" "14.2.5"
314 | "@next/swc-linux-arm64-musl" "14.2.5"
315 | "@next/swc-linux-x64-gnu" "14.2.5"
316 | "@next/swc-linux-x64-musl" "14.2.5"
317 | "@next/swc-win32-arm64-msvc" "14.2.5"
318 | "@next/swc-win32-ia32-msvc" "14.2.5"
319 | "@next/swc-win32-x64-msvc" "14.2.5"
320 |
321 | picocolors@^1.0.0:
322 | version "1.0.0"
323 | resolved "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz"
324 | integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==
325 |
326 | postcss@8.4.31:
327 | version "8.4.31"
328 | resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz"
329 | integrity sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==
330 | dependencies:
331 | nanoid "^3.3.6"
332 | picocolors "^1.0.0"
333 | source-map-js "^1.0.2"
334 |
335 | pvtsutils@^1.3.2, pvtsutils@^1.3.5:
336 | version "1.3.5"
337 | resolved "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.5.tgz"
338 | integrity sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==
339 | dependencies:
340 | tslib "^2.6.1"
341 |
342 | pvutils@^1.1.3:
343 | version "1.1.3"
344 | resolved "https://registry.npmjs.org/pvutils/-/pvutils-1.1.3.tgz"
345 | integrity sha512-pMpnA0qRdFp32b1sJl1wOJNxZLQ2cbQx+k6tjNtZ8CpvVhNqEPRgivZ2WOUev2YMajecdH7ctUPDvEe87nariQ==
346 |
347 | react-dom@^18.2.0, react-dom@^18.3.1:
348 | version "18.3.1"
349 | resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz"
350 | integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
351 | dependencies:
352 | loose-envify "^1.1.0"
353 | scheduler "^0.23.2"
354 |
355 | "react@^16.8.0 || ^17.0.0 || ^18.0.0", react@^18.2.0, react@^18.3.1, "react@>= 16.8.0 || 17.x.x || ^18.0.0-0", react@>=16.8:
356 | version "18.3.1"
357 | resolved "https://registry.npmjs.org/react/-/react-18.3.1.tgz"
358 | integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
359 | dependencies:
360 | loose-envify "^1.1.0"
361 |
362 | readable-stream@^3.6.0:
363 | version "3.6.2"
364 | resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz"
365 | integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
366 | dependencies:
367 | inherits "^2.0.3"
368 | string_decoder "^1.1.1"
369 | util-deprecate "^1.0.1"
370 |
371 | regenerator-runtime@^0.14.0:
372 | version "0.14.1"
373 | resolved "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz"
374 | integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==
375 |
376 | safe-buffer@~5.2.0:
377 | version "5.2.1"
378 | resolved "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz"
379 | integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
380 |
381 | scheduler@^0.23.2:
382 | version "0.23.2"
383 | resolved "https://registry.npmjs.org/scheduler/-/scheduler-0.23.2.tgz"
384 | integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
385 | dependencies:
386 | loose-envify "^1.1.0"
387 |
388 | simple-cbor@^0.4.1:
389 | version "0.4.1"
390 | resolved "https://registry.npmjs.org/simple-cbor/-/simple-cbor-0.4.1.tgz"
391 | integrity sha512-rijcxtwx2b4Bje3sqeIqw5EeW7UlOIC4YfOdwqIKacpvRQ/D78bWg/4/0m5e0U91oKvlGh7LlJuZCu07ISCC7w==
392 |
393 | source-map-js@^1.0.2:
394 | version "1.0.2"
395 | resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz"
396 | integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==
397 |
398 | streamsearch@^1.1.0:
399 | version "1.1.0"
400 | resolved "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz"
401 | integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==
402 |
403 | string_decoder@^1.1.1:
404 | version "1.3.0"
405 | resolved "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz"
406 | integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==
407 | dependencies:
408 | safe-buffer "~5.2.0"
409 |
410 | styled-jsx@5.1.1:
411 | version "5.1.1"
412 | resolved "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.1.1.tgz"
413 | integrity sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==
414 | dependencies:
415 | client-only "0.0.1"
416 |
417 | tslib@^2.0.0, tslib@^2.4.0, tslib@^2.6.1, tslib@^2.6.2:
418 | version "2.6.2"
419 | resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz"
420 | integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
421 |
422 | typescript@^5.5.3:
423 | version "5.5.3"
424 | resolved "https://registry.npmjs.org/typescript/-/typescript-5.5.3.tgz"
425 | integrity sha512-/hreyEujaB0w76zKo6717l3L0o/qEUtRgdvUBvlkhoWeOVMjMuHNHk0BRBzikzuGDqNmPQbg5ifMEqsHLiIUcQ==
426 |
427 | undici-types@~5.26.4:
428 | version "5.26.5"
429 | resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz"
430 | integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
431 |
432 | use-sync-external-store@1.2.0:
433 | version "1.2.0"
434 | resolved "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz"
435 | integrity sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==
436 |
437 | util-deprecate@^1.0.1:
438 | version "1.0.2"
439 | resolved "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz"
440 | integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==
441 |
442 | webcrypto-core@^1.8.0:
443 | version "1.8.0"
444 | resolved "https://registry.npmjs.org/webcrypto-core/-/webcrypto-core-1.8.0.tgz"
445 | integrity sha512-kR1UQNH8MD42CYuLzvibfakG5Ew5seG85dMMoAM/1LqvckxaF6pUiidLuraIu4V+YCIFabYecUZAW0TuxAoaqw==
446 | dependencies:
447 | "@peculiar/asn1-schema" "^2.3.8"
448 | "@peculiar/json-schema" "^1.1.12"
449 | asn1js "^3.0.1"
450 | pvtsutils "^1.3.5"
451 | tslib "^2.6.2"
452 |
453 | zustand-utils@^1.3:
454 | version "1.3.2"
455 | resolved "https://registry.npmjs.org/zustand-utils/-/zustand-utils-1.3.2.tgz"
456 | integrity sha512-c+X8whiqWKgl6r3jzzlNR6vp5ZHsqfIxbZN2uyv+GlqATKh//6GIneywm7tcq+8XZXINT8N9tnDH8npPdXDLEA==
457 | dependencies:
458 | "@babel/runtime" "^7"
459 | fast-deep-equal "^3"
460 |
461 | zustand@^4.5, zustand@>=4.4.1, zustand@4.5:
462 | version "4.5.2"
463 | resolved "https://registry.npmjs.org/zustand/-/zustand-4.5.2.tgz"
464 | integrity sha512-2cN1tPkDVkwCy5ickKrI7vijSjPksFRfqS6237NzT0vqSsztTNnQdHw9mmN7uBdk3gceVXU0a+21jFzFzAc9+g==
465 | dependencies:
466 | use-sync-external-store "1.2.0"
467 |
--------------------------------------------------------------------------------