@azuro-org/toolkit 5.1.7 → 5.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/utils/getEndpoints.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5851,12 +5851,12 @@ const getBetsGraphqlEndpoint = (chainId) => (`https://thegraph.onchainfeed.org/s
|
|
|
5851
5851
|
*/
|
|
5852
5852
|
const getLegacyLiveGraphqlEndpoint = (chainId) => {
|
|
5853
5853
|
if (isDevChain(chainId)) {
|
|
5854
|
-
return 'https://thegraph.
|
|
5854
|
+
return 'https://thegraph.onchainfeed.org/subgraphs/name/azuro-protocol/azuro-api-live-data-feed-dev';
|
|
5855
5855
|
}
|
|
5856
5856
|
// if (chainId === polygonAmoy.id) {
|
|
5857
|
-
// return 'https://thegraph.
|
|
5857
|
+
// return 'https://thegraph.onchainfeed.org/subgraphs/name/azuro-protocol/azuro-api-live-data-feed-preprod'
|
|
5858
5858
|
// }
|
|
5859
|
-
return 'https://thegraph.
|
|
5859
|
+
return 'https://thegraph.onchainfeed.org/subgraphs/name/azuro-protocol/azuro-api-live-data-feed';
|
|
5860
5860
|
};
|
|
5861
5861
|
const getSocketEndpoint = (chainId) => {
|
|
5862
5862
|
if (isDevChain(chainId)) {
|
|
@@ -4,6 +4,6 @@ export declare const getBetsGraphqlEndpoint: (chainId: ChainId) => string;
|
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated Only for v2 feed
|
|
6
6
|
*/
|
|
7
|
-
export declare const getLegacyLiveGraphqlEndpoint: (chainId: ChainId) => "https://thegraph.
|
|
7
|
+
export declare const getLegacyLiveGraphqlEndpoint: (chainId: ChainId) => "https://thegraph.onchainfeed.org/subgraphs/name/azuro-protocol/azuro-api-live-data-feed-dev" | "https://thegraph.onchainfeed.org/subgraphs/name/azuro-protocol/azuro-api-live-data-feed";
|
|
8
8
|
export declare const getSocketEndpoint: (chainId: ChainId) => "wss://dev-streams.onchainfeed.org/v1/streams" | "wss://streams.onchainfeed.org/v1/streams";
|
|
9
9
|
export declare const getApiEndpoint: (chainId: ChainId) => "https://dev-api.onchainfeed.org/api/v1/public" | "https://api.onchainfeed.org/api/v1/public";
|
package/package.json
CHANGED