New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitpay-sdk

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitpay-sdk - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

2

dist/Env.d.ts

@@ -6,4 +6,4 @@ export declare const Test = "TEST";

export declare const BitpayApiVersion = "2.0.0";
export declare const BitpayPluginInfo = "BitPay_NodeJs_Client_v6.0.0";
export declare const BitpayPluginInfo = "BitPay_NodeJs_Client_v6.0.1";
export declare const BitpayApiFrame = "std";
export declare const BitpayApiFrameVersion = "1.0.0";

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

exports.BitpayApiVersion = '2.0.0';
exports.BitpayPluginInfo = 'BitPay_NodeJs_Client_v6.0.0';
exports.BitpayPluginInfo = 'BitPay_NodeJs_Client_v6.0.1';
exports.BitpayApiFrame = 'std';

@@ -12,0 +12,0 @@ exports.BitpayApiFrameVersion = '1.0.0';

@@ -49,19 +49,19 @@ import { z } from 'zod';

}[];
cc: (string[] | []) & (string[] | [] | undefined);
cc: string[] | [];
id?: string | undefined;
state?: string | undefined;
url?: string | undefined;
name?: string | undefined;
country?: string | undefined;
status?: string | undefined;
token?: string | undefined;
name?: string | undefined;
merchant?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
dueDate?: string | undefined;
passProcessingFee?: boolean | undefined;
status?: string | undefined;
url?: string | undefined;
createdDate?: string | undefined;
id?: string | undefined;
merchant?: string | undefined;
}, {

@@ -77,19 +77,19 @@ number: string;

}[];
cc: (string[] | []) & (string[] | [] | undefined);
cc: string[] | [];
id?: string | undefined;
state?: string | undefined;
url?: string | undefined;
name?: string | undefined;
country?: string | undefined;
status?: string | undefined;
token?: string | undefined;
name?: string | undefined;
merchant?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
city?: string | undefined;
state?: string | undefined;
zip?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
dueDate?: string | undefined;
passProcessingFee?: boolean | undefined;
status?: string | undefined;
url?: string | undefined;
createdDate?: string | undefined;
id?: string | undefined;
merchant?: string | undefined;
}>;

@@ -14,23 +14,23 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
name?: string | undefined;
country?: string | undefined;
email?: string | undefined;
name?: string | undefined;
region?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
phone?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
postalCode?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
notify?: boolean | undefined;
}, {
name?: string | undefined;
country?: string | undefined;
email?: string | undefined;
name?: string | undefined;
region?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
phone?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
postalCode?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
notify?: boolean | undefined;
}>;

@@ -15,22 +15,22 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
name?: string | undefined;
country?: string | undefined;
email?: string | undefined;
name?: string | undefined;
region?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
phone?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
postalCode?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
notify?: boolean | undefined;
}, {
name?: string | undefined;
country?: string | undefined;
email?: string | undefined;
name?: string | undefined;
region?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
phone?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
postalCode?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
notify?: boolean | undefined;

@@ -48,4 +48,4 @@ }>>;

amount: number;
time?: string | undefined;
confirmations?: number | undefined;
time?: string | undefined;
receivedTime?: string | undefined;

@@ -57,4 +57,4 @@ txid?: string | undefined;

amount: number;
time?: string | undefined;
confirmations?: number | undefined;
time?: string | undefined;
receivedTime?: string | undefined;

@@ -180,9 +180,9 @@ txid?: string | undefined;

date: string;
email?: string | null | undefined;
tag?: number | null | undefined;
email?: string | null | undefined;
}, {
type: string;
date: string;
email?: string | null | undefined;
tag?: number | null | undefined;
email?: string | null | undefined;
}>>, "many">>;

@@ -216,12 +216,20 @@ refundAddressRequestPending: z.ZodOptional<z.ZodBoolean>;

paymentCodes: Record<string, Record<string, string>> | null;
currentTime?: number | undefined;
id?: string | undefined;
url?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
token?: string | undefined;
guid?: string | undefined;
price?: number | undefined;
buyer?: {
name?: string | undefined;
country?: string | undefined;
email?: string | undefined;
name?: string | undefined;
region?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
phone?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
postalCode?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
notify?: boolean | undefined;

@@ -231,4 +239,4 @@ } | undefined;

