Skip to content

Commit

Permalink
Clean up instruxi (#3560)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxiao-cll authored Nov 14, 2024
1 parent 62f0f3b commit 9d16b92
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 86 deletions.
5 changes: 5 additions & 0 deletions .changeset/two-walls-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@chainlink/instruxi-sxt-adapter': patch
---

Code refactor
30 changes: 3 additions & 27 deletions .pnp.cjs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,5 @@ export const SoakTestBlacklist: string[] = [
'bitex', // DP does not exist anymore
'bravenewcoin', // Our API Key has expired
'celsius-address-list', // Not deployed internally
'instruxi-sxt', // Developed by external party
]
6 changes: 3 additions & 3 deletions packages/sources/instruxi-sxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
},
"devDependencies": {
"@types/jest": "27.5.2",
"@types/node": "16.18.115",
"nock": "13.5.4",
"typescript": "5.5.4"
"@types/node": "16.18.119",
"nock": "13.5.5",
"typescript": "5.6.3"
},
"dependencies": {
"@chainlink/external-adapter-framework": "1.7.0",
Expand Down
3 changes: 0 additions & 3 deletions packages/sources/instruxi-sxt/src/config/overrides.json

This file was deleted.

13 changes: 1 addition & 12 deletions packages/sources/instruxi-sxt/test-payload.json
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
{
"data": {
"endpoint": "total_reserve",
"biscuit_attestation": "EroBClAKDnN4dDpjYXBhYmlsaXR5CgpkcWxfc2VsZWN0Ch9pZG0uYXR0ZXN0YXRpb25zX3Rlc3Rfd2VsbGtub3duGAMiDwoNCIAIEgMYgQgSAxiCCBIkCAASIAVNtw3BJ2W1_jrrDJCAMpcmqXQNOGfxeJEeL8eGgfLtGkBu5Qw3OvorzOAiSvcL9eNHDxoNytnu7fLFEzBvRyTHH0GuITBJaZ-CKj2jYzs419dkSHdA5VkhIKVThgvGekULIiIKIKGwfsIV0Gdq7Hv7AdiajFlScY7o46jB05ctJDxBOnw9",
"biscuit_blockchains": "EqoBCkAKDnN4dDpjYXBhYmlsaXR5CgpkcWxfc2VsZWN0Cg9pZG0uYmxvY2tjaGFpbnMYAyIPCg0IgAgSAxiBCBIDGIIIEiQIABIgFywUne_QtPcz0pbyrOxHvwtLLWSZTwd-G63yt0N1AkAaQKuXu0MgcoQg_HoYWG7jZjgJuTMxfISjjlOm9AZXW7mHEzKcdZY1of46f2UV0Hkov8nnXQFmWGK40vsfUHgT5AwiIgogTSZHcD8H7gPuJRC6-vuov3gO7uw3GBekA4ZtmWb-3u0=",
"chain_id": "43113",
"asset_contract_address": "0xFa11d66488D1C29d36ef39426938B949822e3FBd",
"token_contract_address": "0x7fe755a1dc20eC83Af545bc355ad7a9564805fA9",
"namespace": "IDM"
}
}

{}
44 changes: 3 additions & 41 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4362,10 +4362,10 @@ __metadata:
dependencies:
"@chainlink/external-adapter-framework": "npm:1.7.0"
"@types/jest": "npm:27.5.2"
"@types/node": "npm:16.18.115"
nock: "npm:13.5.4"
"@types/node": "npm:16.18.119"
nock: "npm:13.5.5"
tslib: "npm:2.4.1"
typescript: "npm:5.5.4"
typescript: "npm:5.6.3"
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -12214,13 +12214,6 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:16.18.115":
version: 16.18.115
resolution: "@types/node@npm:16.18.115"
checksum: 10/84d8fd70f255f4273f3916213a678aed2d5c7fb7e0c23225b6a7c1f5af31ccd62ed5036328195d9322c78c2dd6c7afa2100a14f5f5076a620388226cd7d05305
languageName: node
linkType: hard

"@types/node@npm:16.18.119":
version: 16.18.119
resolution: "@types/node@npm:16.18.119"
Expand Down Expand Up @@ -26431,17 +26424,6 @@ __metadata:
languageName: node
linkType: hard

"nock@npm:13.5.4":
version: 13.5.4
resolution: "nock@npm:13.5.4"
dependencies:
debug: "npm:^4.1.0"
json-stringify-safe: "npm:^5.0.1"
propagate: "npm:^2.0.0"
checksum: 10/75bad391bae4efb81b742734af5f2d87309cd93d3ca6b78372fd37946d78ccb254d79104676619866915e6734abfc1b00fee2aa42073a4843ca3c746aad35a4d
languageName: node
linkType: hard

"nock@npm:13.5.5, nock@npm:^13.2.4, nock@npm:^13.3.0":
version: 13.5.5
resolution: "nock@npm:13.5.5"
Expand Down Expand Up @@ -32291,16 +32273,6 @@ __metadata:
languageName: node
linkType: hard

"typescript@npm:5.5.4":
version: 5.5.4
resolution: "typescript@npm:5.5.4"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/1689ccafef894825481fc3d856b4834ba3cc185a9c2878f3c76a9a1ef81af04194849840f3c69e7961e2312771471bb3b460ca92561e1d87599b26c37d0ffb6f
languageName: node
linkType: hard

"typescript@npm:5.6.3":
version: 5.6.3
resolution: "typescript@npm:5.6.3"
Expand All @@ -32311,16 +32283,6 @@ __metadata:
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>":
version: 5.5.4
resolution: "typescript@patch:typescript@npm%3A5.5.4#optional!builtin<compat/typescript>::version=5.5.4&hash=379a07"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/746fdd0865c5ce4f15e494c57ede03a9e12ede59cfdb40da3a281807853fe63b00ef1c912d7222143499aa82f18b8b472baa1830df8804746d09b55f6cf5b1cc
languageName: node
linkType: hard

"typescript@patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>":
version: 5.6.3
resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin<compat/typescript>::version=5.6.3&hash=8c6c40"
Expand Down

0 comments on commit 9d16b92

Please sign in to comment.