@injectivelabs/networks
Advanced tools
Comparing version 0.0.38 to 0.0.39
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.0.39](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/networks@0.0.38...@injectivelabs/networks@0.0.39) (2021-08-22) | ||
### Features | ||
* added old mainnet endpoints ([32286a5](https://github.com/InjectiveLabs/injective-ts/commit/32286a5deb5f227bb0f157006e4c40d47b24e559)) | ||
## [0.0.38](https://github.com/InjectiveLabs/injective-ts/compare/@injectivelabs/networks@0.0.37...@injectivelabs/networks@0.0.38) (2021-08-20) | ||
@@ -8,0 +19,0 @@ |
import { UrlEndpoint } from './types'; | ||
export declare const urlEndpointsMainnet: UrlEndpoint; | ||
export declare const urlEndpointsMainnetOld: UrlEndpoint; | ||
export declare const urlEndpointsStaking: UrlEndpoint; | ||
@@ -4,0 +5,0 @@ export declare const urlEndpointsDevnet: UrlEndpoint; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.urlEndpointsLocal = exports.urlEndpointsPublic = exports.urlEndpointsDevnet = exports.urlEndpointsStaking = exports.urlEndpointsMainnet = void 0; | ||
exports.urlEndpointsLocal = exports.urlEndpointsPublic = exports.urlEndpointsDevnet = exports.urlEndpointsStaking = exports.urlEndpointsMainnetOld = exports.urlEndpointsMainnet = void 0; | ||
exports.urlEndpointsMainnet = { | ||
@@ -10,2 +10,8 @@ baseUrl: 'https://k8s-api.injective.network/api', | ||
}; | ||
exports.urlEndpointsMainnetOld = { | ||
baseUrl: 'https://staking-api.injective.network:4444/api', | ||
chainUrl: 'https://staking-grpc.injective.network', | ||
exchangeUrl: 'https://staking-api.injective.network:4444', | ||
explorerUrl: 'https://explorer-api.injective.network/v1', | ||
}; | ||
exports.urlEndpointsStaking = { | ||
@@ -12,0 +18,0 @@ baseUrl: 'https://staking-api-testnet.injective.network:4444/api', |
@@ -7,2 +7,3 @@ "use strict"; | ||
mainnet: endpoints_1.urlEndpointsMainnet, | ||
mainnetOld: endpoints_1.urlEndpointsMainnetOld, | ||
public: endpoints_1.urlEndpointsPublic, | ||
@@ -9,0 +10,0 @@ devnet: endpoints_1.urlEndpointsDevnet, |
@@ -6,3 +6,4 @@ export declare enum Network { | ||
Staking = "staking", | ||
Mainnet = "mainnet" | ||
Mainnet = "mainnet", | ||
MainnetOld = "mainnet-old" | ||
} | ||
@@ -9,0 +10,0 @@ export declare type UrlEndpoint = { |
@@ -11,3 +11,4 @@ "use strict"; | ||
Network["Mainnet"] = "mainnet"; | ||
Network["MainnetOld"] = "mainnet-old"; | ||
})(Network = exports.Network || (exports.Network = {})); | ||
//# sourceMappingURL=types.js.map |
{ | ||
"name": "@injectivelabs/networks", | ||
"description": "Endpoints, networks, etc. Can be reused throughout Injective's projects.", | ||
"version": "0.0.38", | ||
"version": "0.0.39", | ||
"license": "MIT", | ||
@@ -35,3 +35,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "0c2f3d87cd80c7e75b5c568df7c67a7b55e83307" | ||
"gitHead": "64100bd333604014e46e40e585c2b3d18f8610e1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22820
107