amount: number;
time?: string | undefined;
confirmations?: number | undefined;
time?: string | undefined;
receivedTime?: string | undefined;

@@ -269,6 +277,2 @@ txid?: string | undefined;

} | undefined;
currency?: string | undefined;
guid?: string | undefined;
token?: string | undefined;
price?: number | undefined;
posData?: string | undefined;

@@ -290,9 +294,5 @@ notificationURL?: string | undefined;

forcedBuyerSelectedTransactionCurrency?: string | undefined;
id?: string | undefined;
url?: string | undefined;
status?: string | undefined;
lowFeeDetected?: boolean | undefined;
invoiceTime?: number | undefined;
expirationTime?: number | undefined;
currentTime?: number | undefined;
exceptionStatus?: string | boolean | undefined;

@@ -303,4 +303,4 @@ targetConfirmations?: number | undefined;

date: string;
email?: string | null | undefined;
tag?: number | null | undefined;
email?: string | null | undefined;
}>[] | undefined;

@@ -328,12 +328,20 @@ refundAddressRequestPending?: boolean | undefined;

paymentCodes: Record<string, Record<string, string>> | null;
currentTime?: number | undefined;
id?: string | undefined;
url?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
token?: string | undefined;
guid?: string | undefined;
price?: number | undefined;
buyer?: {
name?: string | undefined;
country?: string | undefined;
email?: string | undefined;
name?: string | undefined;
region?: string | undefined;
address1?: string | undefined;
address2?: string | undefined;
phone?: string | undefined;
locality?: string | undefined;
region?: string | undefined;
postalCode?: string | undefined;
country?: string | undefined;
phone?: string | undefined;
notify?: boolean | undefined;

@@ -343,4 +351,4 @@ } | undefined;

amount: number;
time?: string | undefined;
confirmations?: number | undefined;
time?: string | undefined;
receivedTime?: string | undefined;

@@ -381,6 +389,2 @@ txid?: string | undefined;

} | undefined;
currency?: string | undefined;
guid?: string | undefined;
token?: string | undefined;
price?: number | undefined;
posData?: string | undefined;

@@ -402,9 +406,5 @@ notificationURL?: string | undefined;

forcedBuyerSelectedTransactionCurrency?: string | undefined;
id?: string | undefined;
url?: string | undefined;
status?: string | undefined;
lowFeeDetected?: boolean | undefined;
invoiceTime?: number | undefined;
expirationTime?: number | undefined;
currentTime?: number | undefined;
exceptionStatus?: string | boolean | undefined;

@@ -415,4 +415,4 @@ targetConfirmations?: number | undefined;

date: string;
email?: string | null | undefined;
tag?: number | null | undefined;
email?: string | null | undefined;
}>[] | undefined;

@@ -419,0 +419,0 @@ refundAddressRequestPending?: boolean | undefined;

@@ -10,9 +10,9 @@ import { z } from 'zod';

date: string;
email?: string | null | undefined;
tag?: number | null | undefined;
email?: string | null | undefined;
}, {
type: string;
date: string;
email?: string | null | undefined;
tag?: number | null | undefined;
email?: string | null | undefined;
}>;

@@ -12,4 +12,4 @@ import { z } from 'zod';

amount: number;
time?: string | undefined;
confirmations?: number | undefined;
time?: string | undefined;
receivedTime?: string | undefined;

@@ -21,4 +21,4 @@ txid?: string | undefined;

amount: number;
time?: string | undefined;
confirmations?: number | undefined;
time?: string | undefined;
receivedTime?: string | undefined;

@@ -25,0 +25,0 @@ txid?: string | undefined;

@@ -13,7 +13,7 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
email?: string | undefined;
currency?: string | undefined;
amount?: number | undefined;
requesterType?: string | undefined;
requesterEmail?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
email?: string | undefined;
purchaserNotifyEmail?: string | undefined;

