@cardano-sdk/blockfrost
Advanced tools
Comparing version 0.5.0-nightly.0 to 0.5.0-nightly.1
@@ -53,2 +53,3 @@ "use strict"; | ||
currentWalletProtocolParameters, | ||
eraSummaries: util_1.eraSummaries, | ||
genesisParameters, | ||
@@ -58,4 +59,3 @@ healthCheck: util_1.healthCheck.bind(undefined, blockfrost), | ||
lovelaceSupply, | ||
stake, | ||
timeSettings: util_1.timeSettings | ||
stake | ||
}; | ||
@@ -62,0 +62,0 @@ }; |
@@ -31,4 +31,4 @@ import { BlockFrostAPI } from '@blockfrost/blockfrost-js'; | ||
}; | ||
export declare const timeSettings: NetworkInfoProvider['timeSettings']; | ||
export declare const eraSummaries: NetworkInfoProvider['eraSummaries']; | ||
export declare const healthCheck: (blockfrost: BlockFrostAPI) => ReturnType<Provider['healthCheck']>; | ||
//# sourceMappingURL=util.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.healthCheck = exports.timeSettings = exports.networkMagicToIdMap = exports.fetchByAddressSequentially = exports.blockfrostMetadataToTxMetadata = exports.fetchSequentially = exports.toProviderError = exports.formatBlockfrostError = void 0; | ||
exports.healthCheck = exports.eraSummaries = exports.networkMagicToIdMap = exports.fetchByAddressSequentially = exports.blockfrostMetadataToTxMetadata = exports.fetchSequentially = exports.toProviderError = exports.formatBlockfrostError = void 0; | ||
const core_1 = require("@cardano-sdk/core"); | ||
@@ -85,4 +85,4 @@ const formatBlockfrostError = (error) => { | ||
}; | ||
const timeSettings = async () => core_1.testnetTimeSettings; | ||
exports.timeSettings = timeSettings; | ||
const eraSummaries = async () => core_1.testnetEraSummaries; | ||
exports.eraSummaries = eraSummaries; | ||
const healthCheck = async (blockfrost) => { | ||
@@ -89,0 +89,0 @@ try { |
import { BlockfrostToCore } from './BlockfrostToCore'; | ||
import { ProviderError, ProviderFailure } from '@cardano-sdk/core'; | ||
import { healthCheck, networkMagicToIdMap, timeSettings } from './util'; | ||
import { eraSummaries, healthCheck, networkMagicToIdMap } from './util'; | ||
export const blockfrostNetworkInfoProvider = (blockfrost) => { | ||
@@ -50,2 +50,3 @@ if (!blockfrost.apiUrl.includes('testnet')) { | ||
currentWalletProtocolParameters, | ||
eraSummaries, | ||
genesisParameters, | ||
@@ -55,6 +56,5 @@ healthCheck: healthCheck.bind(undefined, blockfrost), | ||
lovelaceSupply, | ||
stake, | ||
timeSettings | ||
stake | ||
}; | ||
}; | ||
//# sourceMappingURL=blockfrostNetworkInfoProvider.js.map |
@@ -31,4 +31,4 @@ import { BlockFrostAPI } from '@blockfrost/blockfrost-js'; | ||
}; | ||
export declare const timeSettings: NetworkInfoProvider['timeSettings']; | ||
export declare const eraSummaries: NetworkInfoProvider['eraSummaries']; | ||
export declare const healthCheck: (blockfrost: BlockFrostAPI) => ReturnType<Provider['healthCheck']>; | ||
//# sourceMappingURL=util.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import { Cardano, InvalidStringError, ProviderError, ProviderFailure, ProviderUtil, testnetTimeSettings } from '@cardano-sdk/core'; | ||
import { Cardano, InvalidStringError, ProviderError, ProviderFailure, ProviderUtil, testnetEraSummaries } from '@cardano-sdk/core'; | ||
export const formatBlockfrostError = (error) => { | ||
@@ -77,3 +77,3 @@ const blockfrostError = error; | ||
}; | ||
export const timeSettings = async () => testnetTimeSettings; | ||
export const eraSummaries = async () => testnetEraSummaries; | ||
export const healthCheck = async (blockfrost) => { | ||
@@ -80,0 +80,0 @@ try { |
{ | ||
"name": "@cardano-sdk/blockfrost", | ||
"version": "0.5.0-nightly.0", | ||
"version": "0.5.0-nightly.1", | ||
"description": "Blockfrost provider for Cardano JS SDK", | ||
@@ -62,3 +62,3 @@ "engines": { | ||
"@blockfrost/blockfrost-js": "npm:blockfrost-js-ratelimited@2.0.4", | ||
"@cardano-sdk/core": "^0.5.0-nightly.3", | ||
"@cardano-sdk/core": "^0.5.0-nightly.4", | ||
"@cardano-sdk/util": "^0.5.0-nightly.0", | ||
@@ -74,3 +74,3 @@ "lodash": "^4.17.21", | ||
], | ||
"gitHead": "60e4bfaf6a113a2b63e3bebbfd515fa60a127567" | ||
"gitHead": "462941dc783c2dfecba92d03027eaeb8ce051712" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
401959