FRE-600: Fix code review blockers

- Consolidated duplicate UndoManagers to single instance
- Fixed connection promise to only resolve on 'connected' status
- Fixed WebSocketProvider import (WebsocketProvider)
- Added proper doc.destroy() cleanup
- Renamed isPresenceInitialized property to avoid conflict

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
2026-04-25 00:08:01 -04:00
parent 65b552bb08
commit 7c684a42cc
48450 changed files with 5679671 additions and 383 deletions

20
node_modules/viem/chains/definitions/skale/brawl.ts generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleBlockBrawlers = /*#__PURE__*/ defineChain({
id: 391_845_894,
name: 'SKALE | Block Brawlers',
nativeCurrency: { name: 'BRAWL', symbol: 'BRAWL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/frayed-decent-antares'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/frayed-decent-antares'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://frayed-decent-antares.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
})

27
node_modules/viem/chains/definitions/skale/calypso.ts generated vendored Normal file
View File

@@ -0,0 +1,27 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleCalypso = /*#__PURE__*/ defineChain({
id: 1_564_830_818,
name: 'SKALE Calypso Hub',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/honorable-steel-rasalhague'],
webSocket: [
'wss://mainnet.skalenodes.com/v1/ws/honorable-steel-rasalhague',
],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://honorable-steel-rasalhague.explorer.mainnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 3_107_626,
},
},
})

View File

@@ -0,0 +1,26 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleCalypsoTestnet = /*#__PURE__*/ defineChain({
id: 974_399_131,
name: 'SKALE Calypso Testnet',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://testnet.skalenodes.com/v1/giant-half-dual-testnet'],
webSocket: ['wss://testnet.skalenodes.com/v1/ws/giant-half-dual-testnet'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://giant-half-dual-testnet.explorer.testnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 103_220,
},
},
testnet: true,
})

View File

@@ -0,0 +1,22 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleCryptoBlades = /*#__PURE__*/ defineChain({
id: 1_026_062_157,
name: 'SKALE | CryptoBlades',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/affectionate-immediate-pollux'],
webSocket: [
'wss://mainnet.skalenodes.com/v1/ws/affectionate-immediate-pollux',
],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://affectionate-immediate-pollux.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
})

View File

@@ -0,0 +1,20 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleCryptoColosseum = /*#__PURE__*/ defineChain({
id: 1_032_942_172,
name: 'SKALE | Crypto Colosseum',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/haunting-devoted-deneb'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/haunting-devoted-deneb'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://haunting-devoted-deneb.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
})

25
node_modules/viem/chains/definitions/skale/europa.ts generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleEuropa = /*#__PURE__*/ defineChain({
id: 2_046_399_126,
name: 'SKALE Europa Hub',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/elated-tan-skat'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/elated-tan-skat'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://elated-tan-skat.explorer.mainnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 3_113_495,
},
},
})

View File

@@ -0,0 +1,26 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleEuropaTestnet = /*#__PURE__*/ defineChain({
id: 1_444_673_419,
name: 'SKALE Europa Testnet',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://testnet.skalenodes.com/v1/juicy-low-small-testnet'],
webSocket: ['wss://testnet.skalenodes.com/v1/ws/juicy-low-small-testnet'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://juicy-low-small-testnet.explorer.testnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 110_858,
},
},
testnet: true,
})

20
node_modules/viem/chains/definitions/skale/exorde.ts generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleExorde = /*#__PURE__*/ defineChain({
id: 2_139_927_552,
name: 'Exorde Network',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/light-vast-diphda'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/light-vast-diphda'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://light-vast-diphda.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
})

View File

@@ -0,0 +1,20 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleHumanProtocol = /*#__PURE__*/ defineChain({
id: 1_273_227_453,
name: 'SKALE | Human Protocol',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/wan-red-ain'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/wan-red-ain'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://wan-red-ain.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
})

25
node_modules/viem/chains/definitions/skale/nebula.ts generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleNebula = /*#__PURE__*/ defineChain({
id: 1_482_601_649,
name: 'SKALE Nebula Hub',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/green-giddy-denebola'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/green-giddy-denebola'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://green-giddy-denebola.explorer.mainnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 2_372_986,
},
},
})

View File

@@ -0,0 +1,26 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleNebulaTestnet = /*#__PURE__*/ defineChain({
id: 37_084_624,
name: 'SKALE Nebula Testnet',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://testnet.skalenodes.com/v1/lanky-ill-funny-testnet'],
webSocket: ['wss://testnet.skalenodes.com/v1/ws/lanky-ill-funny-testnet'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://lanky-ill-funny-testnet.explorer.testnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 105_141,
},
},
testnet: true,
})

20
node_modules/viem/chains/definitions/skale/razor.ts generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleRazor = /*#__PURE__*/ defineChain({
id: 278_611_351,
name: 'SKALE | Razor Network',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/turbulent-unique-scheat'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/turbulent-unique-scheat'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://turbulent-unique-scheat.explorer.mainnet.skalenodes.com',
},
},
contracts: {},
})

View File

@@ -0,0 +1,20 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleBase = /*#__PURE__*/ defineChain({
id: 1187947933,
name: 'SKALE Base',
nativeCurrency: { name: 'Credits', symbol: 'CREDIT', decimals: 18 },
rpcUrls: {
default: {
http: ['https://skale-base.skalenodes.com/v1/base'],
webSocket: ['wss://skale-base.skalenodes.com/v1/ws/base'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://skale-base-explorer.skalenodes.com/',
},
},
testnet: true,
})

View File

@@ -0,0 +1,22 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleBaseSepoliaTestnet = /*#__PURE__*/ defineChain({
id: 324705682,
name: 'SKALE Base Sepolia Testnet',
nativeCurrency: { name: 'Credits', symbol: 'CREDIT', decimals: 18 },
rpcUrls: {
default: {
http: ['https://base-sepolia-testnet.skalenodes.com/v1/base-testnet'],
webSocket: [
'wss://base-sepolia-testnet.skalenodes.com/v1/ws/base-testnet',
],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://base-sepolia-testnet-explorer.skalenodes.com/',
},
},
testnet: true,
})

25
node_modules/viem/chains/definitions/skale/titan.ts generated vendored Normal file
View File

@@ -0,0 +1,25 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleTitan = /*#__PURE__*/ defineChain({
id: 1_350_216_234,
name: 'SKALE Titan Hub',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://mainnet.skalenodes.com/v1/parallel-stormy-spica'],
webSocket: ['wss://mainnet.skalenodes.com/v1/ws/parallel-stormy-spica'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://parallel-stormy-spica.explorer.mainnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 2_076_458,
},
},
})

View File

@@ -0,0 +1,26 @@
import { defineChain } from '../../../utils/chain/defineChain.js'
export const skaleTitanTestnet = /*#__PURE__*/ defineChain({
id: 1_020_352_220,
name: 'SKALE Titan Testnet',
nativeCurrency: { name: 'sFUEL', symbol: 'sFUEL', decimals: 18 },
rpcUrls: {
default: {
http: ['https://testnet.skalenodes.com/v1/aware-fake-trim-testnet'],
webSocket: ['wss://testnet.skalenodes.com/v1/ws/aware-fake-trim-testnet'],
},
},
blockExplorers: {
default: {
name: 'SKALE Explorer',
url: 'https://aware-fake-trim-testnet.explorer.testnet.skalenodes.com',
},
},
contracts: {
multicall3: {
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
blockCreated: 104_072,
},
},
testnet: true,
})