@@ -23,7 +23,7 @@ refundAddress?: string | undefined;

}, {
email?: string | undefined;
currency?: string | undefined;
amount?: number | undefined;
requesterType?: string | undefined;
requesterEmail?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
email?: string | undefined;
purchaserNotifyEmail?: string | undefined;

@@ -69,8 +69,11 @@ refundAddress?: string | undefined;

buyerPaysRefundFee: boolean;
type?: string | undefined;
token?: string | undefined;
guid?: string | undefined;
params?: {
email?: string | undefined;
currency?: string | undefined;
amount?: number | undefined;
requesterType?: string | undefined;
requesterEmail?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
email?: string | undefined;
purchaserNotifyEmail?: string | undefined;

@@ -80,12 +83,9 @@ refundAddress?: string | undefined;

} | undefined;
guid?: string | undefined;
refundEmail?: string | undefined;
token?: string | undefined;
txid?: string | undefined;
supportRequest?: string | undefined;
notificationURL?: string | undefined;
refundAddress?: string | undefined;
txid?: string | undefined;
type?: string | undefined;
refundEmail?: string | undefined;
reference?: string | undefined;
lastRefundNotification?: string | undefined;
notificationURL?: string | undefined;
preview?: boolean | undefined;

@@ -105,8 +105,11 @@ }, {

buyerPaysRefundFee: boolean;
type?: string | undefined;
token?: string | undefined;
guid?: string | undefined;
params?: {
email?: string | undefined;
currency?: string | undefined;
amount?: number | undefined;
requesterType?: string | undefined;
requesterEmail?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
email?: string | undefined;
purchaserNotifyEmail?: string | undefined;

@@ -116,13 +119,10 @@ refundAddress?: string | undefined;

} | undefined;
guid?: string | undefined;
refundEmail?: string | undefined;
token?: string | undefined;
txid?: string | undefined;
supportRequest?: string | undefined;
notificationURL?: string | undefined;
refundAddress?: string | undefined;
txid?: string | undefined;
type?: string | undefined;
refundEmail?: string | undefined;
reference?: string | undefined;
lastRefundNotification?: string | undefined;
notificationURL?: string | undefined;
preview?: boolean | undefined;
}>;

@@ -12,7 +12,7 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
email?: string | undefined;
currency?: string | undefined;
amount?: number | undefined;
requesterType?: string | undefined;
requesterEmail?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
email?: string | undefined;
purchaserNotifyEmail?: string | undefined;

@@ -22,7 +22,7 @@ refundAddress?: string | undefined;

}, {
email?: string | undefined;
currency?: string | undefined;
amount?: number | undefined;
requesterType?: string | undefined;
requesterEmail?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
email?: string | undefined;
purchaserNotifyEmail?: string | undefined;

@@ -29,0 +29,0 @@ refundAddress?: string | undefined;

@@ -71,7 +71,7 @@ import { z } from 'zod';

invoiceCurrency: string;
scale?: number | undefined;
description?: string | undefined;
supportRequest?: string | undefined;
timestamp?: string | undefined;
txType?: string | undefined;
scale?: number | undefined;
supportRequest?: string | undefined;
}, {

@@ -98,7 +98,7 @@ type: string;

invoiceCurrency: string;
scale?: number | undefined;
description?: string | undefined;
supportRequest?: string | undefined;
timestamp?: string | undefined;
txType?: string | undefined;
scale?: number | undefined;
supportRequest?: string | undefined;
}>;

@@ -42,2 +42,11 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
code?: number | undefined;
message?: string | undefined;
id?: string | undefined;
label?: string | undefined;
email?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
token?: string | undefined;
amount?: number | undefined;
transactions?: {

@@ -49,5 +58,7 @@ date: string;

}[] | undefined;
token?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
notificationURL?: string | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;

@@ -57,18 +68,16 @@ dateExecuted?: string | undefined;

accountId?: string | undefined;
reference?: string | undefined;
notificationEmail?: string | undefined;
notificationURL?: string | undefined;
email?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
label?: string | undefined;
groupId?: string | undefined;
ignoreEmails?: boolean | undefined;
}, {
code?: number | undefined;
message?: string | undefined;
id?: string | undefined;
label?: string | undefined;
email?: string | undefined;
status?: string | undefined;
groupId?: string | undefined;
requestDate?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
code?: number | undefined;
ignoreEmails?: boolean | undefined;
}, {
currency?: string | undefined;
token?: string | undefined;
amount?: number | undefined;
transactions?: {

@@ -80,5 +89,7 @@ date: string;

}[] | undefined;
token?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
notificationURL?: string | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;

@@ -88,17 +99,6 @@ dateExecuted?: string | undefined;

accountId?: string | undefined;
reference?: string | undefined;
notificationEmail?: string | undefined;
notificationURL?: string | undefined;
email?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
label?: string | undefined;
message?: string | undefined;
id?: string | undefined;
status?: string | undefined;
groupId?: string | undefined;
requestDate?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
code?: number | undefined;
ignoreEmails?: boolean | undefined;
}>;

