diff --git a/jest/globals.js b/jest/globals.js index a7672b2f..9e321b4d 100644 --- a/jest/globals.js +++ b/jest/globals.js @@ -19,5 +19,4 @@ global['logger'] = { } global['api'] = { query: {}, rpc: {} } - global['chainId'] = '0xb3db41421702df9a7fcac62b53ffeac85f7853cc4e689e0b93aeb3db18c09d82' diff --git a/package.json b/package.json index cbe32100..bee7ed2f 100644 --- a/package.json +++ b/package.json @@ -34,10 +34,10 @@ "@jest/globals": "^29.2.0", "@polkadot/api": "^10", "@polkadot/typegen": "^10", - "@subql/cli": "^4.11.0", - "@subql/testing": "^2.1.1", - "@subql/types": "^3.5.0", - "@subql/types-core": "^0.6.0", + "@subql/cli": "latest", + "@subql/testing": "latest", + "@subql/types": "latest", + "@subql/types-core": "latest", "@types/jest": "^29.1.2", "@types/node-fetch": "^2.6.11", "@typescript-eslint/eslint-plugin": "^6.15.0", @@ -63,5 +63,8 @@ }, "exports": { "chaintypes": "./src/chaintypes.ts" + }, + "resolutions": { + "ipfs-unixfs": "6.0.6" } } diff --git a/src/helpers/types.ts b/src/helpers/types.ts index f0751144..a1040791 100644 --- a/src/helpers/types.ts +++ b/src/helpers/types.ts @@ -482,3 +482,5 @@ export type ExtendedCall = typeof api.call & { listFees: AugmentedCall<'promise', (poolId: string) => Observable>> } } + +export type ApiQueryLoansActiveLoans = Vec> diff --git a/src/mappings/handlers/loansHandlers.ts b/src/mappings/handlers/loansHandlers.ts index f7454849..2ee3a70c 100644 --- a/src/mappings/handlers/loansHandlers.ts +++ b/src/mappings/handlers/loansHandlers.ts @@ -15,6 +15,8 @@ import { AssetTransactionData, AssetTransactionService } from '../services/asset import { AccountService } from '../services/accountService' import { EpochService } from '../services/epochService' import { AssetType, AssetValuationMethod } from '../../types' +import { bnToBn, nToBigInt } from '@polkadot/util' +import { WAD } from '../../config' export const handleLoanCreated = errorHandler(_handleLoanCreated) async function _handleLoanCreated(event: SubstrateEvent) { @@ -406,8 +408,8 @@ async function _handleLoanDebtTransferred1024(event: SubstrateEvent(this.poolId) + const assetTuple = loansCall.find((tuple) => tuple[0].toString(10) === this.id.split('-')[1]) + if (!assetTuple) throw new Error(`Asset ${this.id} not found in pool active loans!`) + const loanData = assetTuple[1] + if (loanData.pricing.isInternal) throw new Error(`Asset ${this.id} is not of type External!`) + const { outstandingQuantity, latestSettlementPrice } = loanData.pricing.asExternal + this.outstandingQuantity = outstandingQuantity.toBigInt() + this.currentPrice = latestSettlementPrice.toBigInt() + logger.info( + `Updated outstandingQuantity: ${outstandingQuantity.toString(10)} ` + + `currentPrice: ${latestSettlementPrice.toString(10)} for asset ${this.id}` + ) + } } interface AssetSpecs { diff --git a/src/mappings/services/trancheService.test.ts b/src/mappings/services/trancheService.test.ts index f12cf7d1..2a5941da 100644 --- a/src/mappings/services/trancheService.test.ts +++ b/src/mappings/services/trancheService.test.ts @@ -7,6 +7,9 @@ api.query['ormlTokens'] = { // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any +// eslint-disable-next-line @typescript-eslint/no-explicit-any +api['runtimeVersion'] = { specVersion: { toNumber: ()=> 1029 } } as any + api.rpc['pools'] = { trancheTokenPrices: jest.fn(() => [ { toBigInt: () => BigInt('2000000000000000000') }, diff --git a/yarn.lock b/yarn.lock index 230fb194..a193472a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3161,13 +3161,13 @@ optionalDependencies: sodium-native "^4.1.1" -"@subql/cli@^4.11.0": - version "4.11.0" - resolved "https://registry.yarnpkg.com/@subql/cli/-/cli-4.11.0.tgz#29fd34f5dca16d16a94a52188306cbcc301d7bd9" - integrity sha512-800oX7n/oLbtblrp9B1uAWDgqPFT0CAu32aPyWtyA5wpaqdhKdS5Hyk0vpHThl72fdqcN5e3Vdkvkaw4oCap9g== +"@subql/cli@latest": + version "4.12.0" + resolved "https://registry.yarnpkg.com/@subql/cli/-/cli-4.12.0.tgz#a9445bec6804b875382618fe42ae124f86586bcb" + integrity sha512-QOgBWRXa5A+oKz12Nhz8Kvk+2YYtamlUiiWIO0hcFPv3K1XbYFkOzJ5L/TBAa5rFdhKr4fnm6BExuQsZNPsjNw== dependencies: "@oclif/core" "^2.15.0" - "@subql/common" "3.6.0" + "@subql/common" "3.7.0" "@subql/common-algorand" "^3.4.0" "@subql/common-concordium" "^3.6.0" "@subql/common-cosmos" "^4.3.0" @@ -3175,7 +3175,7 @@ "@subql/common-flare" "^3.6.0" "@subql/common-near" "^3.5.0" "@subql/common-stellar" "^3.5.0" - "@subql/common-substrate" "3.7.0" + "@subql/common-substrate" "3.8.0" "@subql/utils" "2.10.0" algosdk "^1.19.0" boxen "5.1.2" @@ -3250,9 +3250,9 @@ reflect-metadata "^0.1.13" "@subql/common-ethereum@^3.6.0": - version "3.6.1" - resolved "https://registry.yarnpkg.com/@subql/common-ethereum/-/common-ethereum-3.6.1.tgz#7673f5b6ffe5bf5407e9c69d30b189ab8a0cd7e6" - integrity sha512-iLdqAzeZpoiGPSZ27AGOhY8sc8n6oUkWZlrxQFBAHwl3wEyVRgFy4dSo304P/K6pdWqagl8NK+D5iAxwCPOZGQ== + version "3.7.0" + resolved "https://registry.yarnpkg.com/@subql/common-ethereum/-/common-ethereum-3.7.0.tgz#d004d5c9767d2f212c5508b8e2ddcc3be957750c" + integrity sha512-+w4a8yGDDqSWmbn1GFNfNiqhXiF7gTosVsFwjQySceCircNoPcB9T9HEOKfMgWWNRhPK/yG7xqW6r2iZ06xodw== dependencies: "@subql/common" "^3.5.1" "@subql/types-ethereum" "3.6.1" @@ -3264,9 +3264,9 @@ typechain "^8.3.1" "@subql/common-flare@^3.6.0": - version "3.6.1" - resolved "https://registry.yarnpkg.com/@subql/common-flare/-/common-flare-3.6.1.tgz#3b33378566f8d0c65e363c99d7e0d4ce4a8c8c68" - integrity sha512-fRmeBWncw994N+/sh3VVa+9I9ve8KAH7SvncXIsBlt27g6uagCKPlYIF7rdMxDi9xrQ9tNXfhufk4UOXoe1VWw== + version "3.7.0" + resolved "https://registry.yarnpkg.com/@subql/common-flare/-/common-flare-3.7.0.tgz#eee75e2839f657d77565a50e1df5070ce4cb247a" + integrity sha512-yUl3BNclmmWv5fO9SAxCtiWOhZYQx85kKPGcqvsqjPHvIl7Qb+r8Xy6r7+QTxrCNOLwjooZLB93uXDdTfjdWqA== dependencies: "@subql/common" "^3.5.1" "@subql/types-flare" "3.6.1" @@ -3299,20 +3299,20 @@ reflect-metadata "^0.1.13" stellar-sdk "^11.2.0" -"@subql/common-substrate@3.7.0": - version "3.7.0" - resolved "https://registry.yarnpkg.com/@subql/common-substrate/-/common-substrate-3.7.0.tgz#6795b73916a3305f48d9cf049b4910229a45fd8a" - integrity sha512-4L9+EU38raD70TamWFKm89Qkty6kWFUKkZyJTu5cIZDSy5kMoAlJ2c7lxKTQd8iYfZ3KXqsEltB3Np4GcUcrYw== +"@subql/common-substrate@3.8.0": + version "3.8.0" + resolved "https://registry.yarnpkg.com/@subql/common-substrate/-/common-substrate-3.8.0.tgz#8c796b3315c21e214d38dc8948b02e214bee02a1" + integrity sha512-8XcqNu5/BFnqt4MOJ7nXHMjad/NF0hDJPnBk7y8Thj6E9SxVJLoSC7oR9kyPW/ksGuxeFJqSPhcP6i5Cte0+Nw== dependencies: - "@subql/common" "3.6.0" + "@subql/common" "3.7.0" "@subql/types" "3.6.0" js-yaml "^4.1.0" reflect-metadata "^0.1.13" -"@subql/common@3.6.0", "@subql/common@^3.5.1": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@subql/common/-/common-3.6.0.tgz#8877db5d2def1fa90024c5abe4da228c882c0992" - integrity sha512-ZOdgwtpOwTxRdB0axZPxXvbmhn8Q1exr1ClP9ExbLbNr7sOxkesfYhclHiouuPUL4LjCyrTi9yzrICmOcAa4hQ== +"@subql/common@3.7.0", "@subql/common@^3.5.1": + version "3.7.0" + resolved "https://registry.yarnpkg.com/@subql/common/-/common-3.7.0.tgz#f332b1cbd3b0ed29ffbe5ea1ff247e5ebf204908" + integrity sha512-ZdRttJrOrC86E1P7j1s+o//khbR6FsI1wj/UwBEgfi4Rbt+EyyRTOYk+ec9ETNPI3yci1Ju3joU/GEE0CFjdag== dependencies: "@subql/types-core" "0.7.0" axios "^0.28.0" @@ -3325,7 +3325,7 @@ semver "^7.5.2" update-notifier "5.1.0" -"@subql/testing@^2.1.1": +"@subql/testing@latest": version "2.1.1" resolved "https://registry.yarnpkg.com/@subql/testing/-/testing-2.1.1.tgz#22db8677f8d75b41196a57b35a09501bab3d6231" integrity sha512-s2/hAb4VHYLq/x6tgb7ZcrL1l2ILV/GnO/fhpWJirQ90JPtNGx1ln5sMmy484sAUZOXISvrnTFkKKACxxox5aQ== @@ -3347,20 +3347,13 @@ "@concordium/node-sdk" "9.4.0" "@subql/types-core" "^0.7.0" -"@subql/types-core@0.7.0", "@subql/types-core@^0.7.0": +"@subql/types-core@0.7.0", "@subql/types-core@^0.7.0", "@subql/types-core@latest": version "0.7.0" resolved "https://registry.yarnpkg.com/@subql/types-core/-/types-core-0.7.0.tgz#f32602d13e3b226c89391f125122d61f3beeb096" integrity sha512-/Is7bqy9x769N3BnRLUQJPx1q4QQZqYt9VwqYJguOEKmPLMFjChlr988hIDwvRCxN6SmemzZvFFnKH0Vmj7gEw== dependencies: package-json-type "^1.0.3" -"@subql/types-core@^0.6.0": - version "0.6.0" - resolved "https://registry.yarnpkg.com/@subql/types-core/-/types-core-0.6.0.tgz#93d42110116dfde1199fa23726e6cc2efda8ebee" - integrity sha512-32dMTzOhU0hj3ByMeFyZOvoOvoYh5WtA3AVEd+gO1U9aTdkhYG1djeal3Hma/dYp1nThTpjSEeOllDrPip699Q== - dependencies: - package-json-type "^1.0.3" - "@subql/types-cosmos@3.4.0": version "3.4.0" resolved "https://registry.yarnpkg.com/@subql/types-cosmos/-/types-cosmos-3.4.0.tgz#e728866551724d10e57c5760ef6d47ab0c5823f2" @@ -3406,7 +3399,7 @@ "@subql/types-core" "^0.7.0" stellar-sdk "^11.2.2" -"@subql/types@3.6.0", "@subql/types@^3.5.0": +"@subql/types@3.6.0", "@subql/types@latest": version "3.6.0" resolved "https://registry.yarnpkg.com/@subql/types/-/types-3.6.0.tgz#165180fd866ab5a2f94918ef61138b80ab703315" integrity sha512-KIayGfnqMoN6VhIwVEiV62NdvN/d3tE7MdIsssA+r2kK18wEhi9Vvh2VgrUdVgv37HAKO1aoo/aiYJu2R04ezw== @@ -3759,9 +3752,9 @@ form-data "^4.0.0" "@types/node@*", "@types/node@>=13.7.0": - version "20.12.12" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.12.tgz#7cbecdf902085cec634fdb362172dfe12b8f2050" - integrity sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw== + version "20.14.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.2.tgz#a5f4d2bcb4b6a87bffcaa717718c5a0f208f4a18" + integrity sha512-xyu6WAMVwv6AKFLB+e/7ySZVr/0zLCzOa7rSpq6jNwpqOrUbcACDWC+53d4n2QHOnDou0fbIsg8wZu/sxrnI4Q== dependencies: undici-types "~5.26.4" @@ -4734,9 +4727,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001587: - version "1.0.30001623" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001623.tgz#e982099dcb229bb6ab35f5aebe2f8d79ccf6e8a8" - integrity sha512-X/XhAVKlpIxWPpgRTnlgZssJrF0m6YtRA0QDWgsBNT12uZM6LPRydR7ip405Y3t1LamD8cP2TZFEDZFBf5ApcA== + version "1.0.30001628" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001628.tgz#90b6cd85ddc2e9f831de0225f4ca5a130c8d8222" + integrity sha512-S3BnR4Kh26TBxbi5t5kpbcUlLJb9lhtDXISDPwOfI+JoC+ik0QksvkZtUVyikw3hjnkgkMPSJ8oIM9yMm9vflA== capability@^0.2.5: version "0.2.5" @@ -4823,9 +4816,9 @@ chownr@^2.0.0: integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== chrome-trace-event@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" - integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== + version "1.0.4" + resolved "https://registry.yarnpkg.com/chrome-trace-event/-/chrome-trace-event-1.0.4.tgz#05bffd7ff928465093314708c93bdfa9bd1f0f5b" + integrity sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ== ci-info@^2.0.0: version "2.0.0" @@ -5311,7 +5304,14 @@ data-view-byte-offset@^1.0.0: es-errors "^1.3.0" is-data-view "^1.0.1" -debug@4, debug@4.3.4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4: +debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.3, debug@^4.3.4: + version "4.3.5" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.5.tgz#e83444eceb9fedd4a1da56d671ae2446a01a6e1e" + integrity sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg== + dependencies: + ms "2.1.2" + +debug@4.3.4, debug@^4.3.2: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -5508,9 +5508,9 @@ electron-fetch@^1.7.2: encoding "^0.1.13" electron-to-chromium@^1.4.668: - version "1.4.783" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.783.tgz#933887165b8b6025a81663d2d97cf4b85cde27b2" - integrity sha512-bT0jEz/Xz1fahQpbZ1D7LgmPYZ3iHVY39NcWWro1+hA2IvjiPeaXtfSqrQ+nXjApMvQRE2ASt1itSLRrebHMRQ== + version "1.4.790" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.790.tgz#2a3a5509593745c5d65d8acd66b308f2a25da041" + integrity sha512-eVGeQxpaBYbomDBa/Mehrs28MdvCXfJmEFzaMFsv8jH/MJDLIylJN81eTJ5kvx7B7p18OiPK0BkC06lydEy63A== elliptic@6.5.4: version "6.5.4" @@ -5573,9 +5573,9 @@ end-of-stream@^1.1.0: once "^1.4.0" enhanced-resolve@^5.0.0, enhanced-resolve@^5.16.0: - version "5.16.1" - resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.16.1.tgz#e8bc63d51b826d6f1cbc0a150ecb5a8b0c62e567" - integrity sha512-4U5pNsuDl0EhuZpq46M5xPslstkviJuhrdobaRDBk2Jy2KO37FDAJl4lb2KlNabxT0m4MTK2UHNrsAcphE8nyw== + version "5.17.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.17.0.tgz#d037603789dd9555b89aaec7eb78845c49089bc5" + integrity sha512-dwDPwZL0dmye8Txp2gzFmA6sxALaSvdRDjPH0viLcKrtlOL3tw62nWWweVD1SdILDTJrbrL6tdWVN58Wo6U3eA== dependencies: graceful-fs "^4.2.4" tapable "^2.2.0" @@ -5709,7 +5709,7 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.62, es5-ext@^0.10.63, es5-ext@^0.10.64, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: +es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.62, es5-ext@^0.10.63, es5-ext@^0.10.64, es5-ext@~0.10.14, es5-ext@~0.10.2: version "0.10.64" resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.64.tgz#12e4ffb48f1ba2ea777f1fcdd1918ef73ea21714" integrity sha512-p2snDhiLaXe6dahss1LddxqEm+SkuDvV8dnIQG0MWjyHpcMNfXKPE+/Cc0y+PhxJX3A4xGNeFCj5oc0BUh6deg== @@ -7079,10 +7079,10 @@ ipfs-http-client@^52.0.3: stream-to-it "^0.2.2" uint8arrays "^3.0.0" -ipfs-unixfs@^6.0.3: - version "6.0.9" - resolved "https://registry.yarnpkg.com/ipfs-unixfs/-/ipfs-unixfs-6.0.9.tgz#f6613b8e081d83faa43ed96e016a694c615a9374" - integrity sha512-0DQ7p0/9dRB6XCb0mVCTli33GzIzSVx5udpJuVM47tGcD+W+Bl4LsnoLswd3ggNnNEakMv1FdoFITiEnchXDqQ== +ipfs-unixfs@6.0.6, ipfs-unixfs@^6.0.3: + version "6.0.6" + resolved "https://registry.yarnpkg.com/ipfs-unixfs/-/ipfs-unixfs-6.0.6.tgz#c44881c1bcd6a474c665e67108cbf31e54c63eec" + integrity sha512-gTkjYKXuHnqIf6EFfS+ESaYEl3I3aaQQ0UX8MhpNzreMLEuMnuqpoI/uLLllTZa31WRplKixabbpRTSmTYRNwA== dependencies: err-code "^3.0.1" protobufjs "^6.10.2" @@ -7542,9 +7542,9 @@ it-to-stream@^1.0.0: readable-stream "^3.6.0" jackspeak@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.1.2.tgz#eada67ea949c6b71de50f1b09c92a961897b90ab" - integrity sha512-kWmLKn2tRtfYMF/BakihVVRzBKOxz4gJMiL2Rj91WnAB5TPZumSH99R/Yf1qE1u4uRimvCSJfm6hnxohXeEXjQ== + version "3.3.0" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-3.3.0.tgz#65dc7cd87522494fcb2648ec6ca684170e9e1727" + integrity sha512-glPiBfKguqA7v8JsXO3iLjJWZ9FV1vNpoI0I9hI9Mnk5yetO9uPLSpiCEmiVijAssv2f54HpvtzvAHfhPieiDQ== dependencies: "@isaacs/cliui" "^8.0.2" optionalDependencies: @@ -8742,7 +8742,7 @@ neo-async@^2.6.2: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== -next-tick@1, next-tick@^1.1.0: +next-tick@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== @@ -9194,11 +9194,16 @@ prettier@^2.3.1, prettier@^2.6.2: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== -prettier@^3.0.1, prettier@^3.1.1: +prettier@^3.0.1: version "3.2.5" resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.5.tgz#e52bc3090586e824964a8813b09aba6233b28368" integrity sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A== +prettier@^3.1.1: + version "3.3.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.1.tgz#e68935518dd90bb7ec4821ba970e68f8de16e1ac" + integrity sha512-7CAwy5dRsxs8PHXT3twixW9/OEll8MLE0VRPCJyl7CkS6VHGPSlsVaWTiASPTyGyYRyApxlaWTzwUxVNrhcwDg== + pretty-format@^29.0.0, pretty-format@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-29.7.0.tgz#ca42c758310f365bfa71a0bda0a807160b776812" @@ -10330,12 +10335,12 @@ timeout-abort-controller@^3.0.0: retimer "^3.0.0" timers-ext@^0.1.7: - version "0.1.7" - resolved "https://registry.yarnpkg.com/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6" - integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== + version "0.1.8" + resolved "https://registry.yarnpkg.com/timers-ext/-/timers-ext-0.1.8.tgz#b4e442f10b7624a29dd2aa42c295e257150cf16c" + integrity sha512-wFH7+SEAcKfJpfLPkrgMPvvwnEtj8W4IurvEyrKsDleXnKLCDw71w8jltvfLa8Rm4qQxxT4jmDBYbJG/z7qoww== dependencies: - es5-ext "~0.10.46" - next-tick "1" + es5-ext "^0.10.64" + next-tick "^1.1.0" tmp@^0.0.33: version "0.0.33" @@ -10412,9 +10417,9 @@ ts-essentials@^7.0.1: integrity sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ== ts-jest@^29.0.3: - version "29.1.3" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.3.tgz#2bab16ba5ab0f4896684985f9618acc2cf1197e9" - integrity sha512-6L9qz3ginTd1NKhOxmkP0qU3FyKjj5CPoY+anszfVn6Pmv/RIKzhiMCsH7Yb7UvJR9I2A64rm4zQl531s2F1iw== + version "29.1.4" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.1.4.tgz#26f8a55ce31e4d2ef7a1fd47dc7fa127e92793ef" + integrity sha512-YiHwDhSvCiItoAgsKtoLFCuakDzDsJ1DLDnSouTaTmdOcOwIkSzbLXduaQ6M5DRVhuZC/NYaaZ/mtHbWMv/S6Q== dependencies: bs-logger "0.x" fast-json-stable-stringify "2.x" @@ -10466,9 +10471,9 @@ tslib@^1.9.0: integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tslib@^2.0.0, tslib@^2.1.0, tslib@^2.3.1, tslib@^2.4.1, tslib@^2.5.0, tslib@^2.6.2: - version "2.6.2" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" - integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + version "2.6.3" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.3.tgz#0438f810ad7a9edcde7a241c3d80db693c8cbfe0" + integrity sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ== tweetnacl@^1.0.1, tweetnacl@^1.0.3: version "1.0.3" @@ -10518,9 +10523,9 @@ type-fest@^1.0.2: integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== type@^2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" - integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== + version "2.7.3" + resolved "https://registry.yarnpkg.com/type/-/type-2.7.3.tgz#436981652129285cc3ba94f392886c2637ea0486" + integrity sha512-8j+1QmAbPvLZow5Qpi6NCaN8FB60p/6x8/vfNqOk/hC+HuvFZhL4+WfekuhQLiqFZXOgQdrs3B+XxEmCc6b3FQ== typechain@^8.3.1: version "8.3.2" @@ -11110,9 +11115,9 @@ yaml@^1.8.3: integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== yaml@^2.2.2: - version "2.4.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.2.tgz#7a2b30f2243a5fc299e1f14ca58d475ed4bc5362" - integrity sha512-B3VqDZ+JAg1nZpaEmWtTXUlBneoGx6CPM9b0TENK6aoSu5t73dItudwdgmi6tHlIZZId4dZ9skcAQ2UbcyAeVA== + version "2.4.3" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.4.3.tgz#0777516b8c7880bcaa0f426a5410e8d6b0be1f3d" + integrity sha512-sntgmxj8o7DE7g/Qi60cqpLBA3HG3STcDA0kO+WfB05jEKhZMbY7umNm2rBpQvsmZ16/lPXCJGW2672dgOUkrg== yargs-parser@^20.2.3: version "20.2.9"