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

1989
node_modules/viem/constants/abis.ts generated vendored Normal file

File diff suppressed because it is too large Load Diff

3
node_modules/viem/constants/address.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export const ethAddress = '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee' as const
export const zeroAddress = '0x0000000000000000000000000000000000000000' as const

21
node_modules/viem/constants/blob.ts generated vendored Normal file
View File

@@ -0,0 +1,21 @@
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4844.md#parameters
/** Blob limit per transaction. */
const blobsPerTransaction = 6
/** The number of bytes in a BLS scalar field element. */
export const bytesPerFieldElement = 32
/** The number of field elements in a blob. */
export const fieldElementsPerBlob = 4096
/** The number of bytes in a blob. */
export const bytesPerBlob = bytesPerFieldElement * fieldElementsPerBlob
/** Blob bytes limit per transaction. */
export const maxBytesPerTransaction =
bytesPerBlob * blobsPerTransaction -
// terminator byte (0x80).
1 -
// zero byte (0x00) appended to each field element.
1 * fieldElementsPerBlob * blobsPerTransaction

5
node_modules/viem/constants/bytes.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
export const erc6492MagicBytes =
'0x6492649264926492649264926492649264926492649264926492649264926492' as const
export const zeroHash =
'0x0000000000000000000000000000000000000000000000000000000000000000' as const

1
node_modules/viem/constants/contract.ts generated vendored Normal file
View File

@@ -0,0 +1 @@
export const aggregate3Signature = '0x82ad56cb'

11
node_modules/viem/constants/contracts.ts generated vendored Normal file

File diff suppressed because one or more lines are too long

3
node_modules/viem/constants/kzg.ts generated vendored Normal file
View File

@@ -0,0 +1,3 @@
// https://github.com/ethereum/EIPs/blob/master/EIPS/eip-4844.md#parameters
export const versionedHashVersionKzg = 1

98
node_modules/viem/constants/number.ts generated vendored Normal file
View File