@@ -43,2 +43,11 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
code?: number | undefined;
message?: string | undefined;
id?: string | undefined;
label?: string | undefined;
email?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
token?: string | undefined;
amount?: number | undefined;
transactions?: {

@@ -50,5 +59,7 @@ date: string;

}[] | undefined;
token?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
notificationURL?: string | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;

@@ -58,18 +69,16 @@ dateExecuted?: string | undefined;

accountId?: string | undefined;
reference?: string | undefined;
notificationEmail?: string | undefined;
notificationURL?: string | undefined;
email?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
label?: string | undefined;
groupId?: string | undefined;
ignoreEmails?: boolean | undefined;
}, {
code?: number | undefined;
message?: string | undefined;
id?: string | undefined;
label?: string | undefined;
email?: string | undefined;
status?: string | undefined;
groupId?: string | undefined;
requestDate?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
code?: number | undefined;
ignoreEmails?: boolean | undefined;
}, {
currency?: string | undefined;
token?: string | undefined;
amount?: number | undefined;
transactions?: {

@@ -81,5 +90,7 @@ date: string;

}[] | undefined;
token?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
notificationURL?: string | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;

@@ -89,16 +100,5 @@ dateExecuted?: string | undefined;

accountId?: string | undefined;
reference?: string | undefined;
notificationEmail?: string | undefined;
notificationURL?: string | undefined;
email?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
label?: string | undefined;
message?: string | undefined;
id?: string | undefined;
status?: string | undefined;
groupId?: string | undefined;
requestDate?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
code?: number | undefined;
ignoreEmails?: boolean | undefined;

@@ -126,2 +126,11 @@ }>, "many">;

payouts: {
code?: number | undefined;
message?: string | undefined;
id?: string | undefined;
label?: string | undefined;
email?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
token?: string | undefined;
amount?: number | undefined;
transactions?: {

@@ -133,5 +142,7 @@ date: string;

}[] | undefined;
token?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
notificationURL?: string | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;

@@ -141,16 +152,5 @@ dateExecuted?: string | undefined;

accountId?: string | undefined;
reference?: string | undefined;
notificationEmail?: string | undefined;
notificationURL?: string | undefined;
email?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
label?: string | undefined;
message?: string | undefined;
id?: string | undefined;
status?: string | undefined;
groupId?: string | undefined;
requestDate?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
code?: number | undefined;
ignoreEmails?: boolean | undefined;

@@ -165,2 +165,11 @@ }[];

payouts: {
code?: number | undefined;
message?: string | undefined;
id?: string | undefined;
label?: string | undefined;
email?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
token?: string | undefined;
amount?: number | undefined;
transactions?: {

@@ -172,5 +181,7 @@ date: string;

}[] | undefined;
token?: string | undefined;
amount?: number | undefined;
currency?: string | undefined;
notificationURL?: string | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;

@@ -180,18 +191,7 @@ dateExecuted?: string | undefined;

accountId?: string | undefined;
reference?: string | undefined;
notificationEmail?: string | undefined;
notificationURL?: string | undefined;
email?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
label?: string | undefined;
message?: string | undefined;
id?: string | undefined;
status?: string | undefined;
groupId?: string | undefined;
requestDate?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
code?: number | undefined;
ignoreEmails?: boolean | undefined;
}[];
}>;

@@ -12,19 +12,19 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
id?: string | undefined;
label?: string | null | undefined;
email?: string | null | undefined;
label?: string | null | undefined;
notificationURL?: string | null | undefined;
status?: string | undefined;
id?: string | undefined;
shopperId?: string | null | undefined;
token?: string | undefined;
guid?: string | undefined;
notificationURL?: string | null | undefined;
shopperId?: string | null | undefined;
}, {
id?: string | undefined;
label?: string | null | undefined;
email?: string | null | undefined;
label?: string | null | undefined;
notificationURL?: string | null | undefined;
status?: string | undefined;
id?: string | undefined;
shopperId?: string | null | undefined;
token?: string | undefined;
guid?: string | undefined;
notificationURL?: string | null | undefined;
shopperId?: string | null | undefined;
}>;

