cowprotocol / cow-sdk

CoW protocol SDK
https://docs.cow.fi/cow-protocol/reference/sdks/cow-sdk
Other
31 stars 9 forks source link

feat(subgraph): explicitly define which networks are supported for Subgraph #195

Closed shoom3301 closed 8 months ago

shoom3301 commented 8 months ago

Since not all networks have Subgraph support we need to explicitly define which networks have support. To do this, I've changed type of SUBGRAPH_PROD_CONFIG and SUBGRAPH_STAGING_CONFIG. Now the type is string | undefined, undefined means that Subgraph is not supported for the network.

coveralls commented 8 months ago

Coverage Status

coverage: 78.899% (-0.1%) from 79.032% when pulling 23bc918ccac029377b8a112548728eb567aeb40f on feat/subgraph-optional into a5235280e73cc874374268b756efe84b0d76903d on main.

socket-security[bot] commented 8 months ago

Removed dependencies detected. Learn more about Socket for GitHub ↗︎

🚮 Removed packages: @cowprotocol/cow-sdk@4.0.5