@@ -0,0 +1,98 @@
export const maxInt8 = 2n ** (8n - 1n) - 1n
export const maxInt16 = 2n ** (16n - 1n) - 1n
export const maxInt24 = 2n ** (24n - 1n) - 1n
export const maxInt32 = 2n ** (32n - 1n) - 1n
export const maxInt40 = 2n ** (40n - 1n) - 1n
export const maxInt48 = 2n ** (48n - 1n) - 1n
export const maxInt56 = 2n ** (56n - 1n) - 1n
export const maxInt64 = 2n ** (64n - 1n) - 1n
export const maxInt72 = 2n ** (72n - 1n) - 1n
export const maxInt80 = 2n ** (80n - 1n) - 1n
export const maxInt88 = 2n ** (88n - 1n) - 1n
export const maxInt96 = 2n ** (96n - 1n) - 1n
export const maxInt104 = 2n ** (104n - 1n) - 1n
export const maxInt112 = 2n ** (112n - 1n) - 1n
export const maxInt120 = 2n ** (120n - 1n) - 1n
export const maxInt128 = 2n ** (128n - 1n) - 1n
export const maxInt136 = 2n ** (136n - 1n) - 1n
export const maxInt144 = 2n ** (144n - 1n) - 1n
export const maxInt152 = 2n ** (152n - 1n) - 1n
export const maxInt160 = 2n ** (160n - 1n) - 1n
export const maxInt168 = 2n ** (168n - 1n) - 1n
export const maxInt176 = 2n ** (176n - 1n) - 1n
export const maxInt184 = 2n ** (184n - 1n) - 1n
export const maxInt192 = 2n ** (192n - 1n) - 1n
export const maxInt200 = 2n ** (200n - 1n) - 1n
export const maxInt208 = 2n ** (208n - 1n) - 1n
export const maxInt216 = 2n ** (216n - 1n) - 1n
export const maxInt224 = 2n ** (224n - 1n) - 1n
export const maxInt232 = 2n ** (232n - 1n) - 1n
export const maxInt240 = 2n ** (240n - 1n) - 1n
export const maxInt248 = 2n ** (248n - 1n) - 1n
export const maxInt256 = 2n ** (256n - 1n) - 1n
export const minInt8 = -(2n ** (8n - 1n))
export const minInt16 = -(2n ** (16n - 1n))
export const minInt24 = -(2n ** (24n - 1n))
export const minInt32 = -(2n ** (32n - 1n))
export const minInt40 = -(2n ** (40n - 1n))
export const minInt48 = -(2n ** (48n - 1n))
export const minInt56 = -(2n ** (56n - 1n))
export const minInt64 = -(2n ** (64n - 1n))
export const minInt72 = -(2n ** (72n - 1n))
export const minInt80 = -(2n ** (80n - 1n))
export const minInt88 = -(2n ** (88n - 1n))
export const minInt96 = -(2n ** (96n - 1n))
export const minInt104 = -(2n ** (104n - 1n))
export const minInt112 = -(2n ** (112n - 1n))
export const minInt120 = -(2n ** (120n - 1n))
export const minInt128 = -(2n ** (128n - 1n))
export const minInt136 = -(2n ** (136n - 1n))
export const minInt144 = -(2n ** (144n - 1n))
export const minInt152 = -(2n ** (152n - 1n))
export const minInt160 = -(2n ** (160n - 1n))
export const minInt168 = -(2n ** (168n - 1n))
export const minInt176 = -(2n ** (176n - 1n))
export const minInt184 = -(2n ** (184n - 1n))
export const minInt192 = -(2n ** (192n - 1n))
export const minInt200 = -(2n ** (200n - 1n))
export const minInt208 = -(2n ** (208n - 1n))
export const minInt216 = -(2n ** (216n - 1n))
export const minInt224 = -(2n ** (224n - 1n))
export const minInt232 = -(2n ** (232n - 1n))
export const minInt240 = -(2n ** (240n - 1n))
export const minInt248 = -(2n ** (248n - 1n))
export const minInt256 = -(2n ** (256n - 1n))
export const maxUint8 = 2n ** 8n - 1n
export const maxUint16 = 2n ** 16n - 1n
export const maxUint24 = 2n ** 24n - 1n
export const maxUint32 = 2n ** 32n - 1n
export const maxUint40 = 2n ** 40n - 1n
export const maxUint48 = 2n ** 48n - 1n
export const maxUint56 = 2n ** 56n - 1n
export const maxUint64 = 2n ** 64n - 1n
export const maxUint72 = 2n ** 72n - 1n
export const maxUint80 = 2n ** 80n - 1n
export const maxUint88 = 2n ** 88n - 1n
export const maxUint96 = 2n ** 96n - 1n
export const maxUint104 = 2n ** 104n - 1n
export const maxUint112 = 2n ** 112n - 1n
export const maxUint120 = 2n ** 120n - 1n
export const maxUint128 = 2n ** 128n - 1n
export const maxUint136 = 2n ** 136n - 1n
export const maxUint144 = 2n ** 144n - 1n
export const maxUint152 = 2n ** 152n - 1n
export const maxUint160 = 2n ** 160n - 1n
export const maxUint168 = 2n ** 168n - 1n
export const maxUint176 = 2n ** 176n - 1n
export const maxUint184 = 2n ** 184n - 1n
export const maxUint192 = 2n ** 192n - 1n
export const maxUint200 = 2n ** 200n - 1n
export const maxUint208 = 2n ** 208n - 1n
export const maxUint216 = 2n ** 216n - 1n
export const maxUint224 = 2n ** 224n - 1n
export const maxUint232 = 2n ** 232n - 1n
export const maxUint240 = 2n ** 240n - 1n
export const maxUint248 = 2n ** 248n - 1n
export const maxUint256 = 2n ** 256n - 1n

35
node_modules/viem/constants/solidity.ts generated vendored Normal file
View File

@@ -0,0 +1,35 @@
import type { AbiError } from 'abitype'
// https://docs.soliditylang.org/en/v0.8.16/control-structures.html#panic-via-assert-and-error-via-require
export const panicReasons = {
1: 'An `assert` condition failed.',
17: 'Arithmetic operation resulted in underflow or overflow.',
18: 'Division or modulo by zero (e.g. `5 / 0` or `23 % 0`).',
33: 'Attempted to convert to an invalid type.',
34: 'Attempted to access a storage byte array that is incorrectly encoded.',
49: 'Performed `.pop()` on an empty array',
50: 'Array index is out of bounds.',
65: 'Allocated too much memory or created an array which is too large.',
81: 'Attempted to call a zero-initialized variable of internal function type.',
} as const
export const solidityError: AbiError = {
inputs: [
{
name: 'message',
type: 'string',
},
],
name: 'Error',
type: 'error',
}
export const solidityPanic: AbiError = {
inputs: [
{
name: 'reason',
type: 'uint256',
},
],
name: 'Panic',
type: 'error',
}

1
node_modules/viem/constants/strings.ts generated vendored Normal file
View File

@@ -0,0 +1 @@
export const presignMessagePrefix = '\x19Ethereum Signed Message:\n'

12
node_modules/viem/constants/unit.ts generated vendored Normal file
View File

@@ -0,0 +1,12 @@
export const etherUnits = {
gwei: 9,
wei: 18,
}
export const gweiUnits = {
ether: -9,
wei: 9,
}
export const weiUnits = {
ether: -18,
gwei: -9,
}