@@ -15,46 +15,46 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
id?: string | undefined;
label?: string | null | undefined;
email?: string | null | undefined;
label?: string | null | undefined;
notificationURL?: string | null | undefined;
status?: string | undefined;
id?: string | undefined;
shopperId?: string | null | undefined;
token?: string | undefined;
guid?: string | undefined;
notificationURL?: string | null | undefined;
shopperId?: string | null | undefined;
}, {
id?: string | undefined;
label?: string | null | undefined;
email?: string | null | undefined;
label?: string | null | undefined;
notificationURL?: string | null | undefined;
status?: string | undefined;
id?: string | undefined;
shopperId?: string | null | undefined;
token?: string | undefined;
guid?: string | undefined;
notificationURL?: string | null | undefined;
shopperId?: string | null | undefined;
}>, "many">>;
}, "strip", z.ZodTypeAny, {
guid?: string | undefined;
token?: string | undefined;
recipients?: {
id?: string | undefined;
label?: string | null | undefined;
email?: string | null | undefined;
label?: string | null | undefined;
notificationURL?: string | null | undefined;
status?: string | undefined;
id?: string | undefined;
shopperId?: string | null | undefined;
token?: string | undefined;
guid?: string | undefined;
notificationURL?: string | null | undefined;
shopperId?: string | null | undefined;
}[] | undefined;
guid?: string | undefined;
}, {
guid?: string | undefined;
token?: string | undefined;
recipients?: {
id?: string | undefined;
label?: string | null | undefined;
email?: string | null | undefined;
label?: string | null | undefined;
notificationURL?: string | null | undefined;
status?: string | undefined;
id?: string | undefined;
shopperId?: string | null | undefined;
token?: string | undefined;
guid?: string | undefined;
notificationURL?: string | null | undefined;
shopperId?: string | null | undefined;
}[] | undefined;
guid?: string | undefined;
}>;

@@ -11,9 +11,9 @@ import { z } from 'zod';

supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}, {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}>>;

@@ -28,11 +28,11 @@ price: z.ZodNumber;

price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;

@@ -42,13 +42,13 @@ payoutPercentage?: Record<string, number> | undefined;

price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;
payoutPercentage?: Record<string, number> | undefined;
}>;

@@ -28,14 +28,14 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
sort?: string | undefined;
address?: string | undefined;
name?: string | undefined;
label?: string | undefined;
city?: string | undefined;
account?: string | undefined;
routing?: string | undefined;
merchantEin?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
bank?: string | undefined;
swift?: string | undefined;
address?: string | undefined;
city?: string | undefined;
postal?: string | undefined;
sort?: string | undefined;
wire?: boolean | undefined;

@@ -54,14 +54,14 @@ bankName?: string | undefined;

}, {
sort?: string | undefined;
address?: string | undefined;
name?: string | undefined;
label?: string | undefined;
city?: string | undefined;
account?: string | undefined;
routing?: string | undefined;
merchantEin?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
bank?: string | undefined;
swift?: string | undefined;
address?: string | undefined;
city?: string | undefined;
postal?: string | undefined;
sort?: string | undefined;
wire?: boolean | undefined;

@@ -68,0 +68,0 @@ bankName?: string | undefined;

@@ -10,9 +10,9 @@ import { z } from 'zod';

supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}, {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}>;

