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

fireblocks-sdk

Package Overview
Dependencies
Maintainers
10
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 5.34.0 to 5.35.0

2

dist/package.json
{
"name": "fireblocks-sdk",
"version": "5.34.0",
"version": "5.35.0",
"main": "dist/src/fireblocks-sdk.js",

@@ -5,0 +5,0 @@ "types": "dist/src/fireblocks-sdk.d.ts",

@@ -19,2 +19,3 @@ import { ApiClient } from "./api-client";

enableWallet(walletId: string, enabled: boolean): Promise<void>;
getWalletDevice(walletId: string, deviceId: string): Promise<NCW.Device>;
getWalletDevices(walletId: string): Promise<NCW.Device[]>;

@@ -55,2 +56,3 @@ enableWalletDevice(walletId: string, deviceId: string, enabled: boolean): Promise<void>;

getPublicKeyInfoByAccountAsset(walletId: string, args: PublicKeyInfoByAccountAssetArgs): Promise<PublicKeyResponse>;
deleteSigningAlgorithm(walletId: string, algorithm: SigningAlgorithm): Promise<void>;
}

@@ -46,2 +46,7 @@ "use strict";

}
getWalletDevice(walletId, deviceId) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueGetRequest(`${this.NCW_BASE_PATH}/${walletId}/devices/${deviceId}`);
});
}
getWalletDevices(walletId) {

@@ -146,4 +151,9 @@ return __awaiter(this, void 0, void 0, function* () {

}
deleteSigningAlgorithm(walletId, algorithm) {
return __awaiter(this, void 0, void 0, function* () {
return yield this.apiClient.issueDeleteRequest(`${this.NCW_BASE_PATH}/${walletId}/remove_signing_algorithm/${algorithm}`);
});
}
}
exports.NcwApiClient = NcwApiClient;
//# sourceMappingURL=ncw-api-client.js.map

@@ -37,7 +37,15 @@ import { AssetResponse, Web3PagedResponse, NCW, UnspentInputsResponse, SigningAlgorithm, PublicKeyInfoArgs, PublicKeyInformation, PublicKeyResponse, PublicKeyInfoByAccountAssetArgs } from "./types";

/**
* Get NCW wallet devices
* Get NCW wallet's device
*
* @param {string} walletId
* @param {string} deviceId
* @return {*} {Promise<NCW.Device>}
*/
getWalletDevice(walletId: string, deviceId: string): Promise<NCW.Device>;
/**
* Get NCW wallet's devices
*
* @param {string} walletId
* @return {*} {Promise<NCW.Device>}
*/
getWalletDevices(walletId: string): Promise<NCW.Device[]>;

@@ -185,3 +193,3 @@ /**

/**
* refresh a NCW asset balance
* set required algorithms for a wallet
*

@@ -207,2 +215,10 @@ * @param {string} walletId

getPublicKeyInfoByAccountAsset(walletId: string, args: PublicKeyInfoByAccountAssetArgs): Promise<PublicKeyResponse>;
/**
* delete signing algorithm for a wallet
*
* @param {string} walletId
* @param {SigningAlgorithm} algorithm
* @return {*} {Promise<void>}
*/
deleteSigningAlgorithm(walletId: string, algorithm: SigningAlgorithm): Promise<void>;
}

