diff --git a/package-lock.json b/package-lock.json index 087e2a3..ec0d4e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "joy-dao", - "version": "0.0.5", + "version": "0.0.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "joy-dao", - "version": "0.0.5", + "version": "0.0.6", "license": "ISC", "devDependencies": { - "@ckb-ccc/connector-react": "^0.0.5-alpha.13", - "@ckb-ccc/core": "^0.0.5-alpha.13", - "@ckb-ccc/lumos-patches": "^0.0.5-alpha.2", + "@ckb-ccc/connector-react": "^0.0.12-alpha.6", + "@ckb-ccc/core": "^0.0.11-alpha.3", + "@ckb-ccc/lumos-patches": "^0.0.12-alpha.6", "@ckb-lumos/common-scripts": "^0.22.2", "@ckb-lumos/lumos": "^0.22.2", "@joyid/ckb": "^0.0.8", @@ -29,168 +29,719 @@ "dev": true }, "node_modules/@ckb-ccc/ccc": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/ccc/-/ccc-0.0.5-alpha.13.tgz", - "integrity": "sha512-XX0lP6BzGo+rM5CHTtqvk6yqhlkQaiTap3ME9lSk6/NCsI5Gc7e7Z8h22VE7R9ymLpCI2TBijPSHjwAAbarLtQ==", + "version": "0.0.12-alpha.6", + "resolved": "https://registry.npmjs.org/@ckb-ccc/ccc/-/ccc-0.0.12-alpha.6.tgz", + "integrity": "sha512-qUxGNz2iKiIIJozGWkSFchkwBl1RR8EiLmrh/pHcQEjsvsF9Hxu3DGrl9Q8UQIpMTx36ugDKj3Tn2Vd0gUjwiw==", "dev": true, "dependencies": { - "@ckb-ccc/core": "0.0.5-alpha.13", - "@ckb-ccc/eip6963": "0.0.5-alpha.13", - "@ckb-ccc/joy-id": "0.0.5-alpha.13", - "@ckb-ccc/okx": "0.0.5-alpha.13", - "@ckb-ccc/uni-sat": "0.0.5-alpha.13" + "@ckb-ccc/core": "0.0.12-alpha.1", + "@ckb-ccc/eip6963": "0.0.12-alpha.4", + "@ckb-ccc/joy-id": "0.0.12-alpha.1", + "@ckb-ccc/nip07": "0.0.12-alpha.1", + "@ckb-ccc/okx": "0.0.12-alpha.6", + "@ckb-ccc/uni-sat": "0.0.12-alpha.1", + "@ckb-ccc/utxo-global": "0.0.12-alpha.1" + } + }, + "node_modules/@ckb-ccc/ccc/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/ccc/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", + "dev": true, + "dependencies": { + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", + "cross-fetch": "4.0.0", + "uncrypto": "^0.1.3" + } + }, + "node_modules/@ckb-ccc/ccc/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "dev": true, + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, "node_modules/@ckb-ccc/connector": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/connector/-/connector-0.0.5-alpha.13.tgz", - "integrity": "sha512-lTCGNKJ+fGNDFQHrBKRv/7r6elYeDfkc0ZB5ystfI8SMaWJ8FnbRTF4YzqevLYDqVNEmoyw8YT66UTfw9x55UA==", + "version": "0.0.12-alpha.6", + "resolved": "https://registry.npmjs.org/@ckb-ccc/connector/-/connector-0.0.12-alpha.6.tgz", + "integrity": "sha512-hHY01ZQ88lRh9lwqZbGDELfGWN8foD6kDLhHm/EcKlw4jtvl3wNtjmGIeTOP2rdXbYRKk9g2dpgZm1MypQhA7w==", + "dev": true, + "dependencies": { + "@ckb-ccc/ccc": "0.0.12-alpha.6", + "lit": "^3.1.3" + } + }, + "node_modules/@ckb-ccc/connector-react": { + "version": "0.0.12-alpha.6", + "resolved": "https://registry.npmjs.org/@ckb-ccc/connector-react/-/connector-react-0.0.12-alpha.6.tgz", + "integrity": "sha512-gy7o2mFL5hhKZM1leujAk+FulsAcBqxJ6n+otl5K21ePIzJtGPZ/DK3X04MlYT/Lm/W+kfuwtbUWyRh4RQgwUQ==", + "dev": true, + "dependencies": { + "@ckb-ccc/connector": "0.0.12-alpha.6", + "@lit/react": "^1.0.5", + "react": "^18" + } + }, + "node_modules/@ckb-ccc/core": { + "version": "0.0.11-alpha.3", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.11-alpha.3.tgz", + "integrity": "sha512-2+K6D7rdEFhDSqaiw4Crbe75p0urPOQ8hePJl/FTqGhengOOcBqp4G14+NXPHhS/S58r+V0kmg3zrRIRXBKPGQ==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "blake2b": "^2.1.4", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/core/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", + "dev": true, + "dependencies": { + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", + "cross-fetch": "4.0.0", + "uncrypto": "^0.1.3" + } + }, + "node_modules/@ckb-ccc/core/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "dev": true, + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@ckb-ccc/eip6963": { + "version": "0.0.12-alpha.4", + "resolved": "https://registry.npmjs.org/@ckb-ccc/eip6963/-/eip6963-0.0.12-alpha.4.tgz", + "integrity": "sha512-rhwqvgxW9WHDOd1dVtUYdBGGlMXWAO/jurU09BTHU+FE2qBov3SZ6GbJS7DRn3V0+XrMGlWudZfW0pKYU0+Nfw==", + "dev": true, + "dependencies": { + "@ckb-ccc/core": "0.0.12-alpha.1" + } + }, + "node_modules/@ckb-ccc/eip6963/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/eip6963/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", + "dev": true, + "dependencies": { + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", + "cross-fetch": "4.0.0", + "uncrypto": "^0.1.3" + } + }, + "node_modules/@ckb-ccc/eip6963/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "dev": true, + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@ckb-ccc/joy-id": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/joy-id/-/joy-id-0.0.12-alpha.1.tgz", + "integrity": "sha512-YuYyPnmiwt4SsT5J4ccupO4tqD0FkBWlVXwr6r2O8nWpRcO91D3YjwVRiqH+hvvzGys/jzVeTn3wo8tPER7dBA==", + "dev": true, + "dependencies": { + "@ckb-ccc/core": "0.0.12-alpha.1", + "@joyid/ckb": "^1.0.1", + "@joyid/common": "^0.2.0" + } + }, + "node_modules/@ckb-ccc/joy-id/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/joy-id/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", + "dev": true, + "dependencies": { + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", + "cross-fetch": "4.0.0", + "uncrypto": "^0.1.3" + } + }, + "node_modules/@ckb-ccc/joy-id/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "dev": true, + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@ckb-ccc/lumos-patches": { + "version": "0.0.12-alpha.6", + "resolved": "https://registry.npmjs.org/@ckb-ccc/lumos-patches/-/lumos-patches-0.0.12-alpha.6.tgz", + "integrity": "sha512-m1LLq9hp5e64yD2C4xDFhZZJ4XtgqyHJHU34R/fFUYZJHEb/CiQqe8o3XmHGcHK1COY9MJwhdMEEEFuTo8FVGA==", + "dev": true, + "dependencies": { + "@ckb-ccc/core": "0.0.12-alpha.1", + "@ckb-lumos/base": "^0.24.0-next.1", + "@ckb-lumos/codec": "^0.24.0-next.1", + "@ckb-lumos/common-scripts": "^0.24.0-next.1", + "@ckb-lumos/config-manager": "^0.24.0-next.1", + "@ckb-lumos/helpers": "^0.24.0-next.1", + "@joyid/ckb": "^1.0.1" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/base": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/base/-/base-0.22.2.tgz", + "integrity": "sha512-nosUCSa5rTV2IzxbEpqzrvUeQNXB66mgA0h40+QEdnE/gV/s4ke83AScrTAxWkErJy1G/sToIHCc2kWwO95DfQ==", + "dev": true, + "dependencies": { + "@ckb-lumos/bi": "0.22.2", + "@ckb-lumos/codec": "0.22.2", + "@ckb-lumos/toolkit": "0.22.2", + "@types/blake2b": "^2.1.0", + "@types/lodash.isequal": "^4.5.5", + "blake2b": "^2.1.3", + "js-xxhash": "^1.0.4", + "lodash.isequal": "^4.5.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/bi": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/bi/-/bi-0.22.2.tgz", + "integrity": "sha512-F+dLC/tE+xdtNuGgJxlDqbgX/f8azg1tvIFTR5mu7Vhz08nkFgnA+Z+yC0t/I3fDwwH4p/SlGP/yducrsfVTqw==", + "dev": true, + "dependencies": { + "jsbi": "^4.1.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/codec": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/codec/-/codec-0.22.2.tgz", + "integrity": "sha512-P5SyhT2qkJwCwcHF3yMLInE0z3wWHDkqJNbSM2Q9oyu0+9kjMQfexNia3T+atBl2M7ELFzN5WvttojYr6DrCwQ==", + "dev": true, + "dependencies": { + "@ckb-lumos/bi": "0.22.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/config-manager": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/config-manager/-/config-manager-0.22.2.tgz", + "integrity": "sha512-LJ4p80VrCHh178Ks4wW1rEyHC/JWtZxrFiwHinA9aG6aOm2Z9hbZO0/ZKoS5pLfW0gxP2+ZHA3oMVt0UJhlTKA==", + "dev": true, + "dependencies": { + "@ckb-lumos/base": "0.22.2", + "@ckb-lumos/bi": "0.22.2", + "@ckb-lumos/codec": "0.22.2", + "@ckb-lumos/rpc": "0.22.2", + "@types/deep-freeze-strict": "^1.1.0", + "deep-freeze-strict": "^1.1.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/helpers": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/helpers/-/helpers-0.22.2.tgz", + "integrity": "sha512-6ztXwxsaCuoHjkbclAnfAv9BYl02t+/XxNtl3Et4Sl09xIp9HJ9/vyJouC9JjdQdnfkv1zVGN9tLiKwc6QudaQ==", + "dev": true, + "dependencies": { + "@ckb-lumos/base": "0.22.2", + "@ckb-lumos/bi": "0.22.2", + "@ckb-lumos/codec": "0.22.2", + "@ckb-lumos/config-manager": "0.22.2", + "@ckb-lumos/toolkit": "0.22.2", + "bech32": "^2.0.0", + "immutable": "^4.3.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/rpc": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/rpc/-/rpc-0.22.2.tgz", + "integrity": "sha512-c2SX0ooDJO3dV2JOTTQtKZs0k+dHst+NHfbYJ6mYWApcZWx2nG4bQR3CQFMIKnd5CKYP/r2JuaonDkcRH9vmzw==", + "dev": true, + "dependencies": { + "@ckb-lumos/base": "0.22.2", + "@ckb-lumos/bi": "0.22.2", + "abort-controller": "^3.0.0", + "cross-fetch": "^3.1.5" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/rpc/node_modules/cross-fetch": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "dev": true, + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-ccc/core/node_modules/@ckb-lumos/toolkit": { + "version": "0.22.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/toolkit/-/toolkit-0.22.2.tgz", + "integrity": "sha512-HmKz2dGQeaW2XDqkvjJfLv50VQWGKbthg2RDfIxGsZyjveluRROTyuHP1akypy4pqF8TApGLsXci2MaHCRau+w==", + "dev": true, + "dependencies": { + "@ckb-lumos/bi": "0.22.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-lumos/common-scripts": { + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/common-scripts/-/common-scripts-0.24.0-next.2.tgz", + "integrity": "sha512-wPaAHYWoxOuYLkkfRImtTxaElfMuL5mYA/L5nSCTCkMCncvt3loMjbYlBZY6IBMMclwobTfMPej5Bg5cUpHadA==", + "dev": true, + "dependencies": { + "@ckb-lumos/base": "0.24.0-next.2", + "@ckb-lumos/bi": "0.24.0-next.2", + "@ckb-lumos/codec": "0.24.0-next.2", + "@ckb-lumos/config-manager": "0.24.0-next.2", + "@ckb-lumos/crypto": "0.24.0-next.2", + "@ckb-lumos/helpers": "0.24.0-next.2", + "@ckb-lumos/rpc": "0.24.0-next.2", + "@ckb-lumos/toolkit": "0.24.0-next.2", + "bech32": "^2.0.0", + "bs58": "^5.0.0", + "immutable": "^4.3.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-lumos/config-manager": { + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/config-manager/-/config-manager-0.24.0-next.2.tgz", + "integrity": "sha512-/HL0fjFXFnTaJNRyZqHk6/MiioDWeB6bVcm6MO97E6tJVBxTJjIe/cvRjqohEAO3SRst9X81vh2WIB7lCIBjfA==", + "dev": true, + "dependencies": { + "@ckb-lumos/base": "0.24.0-next.2", + "@ckb-lumos/bi": "0.24.0-next.2", + "@ckb-lumos/codec": "0.24.0-next.2", + "@ckb-lumos/rpc": "0.24.0-next.2", + "@types/deep-freeze-strict": "^1.1.0", + "deep-freeze-strict": "^1.1.1" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-lumos/helpers": { + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/helpers/-/helpers-0.24.0-next.2.tgz", + "integrity": "sha512-yHn1Ty1lyOTRKyEKGzH88eBE4iio7iDpoyejsWVZVk6Eetkv1XS/zNA2J5w7KVhjOzbNK7GUUU9v/3kzYWpG0A==", + "dev": true, + "dependencies": { + "@ckb-lumos/base": "0.24.0-next.2", + "@ckb-lumos/bi": "0.24.0-next.2", + "@ckb-lumos/codec": "0.24.0-next.2", + "@ckb-lumos/config-manager": "0.24.0-next.2", + "@ckb-lumos/toolkit": "0.24.0-next.2", + "bech32": "^2.0.0", + "immutable": "^4.3.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-lumos/rpc": { + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/rpc/-/rpc-0.24.0-next.2.tgz", + "integrity": "sha512-C/Vjvbh+GStxA/9vcj6oI1apZQRoydIvc8T1DR5Dh3F9K1q8NUSnJ43bLNOcwusdMWDkRNNS0jyoKirtLJy5Hg==", + "dev": true, + "dependencies": { + "@ckb-lumos/base": "0.24.0-next.2", + "@ckb-lumos/bi": "0.24.0-next.2", + "abort-controller": "^3.0.0", + "cross-fetch": "^3.1.5" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@ckb-lumos/rpc/node_modules/cross-fetch": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.8.tgz", + "integrity": "sha512-cvA+JwZoU0Xq+h6WkMvAUqPEYy92Obet6UdKLfW60qn99ftItKjB5T+BkyWOFWe2pUyfQ+IJHmpOTznqk1M6Kg==", + "dev": true, + "dependencies": { + "node-fetch": "^2.6.12" + } + }, + "node_modules/@ckb-ccc/lumos-patches/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", "dev": true, "dependencies": { - "@ckb-ccc/ccc": "0.0.5-alpha.13", - "lit": "^3.1.3" + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", + "cross-fetch": "4.0.0", + "uncrypto": "^0.1.3" } }, - "node_modules/@ckb-ccc/connector-react": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/connector-react/-/connector-react-0.0.5-alpha.13.tgz", - "integrity": "sha512-7jzJU0SFHbGRbMG0++TrxGUMWLmDXhDh2CdhLK1DvaWNrZ11qWcXOjRmKoOQQ8BMy+sFVR27JBqccOGAUKsHKw==", + "node_modules/@ckb-ccc/lumos-patches/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", "dev": true, "dependencies": { - "@ckb-ccc/connector": "0.0.5-alpha.13", - "@lit/react": "^1.0.5", - "react": "^18" + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@ckb-ccc/core": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.5-alpha.13.tgz", - "integrity": "sha512-UsHVWaGLoSYxa/Q5aG8xVcAZLKVC6vLhm92MJwOecsZrMirXnGCe7aEtO/7xOWC1Ez+s9Pzk9Diq6jFm99pihQ==", + "node_modules/@ckb-ccc/nip07": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/nip07/-/nip07-0.0.12-alpha.1.tgz", + "integrity": "sha512-h5ok+It1bOj0DxEQRt++m6ghEBNVx+6xmN5UatV4hz6dhIO/H4dHfGj3sEntR+rnaY54auVhETlTMd8ytu82LA==", + "dev": true, + "dependencies": { + "@ckb-ccc/core": "0.0.12-alpha.1" + } + }, + "node_modules/@ckb-ccc/nip07/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", "dev": true, "dependencies": { "@ckb-lumos/helpers": "^0.22.2", - "@joyid/ckb": "^0.0.11", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", "@noble/hashes": "^1.4.0", - "@unisat/wallet-utils": "^1.0.0", "abort-controller": "^3.0.0", "bech32": "^2.0.0", - "blake2b": "^2.1.4", + "bitcoinjs-message": "^2.2.0", "buffer": "^6.0.3", "cross-fetch": "^4.0.0", "ethers": "^6.13.1" } }, - "node_modules/@ckb-ccc/core/node_modules/@joyid/ckb": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-0.0.11.tgz", - "integrity": "sha512-Nxl+vHju57qChP+QI3ycnlTpQCLsQc+Kp/YUxjDoPkbHikBXPsKGyvTOgO1RIqZMAoQpYbO6FDt1P+nIVxVVCQ==", + "node_modules/@ckb-ccc/nip07/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", "dev": true, "dependencies": { - "@joyid/common": "0.0.3", - "@nervosnetwork/ckb-sdk-utils": "^0.109.1", + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", "cross-fetch": "4.0.0", "uncrypto": "^0.1.3" } }, - "node_modules/@ckb-ccc/eip6963": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/eip6963/-/eip6963-0.0.5-alpha.13.tgz", - "integrity": "sha512-DwBRNKsf7aCdEQ7r6QDtKNgQs5DDC+3tU/W5nEYY1ZeDashOfoiVVWXPT++DQqPQ1XHZxV99uqujlfNJJ/wAyg==", + "node_modules/@ckb-ccc/nip07/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", "dev": true, "dependencies": { - "@ckb-ccc/core": "0.0.5-alpha.13" + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@ckb-ccc/joy-id": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/joy-id/-/joy-id-0.0.5-alpha.13.tgz", - "integrity": "sha512-4ovaog0MXdFnoYJZlAXPKASgxvbPpIQ6TL5/vpiQdEFOzYamPUne+JZ0FdK0cOULBEnwcUWLhLaMSRbTB2wBxw==", + "node_modules/@ckb-ccc/okx": { + "version": "0.0.12-alpha.6", + "resolved": "https://registry.npmjs.org/@ckb-ccc/okx/-/okx-0.0.12-alpha.6.tgz", + "integrity": "sha512-q4RytZDg+JeyMGHMYAQGzoizXITilFv1yGJf7gq2HYF3usxqKMSfNF4Ur2+g5YEvggWHWU7HnWt7sB4KgPf1+Q==", "dev": true, "dependencies": { - "@ckb-ccc/core": "0.0.5-alpha.13", - "@joyid/ckb": "^0.0.11", - "@joyid/common": "^0.0.3" + "@ckb-ccc/core": "0.0.12-alpha.1", + "@ckb-ccc/nip07": "0.0.12-alpha.1", + "@ckb-ccc/uni-sat": "0.0.12-alpha.1" } }, - "node_modules/@ckb-ccc/joy-id/node_modules/@joyid/ckb": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-0.0.11.tgz", - "integrity": "sha512-Nxl+vHju57qChP+QI3ycnlTpQCLsQc+Kp/YUxjDoPkbHikBXPsKGyvTOgO1RIqZMAoQpYbO6FDt1P+nIVxVVCQ==", + "node_modules/@ckb-ccc/okx/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/okx/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", "dev": true, "dependencies": { - "@joyid/common": "0.0.3", - "@nervosnetwork/ckb-sdk-utils": "^0.109.1", + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", "cross-fetch": "4.0.0", "uncrypto": "^0.1.3" } }, - "node_modules/@ckb-ccc/lumos-patches": { - "version": "0.0.5-alpha.2", - "resolved": "https://registry.npmjs.org/@ckb-ccc/lumos-patches/-/lumos-patches-0.0.5-alpha.2.tgz", - "integrity": "sha512-USQuvAeKjhQF07aeDrJ37a8uL1oAYSP2ofNuCLqyxwrOK2Kd3mUfO+c5sslAn0uGdUhrSqoNUbEER/2ey7Oohg==", + "node_modules/@ckb-ccc/okx/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", "dev": true, "dependencies": { - "@ckb-lumos/base": "^0.23.0", - "@ckb-lumos/codec": "^0.23.0", - "@ckb-lumos/common-scripts": "^0.22.2", - "@ckb-lumos/config-manager": "^0.22.2", - "@joyid/ckb": "^0.0.11" + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, - "node_modules/@ckb-ccc/lumos-patches/node_modules/@joyid/ckb": { - "version": "0.0.11", - "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-0.0.11.tgz", - "integrity": "sha512-Nxl+vHju57qChP+QI3ycnlTpQCLsQc+Kp/YUxjDoPkbHikBXPsKGyvTOgO1RIqZMAoQpYbO6FDt1P+nIVxVVCQ==", + "node_modules/@ckb-ccc/uni-sat": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/uni-sat/-/uni-sat-0.0.12-alpha.1.tgz", + "integrity": "sha512-cGSSIkcuUwaF/nT5QC8eOC0zuOkOyxbL3URR9RsnIpbF5K8MLKWCh6xLcvIe1HY71k6XTFCrwAXRAP/2lEZPSQ==", + "dev": true, + "dependencies": { + "@ckb-ccc/core": "0.0.12-alpha.1" + } + }, + "node_modules/@ckb-ccc/uni-sat/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/uni-sat/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", "dev": true, "dependencies": { - "@joyid/common": "0.0.3", - "@nervosnetwork/ckb-sdk-utils": "^0.109.1", + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", "cross-fetch": "4.0.0", "uncrypto": "^0.1.3" } }, - "node_modules/@ckb-ccc/okx": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/okx/-/okx-0.0.5-alpha.13.tgz", - "integrity": "sha512-v2OwHTtlFh9sQ9jC1aJTxRYsYJDm1mOEkaVJMLkmswaToQdQgc9j5pLxKM5HyxAN+ecCDKCbLrz/xj1Isr/ylQ==", + "node_modules/@ckb-ccc/uni-sat/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", + "dev": true, + "dependencies": { + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/@ckb-ccc/utxo-global": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/utxo-global/-/utxo-global-0.0.12-alpha.1.tgz", + "integrity": "sha512-6CteVuZBbDcWlgdSBi8qA9i+tjRGUsFwD8sUqbiTRylbhVeI/QjXMxgDUgODG4uBMcFXaCTVmsT80+ww8iR0nQ==", "dev": true, "dependencies": { - "@ckb-ccc/core": "0.0.5-alpha.13", - "@ckb-ccc/uni-sat": "0.0.5-alpha.13" + "@ckb-ccc/core": "0.0.12-alpha.1" } }, - "node_modules/@ckb-ccc/uni-sat": { - "version": "0.0.5-alpha.13", - "resolved": "https://registry.npmjs.org/@ckb-ccc/uni-sat/-/uni-sat-0.0.5-alpha.13.tgz", - "integrity": "sha512-KLjauPPy3NXIRLYQok3YIZ36h7bMyU6g7jsKKh5UGgsxTOXw3nEhMO9dUdtHSPht3EhPAaddabAOcEc+y+ucgQ==", + "node_modules/@ckb-ccc/utxo-global/node_modules/@ckb-ccc/core": { + "version": "0.0.12-alpha.1", + "resolved": "https://registry.npmjs.org/@ckb-ccc/core/-/core-0.0.12-alpha.1.tgz", + "integrity": "sha512-2T4ASLavS6n4iXW/cbG8vE24T6OoQlk5curdGAGR0tYGM6fhOkMaQ517zBbtQZ/sx16eKG7wPyaviY+8refsxA==", + "dev": true, + "dependencies": { + "@ckb-lumos/helpers": "^0.22.2", + "@joyid/ckb": "^1.0.1", + "@noble/ciphers": "^0.5.3", + "@noble/curves": "^1.4.2", + "@noble/hashes": "^1.4.0", + "abort-controller": "^3.0.0", + "bech32": "^2.0.0", + "bitcoinjs-message": "^2.2.0", + "buffer": "^6.0.3", + "cross-fetch": "^4.0.0", + "ethers": "^6.13.1" + } + }, + "node_modules/@ckb-ccc/utxo-global/node_modules/@joyid/ckb": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@joyid/ckb/-/ckb-1.0.1.tgz", + "integrity": "sha512-pKAJouigChqcwKgtLw4RNOwi+nBh3NVjpU+qZd+uu3wmoTpivnSRLbJH8/SlkgQcWn2aJ+mDJchR8GpQYh5H6Q==", + "dev": true, + "dependencies": { + "@joyid/common": "0.2.0", + "@nervosnetwork/ckb-sdk-utils": "^0.109.2", + "cross-fetch": "4.0.0", + "uncrypto": "^0.1.3" + } + }, + "node_modules/@ckb-ccc/utxo-global/node_modules/@noble/curves": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.5.0.tgz", + "integrity": "sha512-J5EKamIHnKPyClwVrzmaf5wSdQXgdHcPZIZLu3bwnbeCx8/7NPK5q2ZBWF+5FvYGByjiQQsJYX6jfgB2wDPn3A==", "dev": true, "dependencies": { - "@ckb-ccc/core": "0.0.5-alpha.13" + "@noble/hashes": "1.4.0" + }, + "funding": { + "url": "https://paulmillr.com/funding/" } }, "node_modules/@ckb-lumos/base": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@ckb-lumos/base/-/base-0.23.0.tgz", - "integrity": "sha512-8aLFsUyWIK0rT7GQlYFuXyiG5lQ2bLRK2GvUsxv5G7I3nJ1UyxjwvVOdtlsR/cwhzOam3ujwqASqBIayBL6GLA==", + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/base/-/base-0.24.0-next.2.tgz", + "integrity": "sha512-VCXYpykJ+OhjbcCp3imwt9rk3Ie2T8jyCjSXExkoyKY+QT+EI856p37KBbBdO4r7gguVtADnJS+WLIZoNm5Bvw==", "dev": true, "dependencies": { - "@ckb-lumos/bi": "0.23.0", - "@ckb-lumos/codec": "0.23.0", - "@ckb-lumos/toolkit": "0.23.0", + "@ckb-lumos/bi": "0.24.0-next.2", + "@ckb-lumos/codec": "0.24.0-next.2", + "@ckb-lumos/toolkit": "0.24.0-next.2", "@types/blake2b": "^2.1.0", "@types/lodash.isequal": "^4.5.5", "blake2b": "^2.1.3", - "js-xxhash": "^1.0.4", - "lodash.isequal": "^4.5.0" + "js-xxhash": "^1.0.4" }, "engines": { "node": ">=12.0.0" } }, "node_modules/@ckb-lumos/bi": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@ckb-lumos/bi/-/bi-0.23.0.tgz", - "integrity": "sha512-KAy+lyVpL+Al4XD+c9tHrA9DSpHkMusyXtTS81aNZi5MyL6F9jrVmFcqLorhfyfl8Fsv2sEjMe5Neo2Y+w/RJQ==", + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/bi/-/bi-0.24.0-next.2.tgz", + "integrity": "sha512-KGRv2M0EsZw08qIjauew43VBoG8X6IPiPrW7Bn5nnrqWh0i+JE8ZC4fsS6kGmAhUMw3OcTzinU7cQ318CjaC3Q==", "dev": true, "dependencies": { "jsbi": "^4.1.0" @@ -282,12 +833,12 @@ } }, "node_modules/@ckb-lumos/codec": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@ckb-lumos/codec/-/codec-0.23.0.tgz", - "integrity": "sha512-FwYooXnsFDjlHHnlFnCTB1UbBzV72I0VjkRpeauFk5nQ4+/75xl28ywK3J14M+0aHTnYU9msXUTRDAGqC0CaNQ==", + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/codec/-/codec-0.24.0-next.2.tgz", + "integrity": "sha512-yPrAwJyLJw4jf2GMMcJHRE2Z/I9ZD0e7VzzHA0rwTNaaXHpjZWdR5ffBqHGjNAobIrIlJlv9FVDLZTukO1RohA==", "dev": true, "dependencies": { - "@ckb-lumos/bi": "0.23.0" + "@ckb-lumos/bi": "0.24.0-next.2" }, "engines": { "node": ">=12.0.0" @@ -441,6 +992,19 @@ "node": ">=12.0.0" } }, + "node_modules/@ckb-lumos/crypto": { + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/crypto/-/crypto-0.24.0-next.2.tgz", + "integrity": "sha512-wJ1gE5ThZX15q45wRLX0oUoZ/qyE3jIIBnM7wuOWjAVEdp7LVRgNDoYHd7pFCYDH2j6rJwLNhJW41o1f7Aqqlg==", + "dev": true, + "dependencies": { + "@noble/ciphers": "^0.5.3", + "@noble/hashes": "^1.4.0" + }, + "engines": { + "node": ">=18.0.0" + } + }, "node_modules/@ckb-lumos/hd": { "version": "0.22.2", "resolved": "https://registry.npmjs.org/@ckb-lumos/hd/-/hd-0.22.2.tgz", @@ -825,12 +1389,12 @@ } }, "node_modules/@ckb-lumos/toolkit": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@ckb-lumos/toolkit/-/toolkit-0.23.0.tgz", - "integrity": "sha512-7LTsUFfoNCBWJLgh+V/QFnemjGw+y4mmLeQvubwYuJqIPIhIpwKUuKRzkvVG8snA8xVQSfjSSQOs5m3mKp66Kg==", + "version": "0.24.0-next.2", + "resolved": "https://registry.npmjs.org/@ckb-lumos/toolkit/-/toolkit-0.24.0-next.2.tgz", + "integrity": "sha512-faqOZpj0H21vsqfQXfzRRQUEgF3vZ9i3PcqyF7hNbrNeR6VUcIzJL8QskhjFhBusxAvKf56QbX0/T06/PAgbfg==", "dev": true, "dependencies": { - "@ckb-lumos/bi": "0.23.0" + "@ckb-lumos/bi": "0.24.0-next.2" }, "engines": { "node": ">=12.0.0" @@ -918,9 +1482,9 @@ } }, "node_modules/@joyid/common": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/@joyid/common/-/common-0.0.3.tgz", - "integrity": "sha512-bih1dRqFpNP6tLNpebO2pp72r8L9WFtlGUa7a2x3l336G66ieS1uyNGb/yZzY+f3Fs1E40s10m7D+qSnfwtjJQ==", + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/@joyid/common/-/common-0.2.0.tgz", + "integrity": "sha512-WBZtgdEccWxjiGHIoDgRFIbnC42ZvmfvFRCTxmx9D4BLvtiFdhAa+g70lUmiHwO28GjgHIHgzHRGNRdLuk81xw==", "dev": true, "dependencies": { "abitype": "0.8.7", @@ -946,9 +1510,9 @@ } }, "node_modules/@lit-labs/ssr-dom-shim": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz", - "integrity": "sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.1.tgz", + "integrity": "sha512-wx4aBmgeGvFmOKucFKY+8VFJSYZxs9poN3SDNQFF6lT6NrQUnHiPB2PWz2sc4ieEcAaYYzN+1uWahEeTq2aRIQ==", "dev": true }, "node_modules/@lit/react": { @@ -970,12 +1534,12 @@ } }, "node_modules/@nervosnetwork/ckb-sdk-utils": { - "version": "0.109.1", - "resolved": "https://registry.npmjs.org/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.109.1.tgz", - "integrity": "sha512-KK8w+JZGPt/Gq/Y0b87AuQp8mGR46fBSkqnjwASdBAi2rts9tJ6srEaZ3FVVa9LtjTlThQ120hex+mcyastrkQ==", + "version": "0.109.3", + "resolved": "https://registry.npmjs.org/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.109.3.tgz", + "integrity": "sha512-sV3WXlZmd765qtFsXpwl0Bl3hOgGev15Og810acO6iC0cVHEVvv/Uiabd8a2xkqyfziRDI0tfWC0DewOJB28rg==", "dev": true, "dependencies": { - "@nervosnetwork/ckb-types": "0.109.1", + "@nervosnetwork/ckb-types": "0.109.3", "bech32": "2.0.0", "elliptic": "6.5.4", "jsbi": "3.1.3", @@ -1016,11 +1580,20 @@ "dev": true }, "node_modules/@nervosnetwork/ckb-types": { - "version": "0.109.1", - "resolved": "https://registry.npmjs.org/@nervosnetwork/ckb-types/-/ckb-types-0.109.1.tgz", - "integrity": "sha512-mD5mOCGa1JertKZekHSUVYwFPW27VJ0/MdwblWvEEK7pNIU6az+dLiIxgvl4TxR+j+7/GqmXNH1U59CM92y/wg==", + "version": "0.109.3", + "resolved": "https://registry.npmjs.org/@nervosnetwork/ckb-types/-/ckb-types-0.109.3.tgz", + "integrity": "sha512-i9EVTXCT0bTLpAQXAoF5zHGLWYCXNE5AP4Zl0Niwl3ZplaVAZHNU6ygsh2O3EGmCFv5qlkoY2DuLmsjysEaNLA==", "dev": true }, + "node_modules/@noble/ciphers": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-0.5.3.tgz", + "integrity": "sha512-B0+6IIHiqEs3BPMT0hcRmHvEj2QHOLu+uwt+tqDDeVd0oyVzh7BPrDcPjRnV1PV/5LaknXJJQvOuRGR0zQJz+w==", + "dev": true, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/@noble/curves": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", @@ -1098,9 +1671,9 @@ "peer": true }, "node_modules/@types/react": { - "version": "18.3.3", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.3.tgz", - "integrity": "sha512-hti/R0pS0q1/xx+TsI73XIqk26eBsISZ2R0wUijXIngRK9R/e7Xw/cXVxQK7R5JjW+SV4zGcn5hXjudkN/pLIw==", + "version": "18.3.4", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.4.tgz", + "integrity": "sha512-J7W30FTdfCxDDjmfRM+/JqLHBIyl7xUIp9kwK637FGmY7+mkSFSe6L4jpZzhj5QMfLssSDP4/i75AKkrdC7/Jw==", "dev": true, "peer": true, "dependencies": { @@ -1114,18 +1687,6 @@ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==", "dev": true }, - "node_modules/@unisat/wallet-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@unisat/wallet-utils/-/wallet-utils-1.0.0.tgz", - "integrity": "sha512-LkxCDY0AlEodcc/tU6YCzI1vDfdzVeMqgA3tOF3MI6fvjXGyNR4cv/DYo+VLVt9bNqqYyNdiClwlUXxujPXZOQ==", - "dev": true, - "dependencies": { - "bitcore-lib": "^10.0.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/abitype": { "version": "0.8.7", "resolved": "https://registry.npmjs.org/abitype/-/abitype-0.8.7.tgz", @@ -1197,45 +1758,47 @@ "integrity": "sha512-LcknSilhIGatDAsY1ak2I8VtGaHNhgMSYVxFrGLXv+xLHytaKZKcaUJJUE7qmBr7h33o5YQwP55pMI0xmkpJwg==", "dev": true }, - "node_modules/bitcore-lib": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/bitcore-lib/-/bitcore-lib-10.1.0.tgz", - "integrity": "sha512-0pB92CLLbPkHvrPnu/S6/8i7fPalUJWHFi+WcbCP4ZIV+UMJuorLTWq3fO8i1JGBV/lT/sFMjH6WzQZd6cFm/Q==", + "node_modules/bindings": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", + "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", "dev": true, "dependencies": { - "bech32": "=2.0.0", - "bn.js": "=4.11.8", - "bs58": "^4.0.1", - "buffer-compare": "=1.1.1", - "elliptic": "^6.5.3", - "inherits": "=2.0.1", - "lodash": "^4.17.20" + "file-uri-to-path": "1.0.0" } }, - "node_modules/bitcore-lib/node_modules/base-x": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", - "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", + "node_modules/bip66": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/bip66/-/bip66-1.1.5.tgz", + "integrity": "sha512-nemMHz95EmS38a26XbbdxIYj5csHd3RMP3H5bwQknX0WYHF01qhpufP42mLOwVICuH2JmhIhXiWs89MfUGL7Xw==", "dev": true, "dependencies": { "safe-buffer": "^5.0.1" } }, - "node_modules/bitcore-lib/node_modules/bn.js": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", - "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==", - "dev": true - }, - "node_modules/bitcore-lib/node_modules/bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "node_modules/bitcoinjs-message": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/bitcoinjs-message/-/bitcoinjs-message-2.2.0.tgz", + "integrity": "sha512-103Wy3xg8Y9o+pdhGP4M3/mtQQuUWs6sPuOp1mYphSUoSMHjHTlkj32K4zxU8qMH0Ckv23emfkGlFWtoWZ7YFA==", "dev": true, "dependencies": { - "base-x": "^3.0.2" + "bech32": "^1.1.3", + "bs58check": "^2.1.2", + "buffer-equals": "^1.0.3", + "create-hash": "^1.1.2", + "secp256k1": "^3.0.1", + "varuint-bitcoin": "^1.0.1" + }, + "engines": { + "node": ">=0.10" } }, + "node_modules/bitcoinjs-message/node_modules/bech32": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", + "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==", + "dev": true + }, "node_modules/blake2b": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/blake2b/-/blake2b-2.1.4.tgz", @@ -1268,6 +1831,20 @@ "integrity": "sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==", "dev": true }, + "node_modules/browserify-aes": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", + "dev": true, + "dependencies": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, "node_modules/bs58": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", @@ -1277,6 +1854,35 @@ "base-x": "^4.0.0" } }, + "node_modules/bs58check": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", + "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", + "dev": true, + "dependencies": { + "bs58": "^4.0.0", + "create-hash": "^1.1.0", + "safe-buffer": "^5.1.2" + } + }, + "node_modules/bs58check/node_modules/base-x": { + "version": "3.0.10", + "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.10.tgz", + "integrity": "sha512-7d0s06rR9rYaIWHkpfLIFICM/tkSVdoPC9qYAQRpxn9DdKNWNsKC0uk++akckyLq16Tx2WIinnZ6WRriAt6njQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.0.1" + } + }, + "node_modules/bs58check/node_modules/bs58": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", + "integrity": "sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==", + "dev": true, + "dependencies": { + "base-x": "^3.0.2" + } + }, "node_modules/buffer": { "version": "6.0.3", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", @@ -1301,12 +1907,58 @@ "ieee754": "^1.2.1" } }, - "node_modules/buffer-compare": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-compare/-/buffer-compare-1.1.1.tgz", - "integrity": "sha512-O6NvNiHZMd3mlIeMDjP6t/gPG75OqGPeiRZXoMQZJ6iy9GofCls4Ijs5YkPZZwoysizLiedhticmdyx/GyHghA==", + "node_modules/buffer-equals": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/buffer-equals/-/buffer-equals-1.0.4.tgz", + "integrity": "sha512-99MsCq0j5+RhubVEtKQgKaD6EM+UP3xJgIvQqwJ3SOLDUekzxMX1ylXBng+Wa2sh7mGT0W6RUly8ojjr1Tt6nA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/buffer-xor": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", + "integrity": "sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==", "dev": true }, + "node_modules/cipher-base": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", + "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "node_modules/create-hash": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", + "integrity": "sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "node_modules/create-hmac": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", + "integrity": "sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==", + "dev": true, + "dependencies": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, "node_modules/cross-fetch": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-4.0.0.tgz", @@ -1329,6 +1981,20 @@ "integrity": "sha512-QemROZMM2IvhAcCFvahdX2Vbm4S/txeq5rFYU9fh4mQP79WTMW5c/HkQ2ICl1zuzcDZdPZ6zarDxQeQMsVYoNA==", "dev": true }, + "node_modules/drbg.js": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/drbg.js/-/drbg.js-1.0.1.tgz", + "integrity": "sha512-F4wZ06PvqxYLFEZKkFxTDcns9oFNk34hvmJSEwdzsxVQ8YI5YaxtACgQatkYgv2VI2CFkUd2Y+xosPQnHv809g==", + "dev": true, + "dependencies": { + "browserify-aes": "^1.0.6", + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4" + }, + "engines": { + "node": ">=0.10" + } + }, "node_modules/elliptic": { "version": "6.5.5", "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.5.tgz", @@ -1420,6 +2086,42 @@ "node": ">=0.8.x" } }, + "node_modules/evp_bytestokey": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", + "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", + "dev": true, + "dependencies": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "node_modules/file-uri-to-path": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", + "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==", + "dev": true + }, + "node_modules/hash-base": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", + "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.4", + "readable-stream": "^3.6.0", + "safe-buffer": "^5.2.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/hash-base/node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, "node_modules/hash.js": { "version": "1.1.7", "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", @@ -1500,42 +2202,36 @@ "dev": true }, "node_modules/lit": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/lit/-/lit-3.1.4.tgz", - "integrity": "sha512-q6qKnKXHy2g1kjBaNfcoLlgbI3+aSOZ9Q4tiGa9bGYXq5RBXxkVTqTIVmP2VWMp29L4GyvCFm8ZQ2o56eUAMyA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lit/-/lit-3.2.0.tgz", + "integrity": "sha512-s6tI33Lf6VpDu7u4YqsSX78D28bYQulM+VAzsGch4fx2H0eLZnJsUBsPWmGYSGoKDNbjtRv02rio1o+UdPVwvw==", "dev": true, "dependencies": { "@lit/reactive-element": "^2.0.4", - "lit-element": "^4.0.4", - "lit-html": "^3.1.2" + "lit-element": "^4.1.0", + "lit-html": "^3.2.0" } }, "node_modules/lit-element": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.0.6.tgz", - "integrity": "sha512-U4sdJ3CSQip7sLGZ/uJskO5hGiqtlpxndsLr6mt3IQIjheg93UKYeGQjWMRql1s/cXNOaRrCzC2FQwjIwSUqkg==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.1.0.tgz", + "integrity": "sha512-gSejRUQJuMQjV2Z59KAS/D4iElUhwKpIyJvZ9w+DIagIQjfJnhR20h2Q5ddpzXGS+fF0tMZ/xEYGMnKmaI/iww==", "dev": true, "dependencies": { "@lit-labs/ssr-dom-shim": "^1.2.0", "@lit/reactive-element": "^2.0.4", - "lit-html": "^3.1.2" + "lit-html": "^3.2.0" } }, "node_modules/lit-html": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.1.4.tgz", - "integrity": "sha512-yKKO2uVv7zYFHlWMfZmqc+4hkmSbFp8jgjdZY9vvR9jr4J8fH6FUMXhr+ljfELgmjpvlF7Z1SJ5n5/Jeqtc9YA==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.2.0.tgz", + "integrity": "sha512-pwT/HwoxqI9FggTrYVarkBKFN9MlTUpLrDHubTmW4SrkL3kkqW5gxwbxMMUnbbRHBC0WTZnYHcjDSCM559VyfA==", "dev": true, "dependencies": { "@types/trusted-types": "^2.0.2" } }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, "node_modules/lodash.isequal": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz", @@ -1553,6 +2249,17 @@ "loose-envify": "cli.js" } }, + "node_modules/md5.js": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", + "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", + "dev": true, + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, "node_modules/minimalistic-assert": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", @@ -1565,6 +2272,12 @@ "integrity": "sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==", "dev": true }, + "node_modules/nan": { + "version": "2.20.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.20.0.tgz", + "integrity": "sha512-bk3gXBZDGILuuo/6sKtr0DQmSThYHLtNCdSdXk9YkxD/jK6X2vmCyyXBBxyqZ4XcnzTyYEAThfX3DCEnLf6igw==", + "dev": true + }, "node_modules/nanoassert": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/nanoassert/-/nanoassert-2.0.0.tgz", @@ -1602,6 +2315,36 @@ "node": ">=0.10.0" } }, + "node_modules/readable-stream": { + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", + "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/readable-stream/node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", + "dev": true + }, + "node_modules/ripemd160": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", + "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", + "dev": true, + "dependencies": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -1628,6 +2371,45 @@ "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==", "dev": true }, + "node_modules/secp256k1": { + "version": "3.8.0", + "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-3.8.0.tgz", + "integrity": "sha512-k5ke5avRZbtl9Tqx/SA7CbY3NF6Ro+Sj9cZxezFzuBlLDmyqPiL8hJJ+EmzD8Ig4LUDByHJ3/iPOVoRixs/hmw==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "bindings": "^1.5.0", + "bip66": "^1.1.5", + "bn.js": "^4.11.8", + "create-hash": "^1.2.0", + "drbg.js": "^1.0.1", + "elliptic": "^6.5.2", + "nan": "^2.14.0", + "safe-buffer": "^5.1.2" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/secp256k1/node_modules/bn.js": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", + "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==", + "dev": true + }, + "node_modules/sha.js": { + "version": "2.4.11", + "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", + "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", + "dev": true, + "dependencies": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + }, + "bin": { + "sha.js": "bin.js" + } + }, "node_modules/sha3": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/sha3/-/sha3-2.1.4.tgz", @@ -1637,6 +2419,15 @@ "buffer": "6.0.3" } }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", @@ -1680,6 +2471,12 @@ "integrity": "sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==", "dev": true }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, "node_modules/uuid": { "version": "8.3.2", "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", @@ -1689,6 +2486,15 @@ "uuid": "dist/bin/uuid" } }, + "node_modules/varuint-bitcoin": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/varuint-bitcoin/-/varuint-bitcoin-1.1.2.tgz", + "integrity": "sha512-4EVb+w4rx+YfVM32HQX42AbbT7/1f5zwAYhIujKXKk8NQK+JfRVl3pqT3hjNn/L+RstigmGGKVwHA/P0wgITZw==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.1" + } + }, "node_modules/webidl-conversions": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", diff --git a/package.json b/package.json index 01043f3..41ec979 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "joy-dao", - "version": "0.0.5", + "version": "0.0.6", "description": "Nervos DAO transaction builder", "main": "dist/index.js", "files": [ @@ -18,14 +18,14 @@ "author": "tea2x", "license": "ISC", "devDependencies": { - "typescript": "^5.5.3", - "@ckb-ccc/connector-react": "^0.0.5-alpha.13", - "@ckb-ccc/core": "^0.0.5-alpha.13", - "@ckb-ccc/lumos-patches": "^0.0.5-alpha.2", + "@ckb-ccc/connector-react": "^0.0.12-alpha.6", + "@ckb-ccc/core": "^0.0.11-alpha.3", + "@ckb-ccc/lumos-patches": "^0.0.12-alpha.6", "@ckb-lumos/common-scripts": "^0.22.2", "@ckb-lumos/lumos": "^0.22.2", "@joyid/ckb": "^0.0.8", - "@joyid/core": "^0.2.0-beta.4" + "@joyid/core": "^0.2.0-beta.4", + "typescript": "^5.5.3" }, "peerDependencies": { "react": "^18.3.1" diff --git a/src/index.ts b/src/index.ts index 2eecb7a..34b5ca4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ import { FEE_RATE, ISMAINNET, } from "./config"; -import { registerCustomLockScriptInfos } from "@ckb-lumos/common-scripts/lib/common"; +import { registerCustomLockScriptInfos, LockScriptInfo } from "@ckb-lumos/common-scripts/lib/common"; import { TransactionSkeleton, @@ -26,7 +26,7 @@ import { } from "./lib/helpers"; const indexer = new Indexer(INDEXER_URL); -registerCustomLockScriptInfos(generateDefaultScriptInfos()); +registerCustomLockScriptInfos(generateDefaultScriptInfos() as LockScriptInfo[]); /** * Fetch DAO deposits.