diff --git a/types/html-minifier-next/package.json b/types/html-minifier-next/package.json index ddade733158a96..d603ae84722b4d 100644 --- a/types/html-minifier-next/package.json +++ b/types/html-minifier-next/package.json @@ -5,7 +5,7 @@ "type": "module", "minimumTypeScriptVersion": "5.3", "projects": [ - "https://j9t.github.io/html-minifier-next" + "https://github.com/j9t/html-minifier-next" ], "owners": [ { diff --git a/types/invity-api/index.d.ts b/types/invity-api/index.d.ts index d06e407d17e27a..a62659c7fa95c7 100644 --- a/types/invity-api/index.d.ts +++ b/types/invity-api/index.d.ts @@ -360,6 +360,7 @@ export interface ExchangeTradeQuoteRequest { send: CryptoId; // bitcoin receive: CryptoId; // litecoin sendStringAmount?: string | undefined; // "0.01" + receiveAddress?: string; // user's address where they'll receive exchanged crypto dex?: "enable" | "exclusively" | undefined; // 'enable' means add dex offers, 'exclusively' means only dex offers } diff --git a/types/invity-api/invity-api-tests.ts b/types/invity-api/invity-api-tests.ts index e58bdc39592205..f4120ea8f502ec 100644 --- a/types/invity-api/invity-api-tests.ts +++ b/types/invity-api/invity-api-tests.ts @@ -7,6 +7,7 @@ import { CryptoId, ExchangeProviderInfo, ExchangeTrade, + ExchangeTradeQuoteRequest, ExchangeTradeSigned, InfoResponse, SellFiatTrade, @@ -154,9 +155,16 @@ const exchangeSignatureRequest: CreateTradeSignatureRequestExchange = { receiveSlip44: 2, }; -const exchangeTradeQuoteRequest: ConfirmExchangeTradeRequest = { +const exchangeTradeRequest: ConfirmExchangeTradeRequest = { trade: et, receiveAddress: "receiveAddress", refundAddress: "refundAddress", approvalFlow: true, }; + +const exchangeTradeQuoteRequest: ExchangeTradeQuoteRequest = { + send: "bitcoin" as CryptoId, + receive: "ethereum" as CryptoId, + sendStringAmount: "0.1", + receiveAddress: "receiveAddress", +}; diff --git a/types/mparticle__web-sdk/index.d.ts b/types/mparticle__web-sdk/index.d.ts index a599c4a2b8f3c5..06e4acc6c70f60 100644 --- a/types/mparticle__web-sdk/index.d.ts +++ b/types/mparticle__web-sdk/index.d.ts @@ -362,6 +362,10 @@ interface SelectPlacements { (options: RoktSelectPlacementsOptions): Promise; } +interface Use { + (name: string): Promise; +} + interface HashAttributes { (attributes: RoktPartnerAttributes): Promise>; } @@ -556,6 +560,7 @@ export namespace Rokt { const selectPlacements: SelectPlacements; const hashAttributes: HashAttributes; const setExtensionData: SetExtensionData; + const use: Use; } export interface IdentifyRequest { @@ -817,6 +822,7 @@ declare class mParticleInstance { selectPlacements: SelectPlacements; hashAttributes: HashAttributes; setExtensionData: SetExtensionData; + use: Use; }; PromotionType: { Unknown: PromotionType.Unknown; diff --git a/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts b/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts index b8e08f6bc89d96..f87acaeff77346 100644 --- a/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts +++ b/types/mparticle__web-sdk/test/mparticle__web-sdk-tests.ts @@ -226,6 +226,8 @@ mParticle.Rokt.setExtensionData({ }, }); +mParticle.Rokt.use("test-extension-name"); + mParticle.ready(() => { console.log("hi"); });