Skip to content

Commit 7ab5e29

Browse files
authored
Merge pull request #197 from EdgeApp/sam/new-fields
Add country and exchange type info
2 parents e725c8e + c12e34d commit 7ab5e29

40 files changed

+2039
-1514
lines changed

.vscode/settings.json

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
11
{
2-
}
2+
"cSpell.words": [
3+
"banxa",
4+
"Bitrefill",
5+
"Bity",
6+
"Changelly",
7+
"Faast",
8+
"godex",
9+
"Kado",
10+
"Libertyx",
11+
"Lifi",
12+
"Paybis",
13+
"Paytrie",
14+
"Safello",
15+
"Sideshift",
16+
"Swapuz",
17+
"Switchain",
18+
"Transak",
19+
"Wyre",
20+
"Xanpool"
21+
]
22+
}

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"start:rates": "node -r sucrase/register src/indexRates.ts",
2424
"start:api": "node -r sucrase/register src/indexApi.ts",
2525
"start:destroyPartition": "node -r sucrase/register src/bin/destroyPartition.ts",
26-
"start:migrate": "node -r sucrase/register src/bin/migration.ts",
2726
"stats": "node -r sucrase/register src/bin/partitionStats.ts",
2827
"test": "mocha -r sucrase/register 'test/**/*.test.ts'",
2928
"demo": "parcel serve src/demo/index.html",
@@ -44,7 +43,7 @@
4443
"biggystring": "^4.1.3",
4544
"body-parser": "^1.19.0",
4645
"cleaner-config": "^0.1.10",
47-
"cleaners": "^0.3.13",
46+
"cleaners": "^0.3.17",
4847
"commander": "^6.1.0",
4948
"cors": "^2.8.5",
5049
"csv-stringify": "^6.2.0",

src/bin/migration.ts

Lines changed: 0 additions & 258 deletions
This file was deleted.

src/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ export const asConfig = asObject({
88
),
99
httpPort: asOptional(asNumber, 8008),
1010
bog: asOptional(asObject({ apiKey: asString }), { apiKey: '' }),
11+
12+
/** Only run specific appIds (e.g. edge, coinhub, etc) */
1113
soloAppIds: asOptional(asArray(asString), null),
14+
/** Only run specific partnerIds (e.g. moonpay, paybis, etc) */
1215
soloPartnerIds: asOptional(asArray(asString), null),
16+
1317
timeoutOverrideMins: asOptional(asNumber, 1200),
1418
cacheLookbackMonths: asOptional(asNumber, 24)
1519
})

0 commit comments

Comments
 (0)