@nimiq/hub-api
Advanced tools
Comparing version 1.4.2-beta.2 to 1.4.2-beta.3
@@ -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" |
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
125340
4
1936
+ Added@nimiq/fastspot-api@^1.5.2
+ Added@nimiq/fastspot-api@1.10.3(transitive)