From 5402445f445271c9c1a9f01d5a885baf2542cf3c Mon Sep 17 00:00:00 2001 From: Nabarun Gogoi Date: Fri, 24 Nov 2023 12:44:09 +0530 Subject: [PATCH] Update watchers with fix for historical processing sync status update (#40) * Update azimuth watcher with fix for historical processing sync status * Upgrade packages in all watchers * Upgrade package versions to 0.2.76 * Update watcher version to 0.1.2 --- lerna.json | 2 +- packages/azimuth-watcher/package.json | 10 +- packages/azimuth-watcher/src/database.ts | 6 + packages/azimuth-watcher/src/indexer.ts | 4 + packages/censures-watcher/package.json | 10 +- packages/censures-watcher/src/database.ts | 6 + packages/censures-watcher/src/indexer.ts | 4 + packages/claims-watcher/package.json | 10 +- packages/claims-watcher/src/database.ts | 6 + packages/claims-watcher/src/indexer.ts | 4 + .../package.json | 10 +- .../src/database.ts | 6 + .../src/indexer.ts | 4 + .../delegated-sending-watcher/package.json | 10 +- .../delegated-sending-watcher/src/database.ts | 6 + .../delegated-sending-watcher/src/indexer.ts | 4 + packages/ecliptic-watcher/package.json | 10 +- packages/ecliptic-watcher/src/database.ts | 6 + packages/ecliptic-watcher/src/indexer.ts | 4 + packages/gateway-server/package.json | 3 +- .../linear-star-release-watcher/package.json | 10 +- .../src/database.ts | 6 + .../src/indexer.ts | 4 + packages/polls-watcher/package.json | 10 +- packages/polls-watcher/src/database.ts | 6 + packages/polls-watcher/src/indexer.ts | 4 + yarn.lock | 104 +++++++++++------- 27 files changed, 190 insertions(+), 79 deletions(-) diff --git a/lerna.json b/lerna.json index 3fbe4bf..baa0713 100644 --- a/lerna.json +++ b/lerna.json @@ -3,6 +3,6 @@ "packages/*" ], "useWorkspaces": true, - "version": "0.0.0", + "version": "0.1.2", "npmClient": "yarn" } diff --git a/packages/azimuth-watcher/package.json b/packages/azimuth-watcher/package.json index 77889f2..b2f2e1c 100644 --- a/packages/azimuth-watcher/package.json +++ b/packages/azimuth-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/azimuth-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "azimuth-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/azimuth-watcher/src/database.ts b/packages/azimuth-watcher/src/database.ts index 9334fb8..c201fc8 100644 --- a/packages/azimuth-watcher/src/database.ts +++ b/packages/azimuth-watcher/src/database.ts @@ -924,6 +924,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/azimuth-watcher/src/indexer.ts b/packages/azimuth-watcher/src/indexer.ts index 812c655..7242b0e 100644 --- a/packages/azimuth-watcher/src/indexer.ts +++ b/packages/azimuth-watcher/src/indexer.ts @@ -1747,6 +1747,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/packages/censures-watcher/package.json b/packages/censures-watcher/package.json index d6ab731..69cbee1 100644 --- a/packages/censures-watcher/package.json +++ b/packages/censures-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/censures-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "censures-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/censures-watcher/src/database.ts b/packages/censures-watcher/src/database.ts index 6c3aea2..f666d57 100644 --- a/packages/censures-watcher/src/database.ts +++ b/packages/censures-watcher/src/database.ts @@ -271,6 +271,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/censures-watcher/src/indexer.ts b/packages/censures-watcher/src/indexer.ts index 7c5914b..c56a691 100644 --- a/packages/censures-watcher/src/indexer.ts +++ b/packages/censures-watcher/src/indexer.ts @@ -525,6 +525,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/packages/claims-watcher/package.json b/packages/claims-watcher/package.json index 794fa81..623e5eb 100644 --- a/packages/claims-watcher/package.json +++ b/packages/claims-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/claims-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "claims-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/claims-watcher/src/database.ts b/packages/claims-watcher/src/database.ts index 67612d9..e3ceb5f 100644 --- a/packages/claims-watcher/src/database.ts +++ b/packages/claims-watcher/src/database.ts @@ -225,6 +225,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/claims-watcher/src/indexer.ts b/packages/claims-watcher/src/indexer.ts index 22d29d0..6e1afe5 100644 --- a/packages/claims-watcher/src/indexer.ts +++ b/packages/claims-watcher/src/indexer.ts @@ -433,6 +433,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/packages/conditional-star-release-watcher/package.json b/packages/conditional-star-release-watcher/package.json index 445cb02..cef5390 100644 --- a/packages/conditional-star-release-watcher/package.json +++ b/packages/conditional-star-release-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/conditional-star-release-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "conditional-star-release-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/conditional-star-release-watcher/src/database.ts b/packages/conditional-star-release-watcher/src/database.ts index fdb871f..25eb459 100644 --- a/packages/conditional-star-release-watcher/src/database.ts +++ b/packages/conditional-star-release-watcher/src/database.ts @@ -370,6 +370,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/conditional-star-release-watcher/src/indexer.ts b/packages/conditional-star-release-watcher/src/indexer.ts index a566cca..67e0f40 100644 --- a/packages/conditional-star-release-watcher/src/indexer.ts +++ b/packages/conditional-star-release-watcher/src/indexer.ts @@ -714,6 +714,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/packages/delegated-sending-watcher/package.json b/packages/delegated-sending-watcher/package.json index 2b55c91..db00899 100644 --- a/packages/delegated-sending-watcher/package.json +++ b/packages/delegated-sending-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/delegated-sending-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "delegated-sending-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/delegated-sending-watcher/src/database.ts b/packages/delegated-sending-watcher/src/database.ts index 40e28f1..364e660 100644 --- a/packages/delegated-sending-watcher/src/database.ts +++ b/packages/delegated-sending-watcher/src/database.ts @@ -240,6 +240,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/delegated-sending-watcher/src/indexer.ts b/packages/delegated-sending-watcher/src/indexer.ts index c039306..3c448d4 100644 --- a/packages/delegated-sending-watcher/src/indexer.ts +++ b/packages/delegated-sending-watcher/src/indexer.ts @@ -463,6 +463,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/packages/ecliptic-watcher/package.json b/packages/ecliptic-watcher/package.json index 4457968..69437bc 100644 --- a/packages/ecliptic-watcher/package.json +++ b/packages/ecliptic-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/ecliptic-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "ecliptic-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/ecliptic-watcher/src/database.ts b/packages/ecliptic-watcher/src/database.ts index e47ea0c..db8c5ea 100644 --- a/packages/ecliptic-watcher/src/database.ts +++ b/packages/ecliptic-watcher/src/database.ts @@ -386,6 +386,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/ecliptic-watcher/src/indexer.ts b/packages/ecliptic-watcher/src/indexer.ts index 31cbd5f..7439b05 100644 --- a/packages/ecliptic-watcher/src/indexer.ts +++ b/packages/ecliptic-watcher/src/indexer.ts @@ -735,6 +735,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/packages/gateway-server/package.json b/packages/gateway-server/package.json index bdbff8c..a1728c8 100644 --- a/packages/gateway-server/package.json +++ b/packages/gateway-server/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/gateway-server", - "version": "0.1.0", + "version": "0.1.2", "main": "index.js", "license": "AGPL-3.0", "private": true, @@ -21,6 +21,7 @@ "is-reachable": "^5.2.1" }, "devDependencies": { + "@types/debug": "^4.1.5", "@types/node": "^18.11.18", "@typescript-eslint/eslint-plugin": "^5.47.1", "@typescript-eslint/parser": "^5.47.1", diff --git a/packages/linear-star-release-watcher/package.json b/packages/linear-star-release-watcher/package.json index 8967c3b..d736f51 100644 --- a/packages/linear-star-release-watcher/package.json +++ b/packages/linear-star-release-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/linear-star-release-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "linear-star-release-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/linear-star-release-watcher/src/database.ts b/packages/linear-star-release-watcher/src/database.ts index 90fd8e5..09cbca9 100644 --- a/packages/linear-star-release-watcher/src/database.ts +++ b/packages/linear-star-release-watcher/src/database.ts @@ -255,6 +255,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/linear-star-release-watcher/src/indexer.ts b/packages/linear-star-release-watcher/src/indexer.ts index aa267e4..31f39ec 100644 --- a/packages/linear-star-release-watcher/src/indexer.ts +++ b/packages/linear-star-release-watcher/src/indexer.ts @@ -493,6 +493,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/packages/polls-watcher/package.json b/packages/polls-watcher/package.json index 181b7a1..b1446bb 100644 --- a/packages/polls-watcher/package.json +++ b/packages/polls-watcher/package.json @@ -1,6 +1,6 @@ { "name": "@cerc-io/polls-watcher", - "version": "0.1.0", + "version": "0.1.2", "description": "polls-watcher", "private": true, "main": "dist/index.js", @@ -38,10 +38,10 @@ "homepage": "https://github.com/cerc-io/watcher-ts#readme", "dependencies": { "@apollo/client": "^3.3.19", - "@cerc-io/cli": "^0.2.74", - "@cerc-io/ipld-eth-client": "^0.2.74", - "@cerc-io/solidity-mapper": "^0.2.74", - "@cerc-io/util": "^0.2.74", + "@cerc-io/cli": "^0.2.76", + "@cerc-io/ipld-eth-client": "^0.2.76", + "@cerc-io/solidity-mapper": "^0.2.76", + "@cerc-io/util": "^0.2.76", "@ethersproject/providers": "^5.4.4", "debug": "^4.3.1", "decimal.js": "^10.3.1", diff --git a/packages/polls-watcher/src/database.ts b/packages/polls-watcher/src/database.ts index 1924e4a..f55dbf0 100644 --- a/packages/polls-watcher/src/database.ts +++ b/packages/polls-watcher/src/database.ts @@ -316,6 +316,12 @@ export class Database implements DatabaseInterface { return this._baseDatabase.updateSyncStatusIndexingError(repo, hasIndexingError); } + async updateSyncStatus (queryRunner: QueryRunner, syncStatus: DeepPartial): Promise { + const repo = queryRunner.manager.getRepository(SyncStatus); + + return this._baseDatabase.updateSyncStatus(repo, syncStatus); + } + async getSyncStatus (queryRunner: QueryRunner): Promise { const repo = queryRunner.manager.getRepository(SyncStatus); diff --git a/packages/polls-watcher/src/indexer.ts b/packages/polls-watcher/src/indexer.ts index 36933b3..5cd7993 100644 --- a/packages/polls-watcher/src/indexer.ts +++ b/packages/polls-watcher/src/indexer.ts @@ -615,6 +615,10 @@ export class Indexer implements IndexerInterface { return this._baseIndexer.updateSyncStatusIndexingError(hasIndexingError); } + async updateSyncStatus (syncStatus: DeepPartial): Promise { + return this._baseIndexer.updateSyncStatus(syncStatus); + } + async getEvent (id: string): Promise { return this._baseIndexer.getEvent(id); } diff --git a/yarn.lock b/yarn.lock index 45d14db..8685f8a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -183,10 +183,10 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@cerc-io/cache@^0.2.74": - version "0.2.74" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcache/-/0.2.74/cache-0.2.74.tgz#035805fc289aa02cbc34e5ecf14e3728fa288763" - integrity sha512-2Vhpk3pNCyhnmYUPHnd6Hp1uGlPcDhMYStH/UllKz2OQ6l+HG0ba48tCIyG76/XXpfM97tPBx9tT43CDN8LdAQ== +"@cerc-io/cache@^0.2.76": + version "0.2.76" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcache/-/0.2.76/cache-0.2.76.tgz#17bba2a1debe6507f12addb9659df2faa7faea23" + integrity sha512-VfoQv/HhpdS76F8S2BtLYNAOh3yODXHbk+/RQVIheR7Lpe4lpe4IKwU/zFQsn5TlEiG2pXvTlbP1dL4iQbM6Bg== dependencies: canonical-json "^0.0.4" debug "^4.3.1" @@ -194,19 +194,19 @@ fs-extra "^10.0.0" level "^7.0.0" -"@cerc-io/cli@^0.2.74": - version "0.2.74" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcli/-/0.2.74/cli-0.2.74.tgz#db13cf6a2cacd144e5dfba80929a6511be27afe9" - integrity sha512-wi2MvEvQMMpaeOJxT/bvC80RuPZbM9louNmhIxOseROzUH1G+cJvoEipBBZvUngMj8CWbzBzK8OYawegRUv96w== +"@cerc-io/cli@^0.2.76": + version "0.2.76" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fcli/-/0.2.76/cli-0.2.76.tgz#29f872f44645280819bf5ba74341bfc89717f49f" + integrity sha512-GCA3L85eKecjspqYBp5X7aIU2hV3chxB6sLRkUtbIWAzHvdxLlk8JsBnY9nu1gX6CjZ1P6Snoo4tTzDzwvO2ZA== dependencies: "@apollo/client" "^3.7.1" - "@cerc-io/cache" "^0.2.74" - "@cerc-io/ipld-eth-client" "^0.2.74" + "@cerc-io/cache" "^0.2.76" + "@cerc-io/ipld-eth-client" "^0.2.76" "@cerc-io/libp2p" "^0.42.2-laconic-0.1.4" "@cerc-io/nitro-node" "^0.1.15" - "@cerc-io/peer" "^0.2.74" - "@cerc-io/rpc-eth-client" "^0.2.74" - "@cerc-io/util" "^0.2.74" + "@cerc-io/peer" "^0.2.76" + "@cerc-io/rpc-eth-client" "^0.2.76" + "@cerc-io/util" "^0.2.76" "@ethersproject/providers" "^5.4.4" "@graphql-tools/utils" "^9.1.1" "@ipld/dag-cbor" "^8.0.0" @@ -222,14 +222,14 @@ typeorm "0.2.37" yargs "^17.0.1" -"@cerc-io/ipld-eth-client@^0.2.74": - version "0.2.74" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fipld-eth-client/-/0.2.74/ipld-eth-client-0.2.74.tgz#f96acb32937a035de2a54e32153420581c9b5375" - integrity sha512-KIh132dymTgbypB3S4YPyWF5jnonhaeR1y39xAR7jqxCB+xhJg+hp94l/o00t2/YH3ZT9jgbVGUmiJfN8vmq0A== +"@cerc-io/ipld-eth-client@^0.2.76": + version "0.2.76" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fipld-eth-client/-/0.2.76/ipld-eth-client-0.2.76.tgz#1305fa273b5fdeb2356221a9fca9445cddde688e" + integrity sha512-UDK/GzqN0FwdaXgzUazJzDL5EZo99I/SbG1tiu5C8+Q0HuJdAPBFUSLmx2ZK4ARj048HqQSeZq4wT+xFQ3q+5A== dependencies: "@apollo/client" "^3.7.1" - "@cerc-io/cache" "^0.2.74" - "@cerc-io/util" "^0.2.74" + "@cerc-io/cache" "^0.2.76" + "@cerc-io/util" "^0.2.76" cross-fetch "^3.1.4" debug "^4.3.1" ethers "^5.4.4" @@ -352,7 +352,7 @@ lodash "^4.17.21" uint8arrays "^4.0.3" -"@cerc-io/peer@^0.2.65", "@cerc-io/peer@^0.2.74": +"@cerc-io/peer@^0.2.65": version "0.2.74" resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fpeer/-/0.2.74/peer-0.2.74.tgz#cc54e513e1857b04630f6b11e9a65dcdcc532790" integrity sha512-l7y19KU0ZJtRkjTrgyzHj+0X8Zu9GO70Eg0AKMFrGmcFfHEfjKGmfWn0gYERNHSy5SGktOJAztAtd/dXARPpnw== @@ -382,6 +382,36 @@ unique-names-generator "^4.7.1" yargs "^17.0.1" +"@cerc-io/peer@^0.2.76": + version "0.2.76" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fpeer/-/0.2.76/peer-0.2.76.tgz#0e47b13bb61963ae379d168f20cc36879a828113" + integrity sha512-6kky6TDB84YYWY84n7reLaQlkqVTUjwyxMmqBo2lEc2741bj3UB2XF7a1SZIMGKc+iv2kqRopgT8KTNYC8NFTg== + dependencies: + "@cerc-io/libp2p" "^0.42.2-laconic-0.1.4" + "@cerc-io/prometheus-metrics" "1.1.4" + "@chainsafe/libp2p-gossipsub" "^6.0.0" + "@chainsafe/libp2p-noise" "^11.0.0" + "@chainsafe/libp2p-yamux" "3.0.7" + "@libp2p/floodsub" "^6.0.0" + "@libp2p/mplex" "^7.1.1" + "@libp2p/peer-id-factory" "^2.0.0" + "@libp2p/pubsub-peer-discovery" "^8.0.0" + "@libp2p/websockets" "^5.0.5" + "@multiformats/multiaddr" "^11.1.4" + assert "^2.0.0" + buffer "^6.0.3" + chai "^4.3.4" + debug "^4.3.1" + it-length-prefixed "^8.0.4" + it-map "^2.0.0" + it-pipe "^2.0.5" + it-pushable "^3.1.2" + mocha "^8.4.0" + p-event "^5.0.1" + uint8arrays "^4.0.3" + unique-names-generator "^4.7.1" + yargs "^17.0.1" + "@cerc-io/prometheus-metrics@1.1.4": version "1.1.4" resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fprometheus-metrics/-/1.1.4/prometheus-metrics-1.1.4.tgz#51006b0b5bf6168394390c78072a1c0bb2b02f28" @@ -394,23 +424,23 @@ it-stream-types "^1.0.4" promjs "^0.4.2" -"@cerc-io/rpc-eth-client@^0.2.74": - version "0.2.74" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Frpc-eth-client/-/0.2.74/rpc-eth-client-0.2.74.tgz#6500a4591733f369eb04a87644c2844b900d1740" - integrity sha512-TR0uWJ7Rwg2iQCOajPBLkpvN21FjQ/b8Sgs+Cs9ijhM0m2otY9vLiLIyYcAm+acFXputBNivAmLmdbRIUX1OGg== +"@cerc-io/rpc-eth-client@^0.2.76": + version "0.2.76" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Frpc-eth-client/-/0.2.76/rpc-eth-client-0.2.76.tgz#e6904f6e8a9e547fb5e8ae03ed1d6b12f772fecc" + integrity sha512-cP2jGeTay+E88+Q88nu9X1alLTS3ATiPGmwhtMCqC4sl6BoSR5HiXUwis7UJM21L7JEtoXvpjIY8X7ebhRu35g== dependencies: - "@cerc-io/cache" "^0.2.74" - "@cerc-io/ipld-eth-client" "^0.2.74" - "@cerc-io/util" "^0.2.74" + "@cerc-io/cache" "^0.2.76" + "@cerc-io/ipld-eth-client" "^0.2.76" + "@cerc-io/util" "^0.2.76" chai "^4.3.4" ethers "^5.4.4" left-pad "^1.3.0" mocha "^8.4.0" -"@cerc-io/solidity-mapper@^0.2.74": - version "0.2.74" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fsolidity-mapper/-/0.2.74/solidity-mapper-0.2.74.tgz#770115a57481b94a3d21eb00b17cb4b47eb441ad" - integrity sha512-GYZyhhWcCQTApzSPhLOAFfd0INlTF4VcXl6A7omaEHOwXkeW8lCOfOk9QEDo4Xt6Emg7ebEqsqLikiYhg/DiKg== +"@cerc-io/solidity-mapper@^0.2.76": + version "0.2.76" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fsolidity-mapper/-/0.2.76/solidity-mapper-0.2.76.tgz#b2d33126ce3753b6e200e5f128473052285ebe4e" + integrity sha512-L/+MIQyuEhqiBrZA4iVH4400R6E3ocq5ZFZIRB2k670jHSVAs1Sd5UfNmRVDkez4waQlrdTO0rWKEg+d7HyPEQ== dependencies: dotenv "^10.0.0" @@ -419,15 +449,15 @@ resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Fts-channel/-/1.0.3-ts-nitro-0.1.1/ts-channel-1.0.3-ts-nitro-0.1.1.tgz#0768781313a167295c0bf21307f47e02dc17e936" integrity sha512-2jFICUSyffuZ+8+qRhXuLSJq4GJ6Y02wxiXoubH0Kzv2lIKkJtWICY1ZQQhtXAvP0ncAQB85WJHqtqwH8l7J3Q== -"@cerc-io/util@^0.2.74": - version "0.2.74" - resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Futil/-/0.2.74/util-0.2.74.tgz#3f07fa529df9c2633e0b6b42e3d44779c8f05ae6" - integrity sha512-IJmRwkEOOkTOeY9AQTl8Vgo4ELoWTJvWz0itY/+j06+bmmi9cP/3otPh9PcqT2KIpPq6fQ103UTdgOxmewbBJg== +"@cerc-io/util@^0.2.76": + version "0.2.76" + resolved "https://git.vdb.to/api/packages/cerc-io/npm/%40cerc-io%2Futil/-/0.2.76/util-0.2.76.tgz#7c86d666377a133926c7d6478d979da70be18b0f" + integrity sha512-8FWeeOKYdKK0o0nJZev1gwmyy5QwjjzEUMq08DFOYaEPiLgVKrvWQD8C2SJKNPiWAaA0ZB2D6rXSu0hTbbEHKA== dependencies: "@apollo/utils.keyvaluecache" "^1.0.1" "@cerc-io/nitro-node" "^0.1.15" - "@cerc-io/peer" "^0.2.74" - "@cerc-io/solidity-mapper" "^0.2.74" + "@cerc-io/peer" "^0.2.76" + "@cerc-io/solidity-mapper" "^0.2.76" "@cerc-io/ts-channel" "1.0.3-ts-nitro-0.1.1" "@ethersproject/properties" "^5.7.0" "@ethersproject/providers" "^5.4.4"