@@ -29,14 +29,14 @@ import { z } from 'zod';

}, "strip", z.ZodTypeAny, {
sort?: string | undefined;
address?: string | undefined;
name?: string | undefined;
label?: string | undefined;
city?: string | undefined;
account?: string | undefined;
routing?: string | undefined;
merchantEin?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
bank?: string | undefined;
swift?: string | undefined;
address?: string | undefined;
city?: string | undefined;
postal?: string | undefined;
sort?: string | undefined;
wire?: boolean | undefined;

@@ -55,14 +55,14 @@ bankName?: string | undefined;

}, {
sort?: string | undefined;
address?: string | undefined;
name?: string | undefined;
label?: string | undefined;
city?: string | undefined;
account?: string | undefined;
routing?: string | undefined;
merchantEin?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
bank?: string | undefined;
swift?: string | undefined;
address?: string | undefined;
city?: string | undefined;
postal?: string | undefined;
sort?: string | undefined;
wire?: boolean | undefined;

@@ -91,13 +91,13 @@ bankName?: string | undefined;

amount: number;
label?: string | undefined;
description?: string | undefined;
bankCountry?: string | undefined;
notes?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
}, {
code: string;
amount: number;
label?: string | undefined;
description?: string | undefined;
bankCountry?: string | undefined;
notes?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
}>, "many">>;

@@ -114,9 +114,9 @@ ledgerEntries: z.ZodOptional<z.ZodArray<z.ZodObject<{

supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}, {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}>>;

@@ -131,11 +131,11 @@ price: z.ZodNumber;

price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;

@@ -145,11 +145,11 @@ payoutPercentage?: Record<string, number> | undefined;

price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;

@@ -165,40 +165,40 @@ payoutPercentage?: Record<string, number> | undefined;

amount: number;
code?: number | undefined;
description?: string | undefined;
timestamp?: string | undefined;
invoiceId?: string | undefined;
invoiceData?: {
price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;
payoutPercentage?: Record<string, number> | undefined;
} | undefined;
}, {
amount: number;
code?: number | undefined;
description?: string | undefined;
timestamp?: string | undefined;
invoiceId?: string | undefined;
timestamp?: string | undefined;
description?: string | undefined;
}, {
amount: number;
invoiceData?: {
price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;
payoutPercentage?: Record<string, number> | undefined;
} | undefined;
code?: number | undefined;
invoiceId?: string | undefined;
timestamp?: string | undefined;
description?: string | undefined;
}>, "many">>;

@@ -230,15 +230,16 @@ id: z.ZodNullable<z.ZodString>;

totalAmount: number;
token?: string | undefined;
payoutInfo?: {
sort?: string | undefined;
address?: string | undefined;
name?: string | undefined;
label?: string | undefined;
city?: string | undefined;
account?: string | undefined;
routing?: string | undefined;
merchantEin?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
bank?: string | undefined;
swift?: string | undefined;
address?: string | undefined;
city?: string | undefined;
postal?: string | undefined;
sort?: string | undefined;
wire?: boolean | undefined;

@@ -260,30 +261,29 @@ bankName?: string | undefined;

amount: number;
label?: string | undefined;
description?: string | undefined;
bankCountry?: string | undefined;
notes?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
}[] | undefined;
ledgerEntries?: {
amount: number;
code?: number | undefined;
description?: string | undefined;
timestamp?: string | undefined;
invoiceId?: string | undefined;
invoiceData?: {
price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;
payoutPercentage?: Record<string, number> | undefined;
} | undefined;
code?: number | undefined;
invoiceId?: string | undefined;
timestamp?: string | undefined;
description?: string | undefined;
}[] | undefined;
withholdingsSum?: number | undefined;
token?: string | undefined;
}, {

@@ -301,15 +301,16 @@ id: string | null;

totalAmount: number;
token?: string | undefined;
payoutInfo?: {
sort?: string | undefined;
address?: string | undefined;
name?: string | undefined;
label?: string | undefined;
city?: string | undefined;
account?: string | undefined;
routing?: string | undefined;
merchantEin?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
bank?: string | undefined;
swift?: string | undefined;
address?: string | undefined;
city?: string | undefined;
postal?: string | undefined;
sort?: string | undefined;
wire?: boolean | undefined;

@@ -331,30 +332,29 @@ bankName?: string | undefined;

amount: number;
label?: string | undefined;
description?: string | undefined;
bankCountry?: string | undefined;
notes?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
}[] | undefined;
ledgerEntries?: {
amount: number;
code?: number | undefined;
description?: string | undefined;
timestamp?: string | undefined;
invoiceId?: string | undefined;
invoiceData?: {
price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;
payoutPercentage?: Record<string, number> | undefined;
} | undefined;
code?: number | undefined;
invoiceId?: string | undefined;
timestamp?: string | undefined;
description?: string | undefined;
}[] | undefined;
withholdingsSum?: number | undefined;
token?: string | undefined;
}>;

