Skip to content

Commit a2c073d

Browse files
committed
Add aurora^
1 parent 096ab46 commit a2c073d

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

src/protocols/index.js

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,17 @@ module.exports = class Protocol {
5757
'arbitrum-rinkeby',
5858
'optimism',
5959
'optimism-kovan',
60+
'aurora',
61+
'aurora-testnet',
6062
],
61-
near: [
62-
'near-mainnet',
63-
],
63+
near: ['near-mainnet'],
6464
})
6565
}
6666

6767
normalizeName(name) {
68-
return Protocol.availableProtocols()
69-
.findKey(possibleNames => possibleNames.includes(name))
68+
return Protocol.availableProtocols().findKey(possibleNames =>
69+
possibleNames.includes(name),
70+
)
7071
}
7172

7273
displayName() {
@@ -142,9 +143,7 @@ module.exports = class Protocol {
142143
case 'near':
143144
return new NearSubgraph(optionsWithProtocol)
144145
default:
145-
throw new Error(
146-
`Data sources with kind '${this.name}' are not supported yet`,
147-
)
146+
throw new Error(`Data sources with kind '${this.name}' are not supported yet`)
148147
}
149148
}
150149

0 commit comments

Comments
 (0)