@minka/ledger-sdk
Advanced tools
Comparing version 2.2.0-rc.1 to 2.2.0-rc.2
{ | ||
"name": "@minka/ledger-sdk", | ||
"version": "2.2.0-rc.1", | ||
"version": "2.2.0-rc.2", | ||
"description": "SDK for Minka Ledger", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -10,4 +10,1 @@ export { BridgeResponse, BridgesResponse } from './lib/clients/bridge-client'; | ||
export { LedgerSdkError } from './lib/types/ledger-sdk-error'; | ||
export * as crypto from "../crypto/src"; | ||
export * as errors from "../errors/src"; | ||
export * as types from "../types/src"; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.types = exports.errors = exports.crypto = exports.LedgerSdkError = exports.LedgerSdk = exports.WalletsResponse = exports.WalletResponse = exports.SymbolsResponse = exports.SymbolResponse = exports.StatusResponse = exports.SignersResponse = exports.SignerResponse = exports.IntentsResponse = exports.IntentResponse = exports.LedgersResponse = exports.LedgerResponse = exports.BridgesResponse = exports.BridgeResponse = void 0; | ||
exports.LedgerSdkError = exports.LedgerSdk = exports.WalletsResponse = exports.WalletResponse = exports.SymbolsResponse = exports.SymbolResponse = exports.StatusResponse = exports.SignersResponse = exports.SignerResponse = exports.IntentsResponse = exports.IntentResponse = exports.LedgersResponse = exports.LedgerResponse = exports.BridgesResponse = exports.BridgeResponse = void 0; | ||
var bridge_client_1 = require("./lib/clients/bridge-client"); | ||
@@ -51,5 +28,2 @@ Object.defineProperty(exports, "BridgeResponse", { enumerable: true, get: function () { return bridge_client_1.BridgeResponse; } }); | ||
Object.defineProperty(exports, "LedgerSdkError", { enumerable: true, get: function () { return ledger_sdk_error_1.LedgerSdkError; } }); | ||
exports.crypto = __importStar(require("../crypto/src")); | ||
exports.errors = __importStar(require("../errors/src")); | ||
exports.types = __importStar(require("../types/src")); | ||
//# sourceMappingURL=index.js.map |
@@ -31,2 +31,3 @@ import { LedgerKeyPair } from '../records/ledger-signer'; | ||
Sign = "sign", | ||
SignIntent = "sign-intent", | ||
Update = "update", | ||
@@ -33,0 +34,0 @@ Spend = "spend", |
@@ -23,2 +23,3 @@ "use strict"; | ||
AccessAction["Sign"] = "sign"; | ||
AccessAction["SignIntent"] = "sign-intent"; | ||
AccessAction["Update"] = "update"; | ||
@@ -25,0 +26,0 @@ AccessAction["Spend"] = "spend"; |
@@ -5,3 +5,2 @@ import { LedgerAccess } from '../common/ledger-access'; | ||
import { LedgerHandle } from '../common/ledger-handle'; | ||
import { LedgerPublic } from './ledger-signer'; | ||
export type LedgerBridge = LedgerBaseData & { | ||
@@ -26,3 +25,2 @@ handle: LedgerHandle; | ||
server: string; | ||
signer: LedgerPublic; | ||
}; |
@@ -12,1 +12,2 @@ import { LedgerAccess } from '../common/ledger-access'; | ||
export type SymbolFactor = 1 | 10 | 100 | 1000 | 10000 | 100000 | 1000000 | 10000000 | 100000000 | 1000000000 | 10000000000 | 100000000000 | 1000000000000 | 10000000000000 | 100000000000000 | 1000000000000000; | ||
export declare const SymbolFactors: number[]; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SymbolFactors = void 0; | ||
exports.SymbolFactors = [ | ||
1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000, | ||
10000000000, 100000000000, 1000000000000, 10000000000000, 100000000000000, | ||
1000000000000000, | ||
]; | ||
//# sourceMappingURL=ledger-symbol.js.map |
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 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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
294344
4374