-
Show link path here
-
+
)
}
diff --git a/lib/generator/templates/src/app/demos/socket/page.tsx b/lib/generator/templates/src/app/demos/socket/page.tsx
new file mode 100644
index 0000000..22134b7
--- /dev/null
+++ b/lib/generator/templates/src/app/demos/socket/page.tsx
@@ -0,0 +1,49 @@
+'use client';
+import { io } from 'socket.io-client';
+import { Button } from 'antd'
+import {useEffect, useState} from 'react';
+import {response} from 'express';
+
+export default function SocketPage() {
+ const [socket, setSocket] = useState
();
+ const [answer, setAnswer] = useState('');
+
+ useEffect(() => {
+ if (!socket) {
+ return;
+ }
+ socket.on('answer-chain-gpt', (socketId: string, message: string) => {
+ console.log('answer-chain-gpt: ', socketId, message);
+ setAnswer(message);
+ });
+ }, [socket]);
+
+ return <>
+ Socket io demo.
+ {
+ const _socket = io({
+ path: '/socket-io/'
+ });
+ console.log('_socket: ', _socket);
+ setSocket(_socket);
+ _socket.on("connect", () => {
+ console.log(_socket); // x8WIv7-mJelg7on_ALbx
+ console.log('connect !!!');
+ });
+ }}>Connect
+ {
+ console.log('Question: ');
+ socket.emit('question-chain-gpt', 'question socket case', (response: any) => {
+ console.log(response.status);
+ console.log(response.text);
+ setAnswer(response.text);
+ });
+ }}>Question
+ {
+ console.log('hello: ');
+ socket.emit("hello", "world");
+ }}>Hello
+ answer:
+ {answer}
+ >
+}
diff --git a/lib/generator/templates/src/app/demos/web-login/page.tsx b/lib/generator/templates/src/app/demos/web-login/page.tsx
index 38649e8..cc1f38e 100644
--- a/lib/generator/templates/src/app/demos/web-login/page.tsx
+++ b/lib/generator/templates/src/app/demos/web-login/page.tsx
@@ -1,10 +1,10 @@
'use client'
-// import dynamic from 'next/dynamic'
-import WalletConnect from './WalletConnect';
+import dynamic from 'next/dynamic'
+// import WalletConnect from './WalletConnect';
-// const WalletConnect = dynamic(() => import('./WalletConnect'), {
-// ssr: false,
-// })
+const WalletConnect = dynamic(() => import('./WalletConnect'), {
+ ssr: false,
+})
export default function Page() {
return ;
diff --git a/lib/generator/templates/src/app/layout.tsx b/lib/generator/templates/src/app/layout.tsx
index d66b346..3e80f9b 100644
--- a/lib/generator/templates/src/app/layout.tsx
+++ b/lib/generator/templates/src/app/layout.tsx
@@ -5,6 +5,8 @@ import { GoogleAnalytics } from '@next/third-parties/google';
import "./ui/globals.css";
import { inter } from '@/app/ui/fonts';
import {StoreProvider} from './StoreProvider';
+import Header from '@/components/Header';
+// import Footer from '@/components/Footer';
export const metadata: Metadata = {
title: "Create Next App",
@@ -22,7 +24,9 @@ export default function RootLayout({
+
{children}
+ {/**/}
diff --git a/lib/generator/templates/src/app/lib/walletConnectConfig.ts b/lib/generator/templates/src/app/lib/walletConnectConfig.ts
index 044ffaf..7de3ae7 100644
--- a/lib/generator/templates/src/app/lib/walletConnectConfig.ts
+++ b/lib/generator/templates/src/app/lib/walletConnectConfig.ts
@@ -2,12 +2,12 @@ import { PortkeyDiscoverWallet } from '@aelf-web-login/wallet-adapter-portkey-di
import { PortkeyAAWallet } from '@aelf-web-login/wallet-adapter-portkey-aa';
import { NightElfWallet } from '@aelf-web-login/wallet-adapter-night-elf';
import { IConfigProps } from '@aelf-web-login/wallet-adapter-bridge';
-import {TChainId} from '@aelf-web-login/wallet-adapter-base';
+import { TChainId, SignInDesignEnum, NetworkEnum } from '@aelf-web-login/wallet-adapter-base';
const APP_NAME = 'explorer.aelf.io';
const WEBSITE_ICON = 'https://explorer.aelf.io/favicon.main.ico';
const CHAIN_ID = 'AELF' as TChainId;
-const NETWORK_TYPE = 'TESTNET';
+const NETWORK_TYPE = NetworkEnum.TESTNET;
const RPC_SERVER_AELF = 'https://explorer-test.aelf.io/chain';
const RPC_SERVER_TDVV = 'https://explorer-test-side02.aelf.io/chain';
const RPC_SERVER_TDVW = 'https://explorer-test-side02.aelf.io/chain';
@@ -34,10 +34,10 @@ const baseConfig = {
chainId: CHAIN_ID,
keyboard: true,
noCommonBaseModal: false,
- design: 'CryptoDesign', // "SocialDesign" | "CryptoDesign" | "Web2Design"
+ design: SignInDesignEnum.CryptoDesign, // "SocialDesign" | "CryptoDesign" | "Web2Design"
titleForSocialDesign: 'Crypto wallet',
iconSrcForSocialDesign: 'url or base64',
-}
+};
const wallets = [
new PortkeyAAWallet({
@@ -76,9 +76,8 @@ const wallets = [
}),
];
-export const walletConnectConfig = {
+export const walletConnectConfig: IConfigProps = {
didConfig,
baseConfig,
wallets
-} as IConfigProps;
-
+};
diff --git a/lib/generator/templates/src/app/page.tsx b/lib/generator/templates/src/app/page.tsx
index e3b3f98..706232e 100644
--- a/lib/generator/templates/src/app/page.tsx
+++ b/lib/generator/templates/src/app/page.tsx
@@ -1,116 +1,31 @@
import Image from "next/image";
-import { lusitana } from '@/app/ui/fonts';
-import ImageDemo from '@/app/ui/demos/image';
-
+import Logo from "@/assets/img/logo.svg";
+import Footer from '@/components/Footer';
export default function Home() {
- return (
-
+ return <>
+
+ {/**/}s
-
+
Get started by editing
src/app/page.tsx
-
-
+
+
- );
+ >;
}
diff --git a/lib/generator/templates/src/app/public/demos/logo.svg b/lib/generator/templates/src/app/public/demos/logo.svg
new file mode 100644
index 0000000..c87fd49
--- /dev/null
+++ b/lib/generator/templates/src/app/public/demos/logo.svg
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/generator/templates/src/assets/img/add.svg b/lib/generator/templates/src/assets/img/add.svg
new file mode 100644
index 0000000..25435ed
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/add.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/addressCopy.svg b/lib/generator/templates/src/assets/img/addressCopy.svg
new file mode 100644
index 0000000..7be0a6e
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/addressCopy.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/addressIcon.svg b/lib/generator/templates/src/assets/img/addressIcon.svg
new file mode 100644
index 0000000..0e225f2
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/addressIcon.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/back.svg b/lib/generator/templates/src/assets/img/back.svg
new file mode 100644
index 0000000..c46c69f
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/back.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/calculate.svg b/lib/generator/templates/src/assets/img/calculate.svg
new file mode 100644
index 0000000..3241824
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/calculate.svg
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/lib/generator/templates/src/assets/img/clear.svg b/lib/generator/templates/src/assets/img/clear.svg
new file mode 100644
index 0000000..5881f70
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/clear.svg
@@ -0,0 +1,4 @@
+
+
+
+
diff --git a/lib/generator/templates/src/assets/img/close.svg b/lib/generator/templates/src/assets/img/close.svg
new file mode 100644
index 0000000..c486a90
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/close.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/lib/generator/templates/src/assets/img/copy.svg b/lib/generator/templates/src/assets/img/copy.svg
new file mode 100644
index 0000000..7be0a6e
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/copy.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/empty.svg b/lib/generator/templates/src/assets/img/empty.svg
new file mode 100644
index 0000000..c3c5f52
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/empty.svg
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/exit.svg b/lib/generator/templates/src/assets/img/exit.svg
new file mode 100644
index 0000000..f2e475a
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/exit.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/explore.svg b/lib/generator/templates/src/assets/img/explore.svg
new file mode 100644
index 0000000..e9c69df
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/explore.svg
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/loading-animation.json b/lib/generator/templates/src/assets/img/loading-animation.json
new file mode 100644
index 0000000..38ac5d4
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/loading-animation.json
@@ -0,0 +1,480 @@
+{
+ "v": "5.8.1",
+ "fr": 60,
+ "ip": 0,
+ "op": 65,
+ "w": 260,
+ "h": 260,
+ "nm": "dot loading animation",
+ "ddd": 0,
+ "assets": [],
+ "layers": [
+ {
+ "ddd": 0,
+ "ind": 1,
+ "ty": 4,
+ "nm": "Dot-4",
+ "sr": 1,
+ "ks": {
+ "o": { "a": 0, "k": 100, "ix": 11 },
+ "r": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0]
+ },
+ { "t": 51.19921875, "s": [360] }
+ ],
+ "ix": 10
+ },
+ "p": { "a": 0, "k": [130, 130, 0], "ix": 2, "l": 2 },
+ "a": { "a": 0, "k": [-85, -33, 0], "ix": 1, "l": 2 },
+ "s": { "a": 0, "k": [80, 80, 100], "ix": 6, "l": 2 }
+ },
+ "ao": 0,
+ "shapes": [
+ {
+ "ty": "gr",
+ "it": [
+ {
+ "d": 1,
+ "ty": "el",
+ "s": { "a": 0, "k": [282, 282], "ix": 2 },
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
+ "nm": "Ellipse Path 1",
+ "mn": "ADBE Vector Shape - Ellipse",
+ "hd": false
+ },
+ {
+ "ty": "st",
+ "c": {
+ "a": 0,
+ "k": [0.490196079016, 0.282352954149, 0.909803926945, 1],
+ "ix": 3
+ },
+ "o": { "a": 0, "k": 100, "ix": 4 },
+ "w": { "a": 0, "k": 40, "ix": 5 },
+ "lc": 2,
+ "lj": 2,
+ "bm": 0,
+ "nm": "Stroke 1",
+ "mn": "ADBE Vector Graphic - Stroke",
+ "hd": false
+ },
+ {
+ "ty": "tr",
+ "p": { "a": 0, "k": [-85, -33], "ix": 2 },
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
+ "r": { "a": 0, "k": 0, "ix": 6 },
+ "o": { "a": 0, "k": 100, "ix": 7 },
+ "sk": { "a": 0, "k": 0, "ix": 4 },
+ "sa": { "a": 0, "k": 0, "ix": 5 },
+ "nm": "Transform"
+ }
+ ],
+ "nm": "Ellipse 1",
+ "np": 2,
+ "cix": 2,
+ "bm": 0,
+ "ix": 1,
+ "mn": "ADBE Vector Group",
+ "hd": false
+ },
+ {
+ "ty": "tm",
+ "s": { "a": 0, "k": 0, "ix": 1 },
+ "e": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0.1]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 12.799,
+ "s": [10]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 38.398,
+ "s": [10]
+ },
+ { "t": 51.19921875, "s": [0.1] }
+ ],
+ "ix": 2
+ },
+ "o": { "a": 0, "k": 270, "ix": 3 },
+ "m": 1,
+ "ix": 2,
+ "nm": "Trim Paths 1",
+ "mn": "ADBE Vector Filter - Trim",
+ "hd": false
+ }
+ ],
+ "ip": 0,
+ "op": 600,
+ "st": 0,
+ "bm": 0
+ },
+ {
+ "ddd": 0,
+ "ind": 2,
+ "ty": 4,
+ "nm": "Dot-3",
+ "sr": 1,
+ "ks": {
+ "o": { "a": 0, "k": 100, "ix": 11 },
+ "r": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0]
+ },
+ { "t": 51.19921875, "s": [360] }
+ ],
+ "ix": 10
+ },
+ "p": { "a": 0, "k": [130, 130, 0], "ix": 2, "l": 2 },
+ "a": { "a": 0, "k": [-85, -33, 0], "ix": 1, "l": 2 },
+ "s": { "a": 0, "k": [80, 80, 100], "ix": 6, "l": 2 }
+ },
+ "ao": 0,
+ "shapes": [
+ {
+ "ty": "gr",
+ "it": [
+ {
+ "d": 1,
+ "ty": "el",
+ "s": { "a": 0, "k": [282, 282], "ix": 2 },
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
+ "nm": "Ellipse Path 1",
+ "mn": "ADBE Vector Shape - Ellipse",
+ "hd": false
+ },
+ {
+ "ty": "st",
+ "c": {
+ "a": 0,
+ "k": [0.698039233685, 0.549019634724, 1, 1],
+ "ix": 3
+ },
+ "o": { "a": 0, "k": 100, "ix": 4 },
+ "w": { "a": 0, "k": 40, "ix": 5 },
+ "lc": 2,
+ "lj": 2,
+ "bm": 0,
+ "nm": "Stroke 1",
+ "mn": "ADBE Vector Graphic - Stroke",
+ "hd": false
+ },
+ {
+ "ty": "tr",
+ "p": { "a": 0, "k": [-85, -33], "ix": 2 },
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
+ "r": { "a": 0, "k": 0, "ix": 6 },
+ "o": { "a": 0, "k": 100, "ix": 7 },
+ "sk": { "a": 0, "k": 0, "ix": 4 },
+ "sa": { "a": 0, "k": 0, "ix": 5 },
+ "nm": "Transform"
+ }
+ ],
+ "nm": "Ellipse 1",
+ "np": 2,
+ "cix": 2,
+ "bm": 0,
+ "ix": 1,
+ "mn": "ADBE Vector Group",
+ "hd": false
+ },
+ {
+ "ty": "tm",
+ "s": { "a": 0, "k": 0, "ix": 1 },
+ "e": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0.1]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 12.799,
+ "s": [10]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 38.398,
+ "s": [10]
+ },
+ { "t": 51.19921875, "s": [0.1] }
+ ],
+ "ix": 2
+ },
+ "o": { "a": 0, "k": 180, "ix": 3 },
+ "m": 1,
+ "ix": 2,
+ "nm": "Trim Paths 1",
+ "mn": "ADBE Vector Filter - Trim",
+ "hd": false
+ }
+ ],
+ "ip": 0,
+ "op": 600,
+ "st": 0,
+ "bm": 0
+ },
+ {
+ "ddd": 0,
+ "ind": 3,
+ "ty": 4,
+ "nm": "Dot-2",
+ "sr": 1,
+ "ks": {
+ "o": { "a": 0, "k": 100, "ix": 11 },
+ "r": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0]
+ },
+ { "t": 51.19921875, "s": [360] }
+ ],
+ "ix": 10
+ },
+ "p": { "a": 0, "k": [130, 130, 0], "ix": 2, "l": 2 },
+ "a": { "a": 0, "k": [-85, -33, 0], "ix": 1, "l": 2 },
+ "s": { "a": 0, "k": [80, 80, 100], "ix": 6, "l": 2 }
+ },
+ "ao": 0,
+ "shapes": [
+ {
+ "ty": "gr",
+ "it": [
+ {
+ "d": 1,
+ "ty": "el",
+ "s": { "a": 0, "k": [282, 282], "ix": 2 },
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
+ "nm": "Ellipse Path 1",
+ "mn": "ADBE Vector Shape - Ellipse",
+ "hd": false
+ },
+ {
+ "ty": "st",
+ "c": {
+ "a": 0,
+ "k": [0.490196079016, 0.282352954149, 0.909803926945, 1],
+ "ix": 3
+ },
+ "o": { "a": 0, "k": 100, "ix": 4 },
+ "w": { "a": 0, "k": 40, "ix": 5 },
+ "lc": 2,
+ "lj": 1,
+ "ml": 4,
+ "bm": 0,
+ "nm": "Stroke 1",
+ "mn": "ADBE Vector Graphic - Stroke",
+ "hd": false
+ },
+ {
+ "ty": "tr",
+ "p": { "a": 0, "k": [-85, -33], "ix": 2 },
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
+ "r": { "a": 0, "k": 0, "ix": 6 },
+ "o": { "a": 0, "k": 100, "ix": 7 },
+ "sk": { "a": 0, "k": 0, "ix": 4 },
+ "sa": { "a": 0, "k": 0, "ix": 5 },
+ "nm": "Transform"
+ }
+ ],
+ "nm": "Ellipse 1",
+ "np": 2,
+ "cix": 2,
+ "bm": 0,
+ "ix": 1,
+ "mn": "ADBE Vector Group",
+ "hd": false
+ },
+ {
+ "ty": "tm",
+ "s": { "a": 0, "k": 0, "ix": 1 },
+ "e": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0.1]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 12.799,
+ "s": [10]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 38.398,
+ "s": [10]
+ },
+ { "t": 51.19921875, "s": [0.1] }
+ ],
+ "ix": 2
+ },
+ "o": { "a": 0, "k": 90, "ix": 3 },
+ "m": 1,
+ "ix": 2,
+ "nm": "Trim Paths 1",
+ "mn": "ADBE Vector Filter - Trim",
+ "hd": false
+ }
+ ],
+ "ip": 0,
+ "op": 600,
+ "st": 0,
+ "bm": 0
+ },
+ {
+ "ddd": 0,
+ "ind": 4,
+ "ty": 4,
+ "nm": "Dot-1",
+ "sr": 1,
+ "ks": {
+ "o": { "a": 0, "k": 100, "ix": 11 },
+ "r": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0]
+ },
+ { "t": 51.19921875, "s": [360] }
+ ],
+ "ix": 10
+ },
+ "p": { "a": 0, "k": [130, 130, 0], "ix": 2, "l": 2 },
+ "a": { "a": 0, "k": [-85, -33, 0], "ix": 1, "l": 2 },
+ "s": { "a": 0, "k": [80, 80, 100], "ix": 6, "l": 2 }
+ },
+ "ao": 0,
+ "shapes": [
+ {
+ "ty": "gr",
+ "it": [
+ {
+ "d": 1,
+ "ty": "el",
+ "s": { "a": 0, "k": [282, 282], "ix": 2 },
+ "p": { "a": 0, "k": [0, 0], "ix": 3 },
+ "nm": "Ellipse Path 1",
+ "mn": "ADBE Vector Shape - Ellipse",
+ "hd": false
+ },
+ {
+ "ty": "st",
+ "c": {
+ "a": 0,
+ "k": [0.698039233685, 0.549019634724, 1, 1],
+ "ix": 3
+ },
+ "o": { "a": 0, "k": 100, "ix": 4 },
+ "w": { "a": 0, "k": 40, "ix": 5 },
+ "lc": 2,
+ "lj": 1,
+ "ml": 4,
+ "bm": 0,
+ "nm": "Stroke 1",
+ "mn": "ADBE Vector Graphic - Stroke",
+ "hd": false
+ },
+ {
+ "ty": "tr",
+ "p": { "a": 0, "k": [-85, -33], "ix": 2 },
+ "a": { "a": 0, "k": [0, 0], "ix": 1 },
+ "s": { "a": 0, "k": [100, 100], "ix": 3 },
+ "r": { "a": 0, "k": 0, "ix": 6 },
+ "o": { "a": 0, "k": 100, "ix": 7 },
+ "sk": { "a": 0, "k": 0, "ix": 4 },
+ "sa": { "a": 0, "k": 0, "ix": 5 },
+ "nm": "Transform"
+ }
+ ],
+ "nm": "Ellipse 1",
+ "np": 2,
+ "cix": 2,
+ "bm": 0,
+ "ix": 1,
+ "mn": "ADBE Vector Group",
+ "hd": false
+ },
+ {
+ "ty": "tm",
+ "s": { "a": 0, "k": 0, "ix": 1 },
+ "e": {
+ "a": 1,
+ "k": [
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 0,
+ "s": [0.1]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 12.799,
+ "s": [10]
+ },
+ {
+ "i": { "x": [0.667], "y": [1] },
+ "o": { "x": [0.333], "y": [0] },
+ "t": 38.398,
+ "s": [10]
+ },
+ { "t": 51.19921875, "s": [0.1] }
+ ],
+ "ix": 2
+ },
+ "o": { "a": 0, "k": 0, "ix": 3 },
+ "m": 1,
+ "ix": 2,
+ "nm": "Trim Paths 1",
+ "mn": "ADBE Vector Filter - Trim",
+ "hd": false
+ }
+ ],
+ "ip": 0,
+ "op": 600,
+ "st": 0,
+ "bm": 0
+ }
+ ],
+ "markers": []
+}
diff --git a/lib/generator/templates/src/assets/img/logo.svg b/lib/generator/templates/src/assets/img/logo.svg
new file mode 100644
index 0000000..5f494c6
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/logo.svg
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/generator/templates/src/assets/img/menu.svg b/lib/generator/templates/src/assets/img/menu.svg
new file mode 100644
index 0000000..1106266
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/menu.svg
@@ -0,0 +1,5 @@
+
+
+
diff --git a/lib/generator/templates/src/assets/img/modal-close.svg b/lib/generator/templates/src/assets/img/modal-close.svg
new file mode 100644
index 0000000..43771a9
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/modal-close.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/my-small.svg b/lib/generator/templates/src/assets/img/my-small.svg
new file mode 100644
index 0000000..b8a0860
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/my-small.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/my.svg b/lib/generator/templates/src/assets/img/my.svg
new file mode 100644
index 0000000..1c956b0
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/my.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/questionCircleOutlined.svg b/lib/generator/templates/src/assets/img/questionCircleOutlined.svg
new file mode 100644
index 0000000..3e776f6
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/questionCircleOutlined.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/lib/generator/templates/src/assets/img/result-error-icon.svg b/lib/generator/templates/src/assets/img/result-error-icon.svg
new file mode 100644
index 0000000..bd45a28
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/result-error-icon.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/result-success-icon.svg b/lib/generator/templates/src/assets/img/result-success-icon.svg
new file mode 100644
index 0000000..6e25227
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/result-success-icon.svg
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/rightArrow.svg b/lib/generator/templates/src/assets/img/rightArrow.svg
new file mode 100644
index 0000000..e5fb443
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/rightArrow.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/lib/generator/templates/src/assets/img/setting.svg b/lib/generator/templates/src/assets/img/setting.svg
new file mode 100644
index 0000000..cb6c1c2
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/setting.svg
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/wallet.svg b/lib/generator/templates/src/assets/img/wallet.svg
new file mode 100644
index 0000000..d1e1abc
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/wallet.svg
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/lib/generator/templates/src/assets/img/warning.svg b/lib/generator/templates/src/assets/img/warning.svg
new file mode 100644
index 0000000..5c9e40e
--- /dev/null
+++ b/lib/generator/templates/src/assets/img/warning.svg
@@ -0,0 +1,3 @@
+
+
+
diff --git a/lib/generator/templates/src/components/Footer/index.tsx b/lib/generator/templates/src/components/Footer/index.tsx
new file mode 100644
index 0000000..1ddf739
--- /dev/null
+++ b/lib/generator/templates/src/components/Footer/index.tsx
@@ -0,0 +1,5 @@
+export default function Footer() {
+ return
+ Create aelf dapp on aelf@2024
+
;
+}
diff --git a/lib/generator/templates/src/components/Header/index.tsx b/lib/generator/templates/src/components/Header/index.tsx
new file mode 100644
index 0000000..e6f06d0
--- /dev/null
+++ b/lib/generator/templates/src/components/Header/index.tsx
@@ -0,0 +1,36 @@
+'use client';
+import React from 'react';
+import Image from 'next/image'
+import LogoSVG from '@/assets/img/logo.svg';
+import Link from 'next/link';
+import {IMenuItem} from '@/components/Header/type';
+
+const MENU_ITEMS: IMenuItem[] = [
+ {
+ title: 'Demos',
+ schema: '/demos'
+ }
+];
+
+export default function Header() {
+ return (
+ //
+
+
+
+
+
+
+ {MENU_ITEMS.map((item, index) => {
+ const { title, schema } = item;
+ return {title};
+ })}
+
+
+
+ );
+}
diff --git a/lib/generator/templates/src/components/Header/type.ts b/lib/generator/templates/src/components/Header/type.ts
new file mode 100644
index 0000000..6428e2b
--- /dev/null
+++ b/lib/generator/templates/src/components/Header/type.ts
@@ -0,0 +1,4 @@
+export interface IMenuItem {
+ title: string;
+ schema: string;
+}
diff --git a/lib/generator/templates/src/components/demo/Menu/index.tsx b/lib/generator/templates/src/components/demo/Menu/index.tsx
new file mode 100644
index 0000000..1e10421
--- /dev/null
+++ b/lib/generator/templates/src/components/demo/Menu/index.tsx
@@ -0,0 +1,45 @@
+import NavLinks from '@/app/ui/demos/nav-links/page';
+import {NickNameItem} from '@/app/demos/redux/nickName/NickNameItem';
+import {WalletConnectItem} from '@/app/demos/redux/walletConnect/WalletConnectItem';
+
+import type { MenuProps } from 'antd';
+import { Menu } from 'antd';
+import Link from 'next/link';
+
+export type TMenuItem = Required['items'][number];
+export interface IMenuItemData {
+ label: string,
+ href: string,
+}
+export function MenuCustom({
+ menuList
+ }: {
+ menuList: IMenuItemData[]
+}) {
+
+ const menuItems: TMenuItem[] = menuList.map((item, index) => {
+ return {
+ key: index,
+ label: {item.label}
+ }
+ });
+
+ return <>
+
+
+
+
Show link path here
+
+
+
+
+
+ >
+}
diff --git a/lib/generator/templates/src/config/demo/configMenu.ts b/lib/generator/templates/src/config/demo/configMenu.ts
new file mode 100644
index 0000000..31a9926
--- /dev/null
+++ b/lib/generator/templates/src/config/demo/configMenu.ts
@@ -0,0 +1,60 @@
+import { IMenuItemData } from '@/components/demo/Menu';
+
+export const menuList: IMenuItemData[] = [
+ {
+ label: 'demo home',
+ href: '/demos'
+ },
+ {
+ label: 'with search params',
+ href: '/demos?id=12345',
+ },
+ {
+ label: 'tailwind',
+ href: '/demos/tailwind',
+ },
+ {
+ label: 'image PC/mobile',
+ href: '/demos/image',
+ },
+ {
+ label: 'fonts',
+ href: '/demos/fonts',
+ },
+ {
+ label: 'sentry',
+ href: '/demos/sentry',
+ },
+ {
+ label: 'aelf-web3 sdk',
+ href: '/demos/aelf-web3/sdk',
+ },
+ {
+ label: 'aelf-design',
+ href: '/demos/aelf-design',
+ },
+ {
+ label: 'Redux Toolkit',
+ href: '/demos/redux',
+ },
+ {
+ label: 'file-upload',
+ href: '/demos/file-upload',
+ },
+ {
+ label: 'web login',
+ href: '/demos/web-login',
+ },
+ {
+ label: 'jest',
+ href: '/demos/jest',
+ },
+ {
+ label: 'ChainGPT',
+ href: '/demos/chaingpt',
+ },
+ {
+ label: 'socket',
+ href: '/demos/socket',
+ },
+];
diff --git a/lib/generator/templates/src/hooks/useResponsive.ts b/lib/generator/templates/src/hooks/useResponsive.ts
new file mode 100644
index 0000000..e2b1dae
--- /dev/null
+++ b/lib/generator/templates/src/hooks/useResponsive.ts
@@ -0,0 +1,65 @@
+import { useMemo } from 'react';
+import { useWindowSize } from 'react-use';
+
+export default function useResponsive() {
+ const { width } = useWindowSize();
+ const isMin = useMemo(() => {
+ return width <= 480;
+ }, [width]);
+ const isXS = useMemo(() => {
+ return width < 600;
+ }, [width]);
+
+ const isSM = useMemo(() => {
+ return width <= 640;
+ }, [width]);
+ const isPcMin = useMemo(() => {
+ return width <= 500;
+ }, [width]);
+ const isMD = useMemo(() => {
+ return width <= 768;
+ }, [width]);
+ const isLG = useMemo(() => {
+ return width <= 1024;
+ }, [width]);
+ const isXL = useMemo(() => {
+ return width < 1360;
+ }, [width]);
+ const is2XL = useMemo(() => {
+ return width <= 1440;
+ }, [width]);
+ const is3XL = useMemo(() => {
+ return width <= 1600;
+ }, [width]);
+ const is4XL = useMemo(() => {
+ return width <= 1760;
+ }, [width]);
+ const is5XL = useMemo(() => {
+ return width <= 1920;
+ }, [width]);
+ const is6XL = useMemo(() => {
+ return width < 2240;
+ }, [width]);
+ const is7XL = useMemo(() => {
+ return width < 2560;
+ }, [width]);
+
+ return {
+ isMin,
+ isXS,
+ isMD,
+ isSM,
+ isPcMin,
+ isLG,
+ isXL,
+ is2XL,
+ is3XL,
+ is4XL,
+ is5XL,
+ is6XL,
+ is7XL,
+ width,
+ };
+}
+
+export { useResponsive };
diff --git a/lib/generator/templates/yarn.lock b/lib/generator/templates/yarn.lock
index 29cf0e9..392f84d 100644
--- a/lib/generator/templates/yarn.lock
+++ b/lib/generator/templates/yarn.lock
@@ -43,63 +43,79 @@
resolved "https://registry.npmjs.org/@aelf-design/nextjs-registry/-/nextjs-registry-1.1.2.tgz#d4bdc1b04765b22d694404d7d5c67ade65607b31"
integrity sha512-c6RfPaQgpn/4pIeOpNB6y4u/gTavC3zDMZjmCUTurP8tDPLSoylkgw1FOMWSXK69bQZznWR81wAHKo2qeUY5lA==
-"@aelf-web-login/wallet-adapter-base@0.0.2-alpha.10", "@aelf-web-login/wallet-adapter-base@^0.0.2-alpha.9":
- version "0.0.2-alpha.10"
- resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-base/-/wallet-adapter-base-0.0.2-alpha.10.tgz#4b4427a72016786c872996f4b7e408476aa04f63"
- integrity sha512-zMZAgg8LmpNBg3fWLkdSj2vS1m3JtNgJnbx1fzuy4sUkb/2qh0IoZAz/WKlOtTP+TytTAsiMNVG76IJ1Q9XpeA==
+"@aelf-web-login/utils@0.0.2-alpha.35":
+ version "0.0.2-alpha.35"
+ resolved "https://registry.npmjs.org/@aelf-web-login/utils/-/utils-0.0.2-alpha.35.tgz#d586daf517e7a0d96ad7fbc938a4f234cda5c4e4"
+ integrity sha512-+bfFdcZyv9MuSD51XiQzZLLDttzf9WNKyQvWpORXCA5DOUGiA27XubtMekii5Gl3eq/M9EpZ1yiFl1mjuH55Tg==
+ dependencies:
+ "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.35"
+ "@aelf-web-login/wallet-adapter-bridge" "0.0.2-alpha.35"
+ "@aelf-web-login/wallet-adapter-night-elf" "0.0.2-alpha.35"
+ "@aelf-web-login/wallet-adapter-portkey-aa" "0.0.2-alpha.35"
+ "@aelf-web-login/wallet-adapter-portkey-discover" "0.0.2-alpha.35"
+ "@aelf-web-login/wallet-adapter-react" "0.0.2-alpha.35"
+ react "^18.0.0"
+ react-dom "^18.0.0"
+
+"@aelf-web-login/wallet-adapter-base@0.0.2-alpha.35", "@aelf-web-login/wallet-adapter-base@^0.0.2-alpha.35":
+ version "0.0.2-alpha.35"
+ resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-base/-/wallet-adapter-base-0.0.2-alpha.35.tgz#ec33eee48c7194df78f0df183500589949efb6d3"
+ integrity sha512-2IuESVH3cRm4snXowQk/Xl1P3dWyyzCqqqAT9ahJZaqCBP25Xe8wUqOtOY0BHwAomTQSeYXYY5VAYCrAwmi7dw==
dependencies:
eventemitter3 "^5.0.1"
-"@aelf-web-login/wallet-adapter-bridge@0.0.2-alpha.10", "@aelf-web-login/wallet-adapter-bridge@^0.0.2-alpha.9":
- version "0.0.2-alpha.10"
- resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-bridge/-/wallet-adapter-bridge-0.0.2-alpha.10.tgz#3c46a2c500df035897f4bbbc7508182498f0262e"
- integrity sha512-dlbqMRYu9Lpdlxaa8juWfgmMtInIQR8aMOIvOcYPcVi3d8K7QCtRpvuAuAJ/rLnMRLV2oBHLNeXPjLmP4+/uLg==
+"@aelf-web-login/wallet-adapter-bridge@0.0.2-alpha.35", "@aelf-web-login/wallet-adapter-bridge@^0.0.2-alpha.35":
+ version "0.0.2-alpha.35"
+ resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-bridge/-/wallet-adapter-bridge-0.0.2-alpha.35.tgz#3ad0ea2b71cc4b72640e097453fb22424c74720b"
+ integrity sha512-Fs8zpF6/T3GKf6TOwrEbd/uq8m36/iLWjX5vVUcjqBTY73zwfPtl98g2r8KjYudsllAvB3+fhhr+rszZBlC0eg==
dependencies:
- "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.10"
- "@portkey/did-ui-react" "^2.6.2"
+ "@aelf-web-login/utils" "0.0.2-alpha.35"
+ "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.35"
"@reduxjs/toolkit" "^2.2.3"
react "^18.0.0"
react-dom "^18.0.0"
-"@aelf-web-login/wallet-adapter-night-elf@^0.0.2-alpha.9":
- version "0.0.2-alpha.10"
- resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-night-elf/-/wallet-adapter-night-elf-0.0.2-alpha.10.tgz#61657dd749f13e7a63d3464ee1881ac54e69739b"
- integrity sha512-yQFc5q7g0HhUc7Zmc/1vFCmcySjMPEFZ+Klg6QGQ7lakSzjTh/0bM+ojXALQbLp6hAbfVRd7I4jUaNp1RUznoA==
+"@aelf-web-login/wallet-adapter-night-elf@0.0.2-alpha.35", "@aelf-web-login/wallet-adapter-night-elf@^0.0.2-alpha.35":
+ version "0.0.2-alpha.35"
+ resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-night-elf/-/wallet-adapter-night-elf-0.0.2-alpha.35.tgz#ddabe0ca43d6d49e00543f3f7d4cfdf5923729fb"
+ integrity sha512-w7BDFno6Fx5raLwtSwvByYnW0knzrV5xIhhOlunAPxq5DpFxw5ySmgsvyitJ4+UpOhcybXpULEEZccFRNv784w==
dependencies:
- "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.10"
+ "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.35"
"@portkey/contracts" "^2.6.2"
- aelf-bridge "^0.0.10"
+ aelf-bridge "0.0.10"
bn.js "^5.2.1"
-"@aelf-web-login/wallet-adapter-portkey-aa@^0.0.2-alpha.9":
- version "0.0.2-alpha.10"
- resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-portkey-aa/-/wallet-adapter-portkey-aa-0.0.2-alpha.10.tgz#541647eb87d7141ad44e9d5bec4b584e0f55d56f"
- integrity sha512-ADF2L++Q7emWxhWS7aECpwJnXCkt8Sx+M9fNGICveqSJ6B8ZHKydjEfxYsZYVRaoCcGF0rdX3pz/r8ReNVix5A==
+"@aelf-web-login/wallet-adapter-portkey-aa@0.0.2-alpha.35", "@aelf-web-login/wallet-adapter-portkey-aa@^0.0.2-alpha.35":
+ version "0.0.2-alpha.35"
+ resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-portkey-aa/-/wallet-adapter-portkey-aa-0.0.2-alpha.35.tgz#c332be0ec38ef4b251968f2733ac74a2d9aa9b2a"
+ integrity sha512-Jy6ngK4sA3jVjpX7dnigjln/zigvjoFJt+8Nd5j/LafPG80nGTNZO8yx7KLuPRY+IzuFx29kxGw6yWmjcy6sEA==
dependencies:
- "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.10"
+ "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.35"
"@portkey/contracts" "^2.6.2"
"@portkey/did-ui-react" "^2.6.2"
"@portkey/utils" "^2.4.5"
-"@aelf-web-login/wallet-adapter-portkey-discover@^0.0.2-alpha.9":
- version "0.0.2-alpha.10"
- resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-portkey-discover/-/wallet-adapter-portkey-discover-0.0.2-alpha.10.tgz#38518ef44503be27ce375b249b8a29a052e20a12"
- integrity sha512-nwq/zVY6AeUvw7NyxnRTTJ8tuNcwsZSskw4HBauUFCznDRcZRrYk2JfPL2NC8un6knVyAH4AEGUFhsbf85+yCw==
+"@aelf-web-login/wallet-adapter-portkey-discover@0.0.2-alpha.35", "@aelf-web-login/wallet-adapter-portkey-discover@^0.0.2-alpha.35":
+ version "0.0.2-alpha.35"
+ resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-portkey-discover/-/wallet-adapter-portkey-discover-0.0.2-alpha.35.tgz#ff1581240fe2a7f0697af9d0baa1d1ade6f26704"
+ integrity sha512-+LD5sG3CHcOJ8bGkSXWLDJOH3QfddzDQw6AkJSCH4mPTN3uV4XodIvzEfugIjIeAd6NmHhXq4WLxRUmLhyK5gQ==
dependencies:
- "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.10"
+ "@aelf-web-login/utils" "0.0.2-alpha.35"
+ "@aelf-web-login/wallet-adapter-base" "0.0.2-alpha.35"
"@portkey/contracts" "^2.6.2"
"@portkey/detect-provider" "^2.2.0"
"@portkey/provider-types" "^2.2.0"
bn.js "^5.2.1"
-"@aelf-web-login/wallet-adapter-react@^0.0.2-alpha.9":
- version "0.0.2-alpha.10"
- resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-react/-/wallet-adapter-react-0.0.2-alpha.10.tgz#2f0fb1488f323da4d88c800128b55537d80512c5"
- integrity sha512-Dqb7rXVvvv/Jl5MiBTa7Lq3cpgueDqfXKCWp6F32HZiYdDRPTkewJ9h+F07KNePr16A4V90tpy4naowYhoCsRQ==
+"@aelf-web-login/wallet-adapter-react@0.0.2-alpha.35", "@aelf-web-login/wallet-adapter-react@^0.0.2-alpha.35":
+ version "0.0.2-alpha.35"
+ resolved "https://registry.npmjs.org/@aelf-web-login/wallet-adapter-react/-/wallet-adapter-react-0.0.2-alpha.35.tgz#726ca78880d6d9f779ce41bdc49594e62760a8a0"
+ integrity sha512-WcdaB/uWhGctYjmRBKjKaNfPi3ncmzJNOnT/Qr3GPIfiW5gweoFp7pcWZ4vvrXPDmSnNb8odzIzIRbt+hD6XJA==
dependencies:
- "@aelf-web-login/wallet-adapter-bridge" "0.0.2-alpha.10"
+ "@aelf-web-login/wallet-adapter-bridge" "0.0.2-alpha.35"
react "^18.0.0"
react-dom "^18.0.0"
+ vconsole "^3.15.1"
"@aelfqueen/protobufjs@^6.8.9":
version "6.8.9"
@@ -1185,7 +1201,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.24.7"
-"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.5", "@babel/runtime@^7.16.7", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.5", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.6", "@babel/runtime@^7.23.9", "@babel/runtime@^7.24.1", "@babel/runtime@^7.24.4", "@babel/runtime@^7.24.5", "@babel/runtime@^7.4.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.9.2":
+"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.1", "@babel/runtime@^7.10.4", "@babel/runtime@^7.11.1", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.14.5", "@babel/runtime@^7.16.7", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.0", "@babel/runtime@^7.18.3", "@babel/runtime@^7.20.0", "@babel/runtime@^7.20.7", "@babel/runtime@^7.21.0", "@babel/runtime@^7.22.5", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.6", "@babel/runtime@^7.23.9", "@babel/runtime@^7.24.1", "@babel/runtime@^7.24.4", "@babel/runtime@^7.24.5", "@babel/runtime@^7.4.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.9.2":
version "7.24.7"
resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz#f4f0d5530e8dbdf59b3451b9b3e594b6ba082e12"
integrity sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==
@@ -1231,6 +1247,14 @@
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
+"@chaingpt/generalchat@^0.0.8":
+ version "0.0.8"
+ resolved "https://registry.npmjs.org/@chaingpt/generalchat/-/generalchat-0.0.8.tgz#f0f71fe109ba39df5f4aa60b3574ae2979c31281"
+ integrity sha512-8ihlGUsC4eXPQUpd6ahxzyNt/GYsk1Ij0tlMUzJqI9ZyZQyNuH9kWBuKvLJdBFIRIHOZ2HRwQSAORMSeVKNS3Q==
+ dependencies:
+ "@types/node" "^20.10.4"
+ axios "^1.6.2"
+
"@commitlint/cli@^19.3.0":
version "19.3.0"
resolved "https://registry.npmjs.org/@commitlint/cli/-/cli-19.3.0.tgz#44e6da9823a01f0cdcc43054bbefdd2c6c5ddf39"
@@ -3313,6 +3337,11 @@
"@smithy/types" "^3.0.0"
tslib "^2.6.2"
+"@socket.io/component-emitter@~3.1.0":
+ version "3.1.2"
+ resolved "https://registry.npmjs.org/@socket.io/component-emitter/-/component-emitter-3.1.2.tgz#821f8442f4175d8f0467b9daf26e3a18e2d02af2"
+ integrity sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==
+
"@swc/counter@^0.1.3":
version "0.1.3"
resolved "https://registry.npmjs.org/@swc/counter/-/counter-0.1.3.tgz#cc7463bd02949611c6329596fccd2b0ec782b0e9"
@@ -3616,6 +3645,13 @@
resolved "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz#35f3d6213daed95da7f0f73e75bcc6980e90597b"
integrity sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==
+"@types/node@^20.10.4":
+ version "20.14.10"
+ resolved "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz#a1a218290f1b6428682e3af044785e5874db469a"
+ integrity sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==
+ dependencies:
+ undici-types "~5.26.4"
+
"@types/parse-json@^4.0.0":
version "4.0.2"
resolved "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239"
@@ -3889,7 +3925,7 @@ acorn@^8.1.0, acorn@^8.8.1, acorn@^8.8.2, acorn@^8.9.0:
resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a"
integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==
-aelf-bridge@^0.0.10:
+aelf-bridge@0.0.10:
version "0.0.10"
resolved "https://registry.npmjs.org/aelf-bridge/-/aelf-bridge-0.0.10.tgz#8885a5f77c0639edd5ceb9f3fefcd2670af2588f"
integrity sha512-jeTPsHnsCaGgzbjPYFhdk7rXIfk2LOyXsASV2tuEfqDnqVvy5RHiK+WT+wgmVu7DSmGkZdood2tVlCMv8zDwLw==
@@ -4066,6 +4102,31 @@ antd-mobile@5.33.0:
tslib "^2.5.0"
use-sync-external-store "^1.2.0"
+antd-mobile@^5.36.1:
+ version "5.36.1"
+ resolved "https://registry.npmjs.org/antd-mobile/-/antd-mobile-5.36.1.tgz#6b0d1ada43923bcdc592aa4448f2b60e13eef75a"
+ integrity sha512-TneFsSc0OV95+lYSA1DzOyDdZZI3bitA071QT71cu+duS7RLMJXoOUPGcDxkCrqPC4ticwkfNx3s6NTdP2d8fQ==
+ dependencies:
+ "@floating-ui/dom" "^1.4.2"
+ "@rc-component/mini-decimal" "^1.1.0"
+ "@react-spring/web" "~9.6.1"
+ "@use-gesture/react" "10.3.0"
+ ahooks "^3.7.6"
+ antd-mobile-icons "^0.3.0"
+ antd-mobile-v5-count "^1.0.1"
+ classnames "^2.3.2"
+ dayjs "^1.11.7"
+ deepmerge "^4.3.1"
+ nano-memoize "^3.0.16"
+ rc-field-form "~1.27.4"
+ rc-util "^5.38.1"
+ react-fast-compare "^3.2.2"
+ react-is "^18.2.0"
+ runes2 "^1.1.2"
+ staged-components "^1.1.3"
+ tslib "^2.5.0"
+ use-sync-external-store "^1.2.0"
+
antd-style@^3.5.2:
version "3.6.2"
resolved "https://registry.npmjs.org/antd-style/-/antd-style-3.6.2.tgz#23eb6b61e9c04ab3c4e5dc60ef7b5c424c407fcc"
@@ -4390,6 +4451,15 @@ axe-core@=4.7.0:
resolved "https://registry.npmjs.org/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf"
integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ==
+axios@^1.6.2:
+ version "1.7.2"
+ resolved "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621"
+ integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==
+ dependencies:
+ follow-redirects "^1.15.6"
+ form-data "^4.0.0"
+ proxy-from-env "^1.1.0"
+
axobject-query@^3.2.1:
version "3.2.1"
resolved "https://registry.npmjs.org/axobject-query/-/axobject-query-3.2.1.tgz#39c378a6e3b06ca679f29138151e45b2b32da62a"
@@ -4949,6 +5019,11 @@ convert-source-map@^2.0.0:
resolved "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a"
integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==
+copy-text-to-clipboard@^3.0.1:
+ version "3.2.0"
+ resolved "https://registry.npmjs.org/copy-text-to-clipboard/-/copy-text-to-clipboard-3.2.0.tgz#0202b2d9bdae30a49a53f898626dcc3b49ad960b"
+ integrity sha512-RnJFp1XR/LOBDckxTib5Qjr/PMfkatD0MUCQgdpqS8MdKiNUzBjAQBEN6oUy+jW7LI93BBG3DtMB2KOOKpGs2Q==
+
copy-to-clipboard@^3.2.0, copy-to-clipboard@^3.3.1, copy-to-clipboard@^3.3.3:
version "3.3.3"
resolved "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz#55ac43a1db8ae639a4bd99511c148cdd1b83a1b0"
@@ -4956,6 +5031,11 @@ copy-to-clipboard@^3.2.0, copy-to-clipboard@^3.3.1, copy-to-clipboard@^3.3.3:
dependencies:
toggle-selection "^1.0.6"
+core-js@^3.11.0:
+ version "3.37.1"
+ resolved "https://registry.npmjs.org/core-js/-/core-js-3.37.1.tgz#d21751ddb756518ac5a00e4d66499df981a62db9"
+ integrity sha512-Xn6qmxrQZyB0FFY8E3bgRXei3lWDJHhvI+u0q9TKIYM49G8pAr0FgnnrFRAmsbptZL1yxRADVXn+x5AGsbBfyw==
+
core-util-is@~1.0.0:
version "1.0.3"
resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85"
@@ -5237,7 +5317,7 @@ dayjs@1.x, dayjs@^1.11.10, dayjs@^1.11.7, dayjs@^1.9.1:
resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.11.11.tgz#dfe0e9d54c5f8b68ccf8ca5f72ac603e7e5ed59e"
integrity sha512-okzr3f11N6WuqYtZSvm+F776mB41wRZMhKP+hc34YdW+KmtYYK9iqvHSwo2k9FEH3fhGXvOPV6yz2IcSrfRUDg==
-debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4:
+debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@~4.3.1, debug@~4.3.2:
version "4.3.5"
resolved "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e"
integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==
@@ -5278,7 +5358,7 @@ deep-is@^0.1.3:
resolved "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831"
integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==
-deepmerge@^4.2.2:
+deepmerge@^4.2.2, deepmerge@^4.3.1:
version "4.3.1"
resolved "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a"
integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==
@@ -5495,6 +5575,17 @@ engine.io-client@~3.5.0:
xmlhttprequest-ssl "~1.6.2"
yeast "0.1.2"
+engine.io-client@~6.5.2:
+ version "6.5.4"
+ resolved "https://registry.npmjs.org/engine.io-client/-/engine.io-client-6.5.4.tgz#b8bc71ed3f25d0d51d587729262486b4b33bd0d0"
+ integrity sha512-GeZeeRjpD2qf49cZQ0Wvh/8NJNfeXkXXcoGh+F77oEAgo9gUHwT1fCRxSNU+YEEaysOJTnsFHmM5oAcPy4ntvQ==
+ dependencies:
+ "@socket.io/component-emitter" "~3.1.0"
+ debug "~4.3.1"
+ engine.io-parser "~5.2.1"
+ ws "~8.17.1"
+ xmlhttprequest-ssl "~2.0.0"
+
engine.io-parser@~2.2.0:
version "2.2.1"
resolved "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.1.tgz#57ce5611d9370ee94f99641b589f94c97e4f5da7"
@@ -5506,6 +5597,11 @@ engine.io-parser@~2.2.0:
blob "0.0.5"
has-binary2 "~1.0.2"
+engine.io-parser@~5.2.1:
+ version "5.2.2"
+ resolved "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-5.2.2.tgz#37b48e2d23116919a3453738c5720455e64e1c49"
+ integrity sha512-RcyUFKA93/CXH20l4SoVvzZfrSDMOTUS3bWVpTt2FuFP+XYrL8i8oonHP7WInRyVHXh0n/ORtoeiE1os+8qkSw==
+
enhanced-resolve@^5.12.0:
version "5.17.0"
resolved "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz#d037603789dd9555b89aaec7eb78845c49089bc5"
@@ -6119,6 +6215,11 @@ flatted@^3.2.9:
resolved "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz#21db470729a6734d4997002f439cb308987f567a"
integrity sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==
+follow-redirects@^1.15.6:
+ version "1.15.6"
+ resolved "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b"
+ integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==
+
for-each@^0.3.3:
version "0.3.3"
resolved "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e"
@@ -7895,6 +7996,11 @@ multipipe@^1.0.2:
duplexer2 "^0.1.2"
object-assign "^4.1.0"
+mutation-observer@^1.0.3:
+ version "1.0.3"
+ resolved "https://registry.npmjs.org/mutation-observer/-/mutation-observer-1.0.3.tgz#42e9222b101bca82e5ba9d5a7acf4a14c0f263d0"
+ integrity sha512-M/O/4rF2h776hV7qGMZUH3utZLO/jK7p8rnNgGkjKUw8zCGjRQPxB8z6+5l8+VjRUQ3dNYu4vjqXYLr+U8ZVNA==
+
mz@^2.7.0:
version "2.7.0"
resolved "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32"
@@ -7923,6 +8029,11 @@ nano-css@^5.6.1:
stacktrace-js "^2.0.2"
stylis "^4.3.0"
+nano-memoize@^3.0.16:
+ version "3.0.16"
+ resolved "https://registry.npmjs.org/nano-memoize/-/nano-memoize-3.0.16.tgz#454100602713973ac8639bde301e255dd54920ea"
+ integrity sha512-JyK96AKVGAwVeMj3MoMhaSXaUNqgMbCRSQB3trUV8tYZfWEzqUBKdK1qJpfuNXgKeHOx1jv/IEYTM659ly7zUA==
+
nanoid@^3.3.4, nanoid@^3.3.6, nanoid@^3.3.7:
version "3.3.7"
resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
@@ -9525,7 +9636,7 @@ react-universal-interface@^0.6.2:
resolved "https://registry.npmjs.org/react-universal-interface/-/react-universal-interface-0.6.2.tgz#5e8d438a01729a4dbbcbeeceb0b86be146fe2b3b"
integrity sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==
-react-use@^17.4.0:
+react-use@^17.4.0, react-use@^17.5.0:
version "17.5.0"
resolved "https://registry.npmjs.org/react-use/-/react-use-17.5.0.tgz#1fae45638828a338291efa0f0c61862db7ee6442"
integrity sha512-PbfwSPMwp/hoL847rLnm/qkjg3sTRCvn6YhUZiHaUa3FA6/aNoFX79ul5Xt70O1rK+9GxSVqkY0eTwMdsR/bWg==
@@ -9979,6 +10090,16 @@ socket.io-client@^2.3.0:
socket.io-parser "~3.3.0"
to-array "0.1.4"
+socket.io-client@^4.7.5:
+ version "4.7.5"
+ resolved "https://registry.npmjs.org/socket.io-client/-/socket.io-client-4.7.5.tgz#919be76916989758bdc20eec63f7ee0ae45c05b7"
+ integrity sha512-sJ/tqHOCe7Z50JCBCXrsY3I2k03iOiUe+tj1OmKeD2lXPiGH/RUCdTZFoqVyN7l1MnpIzPrGtLcijffmeouNlQ==
+ dependencies:
+ "@socket.io/component-emitter" "~3.1.0"
+ debug "~4.3.2"
+ engine.io-client "~6.5.2"
+ socket.io-parser "~4.2.4"
+
socket.io-parser@~3.3.0:
version "3.3.3"
resolved "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.3.tgz#3a8b84823eba87f3f7624e64a8aaab6d6318a72f"
@@ -9988,6 +10109,14 @@ socket.io-parser@~3.3.0:
debug "~3.1.0"
isarray "2.0.1"
+socket.io-parser@~4.2.4:
+ version "4.2.4"
+ resolved "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-4.2.4.tgz#c806966cf7270601e47469ddeec30fbdfda44c83"
+ integrity sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==
+ dependencies:
+ "@socket.io/component-emitter" "~3.1.0"
+ debug "~4.3.1"
+
source-map-js@^1.0.1, source-map-js@^1.0.2, source-map-js@^1.2.0:
version "1.2.0"
resolved "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af"
@@ -10120,7 +10249,16 @@ string-length@^4.0.1:
char-regex "^1.0.2"
strip-ansi "^6.0.0"
-"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
+"string-width-cjs@npm:string-width@^4.2.0":
+ version "4.2.3"
+ resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
+ integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
+ dependencies:
+ emoji-regex "^8.0.0"
+ is-fullwidth-code-point "^3.0.0"
+ strip-ansi "^6.0.1"
+
+string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
version "4.2.3"
resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -10203,7 +10341,14 @@ string_decoder@~1.1.1:
dependencies:
safe-buffer "~5.1.0"
-"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
+"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
+ version "6.0.1"
+ resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
+ integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
+ dependencies:
+ ansi-regex "^5.0.1"
+
+strip-ansi@^6.0.0, strip-ansi@^6.0.1:
version "6.0.1"
resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -10731,6 +10876,16 @@ v8-to-istanbul@^9.0.1:
"@types/istanbul-lib-coverage" "^2.0.1"
convert-source-map "^2.0.0"
+vconsole@^3.15.1:
+ version "3.15.1"
+ resolved "https://registry.npmjs.org/vconsole/-/vconsole-3.15.1.tgz#569a8ab15f353259527bbcf004f02946b4482cff"
+ integrity sha512-KH8XLdrq9T5YHJO/ixrjivHfmF2PC2CdVoK6RWZB4yftMykYIaXY1mxZYAic70vADM54kpMQF+dYmvl5NRNy1g==
+ dependencies:
+ "@babel/runtime" "^7.17.2"
+ copy-text-to-clipboard "^3.0.1"
+ core-js "^3.11.0"
+ mutation-observer "^1.0.3"
+
void-elements@3.1.0:
version "3.1.0"
resolved "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz#614f7fbf8d801f0bb5f0661f5b2f5785750e4f09"
@@ -10860,7 +11015,16 @@ word-wrap@^1.2.5:
resolved "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"
integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==
-"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
+"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
+ version "7.0.0"
+ resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
+ integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
+ dependencies:
+ ansi-styles "^4.0.0"
+ string-width "^4.1.0"
+ strip-ansi "^6.0.0"
+
+wrap-ansi@^7.0.0:
version "7.0.0"
resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -10906,6 +11070,11 @@ ws@~7.4.2:
resolved "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
+ws@~8.17.1:
+ version "8.17.1"
+ resolved "https://registry.npmjs.org/ws/-/ws-8.17.1.tgz#9293da530bb548febc95371d90f9c878727d919b"
+ integrity sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==
+
xml-name-validator@^4.0.0:
version "4.0.0"
resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835"
@@ -10921,6 +11090,11 @@ xmlhttprequest-ssl@~1.6.2:
resolved "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.6.3.tgz#03b713873b01659dfa2c1c5d056065b27ddc2de6"
integrity sha512-3XfeQE/wNkvrIktn2Kf0869fC0BN6UpydVasGIeSm2B1Llihf7/0UfZM+eCkOw3P7bP4+qPgqhm7ZoxuJtFU0Q==
+xmlhttprequest-ssl@~2.0.0:
+ version "2.0.0"
+ resolved "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-2.0.0.tgz#91360c86b914e67f44dce769180027c0da618c67"
+ integrity sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==
+
xmlhttprequest@^1.8.0:
version "1.8.0"
resolved "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz#67fe075c5c24fef39f9d65f5f7b7fe75171968fc"
diff --git a/package.json b/package.json
index a55616b..53cd177 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "create-aelf-dapp",
- "version": "0.1.4",
+ "version": "0.1.5",
"description": "Create aelf Dapp based on Next.js with one command",
"files": [
"cli.js",