@@ -12,9 +12,9 @@ import { z } from 'zod';

supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}, {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
}>>;

@@ -29,11 +29,11 @@ price: z.ZodNumber;

price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;

@@ -43,11 +43,11 @@ payoutPercentage?: Record<string, number> | undefined;

price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;

@@ -63,40 +63,40 @@ payoutPercentage?: Record<string, number> | undefined;

amount: number;
code?: number | undefined;
description?: string | undefined;
timestamp?: string | undefined;
invoiceId?: string | undefined;
invoiceData?: {
price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;
payoutPercentage?: Record<string, number> | undefined;
} | undefined;
}, {
amount: number;
code?: number | undefined;
description?: string | undefined;
timestamp?: string | undefined;
invoiceId?: string | undefined;
timestamp?: string | undefined;
description?: string | undefined;
}, {
amount: number;
invoiceData?: {
price: number;
currency?: string | undefined;
date?: string | undefined;
refundInfo?: {
currency: string;
supportRequest?: string | undefined;
amounts?: Record<string, number> | undefined;
refundRequestEid?: string | undefined;
amounts?: Record<string, number> | undefined;
} | undefined;
orderId?: string | undefined;
date?: string | undefined;
currency?: string | undefined;
transactionCurrency?: string | undefined;
payoutPercentage?: Record<string, number> | undefined;
} | undefined;
code?: number | undefined;
invoiceId?: string | undefined;
timestamp?: string | undefined;
description?: string | undefined;
}>;

@@ -12,13 +12,13 @@ import { z } from 'zod';

amount: number;
label?: string | undefined;
description?: string | undefined;
bankCountry?: string | undefined;
notes?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
}, {
code: string;
amount: number;
label?: string | undefined;
description?: string | undefined;
bankCountry?: string | undefined;
notes?: string | undefined;
label?: string | undefined;
bankCountry?: string | undefined;
}>;

@@ -22,2 +22,3 @@ import { z } from 'zod';

