@cardano-ogmios/client
Advanced tools
Comparing version 5.5.0-rc.3 to 5.5.0
/// <reference types="node" /> | ||
import { WebSocket } from './IsomorphicWebSocket'; | ||
import { InteractionContext } from './Connection'; | ||
import { Block, BlockAllegra, BlockAlonzo, BlockByron, BlockMary, BlockShelley, EpochBoundaryBlock, Point, ProtocolParametersAlonzo, ProtocolParametersShelley, StandardBlock } from '@cardano-ogmios/schema'; | ||
import { Block, BlockAllegra, BlockAlonzo, BlockBabbage, BlockByron, BlockMary, BlockShelley, EpochBoundaryBlock, Point, ProtocolParametersAlonzo, ProtocolParametersShelley, StandardBlock } from '@cardano-ogmios/schema'; | ||
import { EventEmitter } from 'events'; | ||
@@ -21,2 +21,5 @@ export declare const safeJSON: { | ||
}; | ||
export declare const isBabbageBlock: (block: Block) => block is { | ||
babbage: BlockBabbage; | ||
}; | ||
export declare const isByronBlock: (block: Block) => block is { | ||
@@ -23,0 +26,0 @@ byron: BlockByron; |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isShelleyProtocolParameters = exports.isAlonzoProtocolParameters = exports.isEmptyObject = exports.isShelleyBlock = exports.isMaryBlock = exports.isByronEpochBoundaryBlock = exports.isByronStandardBlock = exports.isByronBlock = exports.isAlonzoBlock = exports.isAllegraBlock = exports.eventEmitterToGenerator = exports.ensureSocketIsOpen = exports.createPointFromCurrentTip = exports.safeJSON = void 0; | ||
exports.isShelleyProtocolParameters = exports.isAlonzoProtocolParameters = exports.isEmptyObject = exports.isShelleyBlock = exports.isMaryBlock = exports.isByronEpochBoundaryBlock = exports.isByronStandardBlock = exports.isByronBlock = exports.isBabbageBlock = exports.isAlonzoBlock = exports.isAllegraBlock = exports.eventEmitterToGenerator = exports.ensureSocketIsOpen = exports.createPointFromCurrentTip = exports.safeJSON = void 0; | ||
const ChainSync_1 = require("./ChainSync"); | ||
@@ -107,2 +107,4 @@ const errors_1 = require("./errors"); | ||
exports.isAlonzoBlock = isAlonzoBlock; | ||
const isBabbageBlock = (block) => block.babbage !== undefined; | ||
exports.isBabbageBlock = isBabbageBlock; | ||
const isByronBlock = (block) => block.byron !== undefined; | ||
@@ -109,0 +111,0 @@ exports.isByronBlock = isByronBlock; |
{ | ||
"name": "@cardano-ogmios/client", | ||
"version": "5.5.0-rc.3", | ||
"version": "5.5.0", | ||
"description": "TypeScript client library for Cardano Ogmios", | ||
@@ -56,3 +56,3 @@ "engines": { | ||
"dependencies": { | ||
"@cardano-ogmios/schema": "5.5.0-rc.3", | ||
"@cardano-ogmios/schema": "5.5.0", | ||
"@cardanosolutions/json-bigint": "^1.0.0", | ||
@@ -59,0 +59,0 @@ "@types/json-bigint": "^1.0.1", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
345419
4279
1
+ Added@cardano-ogmios/schema@5.5.0(transitive)
- Removed@cardano-ogmios/schema@5.5.0-rc.3(transitive)
Updated@cardano-ogmios/schema@5.5.0