All files / src index.ts

100% Statements 25/25
100% Branches 0/0
70% Functions 7/10
100% Lines 16/16

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 5033x 33x 33x   34x 49x 33x 33x 38x 33x 39x 33x 33x 77x 33x 33x 102x                                                                  
import { Bee } from './bee'
import { BeeDev } from './bee-dev'
import { Stamper } from './stamper/stamper'
 
export { MerkleTree } from 'cafe-utility'
export { MantarayNode } from './manifest/manifest'
export { SUPPORTED_BEE_VERSION, SUPPORTED_BEE_VERSION_EXACT } from './modules/debug/status'
export * from './types'
export { Bytes } from './utils/bytes'
export * from './utils/constants'
export { Duration } from './utils/duration'
export * from './utils/error'
export * as Utils from './utils/expose'
export { Size } from './utils/size'
export * from './utils/tokens'
export * from './utils/typed-bytes'
export { Bee, BeeDev, Stamper }
 
// for require-like imports
declare global {
  interface Window {
    // binded as 'BeeJs' via Webpack
    BeeJs: {
      Bee: typeof import('./bee').Bee
      BeeDev: typeof import('./bee-dev').BeeDev
      Stamper: typeof import('./stamper/stamper').Stamper
      Utils: typeof import('./utils/expose')
      Duration: typeof import('./utils/duration').Duration
      Size: typeof import('./utils/size').Size
      BeeError: typeof import('./utils/error').BeeError
      BeeArgumentError: typeof import('./utils/error').BeeArgumentError
      BeeResponseError: typeof import('./utils/error').BeeResponseError
      MantarayNode: typeof import('./manifest/manifest').MantarayNode
      MerkleTree: typeof import('cafe-utility').MerkleTree
      PrivateKey: typeof import('./utils/typed-bytes').PrivateKey
      PublicKey: typeof import('./utils/typed-bytes').PublicKey
      EthAddress: typeof import('./utils/typed-bytes').EthAddress
      Identifier: typeof import('./utils/typed-bytes').Identifier
      Reference: typeof import('./utils/typed-bytes').Reference
      TransactionId: typeof import('./utils/typed-bytes').TransactionId
      Span: typeof import('./utils/typed-bytes').Span
      PeerAddress: typeof import('./utils/typed-bytes').PeerAddress
      BatchId: typeof import('./utils/typed-bytes').BatchId
      Signature: typeof import('./utils/typed-bytes').Signature
      Topic: typeof import('./utils/typed-bytes').Topic
      FeedIndex: typeof import('./utils/typed-bytes').FeedIndex
    }
  }
}