Skip to main content

API Report File for "@kadena/chainwebjs"

Do not edit this file. It is a report generated by API Extractor.

import { default as EventSource_2 } from 'eventsource';
 
// @public (undocumented)
const _default: {
  ResponseError: typeof ResponseError;
  cut: {
    current: typeof cut.currentCut;
    peers: typeof cut.cutPeers;
  };
  header: {
    range: typeof header.headers;
    recent: typeof header.recentHeaders;
    stream: typeof header.headerStream;
    height: (
      chainId: string | number,
      height: number,
      network: string,
      host: string,
    ) => Promise<IBlockHeader>;
    blockHash: typeof header.headerByBlockHash;
  };
  block: {
    range: typeof block.blocks;
    recent: typeof block.recentBlocks;
    stream: typeof block.blockStream;
    height: typeof block.blockByHeight;
    blockHash: typeof block.blockByBlockHash;
  };
  transaction: {
    range: typeof transaction.txs;
    recent: typeof transaction.recentTxs;
    stream: typeof transaction.txStream;
    height: typeof transaction.txsByHeight;
    blockHash: typeof transaction.txsByBlockHash;
  };
  event: {
    range: typeof event_2.events;
    recent: typeof event_2.recentEvents;
    stream: typeof event_2.eventStream;
    height: typeof event_2.eventsByHeight;
    blockHash: typeof event_2.eventsByBlockHash;
  };
  interal: {
    branchPage: typeof internal.branchPage;
    branch: typeof internal.branch;
    currentBranch: typeof internal.currentBranch;
    payloads: typeof internal.payloads;
    cutPeerPage: typeof internal.cutPeerPage;
  };
};
export default _default;
 
// Warnings were encountered during analysis:
//
// src/index.ts:9:5 - (ae-forgotten-export) The symbol "ResponseError" needs to be exported by the entry point index.d.ts
// src/index.ts:11:9 - (ae-forgotten-export) The symbol "cut" needs to be exported by the entry point index.d.ts
// src/index.ts:15:9 - (ae-forgotten-export) The symbol "header" needs to be exported by the entry point index.d.ts
// src/index.ts:18:9 - (ae-forgotten-export) The symbol "IBlockHeader" needs to be exported by the entry point index.d.ts
// src/index.ts:22:9 - (ae-forgotten-export) The symbol "block" needs to be exported by the entry point index.d.ts
// src/index.ts:29:9 - (ae-forgotten-export) The symbol "transaction" needs to be exported by the entry point index.d.ts
// src/index.ts:36:9 - (ae-forgotten-export) The symbol "event_2" needs to be exported by the entry point index.d.ts
// src/index.ts:43:9 - (ae-forgotten-export) The symbol "internal" needs to be exported by the entry point index.d.ts
 
// (No @packageDocumentation comment for this package)
import { default as EventSource_2 } from 'eventsource';
 
// @public (undocumented)
const _default: {
  ResponseError: typeof ResponseError;
  cut: {
    current: typeof cut.currentCut;
    peers: typeof cut.cutPeers;
  };
  header: {
    range: typeof header.headers;
    recent: typeof header.recentHeaders;
    stream: typeof header.headerStream;
    height: (
      chainId: string | number,
      height: number,
      network: string,
      host: string,
    ) => Promise<IBlockHeader>;
    blockHash: typeof header.headerByBlockHash;
  };
  block: {
    range: typeof block.blocks;
    recent: typeof block.recentBlocks;
    stream: typeof block.blockStream;
    height: typeof block.blockByHeight;
    blockHash: typeof block.blockByBlockHash;
  };
  transaction: {
    range: typeof transaction.txs;
    recent: typeof transaction.recentTxs;
    stream: typeof transaction.txStream;
    height: typeof transaction.txsByHeight;
    blockHash: typeof transaction.txsByBlockHash;
  };
  event: {
    range: typeof event_2.events;
    recent: typeof event_2.recentEvents;
    stream: typeof event_2.eventStream;
    height: typeof event_2.eventsByHeight;
    blockHash: typeof event_2.eventsByBlockHash;
  };
  interal: {
    branchPage: typeof internal.branchPage;
    branch: typeof internal.branch;
    currentBranch: typeof internal.currentBranch;
    payloads: typeof internal.payloads;
    cutPeerPage: typeof internal.cutPeerPage;
  };
};
export default _default;
 
// Warnings were encountered during analysis:
//
// src/index.ts:9:5 - (ae-forgotten-export) The symbol "ResponseError" needs to be exported by the entry point index.d.ts
// src/index.ts:11:9 - (ae-forgotten-export) The symbol "cut" needs to be exported by the entry point index.d.ts
// src/index.ts:15:9 - (ae-forgotten-export) The symbol "header" needs to be exported by the entry point index.d.ts
// src/index.ts:18:9 - (ae-forgotten-export) The symbol "IBlockHeader" needs to be exported by the entry point index.d.ts
// src/index.ts:22:9 - (ae-forgotten-export) The symbol "block" needs to be exported by the entry point index.d.ts
// src/index.ts:29:9 - (ae-forgotten-export) The symbol "transaction" needs to be exported by the entry point index.d.ts
// src/index.ts:36:9 - (ae-forgotten-export) The symbol "event_2" needs to be exported by the entry point index.d.ts
// src/index.ts:43:9 - (ae-forgotten-export) The symbol "internal" needs to be exported by the entry point index.d.ts
 
// (No @packageDocumentation comment for this package)

Receive important developer updates