code: string;
image?: string | undefined;
qr?: {

@@ -30,3 +31,2 @@ type: string;

payPro?: boolean | undefined;
image?: string | undefined;
withdrawalFee?: string | undefined;

@@ -36,2 +36,3 @@ walletConnect?: boolean | undefined;

code: string;
image?: string | undefined;
qr?: {

@@ -44,5 +45,4 @@ type: string;

payPro?: boolean | undefined;
image?: string | undefined;
withdrawalFee?: string | undefined;
walletConnect?: boolean | undefined;
}>;

@@ -23,2 +23,3 @@ import { z } from 'zod';

code: string;
image?: string | undefined;
qr?: {

@@ -31,3 +32,2 @@ type: string;

payPro?: boolean | undefined;
image?: string | undefined;
withdrawalFee?: string | undefined;

@@ -37,2 +37,3 @@ walletConnect?: boolean | undefined;

code: string;
image?: string | undefined;
qr?: {

@@ -45,3 +46,2 @@ type: string;

payPro?: boolean | undefined;
image?: string | undefined;
withdrawalFee?: string | undefined;

@@ -56,4 +56,7 @@ walletConnect?: boolean | undefined;

}, "strip", z.ZodTypeAny, {
key?: string | undefined;
image?: string | undefined;
currencies?: {
code: string;
image?: string | undefined;
qr?: {

@@ -66,14 +69,14 @@ type: string;

payPro?: boolean | undefined;
image?: string | undefined;
withdrawalFee?: string | undefined;
walletConnect?: boolean | undefined;
}[] | undefined;
key?: string | undefined;
payPro?: boolean | undefined;
displayName?: string | undefined;
avatar?: string | undefined;
payPro?: boolean | undefined;
}, {
key?: string | undefined;
image?: string | undefined;
}, {
currencies?: {
code: string;
image?: string | undefined;
qr?: {

@@ -86,11 +89,8 @@ type: string;

payPro?: boolean | undefined;
image?: string | undefined;
withdrawalFee?: string | undefined;
walletConnect?: boolean | undefined;
}[] | undefined;
key?: string | undefined;
payPro?: boolean | undefined;
displayName?: string | undefined;
avatar?: string | undefined;
payPro?: boolean | undefined;
image?: string | undefined;
}>;

@@ -60,9 +60,11 @@ import { z } from 'zod';

url?: string | undefined;
posData?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
price?: string | undefined;
currency?: string | undefined;
posData?: string | undefined;
orderId?: string | undefined;
invoiceTime?: string | undefined;
currencyTime?: string | undefined;
exceptionStatus?: string | undefined;
transactionCurrency?: string | undefined;
amountPaid?: number | undefined;
buyerFields?: {

@@ -80,5 +82,3 @@ buyerName?: string | undefined;

} | undefined;
amountPaid?: number | undefined;
orderId?: string | undefined;
transactionCurrency?: string | undefined;
currencyTime?: string | undefined;
inInvoiceId?: string | undefined;

@@ -92,9 +92,11 @@ inPaymentRequest?: string | undefined;

url?: string | undefined;
posData?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
price?: string | undefined;
currency?: string | undefined;
posData?: string | undefined;
orderId?: string | undefined;
invoiceTime?: string | undefined;
currencyTime?: string | undefined;
exceptionStatus?: string | undefined;
transactionCurrency?: string | undefined;
amountPaid?: number | undefined;
buyerFields?: {

@@ -112,7 +114,5 @@ buyerName?: string | undefined;

} | undefined;
amountPaid?: number | undefined;
orderId?: string | undefined;
transactionCurrency?: string | undefined;
currencyTime?: string | undefined;
inInvoiceId?: string | undefined;
inPaymentRequest?: string | undefined;
}>;

@@ -39,16 +39,8 @@ import { z } from 'zod';

id?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
price?: number | undefined;
currency?: string | undefined;
ledgerCurrency?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
label?: string | undefined;
email?: string | undefined;
reference?: string | undefined;
label?: string | undefined;
notificationUrl?: string | undefined;
notificationEmail?: string | undefined;
effectiveDate?: string | undefined;
requestDate?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
date?: string | undefined;
price?: number | undefined;
transactions?: {

@@ -60,21 +52,21 @@ date: string;

}[] | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;
ledgerCurrency?: string | undefined;
accountId?: string | undefined;
date?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
groupId?: string | undefined;
notificationUrl?: string | undefined;
}, {
id?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
price?: number | undefined;
currency?: string | undefined;
ledgerCurrency?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
label?: string | undefined;
email?: string | undefined;
reference?: string | undefined;
label?: string | undefined;
notificationUrl?: string | undefined;
notificationEmail?: string | undefined;
effectiveDate?: string | undefined;
requestDate?: string | undefined;
status?: string | undefined;
currency?: string | undefined;
date?: string | undefined;
price?: number | undefined;
transactions?: {

@@ -86,5 +78,13 @@ date: string;

}[] | undefined;
notificationEmail?: string | undefined;
exchangeRates?: Record<string, Record<string, number>> | undefined;
requestDate?: string | undefined;
reference?: string | undefined;
effectiveDate?: string | undefined;
ledgerCurrency?: string | undefined;
accountId?: string | undefined;
date?: string | undefined;
recipientId?: string | undefined;
shopperId?: string | undefined;
groupId?: string | undefined;
notificationUrl?: string | undefined;
}>;
{
"name": "bitpay-sdk",
"version": "6.0.0",
"version": "6.0.1",
"description": "Complete version of the NodeJS library for the new cryptographically secure BitPay API",

@@ -47,5 +47,5 @@ "engines": {

"bs58": "4.0.1",
"elliptic": "6.5.4",
"elliptic": "6.5.5",
"lodash": "4.17.21",
"zod": "3.22.4"
"zod": "3.23.8"
},

@@ -64,12 +64,12 @@ "devDependencies": {

"eslint-plugin-prettier": "5.0.1",
"husky": "8.0.3",
"husky": "9.0.11",
"i": "0.3.7",
"jest": "29.7.0",
"msw": "2.0.6",
"npm": "10.2.4",
"prettier": "3.1.0",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"npm": "10.8.1",
"prettier": "3.3.2",
"rimraf": "5.0.7",
"ts-jest": "29.1.5",
"typescript": "5.2.2"
}
}
}
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