Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vostokplatform/waves-api

Package Overview
Dependencies
Maintainers
10
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vostokplatform/waves-api - npm Package Compare versions

Comparing version 1.3.0-RC7 to 1.3.0-RC8

4

package.json
{
"name": "@vostokplatform/waves-api",
"version": "1.3.0-RC7",
"version": "1.3.0-RC8",
"description": "Vostok client-side API library",

@@ -46,3 +46,3 @@ "keywords": [

"dependencies": {
"@vostokplatform/signature-generator": "1.6.7-RC1",
"@vostokplatform/signature-generator": "1.6.7-RC3",
"bignumber.js": "7.2.1",

@@ -49,0 +49,0 @@ "crypto-js": "3.1.9-1",

@@ -15,6 +15,6 @@ import { IHash, IKeyPair } from '../../../interfaces';

export declare const getOrderbook: (assetOne: string, assetTwo: string) => Promise<any>;
export declare const getOrders: (assetOne: string, assetTwo: string, keyPair: IKeyPair) => any;
export declare const getAllOrders: (keyPair: IKeyPair) => any;
export declare const getOrders: (assetOne: string, assetTwo: string, keyPair: IKeyPair) => Promise<any>;
export declare const getAllOrders: (keyPair: IKeyPair) => Promise<any>;
export declare const createOrder: (data: IHash<any>, keyPair: IKeyPair) => Promise<any>;
export declare const cancelOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => any;
export declare const deleteOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => any;
export declare const cancelOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => Promise<any>;
export declare const deleteOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => Promise<any>;

@@ -6,8 +6,8 @@ import { IKeyPair } from '../../../interfaces';

getOrderbook(assetOne: string, assetTwo: string): Promise<any>;
getOrders(assetOne: string, assetTwo: string, keyPair: IKeyPair): any;
getAllOrders(keyPair: IKeyPair): any;
getOrders(assetOne: string, assetTwo: string, keyPair: IKeyPair): Promise<any>;
getAllOrders(keyPair: IKeyPair): Promise<any>;
createOrder: TTransactionRequest;
cancelOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => any;
deleteOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => any;
cancelOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => Promise<any>;
deleteOrder: (amountAssetId: string, priceAssetId: string, orderId: string, keyPair: IKeyPair) => Promise<any>;
};
export default _default;
import { IWavesBasicConfig, IWavesConfig } from '../interfaces';
import { TRANSACTION_TYPE, TRANSACTION_TYPE_NUMBER, TRANSACTION_TYPE_VERSION } from '@vostokplatform/signature-generator';
export declare const WAVES = "WAVES";

@@ -8,62 +9,62 @@ export declare const MAINNET_BYTE: number;

export declare const ALIAS_BYTE = 2;
export declare const ISSUE_TX: any;
export declare const TRANSFER_TX: any;
export declare const REISSUE_TX: any;
export declare const BURN_TX: any;
export declare const EXCHANGE_TX: any;
export declare const LEASE_TX: any;
export declare const CANCEL_LEASING_TX: any;
export declare const CREATE_ALIAS_TX: any;
export declare const MASS_TRANSFER_TX: any;
export declare const DATA_TX: any;
export declare const SET_SCRIPT_TX: any;
export declare const SPONSORSHIP_TX: any;
export declare const PERMISSION_TX: any;
export declare const DOCKER_CREATE_TX: any;
export declare const DOCKER_CREATE_TX_V2: any;
export declare const DOCKER_CALL_TX: any;
export declare const DOCKER_DISABLE_TX: any;
export declare const POLICY_REGISTER_NODE_TX: any;
export declare const POLICY_CREATE_TX: any;
export declare const POLICY_UPDATE_TX: any;
export declare const ISSUE_TX_VERSION: any;
export declare const TRANSFER_TX_VERSION: any;
export declare const REISSUE_TX_VERSION: any;
export declare const BURN_TX_VERSION: any;
export declare const EXCHANGE_TX_VERSION: any;
export declare const LEASE_TX_VERSION: any;
export declare const CANCEL_LEASING_TX_VERSION: any;
export declare const CREATE_ALIAS_TX_VERSION: any;
export declare const MASS_TRANSFER_TX_VERSION: any;
export declare const DATA_TX_VERSION: any;
export declare const SET_SCRIPT_TX_VERSION: any;
export declare const SPONSORSHIP_TX_VERSION: any;
export declare const PERMISSION_TX_VERSION: any;
export declare const DOCKER_CREATE_TX_VERSION: any;
export declare const DOCKER_CREATE_TX_VERSION_V2: any;
export declare const DOCKER_CALL_TX_VERSION: any;
export declare const DOCKER_DISABLE_TX_VERSION: any;
export declare const POLICY_REGISTER_NODE_TX_VERSION: any;
export declare const POLICY_CREATE_TX_VERSION: any;
export declare const POLICY_UPDATE_TX_VERSION: any;
export declare const ISSUE_TX_NAME: any;
export declare const TRANSFER_TX_NAME: any;
export declare const REISSUE_TX_NAME: any;
export declare const BURN_TX_NAME: any;
export declare const EXCHANGE_TX_NAME: any;
export declare const LEASE_TX_NAME: any;
export declare const CANCEL_LEASING_TX_NAME: any;
export declare const CREATE_ALIAS_TX_NAME: any;
export declare const MASS_TRANSFER_TX_NAME: any;
export declare const DATA_TX_NAME: any;
export declare const SET_SCRIPT_TX_NAME: any;
export declare const SPONSORSHIP_TX_NAME: any;
export declare const PERMISSION_TX_NAME: any;
export declare const DOCKER_CREATE_TX_NAME: any;
export declare const DOCKER_CREATE_V2_TX_NAME: any;
export declare const DOCKER_CALL_TX_NAME: any;
export declare const DOCKER_DISABLE_TX_NAME: any;
export declare const POLICY_REGISTER_NODE_TX_NAME: any;
export declare const POLICY_CREATE_TX_NAME: any;
export declare const POLICY_UPDATE_TX_NAME: any;
export declare const ISSUE_TX: TRANSACTION_TYPE_NUMBER;
export declare const TRANSFER_TX: TRANSACTION_TYPE_NUMBER;
export declare const REISSUE_TX: TRANSACTION_TYPE_NUMBER;
export declare const BURN_TX: TRANSACTION_TYPE_NUMBER;
export declare const EXCHANGE_TX: TRANSACTION_TYPE_NUMBER;
export declare const LEASE_TX: TRANSACTION_TYPE_NUMBER;
export declare const CANCEL_LEASING_TX: TRANSACTION_TYPE_NUMBER;
export declare const CREATE_ALIAS_TX: TRANSACTION_TYPE_NUMBER;
export declare const MASS_TRANSFER_TX: TRANSACTION_TYPE_NUMBER;
export declare const DATA_TX: TRANSACTION_TYPE_NUMBER;
export declare const SET_SCRIPT_TX: TRANSACTION_TYPE_NUMBER;
export declare const SPONSORSHIP_TX: TRANSACTION_TYPE_NUMBER;
export declare const PERMISSION_TX: TRANSACTION_TYPE_NUMBER;
export declare const DOCKER_CREATE_TX: TRANSACTION_TYPE_NUMBER;
export declare const DOCKER_CREATE_TX_V2: TRANSACTION_TYPE_NUMBER;
export declare const DOCKER_CALL_TX: TRANSACTION_TYPE_NUMBER;
export declare const DOCKER_DISABLE_TX: TRANSACTION_TYPE_NUMBER;
export declare const POLICY_REGISTER_NODE_TX: TRANSACTION_TYPE_NUMBER;
export declare const POLICY_CREATE_TX: TRANSACTION_TYPE_NUMBER;
export declare const POLICY_UPDATE_TX: TRANSACTION_TYPE_NUMBER;
export declare const ISSUE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const TRANSFER_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const REISSUE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const BURN_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const EXCHANGE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const LEASE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const CANCEL_LEASING_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const CREATE_ALIAS_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const MASS_TRANSFER_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const DATA_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const SET_SCRIPT_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const SPONSORSHIP_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const PERMISSION_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const DOCKER_CREATE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const DOCKER_CREATE_TX_VERSION_V2: TRANSACTION_TYPE_VERSION;
export declare const DOCKER_CALL_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const DOCKER_DISABLE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const POLICY_REGISTER_NODE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const POLICY_CREATE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const POLICY_UPDATE_TX_VERSION: TRANSACTION_TYPE_VERSION;
export declare const ISSUE_TX_NAME: TRANSACTION_TYPE;
export declare const TRANSFER_TX_NAME: TRANSACTION_TYPE;
export declare const REISSUE_TX_NAME: TRANSACTION_TYPE;
export declare const BURN_TX_NAME: TRANSACTION_TYPE;
export declare const EXCHANGE_TX_NAME: TRANSACTION_TYPE;
export declare const LEASE_TX_NAME: TRANSACTION_TYPE;
export declare const CANCEL_LEASING_TX_NAME: TRANSACTION_TYPE;
export declare const CREATE_ALIAS_TX_NAME: TRANSACTION_TYPE;
export declare const MASS_TRANSFER_TX_NAME: TRANSACTION_TYPE;
export declare const DATA_TX_NAME: TRANSACTION_TYPE;
export declare const SET_SCRIPT_TX_NAME: TRANSACTION_TYPE;
export declare const SPONSORSHIP_TX_NAME: TRANSACTION_TYPE;
export declare const PERMISSION_TX_NAME: TRANSACTION_TYPE;
export declare const DOCKER_CREATE_TX_NAME: TRANSACTION_TYPE;
export declare const DOCKER_CREATE_V2_TX_NAME: TRANSACTION_TYPE;
export declare const DOCKER_CALL_TX_NAME: TRANSACTION_TYPE;
export declare const DOCKER_DISABLE_TX_NAME: TRANSACTION_TYPE;
export declare const POLICY_REGISTER_NODE_TX_NAME: TRANSACTION_TYPE;
export declare const POLICY_CREATE_TX_NAME: TRANSACTION_TYPE;
export declare const POLICY_UPDATE_TX_NAME: TRANSACTION_TYPE;
export declare const PRIVATE_KEY_LENGTH = 32;

@@ -98,5 +99,5 @@ export declare const PUBLIC_KEY_LENGTH = 32;

timestamp: number;
type: any;
type: TRANSACTION_TYPE_NUMBER;
};
export declare const BROADCAST_PATH = "/transactions/broadcast";
export declare const SIGN_PATH = "/transactions/sign";

@@ -11,3 +11,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
var signature_generator_1 = require("@vostokplatform/signature-generator");
exports.WAVES = 'WAVES';

@@ -19,62 +18,62 @@ exports.MAINNET_BYTE = 'D'.charCodeAt(0); // todo

exports.ALIAS_BYTE = 2;
exports.ISSUE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.ISSUE;
exports.TRANSFER_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.TRANSFER;
exports.REISSUE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.REISSUE;
exports.BURN_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.BURN;
exports.EXCHANGE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.EXCHANGE;
exports.LEASE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.LEASE;
exports.CANCEL_LEASING_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.CANCEL_LEASING;
exports.CREATE_ALIAS_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.CREATE_ALIAS;
exports.MASS_TRANSFER_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.MASS_TRANSFER;
exports.DATA_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.DATA;
exports.SET_SCRIPT_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.SET_SCRIPT;
exports.SPONSORSHIP_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.SPONSORSHIP;
exports.PERMISSION_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.PERMIT;
exports.DOCKER_CREATE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.DOCKER_CREATE;
exports.DOCKER_CREATE_TX_V2 = signature_generator_1.TRANSACTION_TYPE_NUMBER.DOCKER_CREATE_V2;
exports.DOCKER_CALL_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.DOCKER_CALL;
exports.DOCKER_DISABLE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.DOCKER_DISABLE;
exports.POLICY_REGISTER_NODE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.POLICY_REGISTER_NODE;
exports.POLICY_CREATE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.POLICY_CREATE;
exports.POLICY_UPDATE_TX = signature_generator_1.TRANSACTION_TYPE_NUMBER.POLICY_UPDATE;
exports.ISSUE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.ISSUE;
exports.TRANSFER_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.TRANSFER;
exports.REISSUE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.REISSUE;
exports.BURN_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.BURN;
exports.EXCHANGE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.EXCHANGE;
exports.LEASE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.LEASE;
exports.CANCEL_LEASING_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.CANCEL_LEASING;
exports.CREATE_ALIAS_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.CREATE_ALIAS;
exports.MASS_TRANSFER_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.MASS_TRANSFER;
exports.DATA_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.DATA;
exports.SET_SCRIPT_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.SET_SCRIPT;
exports.SPONSORSHIP_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.SPONSORSHIP;
exports.PERMISSION_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.PERMIT;
exports.DOCKER_CREATE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.DOCKER_CREATE;
exports.DOCKER_CREATE_TX_VERSION_V2 = signature_generator_1.TRANSACTION_TYPE_VERSION.DOCKER_CREATE_V2;
exports.DOCKER_CALL_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.DOCKER_CALL;
exports.DOCKER_DISABLE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.DOCKER_DISABLE;
exports.POLICY_REGISTER_NODE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.POLICY_REGISTER_NODE;
exports.POLICY_CREATE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.POLICY_CREATE;
exports.POLICY_UPDATE_TX_VERSION = signature_generator_1.TRANSACTION_TYPE_VERSION.POLICY_UPDATE;
exports.ISSUE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.ISSUE;
exports.TRANSFER_TX_NAME = signature_generator_1.TRANSACTION_TYPE.TRANSFER;
exports.REISSUE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.REISSUE;
exports.BURN_TX_NAME = signature_generator_1.TRANSACTION_TYPE.BURN;
exports.EXCHANGE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.EXCHANGE;
exports.LEASE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.LEASE;
exports.CANCEL_LEASING_TX_NAME = signature_generator_1.TRANSACTION_TYPE.CANCEL_LEASING;
exports.CREATE_ALIAS_TX_NAME = signature_generator_1.TRANSACTION_TYPE.CREATE_ALIAS;
exports.MASS_TRANSFER_TX_NAME = signature_generator_1.TRANSACTION_TYPE.MASS_TRANSFER;
exports.DATA_TX_NAME = signature_generator_1.TRANSACTION_TYPE.DATA;
exports.SET_SCRIPT_TX_NAME = signature_generator_1.TRANSACTION_TYPE.SET_SCRIPT;
exports.SPONSORSHIP_TX_NAME = signature_generator_1.TRANSACTION_TYPE.SPONSORSHIP;
exports.PERMISSION_TX_NAME = signature_generator_1.TRANSACTION_TYPE.PERMIT;
exports.DOCKER_CREATE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.DOCKER_CREATE;
exports.DOCKER_CREATE_V2_TX_NAME = signature_generator_1.TRANSACTION_TYPE.DOCKER_CREATE_V2;
exports.DOCKER_CALL_TX_NAME = signature_generator_1.TRANSACTION_TYPE.DOCKER_CALL;
exports.DOCKER_DISABLE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.DOCKER_DISABLE;
exports.POLICY_REGISTER_NODE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.POLICY_REGISTER_NODE;
exports.POLICY_CREATE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.POLICY_CREATE;
exports.POLICY_UPDATE_TX_NAME = signature_generator_1.TRANSACTION_TYPE.POLICY_UPDATE;
exports.ISSUE_TX = 3 /* ISSUE */;
exports.TRANSFER_TX = 4 /* TRANSFER */;
exports.REISSUE_TX = 5 /* REISSUE */;
exports.BURN_TX = 6 /* BURN */;
exports.EXCHANGE_TX = 7 /* EXCHANGE */;
exports.LEASE_TX = 8 /* LEASE */;
exports.CANCEL_LEASING_TX = 9 /* CANCEL_LEASING */;
exports.CREATE_ALIAS_TX = 10 /* CREATE_ALIAS */;
exports.MASS_TRANSFER_TX = 11 /* MASS_TRANSFER */;
exports.DATA_TX = 12 /* DATA */;
exports.SET_SCRIPT_TX = 13 /* SET_SCRIPT */;
exports.SPONSORSHIP_TX = 14 /* SPONSORSHIP */;
exports.PERMISSION_TX = 102 /* PERMIT */;
exports.DOCKER_CREATE_TX = 103 /* DOCKER_CREATE */;
exports.DOCKER_CREATE_TX_V2 = 103 /* DOCKER_CREATE_V2 */;
exports.DOCKER_CALL_TX = 104 /* DOCKER_CALL */;
exports.DOCKER_DISABLE_TX = 106 /* DOCKER_DISABLE */;
exports.POLICY_REGISTER_NODE_TX = 111 /* POLICY_REGISTER_NODE */;
exports.POLICY_CREATE_TX = 112 /* POLICY_CREATE */;
exports.POLICY_UPDATE_TX = 113 /* POLICY_UPDATE */;
exports.ISSUE_TX_VERSION = 2 /* ISSUE */;
exports.TRANSFER_TX_VERSION = 2 /* TRANSFER */;
exports.REISSUE_TX_VERSION = 2 /* REISSUE */;
exports.BURN_TX_VERSION = 2 /* BURN */;
exports.EXCHANGE_TX_VERSION = 2 /* EXCHANGE */;
exports.LEASE_TX_VERSION = 2 /* LEASE */;
exports.CANCEL_LEASING_TX_VERSION = 2 /* CANCEL_LEASING */;
exports.CREATE_ALIAS_TX_VERSION = 2 /* CREATE_ALIAS */;
exports.MASS_TRANSFER_TX_VERSION = 1 /* MASS_TRANSFER */;
exports.DATA_TX_VERSION = 1 /* DATA */;
exports.SET_SCRIPT_TX_VERSION = 1 /* SET_SCRIPT */;
exports.SPONSORSHIP_TX_VERSION = 1 /* SPONSORSHIP */;
exports.PERMISSION_TX_VERSION = 1 /* PERMIT */;
exports.DOCKER_CREATE_TX_VERSION = 1 /* DOCKER_CREATE */;
exports.DOCKER_CREATE_TX_VERSION_V2 = 2 /* DOCKER_CREATE_V2 */;
exports.DOCKER_CALL_TX_VERSION = 1 /* DOCKER_CALL */;
exports.DOCKER_DISABLE_TX_VERSION = 1 /* DOCKER_DISABLE */;
exports.POLICY_REGISTER_NODE_TX_VERSION = 1 /* POLICY_REGISTER_NODE */;
exports.POLICY_CREATE_TX_VERSION = 1 /* POLICY_CREATE */;
exports.POLICY_UPDATE_TX_VERSION = 1 /* POLICY_UPDATE */;
exports.ISSUE_TX_NAME = "issue" /* ISSUE */;
exports.TRANSFER_TX_NAME = "transfer" /* TRANSFER */;
exports.REISSUE_TX_NAME = "reissue" /* REISSUE */;
exports.BURN_TX_NAME = "burn" /* BURN */;
exports.EXCHANGE_TX_NAME = "exchange" /* EXCHANGE */;
exports.LEASE_TX_NAME = "lease" /* LEASE */;
exports.CANCEL_LEASING_TX_NAME = "cancelLeasing" /* CANCEL_LEASING */;
exports.CREATE_ALIAS_TX_NAME = "createAlias" /* CREATE_ALIAS */;
exports.MASS_TRANSFER_TX_NAME = "massTransfer" /* MASS_TRANSFER */;
exports.DATA_TX_NAME = "data" /* DATA */;
exports.SET_SCRIPT_TX_NAME = "setScript" /* SET_SCRIPT */;
exports.SPONSORSHIP_TX_NAME = "sponsorship" /* SPONSORSHIP */;
exports.PERMISSION_TX_NAME = "permit" /* PERMIT */;
exports.DOCKER_CREATE_TX_NAME = "dockerCreate" /* DOCKER_CREATE */;
exports.DOCKER_CREATE_V2_TX_NAME = "dockerCreateV2" /* DOCKER_CREATE_V2 */;
exports.DOCKER_CALL_TX_NAME = "dockerCall" /* DOCKER_CALL */;
exports.DOCKER_DISABLE_TX_NAME = "dockerDisable" /* DOCKER_DISABLE */;
exports.POLICY_REGISTER_NODE_TX_NAME = "policyRegisterNode" /* POLICY_REGISTER_NODE */;
exports.POLICY_CREATE_TX_NAME = "policyCreate" /* POLICY_CREATE */;
exports.POLICY_UPDATE_TX_NAME = "policyUpdate" /* POLICY_UPDATE */;
exports.PRIVATE_KEY_LENGTH = 32;

@@ -81,0 +80,0 @@ exports.PUBLIC_KEY_LENGTH = 32;

import { ITransactionWrapper } from './utils/transactions';
declare const _default: {
getAddressFromPublicKey(publicKey: string): any;
getAddressFromPublicKey(publicKey: string): string;
calculateTimeDiff(nodeTime: any, userTime: any): number;
base58: {
encode: any;
decode: any;
encode: (buffer: number[] | Uint8Array) => string;
decode: (string?: string) => Uint8Array;
base58ToString: (base58String: any) => string;

@@ -9,0 +9,0 @@ };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc