postchain-client
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -13,1 +13,5 @@ export * as gtv from "./src/gtv/index"; | ||
export { newSignatureProvider } from "./src/gtx/gtx"; | ||
export { Transaction, KeyPair, QueryArguments, QueryObject, NetworkSettings, TransactionReceipt, SignedTransaction, SignatureProvider, Operation, StatusObject, ResponseStatus, QueryCallback, } from "./src/blockchainClient/types"; | ||
export { GTX, RellOperation, RawGtx } from "./src/gtx/types"; | ||
export { GtxClient, Itransaction } from "./src/gtx/interfaces"; | ||
export { RawGtv, DictPair } from "./src/gtv/types"; |
@@ -23,2 +23,3 @@ import * as gtv_1 from "./src/gtv/index"; | ||
export { newSignatureProvider } from "./src/gtx/gtx"; | ||
export { ResponseStatus, } from "./src/blockchainClient/types"; | ||
//# sourceMappingURL=index.js.map |
@@ -18,28 +18,2 @@ /// <reference types="node" /> | ||
}; | ||
export type URL = string; | ||
interface DirectoryNode { | ||
directoryChainNodeURL: URL | URL[]; | ||
directoryChainRID: string; | ||
} | ||
type NodeURLPool = URL | URL[] | DirectoryNode; | ||
interface PostchainClientBaseConfig { | ||
nodeURLPool: NodeURLPool; | ||
connectionConfig?: ConnectionConfig; | ||
} | ||
type ConnectionConfig = { | ||
endpointPool: readonly string[]; | ||
blockchainRID: string; | ||
maxSockets: number; | ||
pollingInterval: number; | ||
failOverConfig?: FailOverConfig; | ||
}; | ||
interface PostchainClientRIDConfig extends PostchainClientBaseConfig { | ||
targetChainRID: string; | ||
targetChainIID?: never; | ||
} | ||
interface PostchainClientIIDConfig extends PostchainClientBaseConfig { | ||
targetChainIID: number; | ||
targetChainRID?: never; | ||
} | ||
export type PostchainClientConfig = PostchainClientRIDConfig | PostchainClientIIDConfig; | ||
export type NetworkSettings = { | ||
@@ -92,2 +66,1 @@ nodeURLPool?: string | string[]; | ||
} | ||
export {}; |
{ | ||
"name": "postchain-client", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"main": "built/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "browser": "built/esm/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
9176861
93083