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

1977
node_modules/viem/_esm/constants/abis.js generated vendored Normal file

File diff suppressed because it is too large Load Diff

1
node_modules/viem/_esm/constants/abis.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

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

@@ -0,0 +1,3 @@
export const ethAddress = '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee';
export const zeroAddress = '0x0000000000000000000000000000000000000000';
//# sourceMappingURL=address.js.map

1
node_modules/viem/_esm/constants/address.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../constants/address.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG,4CAAqD,CAAA;AAE/E,MAAM,CAAC,MAAM,WAAW,GAAG,4CAAqD,CAAA"}

16
node_modules/viem/_esm/constants/blob.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
// 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;
//# sourceMappingURL=blob.js.map

1
node_modules/viem/_esm/constants/blob.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"blob.js","sourceRoot":"","sources":["../../constants/blob.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAE3E,kCAAkC;AAClC,MAAM,mBAAmB,GAAG,CAAC,CAAA;AAE7B,yDAAyD;AACzD,MAAM,CAAC,MAAM,oBAAoB,GAAG,EAAE,CAAA;AAEtC,8CAA8C;AAC9C,MAAM,CAAC,MAAM,oBAAoB,GAAG,IAAI,CAAA;AAExC,qCAAqC;AACrC,MAAM,CAAC,MAAM,YAAY,GAAG,oBAAoB,GAAG,oBAAoB,CAAA;AAEvE,wCAAwC;AACxC,MAAM,CAAC,MAAM,sBAAsB,GACjC,YAAY,GAAG,mBAAmB;IAClC,0BAA0B;IAC1B,CAAC;IACD,mDAAmD;IACnD,CAAC,GAAG,oBAAoB,GAAG,mBAAmB,CAAA"}

3
node_modules/viem/_esm/constants/bytes.js generated vendored Normal file
View File

@@ -0,0 +1,3 @@
export const erc6492MagicBytes = '0x6492649264926492649264926492649264926492649264926492649264926492';
export const zeroHash = '0x0000000000000000000000000000000000000000000000000000000000000000';
//# sourceMappingURL=bytes.js.map

1
node_modules/viem/_esm/constants/bytes.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"bytes.js","sourceRoot":"","sources":["../../constants/bytes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iBAAiB,GAC5B,oEAA6E,CAAA;AAE/E,MAAM,CAAC,MAAM,QAAQ,GACnB,oEAA6E,CAAA"}

2
node_modules/viem/_esm/constants/contract.js generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export const aggregate3Signature = '0x82ad56cb';
//# sourceMappingURL=contract.js.map

1
node_modules/viem/_esm/constants/contract.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"contract.js","sourceRoot":"","sources":["../../constants/contract.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,YAAY,CAAA"}

5
node_modules/viem/_esm/constants/contracts.js generated vendored Normal file

File diff suppressed because one or more lines are too long

1
node_modules/viem/_esm/constants/contracts.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../constants/contracts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,iCAAiC,GAC5C,gyBAAgyB,CAAA;AAElyB,MAAM,CAAC,MAAM,gCAAgC,GAC3C,o4CAAo4C,CAAA;AAEt4C,MAAM,CAAC,MAAM,iCAAiC,GAC5C,4yGAA4yG,CAAA;AAE9yG,MAAM,CAAC,MAAM,kBAAkB,GAC7B,s7VAAs7V,CAAA"}

3
node_modules/viem/_esm/constants/kzg.js 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;
//# sourceMappingURL=kzg.js.map

1
node_modules/viem/_esm/constants/kzg.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"kzg.js","sourceRoot":"","sources":["../../constants/kzg.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAE3E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAA"}

97
node_modules/viem/_esm/constants/number.js generated vendored Normal file
View File

@@ -0,0 +1,97 @@
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;
//# sourceMappingURL=number.js.map

1
node_modules/viem/_esm/constants/number.js.map generated vendored Normal file

File diff suppressed because one or more lines are too long

33
node_modules/viem/_esm/constants/solidity.js generated vendored Normal file
View File

@@ -0,0 +1,33 @@
// 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.',
};
export const solidityError = {
inputs: [
{
name: 'message',
type: 'string',
},
],
name: 'Error',
type: 'error',
};
export const solidityPanic = {
inputs: [
{
name: 'reason',
type: 'uint256',
},
],
name: 'Panic',
type: 'error',
};
//# sourceMappingURL=solidity.js.map

1
node_modules/viem/_esm/constants/solidity.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"solidity.js","sourceRoot":"","sources":["../../constants/solidity.ts"],"names":[],"mappings":"AAEA,0GAA0G;AAC1G,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,CAAC,EAAE,+BAA+B;IAClC,EAAE,EAAE,yDAAyD;IAC7D,EAAE,EAAE,wDAAwD;IAC5D,EAAE,EAAE,0CAA0C;IAC9C,EAAE,EAAE,uEAAuE;IAC3E,EAAE,EAAE,sCAAsC;IAC1C,EAAE,EAAE,+BAA+B;IACnC,EAAE,EAAE,mEAAmE;IACvE,EAAE,EAAE,0EAA0E;CACtE,CAAA;AAEV,MAAM,CAAC,MAAM,aAAa,GAAa;IACrC,MAAM,EAAE;QACN;YACE,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,QAAQ;SACf;KACF;IACD,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,OAAO;CACd,CAAA;AACD,MAAM,CAAC,MAAM,aAAa,GAAa;IACrC,MAAM,EAAE;QACN;YACE,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,SAAS;SAChB;KACF;IACD,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,OAAO;CACd,CAAA"}

2
node_modules/viem/_esm/constants/strings.js generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export const presignMessagePrefix = '\x19Ethereum Signed Message:\n';
//# sourceMappingURL=strings.js.map

1
node_modules/viem/_esm/constants/strings.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"strings.js","sourceRoot":"","sources":["../../constants/strings.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,oBAAoB,GAAG,gCAAgC,CAAA"}

13
node_modules/viem/_esm/constants/unit.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
export const etherUnits = {
gwei: 9,
wei: 18,
};
export const gweiUnits = {
ether: -9,
wei: 9,
};
export const weiUnits = {
ether: -18,
gwei: -9,
};
//# sourceMappingURL=unit.js.map

1
node_modules/viem/_esm/constants/unit.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"unit.js","sourceRoot":"","sources":["../../constants/unit.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,CAAC;IACP,GAAG,EAAE,EAAE;CACR,CAAA;AACD,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,CAAC,CAAC;IACT,GAAG,EAAE,CAAC;CACP,CAAA;AACD,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,KAAK,EAAE,CAAC,EAAE;IACV,IAAI,EAAE,CAAC,CAAC;CACT,CAAA"}