Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions types/bun/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"private": true,
"name": "@types/bun",
"version": "1.3.9999",
"version": "1.4.9999",
"projects": [
"https://bun.com"
],
"dependencies": {
"bun-types": "1.3.14"
"bun-types": "1.4.0"
},
"devDependencies": {
"@types/bun": "workspace:."
Expand Down
20 changes: 20 additions & 0 deletions types/invity-api/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,16 @@ export type BuyTradeFormResponse = FormResponse;
export interface WatchBuyTradeResponse {
status?: BuyTradeStatus | undefined; // state of trade after confirmTrade
error?: string | undefined; // something went wrong after confirmTrade
/** Updated fiat amount from provider */
fiatStringAmount?: string;
/** Updated crypto receive amount from provider */
receiveStringAmount?: string;
/** Updated exchange rate from provider */
rate?: number;
/** Updated payment method from provider */
paymentMethod?: BuyCryptoPaymentMethod;
/** Updated payment method display name from provider */
paymentMethodName?: string;
}

// exchange types
Expand Down Expand Up @@ -527,6 +537,8 @@ export interface WatchExchangeTradeResponse extends Partial<TradeError> {
receiveTxHash?: string | undefined;
rate?: number | undefined;
receiveStringAmount?: string | undefined; // "0.01"
/** Updated send amount from provider when it differs from the original quote */
sendStringAmount?: string;
}

// utilityTypes
Expand Down Expand Up @@ -757,6 +769,14 @@ export interface WatchSellTradeResponse {
destinationAddress?: string | undefined; // crypto address to which sent crypto currency to sell
destinationPaymentExtraId?: string | undefined; // Extra ID for payments to exchange for networks that require it (destinationTag)
cryptoStringAmount?: string; // Crypto amount to send in case of change on provider's side (Banxa)
/** Updated fiat amount from provider */
fiatStringAmount?: string;
/** Updated exchange rate from provider */
rate?: number;
/** Updated payment method from provider */
paymentMethod?: SellCryptoPaymentMethod;
/** Updated payment method display name from provider */
paymentMethodName?: string;
}

export interface PaymentRequestOutput {
Expand Down
1 change: 1 addition & 0 deletions types/invity-api/invity-api-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const sfts: SellFiatTradeSigned = {

const wstr: WatchSellTradeResponse = {
cryptoStringAmount: "",
fiatStringAmount: "",
};

const wetrErr: WatchExchangeTradeResponse = {
Expand Down
6 changes: 6 additions & 0 deletions types/mparticle__web-sdk/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,9 @@ export namespace eCommerce {
const logImpression: LogImpression;
const logProductAction: LogProductAction;
const logPromotion: LogPromotion;
/**
* @deprecated Use logProductAction with ProductActionType.Purchase instead.
*/
const logPurchase: LogPurchase;
/**
* @deprecated logRefund has been deprecated
Expand Down Expand Up @@ -899,6 +902,9 @@ declare class mParticleInstance {
logImpression: LogImpression;
logProductAction: LogProductAction;
logPromotion: LogPromotion;
/**
* @deprecated Use logProductAction with ProductActionType.Purchase instead.
*/
logPurchase: LogPurchase;
logRefund: LogRefund;
setCurrencyCode: SetCurrencyCode;
Expand Down
Loading