@@ -235,2 +235,8 @@ export declare enum PositionStatus {

/**
* The number of tokens to unstake.
* This optional field is applicable only for liquid staking and allows for a partial unstake of the position.
* If not provided, the entire position will be unstaked by default.
*/
amount?: string;
/**
* Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required

@@ -237,0 +243,0 @@ */

@@ -73,2 +73,9 @@ import { AxiosResponseHeaders } from "axios";

}
export declare enum AssetClassBeta {
NATIVE = "NATIVE",
FT = "FT",
FIAT = "FIAT",
NFT = "NFT",
SFT = "SFT"
}
export interface OnchainAsset {

@@ -81,2 +88,9 @@ symbol: string;

}
export interface OnchainAssetBeta {
symbol: string;
name: string;
address?: string;
decimals: number;
standards?: string[];
}
export interface AssetMetadata {

@@ -86,2 +100,18 @@ scope: AssetScope;

}
export interface AssetMediaAttributes {
monochrome?: boolean;
}
export interface AssetMedia {
url: string;
type: string;
attributes?: AssetMediaAttributes;
}
export interface AssetMetadataBeta {
scope: AssetScope;
deprecated: boolean;
deprecationReferralId?: string;
verified: boolean;
website?: string;
media?: AssetMedia[];
}
export declare enum AssetScope {

@@ -91,2 +121,74 @@ GLOBAL = "Global",

}
export interface ListAssetResponse {
id: string;
legacyId: string;
blockchainId?: string;
displayName?: string;
displaySymbol?: string;
assetClass: AssetClassBeta;
onchain?: OnchainAssetBeta;
metadata: AssetMetadataBeta;
}
export interface ListAssetsResponse {
next: string | null;
data: ListAssetResponse[];
}
export interface ListAssetsFilters {
blockchainId?: string;
assetClass?: AssetClassBeta;
symbol?: string;
scope?: AssetScope;
deprecated?: boolean;
pageCursor?: string;
pageSize?: number;
}
export declare enum BlockchainSigningAlgo {
ECDSA_SECP256K1 = "ECDSA_SECP256K1",
EDDSA_ED25519 = "EDDSA_ED25519"
}
export interface BlockchainOnchain {
protocol: string;
chainId?: string;
test: boolean;
signingAlgo: BlockchainSigningAlgo;
}
export declare class BlockchainMedia {
url: string;
type: string;
}
export declare class BlockchainExplorer {
base: string;
address?: string;
tx?: string;
token?: string;
}
export declare enum BlockchainScope {
GLOBAL = "Global",
LOCAL = "Local"
}
export interface BlockchainMetadata {
scope: BlockchainScope;
deprecated: boolean;
media?: BlockchainMedia[];
explorer?: BlockchainExplorer;
}
export interface ListBlockchainResponse {
id: string;
legacyId: string;
displayName: string;
nativeAssetId: string;
onchain: BlockchainOnchain;
metadata: BlockchainMetadata;
}
export interface ListBlockchainsResponse {
next: string | null;
data: ListBlockchainResponse[];
}
export interface ListBlockchainsFilters {
protocol?: string;
deprecated?: boolean;
test?: boolean;
pageCursor?: string;
pageSize?: number;
}
export interface VaultAssetResponse {

@@ -2075,2 +2177,3 @@ id: string;

enabled: boolean;
physicalDeviceId: string;
}

