@moosty/lisk-service-provider
Advanced tools
Comparing version 0.0.14 to 0.0.15
import { FC } from "react"; | ||
import { NetworkEndpoint, ConnectionProviderProps, ConnectionState, LiskClientContext, useLiskService, ServiceRPCController } from "@moosty/lisk-connection-provider"; | ||
export { Envelope, TransactionDataType, FeeEstimateDataType, BlockDataType, AccountDataType, MarketPriceDataType, ForgersDataType, NetworkStatusDataType, } from "./types"; | ||
import { NetworkEndpoint } from "@moosty/lisk-connection-provider"; | ||
export { LiskConnectionProvider, NetworkEndpoint, ConnectionProviderProps, ConnectionState, LiskClientContext, useLiskService, ServiceRPCController, Envelope, TransactionDataType, FeeEstimateDataType, BlockDataType, AccountDataType, MarketPriceDataType, ForgersDataType, NetworkStatusDataType, } from "@moosty/lisk-connection-provider"; | ||
interface ServiceProviderProps { | ||
endpoints?: Array<NetworkEndpoint>; | ||
} | ||
export { NetworkEndpoint, ConnectionProviderProps, ConnectionState, LiskClientContext, useLiskService, ServiceRPCController, }; | ||
export declare const LiskServiceProvider: FC<ServiceProviderProps>; |
@@ -6,10 +6,12 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LiskServiceProvider = exports.ServiceRPCController = exports.useLiskService = exports.LiskClientContext = void 0; | ||
exports.LiskServiceProvider = exports.ServiceRPCController = exports.useLiskService = exports.LiskClientContext = exports.LiskConnectionProvider = void 0; | ||
const react_1 = __importDefault(require("react")); | ||
const lisk_connection_provider_1 = require("@moosty/lisk-connection-provider"); | ||
Object.defineProperty(exports, "LiskClientContext", { enumerable: true, get: function () { return lisk_connection_provider_1.LiskClientContext; } }); | ||
Object.defineProperty(exports, "useLiskService", { enumerable: true, get: function () { return lisk_connection_provider_1.useLiskService; } }); | ||
Object.defineProperty(exports, "ServiceRPCController", { enumerable: true, get: function () { return lisk_connection_provider_1.ServiceRPCController; } }); | ||
var lisk_connection_provider_2 = require("@moosty/lisk-connection-provider"); | ||
Object.defineProperty(exports, "LiskConnectionProvider", { enumerable: true, get: function () { return lisk_connection_provider_2.LiskConnectionProvider; } }); | ||
Object.defineProperty(exports, "LiskClientContext", { enumerable: true, get: function () { return lisk_connection_provider_2.LiskClientContext; } }); | ||
Object.defineProperty(exports, "useLiskService", { enumerable: true, get: function () { return lisk_connection_provider_2.useLiskService; } }); | ||
Object.defineProperty(exports, "ServiceRPCController", { enumerable: true, get: function () { return lisk_connection_provider_2.ServiceRPCController; } }); | ||
const LiskServiceProvider = ({ endpoints, children }) => (react_1.default.createElement(lisk_connection_provider_1.LiskConnectionProvider, { endpoints: endpoints }, children)); | ||
exports.LiskServiceProvider = LiskServiceProvider; | ||
//# sourceMappingURL=index.js.map |
@@ -14,2 +14,67 @@ export interface Envelope { | ||
export interface AccountDataType { | ||
summary: { | ||
address: string; | ||
legacyAddress?: string; | ||
balance?: string; | ||
username?: string; | ||
publicKey?: string; | ||
isMigrated?: boolean; | ||
isDelegate?: boolean; | ||
isMultisignature?: boolean; | ||
}; | ||
knowledge?: { | ||
owner?: string; | ||
description?: string; | ||
}; | ||
token: { | ||
balance: string; | ||
}; | ||
sequence: { | ||
nonce: string; | ||
}; | ||
keys?: { | ||
numberOfSignatures?: number; | ||
mandatoryKeys?: Array<string>; | ||
optionalKeys?: Array<string>; | ||
members?: { | ||
address?: string; | ||
publicKey?: string; | ||
isMandatory?: boolean; | ||
}[]; | ||
memberships?: { | ||
address?: string; | ||
publicKey?: string; | ||
username?: string; | ||
}[]; | ||
}; | ||
dpos?: { | ||
delegate?: { | ||
username?: string; | ||
pomHeights?: { | ||
start?: number; | ||
end?: number; | ||
}[]; | ||
consecutiveMissedBlocks?: number; | ||
lastForgedHeight?: number; | ||
isBanned?: boolean; | ||
voteWeight?: string; | ||
totalVotesReceived?: string; | ||
}; | ||
sentVotes?: { | ||
delegateAddress?: string; | ||
amount?: string; | ||
}[]; | ||
unlocking?: { | ||
delegateAddress?: string; | ||
amount?: string; | ||
height?: { | ||
start?: number; | ||
end?: number; | ||
}; | ||
}[]; | ||
legacy?: { | ||
address?: string; | ||
balance?: string; | ||
}; | ||
}; | ||
} | ||
@@ -16,0 +81,0 @@ export interface NetworkStatusDataType { |
{ | ||
"name": "@moosty/lisk-service-provider", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Lisk service provider component to connect react to Lisk service", | ||
@@ -17,3 +17,3 @@ "author": "Moosty <info@moosty.com>", | ||
"dependencies": { | ||
"@moosty/lisk-connection-provider": "^0.0.14" | ||
"@moosty/lisk-connection-provider": "^0.0.15" | ||
}, | ||
@@ -37,3 +37,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "c2fedb7d574c5a4e873ad661330c9f2984a13585" | ||
"gitHead": "e8852a24383beca5756afcd1a6af67e116604bd7" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17312
169
+ Added@moosty/lisk-connection-provider@0.0.15(transitive)
- Removed@moosty/lisk-connection-provider@0.0.14(transitive)