diff --git a/common/package.json b/common/package.json index 8356159..3163197 100644 --- a/common/package.json +++ b/common/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "ldenv": "^0.3.9", - "prettier": "^3.2.2", + "prettier": "^3.2.3", "tsup": "^8.0.1", "typescript": "^5.3.3" }, diff --git a/contracts/package.json b/contracts/package.json index a605575..a6f1c3f 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -11,7 +11,7 @@ "hardhat-rocketh": "^1.0.4", "jolly-roger-common": "workspace:*", "ldenv": "^0.3.9", - "prettier": "^3.2.2", + "prettier": "^3.2.3", "prettier-plugin-solidity": "^1.3.1", "rocketh": "^0.7.4", "rocketh-deploy": "^1.0.5", diff --git a/indexer/package.json b/indexer/package.json index 4d04dfa..ffc84e1 100644 --- a/indexer/package.json +++ b/indexer/package.json @@ -15,7 +15,7 @@ "ethereum-indexer-cli": "^0.6.24", "ethereum-indexer-server": "^0.6.27", "ldenv": "^0.3.9", - "prettier": "^3.2.2", + "prettier": "^3.2.3", "tsup": "^8.0.1", "typescript": "^5.3.3", "wait-on": "^7.2.0" diff --git a/package.json b/package.json index c3ae33f..37362e9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "devDependencies": { "ask-env": "^0.0.1", "ldenv": "^0.3.9", - "prettier": "^3.2.2", + "prettier": "^3.2.3", "syncpack": "^12.3.0", "vitepress": "1.0.0-rc.39" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4636f5a..ede75e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^0.3.9 version: 0.3.9 prettier: - specifier: ^3.2.2 - version: 3.2.2 + specifier: ^3.2.3 + version: 3.2.3 syncpack: specifier: ^12.3.0 version: 12.3.0 @@ -34,8 +34,8 @@ importers: specifier: ^0.3.9 version: 0.3.9 prettier: - specifier: ^3.2.2 - version: 3.2.2 + specifier: ^3.2.3 + version: 3.2.3 tsup: specifier: ^8.0.1 version: 8.0.1(typescript@5.3.3) @@ -67,11 +67,11 @@ importers: specifier: ^0.3.9 version: 0.3.9 prettier: - specifier: ^3.2.2 - version: 3.2.2 + specifier: ^3.2.3 + version: 3.2.3 prettier-plugin-solidity: specifier: ^1.3.1 - version: 1.3.1(prettier@3.2.2) + version: 1.3.1(prettier@3.2.3) rocketh: specifier: ^0.7.4 version: 0.7.4(typescript@5.3.3) @@ -143,8 +143,8 @@ importers: specifier: ^0.3.9 version: 0.3.9 prettier: - specifier: ^3.2.2 - version: 3.2.2 + specifier: ^3.2.3 + version: 3.2.3 tsup: specifier: ^8.0.1 version: 8.0.1(typescript@5.3.3) @@ -191,8 +191,8 @@ importers: specifier: ^0.2.2 version: 0.2.2 radiate: - specifier: ^0.0.1 - version: 0.0.1 + specifier: ^0.0.2 + version: 0.0.2 theme-change: specifier: ^2.5.0 version: 2.5.0 @@ -225,11 +225,11 @@ importers: specifier: 4.2.1-ipfs.2 version: 4.2.1-ipfs.2 prettier: - specifier: ^3.2.2 - version: 3.2.2 + specifier: ^3.2.3 + version: 3.2.3 prettier-plugin-svelte: specifier: ^3.1.2 - version: 3.1.2(prettier@3.2.2)(svelte@4.2.8) + version: 3.1.2(prettier@3.2.3)(svelte@4.2.8) pwag: specifier: 0.2.0 version: 0.2.0 @@ -7054,30 +7054,30 @@ packages: engines: {node: '>= 0.8.0'} dev: true - /prettier-plugin-solidity@1.3.1(prettier@3.2.2): + /prettier-plugin-solidity@1.3.1(prettier@3.2.3): resolution: {integrity: sha512-MN4OP5I2gHAzHZG1wcuJl0FsLS3c4Cc5494bbg+6oQWBPuEamjwDvmGfFMZ6NFzsh3Efd9UUxeT7ImgjNH4ozA==} engines: {node: '>=16'} peerDependencies: prettier: '>=2.3.0' dependencies: '@solidity-parser/parser': 0.17.0 - prettier: 3.2.2 + prettier: 3.2.3 semver: 7.5.4 solidity-comments-extractor: 0.0.8 dev: true - /prettier-plugin-svelte@3.1.2(prettier@3.2.2)(svelte@4.2.8): + /prettier-plugin-svelte@3.1.2(prettier@3.2.3)(svelte@4.2.8): resolution: {integrity: sha512-7xfMZtwgAWHMT0iZc8jN4o65zgbAQ3+O32V6W7pXrqNvKnHnkoyQCGCbKeUyXKZLbYE0YhFRnamfxfkEGxm8qA==} peerDependencies: prettier: ^3.0.0 svelte: ^3.2.0 || ^4.0.0-next.0 || ^5.0.0-next.0 dependencies: - prettier: 3.2.2 + prettier: 3.2.3 svelte: 4.2.8 dev: true - /prettier@3.2.2: - resolution: {integrity: sha512-HTByuKZzw7utPiDO523Tt2pLtEyK7OibUD9suEJQrPUCYQqrHr74GGX6VidMrovbf/I50mPqr8j/II6oBAuc5A==} + /prettier@3.2.3: + resolution: {integrity: sha512-QNhUTBq+mqt1oH1dTfY3phOKNhcDdJkfttHI6u0kj7M2+c+7fmNKlgh2GhnHiqMcbxJ+a0j2igz/2jfl9QKLuw==} engines: {node: '>=14'} hasBin: true dev: true @@ -7189,6 +7189,10 @@ packages: resolution: {integrity: sha512-dGXMAln3P75QuWuPVSvS9+slFFoVY/RYcfZQN+bix1zay46v7iHPtZYBGpZpHPWh0zjFsPEipE1ym810RmcDJw==} dev: false + /radiate@0.0.2: + resolution: {integrity: sha512-lFYsNq8TJMQXiY/ctSHKl+LQZox8maDgETqiW4DhD5SfQ5IQ+lSgR6Tg99QszQMQLSyALatsRW604bIE66Sm3Q==} + dev: false + /randombytes@2.1.0: resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} dependencies: diff --git a/web/package.json b/web/package.json index 0671421..286917f 100644 --- a/web/package.json +++ b/web/package.json @@ -11,7 +11,7 @@ "abitype": "^0.10.3", "eip-1193": "^0.4.7", "ipfs-gateway-emulator": "4.2.1-ipfs.2", - "prettier": "^3.2.2", + "prettier": "^3.2.3", "prettier-plugin-svelte": "^3.1.2", "pwag": "0.2.0", "svelte": "^4.2.8", @@ -33,7 +33,7 @@ "lodash-es": "^4.17.21", "lz-string": "^1.5.0", "named-logs": "^0.2.2", - "radiate": "^0.0.1", + "radiate": "^0.0.2", "theme-change": "^2.5.0", "viem": "^2.1.1", "web3-connection": "^0.1.12", diff --git a/web/src/lib/account/account-db.ts b/web/src/lib/account/account-db.ts index 14de441..e175308 100644 --- a/web/src/lib/account/account-db.ts +++ b/web/src/lib/account/account-db.ts @@ -334,7 +334,6 @@ export class AccountDB> implements Readable = { } & PendingTransactionState; export type OnChainActions = {[hash: `0x${string}`]: OnChainAction}; -// TODO export this type in radiate -type Emitter = { - on: (func: (v: T) => void) => () => void; - off: (func: (v: T) => void) => void; - emit(v: T): void; -}; - export abstract class BaseAccountHandler< T extends {onchainActions: OnChainActions}, Metadata extends Record,