Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cardano-ogmios/client

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-ogmios/client - npm Package Compare versions

Comparing version 5.5.0-rc.3 to 5.5.0

5

dist/util.d.ts
/// <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;

4

dist/util.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc