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

@nimiq/hub-api

Package Overview
Dependencies
Maintainers
8
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nimiq/hub-api - npm Package Compare versions

Comparing version 1.4.2-beta.2 to 1.4.2-beta.3

3

dist/src/src/lib/paymentOptions/ParsedPaymentOptions.d.ts

@@ -1,2 +0,2 @@

declare type BigInteger = import('big-integer').BigInteger;
import type { BigInteger } from 'big-integer';
import { Currency, PaymentType, PaymentOptionsForCurrencyAndType } from '../PublicRequestTypes';

@@ -22,2 +22,1 @@ import { ParsedPaymentOptionsForCurrencyAndType, ParsedProtocolSpecificsForCurrency } from '../RequestTypes';

}
export {};

@@ -1,8 +0,8 @@

import { WalletType } from './Constants';
declare type NimiqSpecifics = import('./paymentOptions/NimiqPaymentOptions').NimiqSpecifics;
declare type NimiqDirectPaymentOptions = import('./paymentOptions/NimiqPaymentOptions').NimiqDirectPaymentOptions;
declare type BitcoinSpecifics = import('./paymentOptions/BitcoinPaymentOptions').BitcoinSpecifics;
declare type BitcoinDirectPaymentOptions = import('./paymentOptions/BitcoinPaymentOptions').BitcoinDirectPaymentOptions;
declare type EtherSpecifics = import('./paymentOptions/EtherPaymentOptions').EtherSpecifics;
declare type EtherDirectPaymentOptions = import('./paymentOptions/EtherPaymentOptions').EtherDirectPaymentOptions;
import type { WalletType } from './Constants';
import type { NimiqSpecifics } from './paymentOptions/NimiqPaymentOptions';
import type { NimiqDirectPaymentOptions } from './paymentOptions/NimiqPaymentOptions';
import type { BitcoinSpecifics } from './paymentOptions/BitcoinPaymentOptions';
import type { BitcoinDirectPaymentOptions } from './paymentOptions/BitcoinPaymentOptions';
import type { EtherSpecifics } from './paymentOptions/EtherPaymentOptions';
import type { EtherDirectPaymentOptions } from './paymentOptions/EtherPaymentOptions';
export declare enum RequestType {

@@ -426,2 +426,1 @@ LIST = "list",

export declare type ResultByRequestType<T> = T extends RequestType.RENAME ? Account : T extends RequestType.ONBOARD | RequestType.SIGNUP | RequestType.LOGIN | RequestType.MIGRATE | RequestType.LIST ? Account[] : T extends RequestType.LIST_CASHLINKS ? Cashlink[] : T extends RequestType.CHOOSE_ADDRESS | RequestType.ADD_ADDRESS ? Address : T extends RequestType.SIGN_TRANSACTION ? SignedTransaction : T extends RequestType.CHECKOUT ? SignedTransaction | SimpleResult : T extends RequestType.SIGN_MESSAGE ? SignedMessage : T extends RequestType.LOGOUT | RequestType.CHANGE_PASSWORD ? SimpleResult : T extends RequestType.EXPORT ? ExportResult : T extends RequestType.CREATE_CASHLINK | RequestType.MANAGE_CASHLINK ? Cashlink : T extends RequestType.SIGN_BTC_TRANSACTION ? SignedBtcTransaction : T extends RequestType.ACTIVATE_BITCOIN ? Account : T extends RequestType.ADD_BTC_ADDRESSES ? AddBtcAddressesResult : T extends RequestType.SETUP_SWAP ? SetupSwapResult : never;
export {};

@@ -1,7 +0,7 @@

import { Currency, PaymentType, RequestType, CashlinkTheme } from './PublicRequestTypes';
import { ParsedPaymentOptions } from './paymentOptions/ParsedPaymentOptions';
import { ParsedNimiqSpecifics, ParsedNimiqDirectPaymentOptions } from './paymentOptions/NimiqPaymentOptions';
import { ParsedEtherSpecifics, ParsedEtherDirectPaymentOptions } from './paymentOptions/EtherPaymentOptions';
import { ParsedBitcoinSpecifics, ParsedBitcoinDirectPaymentOptions } from './paymentOptions/BitcoinPaymentOptions';
import { SwapAsset } from '@nimiq/fastspot-api';
import type { Currency, PaymentType, RequestType, CashlinkTheme } from './PublicRequestTypes';
import type { ParsedPaymentOptions } from './paymentOptions/ParsedPaymentOptions';
import type { ParsedNimiqSpecifics, ParsedNimiqDirectPaymentOptions } from './paymentOptions/NimiqPaymentOptions';
import type { ParsedEtherSpecifics, ParsedEtherDirectPaymentOptions } from './paymentOptions/EtherPaymentOptions';
import type { ParsedBitcoinSpecifics, ParsedBitcoinDirectPaymentOptions } from './paymentOptions/BitcoinPaymentOptions';
import type { SwapAsset } from '@nimiq/fastspot-api';
export interface ParsedBasicRequest {

@@ -8,0 +8,0 @@ kind: RequestType;

{
"name": "@nimiq/hub-api",
"version": "1.4.2-beta.2",
"version": "1.4.2-beta.3",
"main": "dist/HubApi.umd.js",

@@ -13,2 +13,3 @@ "module": "dist/HubApi.es.js",

"@nimiq/core-web": "^1.5.8",
"@nimiq/fastspot-api": "^1.5.2",
"@nimiq/rpc": "^0.4.0",

@@ -15,0 +16,0 @@ "big-integer": "^1.6.48"

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