-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The SubScan is going to deprecate it's /api/scan/events endpoint on 01.March.2024. On this PullRequest, this other two endpoints /api/v2/scan/events and /api/scan/event/params replace it. The API responses are different so some tweaking needed to be done. Commits: * feat: subScan.ts from SocialKYC * fix: update event parsing and value extraction * fix: update params parsing and value extraction for scanCTypes.ts * feat: use CType.hashToId() instead of manually converting it * feat: move parseParams() inside of subScan.ts * fix: update subscan tests * fix: update Event mocking * fix: disable eslint/no-unsafe-return foe one line * fix: importing structure * fix: deleted commented testes * fix: tests a bit more * feat: make transform() from subScanEventGenerator optional * fix: tests a bit more * fix: use new names for parameters on tests * fix: shorten the import paths
- Loading branch information
1 parent
3eb8c89
commit e30d9db
Showing
6 changed files
with
178 additions
and
173 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.