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

fireblocks-sdk

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fireblocks-sdk - npm Package Compare versions

Comparing version 1.2.5 to 1.4.0

2

dist/api-token-provider.js

@@ -18,3 +18,3 @@ "use strict";

iat: Math.floor(Date.now() / 1000),
exp: Math.floor(Date.now() / 1000) + 20,
exp: Math.floor(Date.now() / 1000) + 55,
sub: this.apiKey,

@@ -21,0 +21,0 @@ bodyHash: crypto_1.default.createHash("sha256").update(JSON.stringify(bodyJson || "")).digest().toString("hex")

@@ -10,3 +10,3 @@ export interface VaultAccountResponse {

/**
* @deprecated - replaced by "total"
* @deprecated Replaced by "total"
*/

@@ -16,2 +16,3 @@ balance?: string;

available: string;
pending: string;
selfStakedCPU?: string;

@@ -112,3 +113,3 @@ selfStakedNetwork?: string;

/**
* @deprecated - replaced by "networkFee"
* @deprecated Replaced by "networkFee"
*/

@@ -124,3 +125,3 @@ fee?: number;

numOfConfirmations?: number;
failureReason?: string;
subStatus?: string;
signedBy: string[];

@@ -169,8 +170,20 @@ createdBy: string;

SUBMITTED = "SUBMITTED",
QUEUED = "QUEUED",
PENDING_SIGNATURE = "PENDING_SIGNATURE",
PENDING_AUTHORIZATION = "PENDING_AUTHORIZATION",
PENDING_3RD_PARTY_MANUAL_APPROVAL = "PENDING_3RD_PARTY_MANUAL_APPROVAL",
PENDING_3RD_PARTY = "PENDING_3RD_PARTY",
/**
* @deprecated
*/
PENDING = "PENDING",
BROADCASTING = "BROADCASTING",
CONFIRMING = "CONFIRMING",
/**
* @deprecated Replaced by "COMPLETED"
*/
CONFIRMED = "CONFIRMED",
COMPLETED = "COMPLETED",
PENDING_AML_CHECKUP = "PENDING_AML_CHECKUP",
PARTIALLY_COMPLETED = "PARTIALLY_COMPLETED",
CANCELLING = "CANCELLING",

@@ -190,3 +203,4 @@ CANCELLED = "CANCELLED",

NETWORK_CONNECTION = "NETWORK_CONNECTION",
FIAT_ACCOUNT = "FIAT_ACCOUNT"
FIAT_ACCOUNT = "FIAT_ACCOUNT",
COMPOUND = "COMPOUND"
}

@@ -196,4 +210,6 @@ export declare enum TransactionOperation {

MINT = "MINT",
BURN = "BURN"
BURN = "BURN",
SUPPLY_TO_COMPOUND = "SUPPLY_TO_COMPOUND",
REDEEM_FROM_COMPOUND = "REDEEM_FROM_COMPOUND"
}
export {};

@@ -11,8 +11,20 @@ "use strict";

TransactionStatus["SUBMITTED"] = "SUBMITTED";
TransactionStatus["QUEUED"] = "QUEUED";
TransactionStatus["PENDING_SIGNATURE"] = "PENDING_SIGNATURE";
TransactionStatus["PENDING_AUTHORIZATION"] = "PENDING_AUTHORIZATION";
TransactionStatus["PENDING_3RD_PARTY_MANUAL_APPROVAL"] = "PENDING_3RD_PARTY_MANUAL_APPROVAL";
TransactionStatus["PENDING_3RD_PARTY"] = "PENDING_3RD_PARTY";
/**
* @deprecated
*/
TransactionStatus["PENDING"] = "PENDING";
TransactionStatus["BROADCASTING"] = "BROADCASTING";
TransactionStatus["CONFIRMING"] = "CONFIRMING";
/**
* @deprecated Replaced by "COMPLETED"
*/
TransactionStatus["CONFIRMED"] = "CONFIRMED";
TransactionStatus["COMPLETED"] = "COMPLETED";
TransactionStatus["PENDING_AML_CHECKUP"] = "PENDING_AML_CHECKUP";
TransactionStatus["PARTIALLY_COMPLETED"] = "PARTIALLY_COMPLETED";
TransactionStatus["CANCELLING"] = "CANCELLING";

@@ -34,2 +46,3 @@ TransactionStatus["CANCELLED"] = "CANCELLED";

PeerType["FIAT_ACCOUNT"] = "FIAT_ACCOUNT";
PeerType["COMPOUND"] = "COMPOUND";
})(PeerType = exports.PeerType || (exports.PeerType = {}));

@@ -41,3 +54,5 @@ var TransactionOperation;

TransactionOperation["BURN"] = "BURN";
TransactionOperation["SUPPLY_TO_COMPOUND"] = "SUPPLY_TO_COMPOUND";
TransactionOperation["REDEEM_FROM_COMPOUND"] = "REDEEM_FROM_COMPOUND";
})(TransactionOperation = exports.TransactionOperation || (exports.TransactionOperation = {}));
//# sourceMappingURL=types.js.map
{
"name": "fireblocks-sdk",
"version": "1.2.5",
"version": "1.4.0",
"main": "dist/fireblocks-sdk.js",

@@ -26,3 +26,3 @@ "types": "dist/fireblocks-sdk.d.ts",

"@types/request-promise-native": "1.0.16",
"tslint": "5.19.0",
"tslint": "6.1.1",
"typescript": "3.6.2"

@@ -29,0 +29,0 @@ },

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