@@ -2077,0 +2180,0 @@ enum SetupStatus {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TAP = exports.NCW = exports.SmartTransferTicketTermStatus = exports.SmartTransfersTicketStatus = exports.SmartTransfersTicketDirection = exports.BatchTask = exports.BatchJob = exports.BatchStatus = exports.CollectionType = exports.TokenLinkStatus = exports.NFTSpamTokenOwnership = exports.InputFieldMetadataTypes = exports.ContractInitializationPhase = exports.ContractTemplateType = exports.NFTOwnershipWalletType = exports.NFTOwnershipStatus = exports.OrderValues = exports.GetOwnedAssetsSortValues = exports.GetOwnedCollectionsSortValues = exports.GetOwnedNFTsSortValues = exports.GetNFTsSortValues = exports.TimePeriod = exports.ExchangeReply = exports.SettleResponseCode = exports.TransferTicketTermStatus = exports.TransferTicketStatus = exports.Web3ConnectionMethod = exports.Web3ConnectionType = exports.TransactionOperation = exports.VirtualType = exports.PeerType = exports.TransactionStatus = exports.TransactionOrder = exports.NetworkDestType = exports.NetworkScheme = exports.FeeLevel = exports.Web3ConnectionFeeLevel = exports.ScreeningSupportedProviders = exports.ScreeningVerdict = exports.ScreeningTransactionStatus = exports.TransactionDirection = exports.PolicyApprovalStatus = exports.ScreeningAction = exports.TravelRuleAddressTypeCode = exports.SigningAlgorithm = exports.VaultAssetActivationStatus = exports.AssetScope = exports.AssetClass = exports.VirtualAffiliation = void 0;
exports.SmartTransfersTicketDirection = exports.BatchTask = exports.BatchJob = exports.BatchStatus = exports.CollectionType = exports.TokenLinkStatus = exports.NFTSpamTokenOwnership = exports.InputFieldMetadataTypes = exports.ContractInitializationPhase = exports.ContractTemplateType = exports.NFTOwnershipWalletType = exports.NFTOwnershipStatus = exports.OrderValues = exports.GetOwnedAssetsSortValues = exports.GetOwnedCollectionsSortValues = exports.GetOwnedNFTsSortValues = exports.GetNFTsSortValues = exports.TimePeriod = exports.ExchangeReply = exports.SettleResponseCode = exports.TransferTicketTermStatus = exports.TransferTicketStatus = exports.Web3ConnectionMethod = exports.Web3ConnectionType = exports.TransactionOperation = exports.VirtualType = exports.PeerType = exports.TransactionStatus = exports.TransactionOrder = exports.NetworkDestType = exports.NetworkScheme = exports.FeeLevel = exports.Web3ConnectionFeeLevel = exports.ScreeningSupportedProviders = exports.ScreeningVerdict = exports.ScreeningTransactionStatus = exports.TransactionDirection = exports.PolicyApprovalStatus = exports.ScreeningAction = exports.TravelRuleAddressTypeCode = exports.SigningAlgorithm = exports.VaultAssetActivationStatus = exports.BlockchainScope = exports.BlockchainExplorer = exports.BlockchainMedia = exports.BlockchainSigningAlgo = exports.AssetScope = exports.AssetClassBeta = exports.AssetClass = exports.VirtualAffiliation = void 0;
exports.TAP = exports.NCW = exports.SmartTransferTicketTermStatus = exports.SmartTransfersTicketStatus = void 0;
var VirtualAffiliation;

@@ -16,2 +17,10 @@ (function (VirtualAffiliation) {

})(AssetClass || (exports.AssetClass = AssetClass = {}));
var AssetClassBeta;
(function (AssetClassBeta) {
AssetClassBeta["NATIVE"] = "NATIVE";
AssetClassBeta["FT"] = "FT";
AssetClassBeta["FIAT"] = "FIAT";
AssetClassBeta["NFT"] = "NFT";
AssetClassBeta["SFT"] = "SFT";
})(AssetClassBeta || (exports.AssetClassBeta = AssetClassBeta = {}));
var AssetScope;

@@ -22,2 +31,18 @@ (function (AssetScope) {

})(AssetScope || (exports.AssetScope = AssetScope = {}));
var BlockchainSigningAlgo;
(function (BlockchainSigningAlgo) {
BlockchainSigningAlgo["ECDSA_SECP256K1"] = "ECDSA_SECP256K1";
BlockchainSigningAlgo["EDDSA_ED25519"] = "EDDSA_ED25519";
})(BlockchainSigningAlgo || (exports.BlockchainSigningAlgo = BlockchainSigningAlgo = {}));
class BlockchainMedia {
}
exports.BlockchainMedia = BlockchainMedia;
class BlockchainExplorer {
}
exports.BlockchainExplorer = BlockchainExplorer;
var BlockchainScope;
(function (BlockchainScope) {
BlockchainScope["GLOBAL"] = "Global";
BlockchainScope["LOCAL"] = "Local";
})(BlockchainScope || (exports.BlockchainScope = BlockchainScope = {}));
var VaultAssetActivationStatus;

@@ -24,0 +49,0 @@ (function (VaultAssetActivationStatus) {

{
"name": "fireblocks-sdk",
"version": "5.34.0",
"version": "5.35.0",
"main": "dist/src/fireblocks-sdk.js",

@@ -5,0 +5,0 @@ "types": "dist/src/fireblocks-sdk.d.ts",

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

Sorry, the diff of this file is not supported yet

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