Options
All
  • Public
  • Public/Protected
  • All
Menu

@cruxpay/js-sdk

Index

Enumerations

Classes

Interfaces

Type aliases

Variables

Functions

Object literals

Type aliases

ICruxDomainRepositoryConstructor

ICruxDomainRepositoryConstructor: object

Type declaration

ICruxUserRepositoryConstructor

ICruxUserRepositoryConstructor: object

Type declaration

Variables

Const CRUX_DOMAIN_SUFFIX

CRUX_DOMAIN_SUFFIX: "_crux" = "_crux"

Const DEFAULT_BLOCKSTACK_NAMESPACE

DEFAULT_BLOCKSTACK_NAMESPACE: "id" = "id"

Const DEFAULT_CRUX_NAMESPACE

DEFAULT_CRUX_NAMESPACE: "crux" = "crux"

Functions

Const getCruxDomainRepository

Const getCruxUserRepository

getLogger

  • getLogger(filename: string): ILogger

Const isInstanceOfKeyManager

  • isInstanceOfKeyManager(object: any): boolean

Const throwCruxClientError

  • throwCruxClientError(target: any, prop: any, descriptor: undefined | object): any

Const throwCruxOnBoardingClientError

  • throwCruxOnBoardingClientError(target: any, prop: any, descriptor: undefined | object): any

Const validateSubdomain

  • validateSubdomain(subDomain: string): void

Object literals

Const CruxSpec

CruxSpec: object

blockstack

blockstack: blockstack = class blockstack {public static infrastructure: ICruxBlockstackInfrastructure = {bnsNodes: config.BLOCKSTACK.BNS_NODES,gaiaHub: config.BLOCKSTACK.GAIA_HUB,subdomainRegistrar: config.BLOCKSTACK.SUBDOMAIN_REGISTRAR,};public static configSubdomain: string = "_config";public static getDomainConfigFileName = (cruxDomainId: CruxDomainId): string => {return `${cruxDomainId.components.domain}_client-config.json`;}public static getConfigCruxId = (cruxDomainId: CruxDomainId): CruxId => {return new CruxId({domain: cruxDomainId.components.domain,subdomain: CruxSpec.blockstack.configSubdomain,});}public static getCruxPayFilename = (cruxDomainId: CruxDomainId): string => {return `${cruxDomainId.components.domain}_cruxpay.json`;}public static getCruxUserConfigFileName = (cruxDomainId: CruxDomainId): string => {return `${cruxDomainId.components.domain}_user-config.json`;}}

globalAssetList

globalAssetList: (object | object | object | object | object)[]

idTranslator

idTranslator: IdTranslator = IdTranslator

validations

validations: Validations = Validations

Const ERROR_STRINGS

ERROR_STRINGS: object

__computed

__computed: string = "401 Response on : '{0}'"

Generated using TypeDoc