@jup-ag/api
Advanced tools
Comparing version 0.0.5 to 3.0.0
@@ -276,5 +276,57 @@ /** | ||
*/ | ||
/** | ||
* Only returned when userPublicKey is given to /quote | ||
* @export | ||
* @interface InlineResponseDefaultFees | ||
*/ | ||
interface InlineResponseDefaultFees { | ||
/** | ||
* This inidicate the total amount needed for signing transaction(s). Value in lamports. | ||
* @type {number} | ||
* @memberof InlineResponseDefaultFees | ||
*/ | ||
signatureFee?: number; | ||
/** | ||
* This inidicate the total amount needed for deposit of serum order account(s). Value in lamports. | ||
* @type {Array<number>} | ||
* @memberof InlineResponseDefaultFees | ||
*/ | ||
openOrdersDeposits?: Array<number>; | ||
/** | ||
* This inidicate the total amount needed for deposit of associative token account(s). Value in lamports. | ||
* @type {Array<number>} | ||
* @memberof InlineResponseDefaultFees | ||
*/ | ||
ataDeposits?: Array<number>; | ||
/** | ||
* This inidicate the total lamports needed for fees and deposits above. | ||
* @type {number} | ||
* @memberof InlineResponseDefaultFees | ||
*/ | ||
totalFeeAndDeposits?: number; | ||
/** | ||
* This inidicate the minimum lamports needed for transaction(s). Might be used to create wrapped SOL and will be returned when the wrapped SOL is closed. | ||
* @type {number} | ||
* @memberof InlineResponseDefaultFees | ||
*/ | ||
minimumSOLForTransaction?: number; | ||
} | ||
declare function InlineResponseDefaultFeesFromJSON(json: any): InlineResponseDefaultFees; | ||
declare function InlineResponseDefaultFeesFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponseDefaultFees; | ||
declare function InlineResponseDefaultFeesToJSON(value?: InlineResponseDefaultFees | null): any; | ||
/** | ||
* Jupiter API | ||
* Jupiter quote and swap API | ||
* | ||
* The version of the OpenAPI document: 0.0.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
/** | ||
* | ||
* @export | ||
@@ -384,33 +436,39 @@ * @interface InlineResponseDefaultMarketInfos | ||
*/ | ||
amount?: number; | ||
priceImpactPct: number; | ||
/** | ||
* The minimum out amount, populated when swapMode is ExactIn, deprecated please use otherAmountThreshold instead | ||
* @type {number} | ||
* | ||
* @type {Array<InlineResponseDefaultMarketInfos>} | ||
* @memberof Def1 | ||
*/ | ||
outAmountWithSlippage?: number; | ||
marketInfos: Array<InlineResponseDefaultMarketInfos>; | ||
/** | ||
* The threshold for the swap based on the provided slippage: when swapMode is ExactIn the minimum out amount, when swapMode is ExactOut the maximum in amount | ||
* | ||
* @type {number} | ||
* @memberof Def1 | ||
*/ | ||
otherAmountThreshold?: number; | ||
amount: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @type {number} | ||
* @memberof Def1 | ||
*/ | ||
swapMode?: Def1SwapModeEnum; | ||
slippageBps: number; | ||
/** | ||
* | ||
* The threshold for the swap based on the provided slippage: when swapMode is ExactIn the minimum out amount, when swapMode is ExactOut the maximum in amount | ||
* @type {number} | ||
* @memberof Def1 | ||
*/ | ||
priceImpactPct: number; | ||
otherAmountThreshold: number; | ||
/** | ||
* | ||
* @type {Array<InlineResponseDefaultMarketInfos>} | ||
* @type {string} | ||
* @memberof Def1 | ||
*/ | ||
marketInfos: Array<InlineResponseDefaultMarketInfos>; | ||
swapMode: Def1SwapModeEnum; | ||
/** | ||
* | ||
* @type {InlineResponseDefaultFees} | ||
* @memberof Def1 | ||
*/ | ||
fees?: InlineResponseDefaultFees; | ||
} | ||
@@ -440,43 +498,42 @@ /** | ||
*/ | ||
/** | ||
* | ||
* @export | ||
* @interface InlineObject | ||
* @interface Def2 | ||
*/ | ||
interface InlineObject { | ||
interface Def2 { | ||
/** | ||
* | ||
* @type {Def1} | ||
* @memberof InlineObject | ||
* Address of the token | ||
* @type {string} | ||
* @memberof Def2 | ||
*/ | ||
route: Def1; | ||
id?: string; | ||
/** | ||
* Wrap/unwrap SOL | ||
* @type {boolean} | ||
* @memberof InlineObject | ||
* Symbol of the token | ||
* @type {string} | ||
* @memberof Def2 | ||
*/ | ||
wrapUnwrapSOL?: boolean; | ||
mintSymbol?: string; | ||
/** | ||
* fee account | ||
* Address of the vs token | ||
* @type {string} | ||
* @memberof InlineObject | ||
* @memberof Def2 | ||
*/ | ||
feeAccount?: string; | ||
vsToken?: string; | ||
/** | ||
* custom token ledger account | ||
* Symbol of the vs token | ||
* @type {string} | ||
* @memberof InlineObject | ||
* @memberof Def2 | ||
*/ | ||
tokenLedger?: string; | ||
vsTokenSymbol?: string; | ||
/** | ||
* Public key of the user | ||
* @type {string} | ||
* @memberof InlineObject | ||
* Default to 1 unit of the token worth in USDC if vsToken is not specified. | ||
* @type {number} | ||
* @memberof Def2 | ||
*/ | ||
userPublicKey: string; | ||
price?: number; | ||
} | ||
declare function InlineObjectFromJSON(json: any): InlineObject; | ||
declare function InlineObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject; | ||
declare function InlineObjectToJSON(value?: InlineObject | null): any; | ||
declare function Def2FromJSON(json: any): Def2; | ||
declare function Def2FromJSONTyped(json: any, ignoreDiscriminator: boolean): Def2; | ||
declare function Def2ToJSON(value?: Def2 | null): any; | ||
@@ -494,42 +551,43 @@ /** | ||
*/ | ||
/** | ||
* | ||
* @export | ||
* @interface InlineResponse200Data | ||
* @interface InlineObject | ||
*/ | ||
interface InlineResponse200Data { | ||
interface InlineObject { | ||
/** | ||
* Address of the token | ||
* @type {string} | ||
* @memberof InlineResponse200Data | ||
* | ||
* @type {Def1} | ||
* @memberof InlineObject | ||
*/ | ||
id?: string; | ||
route: Def1; | ||
/** | ||
* Symbol of the token | ||
* Public key of the user | ||
* @type {string} | ||
* @memberof InlineResponse200Data | ||
* @memberof InlineObject | ||
*/ | ||
mintSymbol?: string; | ||
userPublicKey: string; | ||
/** | ||
* Address of the vs token | ||
* @type {string} | ||
* @memberof InlineResponse200Data | ||
* Wrap/unwrap SOL | ||
* @type {boolean} | ||
* @memberof InlineObject | ||
*/ | ||
vsToken?: string; | ||
wrapUnwrapSOL?: boolean; | ||
/** | ||
* Symbol of the vs token | ||
* Fee token account for the output token (only pass in if you set a feeBps) | ||
* @type {string} | ||
* @memberof InlineResponse200Data | ||
* @memberof InlineObject | ||
*/ | ||
vsTokenSymbol?: string; | ||
feeAccount?: string; | ||
/** | ||
* Default to 1 unit of the token worth in USDC if vsToken is not specified. | ||
* @type {number} | ||
* @memberof InlineResponse200Data | ||
* Public key of the wallet that will receive the output of the swap, this assumes the associated token account exists, currently adds a token transfer | ||
* @type {string} | ||
* @memberof InlineObject | ||
*/ | ||
price?: number; | ||
destinationWallet?: string; | ||
} | ||
declare function InlineResponse200DataFromJSON(json: any): InlineResponse200Data; | ||
declare function InlineResponse200DataFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse200Data; | ||
declare function InlineResponse200DataToJSON(value?: InlineResponse200Data | null): any; | ||
declare function InlineObjectFromJSON(json: any): InlineObject; | ||
declare function InlineObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject; | ||
declare function InlineObjectToJSON(value?: InlineObject | null): any; | ||
@@ -549,3 +607,3 @@ /** | ||
/** | ||
* Default response with id | ||
* Default response with ids which return an object. Refer to Price hash model below. If the id is invalid, it will not return in the hash. | ||
* @export | ||
@@ -557,6 +615,8 @@ * @interface InlineResponse200 | ||
* | ||
* @type {InlineResponse200Data} | ||
* @type {{ [key: string]: Def2; }} | ||
* @memberof InlineResponse200 | ||
*/ | ||
data?: InlineResponse200Data; | ||
data?: { | ||
[key: string]: Def2; | ||
}; | ||
/** | ||
@@ -568,2 +628,8 @@ * | ||
timeTaken?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof InlineResponse200 | ||
*/ | ||
contextSlot?: number; | ||
} | ||
@@ -599,6 +665,6 @@ declare function InlineResponse200FromJSON(json: any): InlineResponse200; | ||
* List of addresses for the symbol | ||
* @type {Array<object>} | ||
* @type {Array<string>} | ||
* @memberof InlineResponse409Data | ||
*/ | ||
addresses?: Array<object>; | ||
addresses?: Array<string>; | ||
} | ||
@@ -673,33 +739,39 @@ declare function InlineResponse409DataFromJSON(json: any): InlineResponse409Data; | ||
*/ | ||
amount?: number; | ||
priceImpactPct: number; | ||
/** | ||
* The minimum out amount, populated when swapMode is ExactIn, deprecated please use otherAmountThreshold instead | ||
* @type {number} | ||
* | ||
* @type {Array<InlineResponseDefaultMarketInfos>} | ||
* @memberof InlineResponseDefaultData | ||
*/ | ||
outAmountWithSlippage?: number; | ||
marketInfos: Array<InlineResponseDefaultMarketInfos>; | ||
/** | ||
* The threshold for the swap based on the provided slippage: when swapMode is ExactIn the minimum out amount, when swapMode is ExactOut the maximum in amount | ||
* | ||
* @type {number} | ||
* @memberof InlineResponseDefaultData | ||
*/ | ||
otherAmountThreshold?: number; | ||
amount: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @type {number} | ||
* @memberof InlineResponseDefaultData | ||
*/ | ||
swapMode?: InlineResponseDefaultDataSwapModeEnum; | ||
slippageBps: number; | ||
/** | ||
* | ||
* The threshold for the swap based on the provided slippage: when swapMode is ExactIn the minimum out amount, when swapMode is ExactOut the maximum in amount | ||
* @type {number} | ||
* @memberof InlineResponseDefaultData | ||
*/ | ||
priceImpactPct: number; | ||
otherAmountThreshold: number; | ||
/** | ||
* | ||
* @type {Array<InlineResponseDefaultMarketInfos>} | ||
* @type {string} | ||
* @memberof InlineResponseDefaultData | ||
*/ | ||
marketInfos: Array<InlineResponseDefaultMarketInfos>; | ||
swapMode: InlineResponseDefaultDataSwapModeEnum; | ||
/** | ||
* | ||
* @type {InlineResponseDefaultFees} | ||
* @memberof InlineResponseDefaultData | ||
*/ | ||
fees?: InlineResponseDefaultFees; | ||
} | ||
@@ -748,2 +820,8 @@ /** | ||
timeTaken?: number; | ||
/** | ||
* | ||
* @type {number} | ||
* @memberof InlineResponseDefault | ||
*/ | ||
contextSlot?: number; | ||
} | ||
@@ -842,20 +920,21 @@ declare function InlineResponseDefaultFromJSON(json: any): InlineResponseDefault; | ||
interface V1IndexedRouteMapGetRequest { | ||
interface V3IndexedRouteMapGetRequest { | ||
onlyDirectRoutes?: boolean; | ||
} | ||
interface V1PriceGetRequest { | ||
id: string; | ||
interface V3PriceGetRequest { | ||
ids: string; | ||
vsToken?: string; | ||
amount?: number; | ||
vsAmount?: number; | ||
} | ||
interface V1QuoteGetRequest { | ||
interface V3QuoteGetRequest { | ||
inputMint: string; | ||
outputMint: string; | ||
amount: number; | ||
swapMode?: V1QuoteGetSwapModeEnum; | ||
slippage?: number; | ||
swapMode?: V3QuoteGetSwapModeEnum; | ||
slippageBps?: number; | ||
feeBps?: number; | ||
onlyDirectRoutes?: boolean; | ||
userPublicKey?: string; | ||
} | ||
interface V1SwapPostRequest { | ||
interface V3SwapPostRequest { | ||
body?: InlineObject; | ||
@@ -870,7 +949,7 @@ } | ||
*/ | ||
v1IndexedRouteMapGetRaw(requestParameters: V1IndexedRouteMapGetRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponseDefault2>>; | ||
v3IndexedRouteMapGetRaw(requestParameters: V3IndexedRouteMapGetRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponseDefault2>>; | ||
/** | ||
* Returns a hash map, input mint as key and an array of valid output mint as values, token mints are indexed to reduce the file size | ||
*/ | ||
v1IndexedRouteMapGet(requestParameters?: V1IndexedRouteMapGetRequest, initOverrides?: RequestInit): Promise<InlineResponseDefault2>; | ||
v3IndexedRouteMapGet(requestParameters?: V3IndexedRouteMapGetRequest, initOverrides?: RequestInit): Promise<InlineResponseDefault2>; | ||
/** | ||
@@ -880,3 +959,3 @@ * Get simple price for a given input mint, output mint and amount | ||
*/ | ||
v1PriceGetRaw(requestParameters: V1PriceGetRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponse200>>; | ||
v3PriceGetRaw(requestParameters: V3PriceGetRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponse200>>; | ||
/** | ||
@@ -886,3 +965,3 @@ * Get simple price for a given input mint, output mint and amount | ||
*/ | ||
v1PriceGet(requestParameters: V1PriceGetRequest, initOverrides?: RequestInit): Promise<InlineResponse200>; | ||
v3PriceGet(requestParameters: V3PriceGetRequest, initOverrides?: RequestInit): Promise<InlineResponse200>; | ||
/** | ||
@@ -892,3 +971,3 @@ * Get quote for a given input mint, output mint and amount | ||
*/ | ||
v1QuoteGetRaw(requestParameters: V1QuoteGetRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponseDefault>>; | ||
v3QuoteGetRaw(requestParameters: V3QuoteGetRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponseDefault>>; | ||
/** | ||
@@ -898,16 +977,8 @@ * Get quote for a given input mint, output mint and amount | ||
*/ | ||
v1QuoteGet(requestParameters: V1QuoteGetRequest, initOverrides?: RequestInit): Promise<InlineResponseDefault>; | ||
v3QuoteGet(requestParameters: V3QuoteGetRequest, initOverrides?: RequestInit): Promise<InlineResponseDefault>; | ||
/** | ||
* [DEPRECATED] use /indexed-route-map Returns a hash map, input mint as key and an array of valid output mint as values | ||
*/ | ||
v1RouteMapGetRaw(initOverrides?: RequestInit): Promise<ApiResponse<void>>; | ||
/** | ||
* [DEPRECATED] use /indexed-route-map Returns a hash map, input mint as key and an array of valid output mint as values | ||
*/ | ||
v1RouteMapGet(initOverrides?: RequestInit): Promise<void>; | ||
/** | ||
* Get swap serialized transactions for a route | ||
* Return setup, swap and cleanup transactions | ||
*/ | ||
v1SwapPostRaw(requestParameters: V1SwapPostRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponseDefault1>>; | ||
v3SwapPostRaw(requestParameters: V3SwapPostRequest, initOverrides?: RequestInit): Promise<ApiResponse<InlineResponseDefault1>>; | ||
/** | ||
@@ -917,3 +988,3 @@ * Get swap serialized transactions for a route | ||
*/ | ||
v1SwapPost(requestParameters?: V1SwapPostRequest, initOverrides?: RequestInit): Promise<InlineResponseDefault1>; | ||
v3SwapPost(requestParameters?: V3SwapPostRequest, initOverrides?: RequestInit): Promise<InlineResponseDefault1>; | ||
} | ||
@@ -924,3 +995,3 @@ /** | ||
*/ | ||
declare enum V1QuoteGetSwapModeEnum { | ||
declare enum V3QuoteGetSwapModeEnum { | ||
ExactIn = "ExactIn", | ||
@@ -930,2 +1001,2 @@ ExactOut = "ExactOut" | ||
export { ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, ConfigurationParameters, Consume, Def0, Def0FromJSON, Def0FromJSONTyped, Def0ToJSON, Def1, Def1FromJSON, Def1FromJSONTyped, Def1SwapModeEnum, Def1ToJSON, DefaultApi, FetchAPI, FetchParams, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, InlineObject, InlineObjectFromJSON, InlineObjectFromJSONTyped, InlineObjectToJSON, InlineResponse200, InlineResponse200Data, InlineResponse200DataFromJSON, InlineResponse200DataFromJSONTyped, InlineResponse200DataToJSON, InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON, InlineResponse409, InlineResponse409Data, InlineResponse409DataFromJSON, InlineResponse409DataFromJSONTyped, InlineResponse409DataToJSON, InlineResponse409FromJSON, InlineResponse409FromJSONTyped, InlineResponse409ToJSON, InlineResponseDefault, InlineResponseDefault1, InlineResponseDefault1FromJSON, InlineResponseDefault1FromJSONTyped, InlineResponseDefault1ToJSON, InlineResponseDefault2, InlineResponseDefault2FromJSON, InlineResponseDefault2FromJSONTyped, InlineResponseDefault2ToJSON, InlineResponseDefaultData, InlineResponseDefaultDataFromJSON, InlineResponseDefaultDataFromJSONTyped, InlineResponseDefaultDataSwapModeEnum, InlineResponseDefaultDataToJSON, InlineResponseDefaultFromJSON, InlineResponseDefaultFromJSONTyped, InlineResponseDefaultLpFee, InlineResponseDefaultLpFeeFromJSON, InlineResponseDefaultLpFeeFromJSONTyped, InlineResponseDefaultLpFeeToJSON, InlineResponseDefaultMarketInfos, InlineResponseDefaultMarketInfosFromJSON, InlineResponseDefaultMarketInfosFromJSONTyped, InlineResponseDefaultMarketInfosToJSON, InlineResponseDefaultToJSON, JSONApiResponse, Json, Middleware, ModelPropertyNaming, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseTransformer, TextApiResponse, V1IndexedRouteMapGetRequest, V1PriceGetRequest, V1QuoteGetRequest, V1QuoteGetSwapModeEnum, V1SwapPostRequest, VoidApiResponse, canConsumeForm, exists, mapValues, querystring }; | ||
export { ApiResponse, BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, ConfigurationParameters, Consume, Def0, Def0FromJSON, Def0FromJSONTyped, Def0ToJSON, Def1, Def1FromJSON, Def1FromJSONTyped, Def1SwapModeEnum, Def1ToJSON, Def2, Def2FromJSON, Def2FromJSONTyped, Def2ToJSON, DefaultApi, FetchAPI, FetchParams, HTTPBody, HTTPHeaders, HTTPMethod, HTTPQuery, InlineObject, InlineObjectFromJSON, InlineObjectFromJSONTyped, InlineObjectToJSON, InlineResponse200, InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON, InlineResponse409, InlineResponse409Data, InlineResponse409DataFromJSON, InlineResponse409DataFromJSONTyped, InlineResponse409DataToJSON, InlineResponse409FromJSON, InlineResponse409FromJSONTyped, InlineResponse409ToJSON, InlineResponseDefault, InlineResponseDefault1, InlineResponseDefault1FromJSON, InlineResponseDefault1FromJSONTyped, InlineResponseDefault1ToJSON, InlineResponseDefault2, InlineResponseDefault2FromJSON, InlineResponseDefault2FromJSONTyped, InlineResponseDefault2ToJSON, InlineResponseDefaultData, InlineResponseDefaultDataFromJSON, InlineResponseDefaultDataFromJSONTyped, InlineResponseDefaultDataSwapModeEnum, InlineResponseDefaultDataToJSON, InlineResponseDefaultFees, InlineResponseDefaultFeesFromJSON, InlineResponseDefaultFeesFromJSONTyped, InlineResponseDefaultFeesToJSON, InlineResponseDefaultFromJSON, InlineResponseDefaultFromJSONTyped, InlineResponseDefaultLpFee, InlineResponseDefaultLpFeeFromJSON, InlineResponseDefaultLpFeeFromJSONTyped, InlineResponseDefaultLpFeeToJSON, InlineResponseDefaultMarketInfos, InlineResponseDefaultMarketInfosFromJSON, InlineResponseDefaultMarketInfosFromJSONTyped, InlineResponseDefaultMarketInfosToJSON, InlineResponseDefaultToJSON, JSONApiResponse, Json, Middleware, ModelPropertyNaming, RequestContext, RequestOpts, RequiredError, ResponseContext, ResponseTransformer, TextApiResponse, V3IndexedRouteMapGetRequest, V3PriceGetRequest, V3QuoteGetRequest, V3QuoteGetSwapModeEnum, V3SwapPostRequest, VoidApiResponse, canConsumeForm, exists, mapValues, querystring }; |
@@ -0,22 +1,6 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __defProps = Object.defineProperties; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropDescs = Object.getOwnPropertyDescriptors; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __getOwnPropSymbols = Object.getOwnPropertySymbols; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __propIsEnum = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
if (__hasOwnProp.call(b, prop)) | ||
__defNormalProp(a, prop, b[prop]); | ||
if (__getOwnPropSymbols) | ||
for (var prop of __getOwnPropSymbols(b)) { | ||
if (__propIsEnum.call(b, prop)) | ||
__defNormalProp(a, prop, b[prop]); | ||
} | ||
return a; | ||
}; | ||
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); | ||
var __export = (target, all) => { | ||
@@ -51,2 +35,5 @@ for (var name in all) | ||
Def1ToJSON: () => Def1ToJSON, | ||
Def2FromJSON: () => Def2FromJSON, | ||
Def2FromJSONTyped: () => Def2FromJSONTyped, | ||
Def2ToJSON: () => Def2ToJSON, | ||
DefaultApi: () => DefaultApi, | ||
@@ -56,5 +43,2 @@ InlineObjectFromJSON: () => InlineObjectFromJSON, | ||
InlineObjectToJSON: () => InlineObjectToJSON, | ||
InlineResponse200DataFromJSON: () => InlineResponse200DataFromJSON, | ||
InlineResponse200DataFromJSONTyped: () => InlineResponse200DataFromJSONTyped, | ||
InlineResponse200DataToJSON: () => InlineResponse200DataToJSON, | ||
InlineResponse200FromJSON: () => InlineResponse200FromJSON, | ||
@@ -79,2 +63,5 @@ InlineResponse200FromJSONTyped: () => InlineResponse200FromJSONTyped, | ||
InlineResponseDefaultDataToJSON: () => InlineResponseDefaultDataToJSON, | ||
InlineResponseDefaultFeesFromJSON: () => InlineResponseDefaultFeesFromJSON, | ||
InlineResponseDefaultFeesFromJSONTyped: () => InlineResponseDefaultFeesFromJSONTyped, | ||
InlineResponseDefaultFeesToJSON: () => InlineResponseDefaultFeesToJSON, | ||
InlineResponseDefaultFromJSON: () => InlineResponseDefaultFromJSON, | ||
@@ -92,3 +79,3 @@ InlineResponseDefaultFromJSONTyped: () => InlineResponseDefaultFromJSONTyped, | ||
TextApiResponse: () => TextApiResponse, | ||
V1QuoteGetSwapModeEnum: () => V1QuoteGetSwapModeEnum, | ||
V3QuoteGetSwapModeEnum: () => V3QuoteGetSwapModeEnum, | ||
VoidApiResponse: () => VoidApiResponse, | ||
@@ -112,5 +99,6 @@ canConsumeForm: () => canConsumeForm, | ||
if (middleware.pre) { | ||
fetchParams = await middleware.pre(__spreadValues({ | ||
fetch: this.fetchApi | ||
}, fetchParams)) || fetchParams; | ||
fetchParams = await middleware.pre({ | ||
fetch: this.fetchApi, | ||
...fetchParams | ||
}) || fetchParams; | ||
} | ||
@@ -161,8 +149,9 @@ } | ||
const headers = Object.assign({}, this.configuration.headers, context.headers); | ||
const init = __spreadValues({ | ||
const init = { | ||
method: context.method, | ||
headers, | ||
body, | ||
credentials: this.configuration.credentials | ||
}, initOverrides); | ||
credentials: this.configuration.credentials, | ||
...initOverrides | ||
}; | ||
return { url, init }; | ||
@@ -255,7 +244,10 @@ } | ||
function mapValues(data, fn) { | ||
return Object.keys(data).reduce((acc, key) => __spreadProps(__spreadValues({}, acc), { [key]: fn(data[key]) }), {}); | ||
return Object.keys(data).reduce( | ||
(acc, key) => ({ ...acc, [key]: fn(data[key]) }), | ||
{} | ||
); | ||
} | ||
function canConsumeForm(consumes) { | ||
for (const consume of consumes) { | ||
if (consume.contentType === "multipart/form-data") { | ||
if ("multipart/form-data" === consume.contentType) { | ||
return true; | ||
@@ -370,2 +362,34 @@ } | ||
// generated/models/InlineResponseDefaultFees.ts | ||
function InlineResponseDefaultFeesFromJSON(json) { | ||
return InlineResponseDefaultFeesFromJSONTyped(json, false); | ||
} | ||
function InlineResponseDefaultFeesFromJSONTyped(json, ignoreDiscriminator) { | ||
if (json === void 0 || json === null) { | ||
return json; | ||
} | ||
return { | ||
"signatureFee": !exists(json, "signatureFee") ? void 0 : json["signatureFee"], | ||
"openOrdersDeposits": !exists(json, "openOrdersDeposits") ? void 0 : json["openOrdersDeposits"], | ||
"ataDeposits": !exists(json, "ataDeposits") ? void 0 : json["ataDeposits"], | ||
"totalFeeAndDeposits": !exists(json, "totalFeeAndDeposits") ? void 0 : json["totalFeeAndDeposits"], | ||
"minimumSOLForTransaction": !exists(json, "minimumSOLForTransaction") ? void 0 : json["minimumSOLForTransaction"] | ||
}; | ||
} | ||
function InlineResponseDefaultFeesToJSON(value) { | ||
if (value === void 0) { | ||
return void 0; | ||
} | ||
if (value === null) { | ||
return null; | ||
} | ||
return { | ||
"signatureFee": value.signatureFee, | ||
"openOrdersDeposits": value.openOrdersDeposits, | ||
"ataDeposits": value.ataDeposits, | ||
"totalFeeAndDeposits": value.totalFeeAndDeposits, | ||
"minimumSOLForTransaction": value.minimumSOLForTransaction | ||
}; | ||
} | ||
// generated/models/InlineResponseDefaultMarketInfos.ts | ||
@@ -429,8 +453,9 @@ function InlineResponseDefaultMarketInfosFromJSON(json) { | ||
"outAmount": json["outAmount"], | ||
"amount": !exists(json, "amount") ? void 0 : json["amount"], | ||
"outAmountWithSlippage": !exists(json, "outAmountWithSlippage") ? void 0 : json["outAmountWithSlippage"], | ||
"otherAmountThreshold": !exists(json, "otherAmountThreshold") ? void 0 : json["otherAmountThreshold"], | ||
"swapMode": !exists(json, "swapMode") ? void 0 : json["swapMode"], | ||
"priceImpactPct": json["priceImpactPct"], | ||
"marketInfos": json["marketInfos"].map(InlineResponseDefaultMarketInfosFromJSON) | ||
"marketInfos": json["marketInfos"].map(InlineResponseDefaultMarketInfosFromJSON), | ||
"amount": json["amount"], | ||
"slippageBps": json["slippageBps"], | ||
"otherAmountThreshold": json["otherAmountThreshold"], | ||
"swapMode": json["swapMode"], | ||
"fees": !exists(json, "fees") ? void 0 : InlineResponseDefaultFeesFromJSON(json["fees"]) | ||
}; | ||
@@ -448,16 +473,17 @@ } | ||
"outAmount": value.outAmount, | ||
"priceImpactPct": value.priceImpactPct, | ||
"marketInfos": value.marketInfos.map(InlineResponseDefaultMarketInfosToJSON), | ||
"amount": value.amount, | ||
"outAmountWithSlippage": value.outAmountWithSlippage, | ||
"slippageBps": value.slippageBps, | ||
"otherAmountThreshold": value.otherAmountThreshold, | ||
"swapMode": value.swapMode, | ||
"priceImpactPct": value.priceImpactPct, | ||
"marketInfos": value.marketInfos.map(InlineResponseDefaultMarketInfosToJSON) | ||
"fees": InlineResponseDefaultFeesToJSON(value.fees) | ||
}; | ||
} | ||
// generated/models/InlineObject.ts | ||
function InlineObjectFromJSON(json) { | ||
return InlineObjectFromJSONTyped(json, false); | ||
// generated/models/Def2.ts | ||
function Def2FromJSON(json) { | ||
return Def2FromJSONTyped(json, false); | ||
} | ||
function InlineObjectFromJSONTyped(json, ignoreDiscriminator) { | ||
function Def2FromJSONTyped(json, ignoreDiscriminator) { | ||
if (json === void 0 || json === null) { | ||
@@ -467,10 +493,10 @@ return json; | ||
return { | ||
"route": Def1FromJSON(json["route"]), | ||
"wrapUnwrapSOL": !exists(json, "wrapUnwrapSOL") ? void 0 : json["wrapUnwrapSOL"], | ||
"feeAccount": !exists(json, "feeAccount") ? void 0 : json["feeAccount"], | ||
"tokenLedger": !exists(json, "tokenLedger") ? void 0 : json["tokenLedger"], | ||
"userPublicKey": json["userPublicKey"] | ||
"id": !exists(json, "id") ? void 0 : json["id"], | ||
"mintSymbol": !exists(json, "mintSymbol") ? void 0 : json["mintSymbol"], | ||
"vsToken": !exists(json, "vsToken") ? void 0 : json["vsToken"], | ||
"vsTokenSymbol": !exists(json, "vsTokenSymbol") ? void 0 : json["vsTokenSymbol"], | ||
"price": !exists(json, "price") ? void 0 : json["price"] | ||
}; | ||
} | ||
function InlineObjectToJSON(value) { | ||
function Def2ToJSON(value) { | ||
if (value === void 0) { | ||
@@ -483,15 +509,15 @@ return void 0; | ||
return { | ||
"route": Def1ToJSON(value.route), | ||
"wrapUnwrapSOL": value.wrapUnwrapSOL, | ||
"feeAccount": value.feeAccount, | ||
"tokenLedger": value.tokenLedger, | ||
"userPublicKey": value.userPublicKey | ||
"id": value.id, | ||
"mintSymbol": value.mintSymbol, | ||
"vsToken": value.vsToken, | ||
"vsTokenSymbol": value.vsTokenSymbol, | ||
"price": value.price | ||
}; | ||
} | ||
// generated/models/InlineResponse200Data.ts | ||
function InlineResponse200DataFromJSON(json) { | ||
return InlineResponse200DataFromJSONTyped(json, false); | ||
// generated/models/InlineObject.ts | ||
function InlineObjectFromJSON(json) { | ||
return InlineObjectFromJSONTyped(json, false); | ||
} | ||
function InlineResponse200DataFromJSONTyped(json, ignoreDiscriminator) { | ||
function InlineObjectFromJSONTyped(json, ignoreDiscriminator) { | ||
if (json === void 0 || json === null) { | ||
@@ -501,10 +527,10 @@ return json; | ||
return { | ||
"id": !exists(json, "id") ? void 0 : json["id"], | ||
"mintSymbol": !exists(json, "mintSymbol") ? void 0 : json["mintSymbol"], | ||
"vsToken": !exists(json, "vsToken") ? void 0 : json["vsToken"], | ||
"vsTokenSymbol": !exists(json, "vsTokenSymbol") ? void 0 : json["vsTokenSymbol"], | ||
"price": !exists(json, "price") ? void 0 : json["price"] | ||
"route": Def1FromJSON(json["route"]), | ||
"userPublicKey": json["userPublicKey"], | ||
"wrapUnwrapSOL": !exists(json, "wrapUnwrapSOL") ? void 0 : json["wrapUnwrapSOL"], | ||
"feeAccount": !exists(json, "feeAccount") ? void 0 : json["feeAccount"], | ||
"destinationWallet": !exists(json, "destinationWallet") ? void 0 : json["destinationWallet"] | ||
}; | ||
} | ||
function InlineResponse200DataToJSON(value) { | ||
function InlineObjectToJSON(value) { | ||
if (value === void 0) { | ||
@@ -517,7 +543,7 @@ return void 0; | ||
return { | ||
"id": value.id, | ||
"mintSymbol": value.mintSymbol, | ||
"vsToken": value.vsToken, | ||
"vsTokenSymbol": value.vsTokenSymbol, | ||
"price": value.price | ||
"route": Def1ToJSON(value.route), | ||
"userPublicKey": value.userPublicKey, | ||
"wrapUnwrapSOL": value.wrapUnwrapSOL, | ||
"feeAccount": value.feeAccount, | ||
"destinationWallet": value.destinationWallet | ||
}; | ||
@@ -535,4 +561,5 @@ } | ||
return { | ||
"data": !exists(json, "data") ? void 0 : InlineResponse200DataFromJSON(json["data"]), | ||
"timeTaken": !exists(json, "timeTaken") ? void 0 : json["timeTaken"] | ||
"data": !exists(json, "data") ? void 0 : mapValues(json["data"], Def2FromJSON), | ||
"timeTaken": !exists(json, "timeTaken") ? void 0 : json["timeTaken"], | ||
"contextSlot": !exists(json, "contextSlot") ? void 0 : json["contextSlot"] | ||
}; | ||
@@ -548,4 +575,5 @@ } | ||
return { | ||
"data": InlineResponse200DataToJSON(value.data), | ||
"timeTaken": value.timeTaken | ||
"data": value.data === void 0 ? void 0 : mapValues(value.data, Def2ToJSON), | ||
"timeTaken": value.timeTaken, | ||
"contextSlot": value.contextSlot | ||
}; | ||
@@ -620,8 +648,9 @@ } | ||
"outAmount": json["outAmount"], | ||
"amount": !exists(json, "amount") ? void 0 : json["amount"], | ||
"outAmountWithSlippage": !exists(json, "outAmountWithSlippage") ? void 0 : json["outAmountWithSlippage"], | ||
"otherAmountThreshold": !exists(json, "otherAmountThreshold") ? void 0 : json["otherAmountThreshold"], | ||
"swapMode": !exists(json, "swapMode") ? void 0 : json["swapMode"], | ||
"priceImpactPct": json["priceImpactPct"], | ||
"marketInfos": json["marketInfos"].map(InlineResponseDefaultMarketInfosFromJSON) | ||
"marketInfos": json["marketInfos"].map(InlineResponseDefaultMarketInfosFromJSON), | ||
"amount": json["amount"], | ||
"slippageBps": json["slippageBps"], | ||
"otherAmountThreshold": json["otherAmountThreshold"], | ||
"swapMode": json["swapMode"], | ||
"fees": !exists(json, "fees") ? void 0 : InlineResponseDefaultFeesFromJSON(json["fees"]) | ||
}; | ||
@@ -639,8 +668,9 @@ } | ||
"outAmount": value.outAmount, | ||
"priceImpactPct": value.priceImpactPct, | ||
"marketInfos": value.marketInfos.map(InlineResponseDefaultMarketInfosToJSON), | ||
"amount": value.amount, | ||
"outAmountWithSlippage": value.outAmountWithSlippage, | ||
"slippageBps": value.slippageBps, | ||
"otherAmountThreshold": value.otherAmountThreshold, | ||
"swapMode": value.swapMode, | ||
"priceImpactPct": value.priceImpactPct, | ||
"marketInfos": value.marketInfos.map(InlineResponseDefaultMarketInfosToJSON) | ||
"fees": InlineResponseDefaultFeesToJSON(value.fees) | ||
}; | ||
@@ -659,3 +689,4 @@ } | ||
"data": !exists(json, "data") ? void 0 : json["data"].map(InlineResponseDefaultDataFromJSON), | ||
"timeTaken": !exists(json, "timeTaken") ? void 0 : json["timeTaken"] | ||
"timeTaken": !exists(json, "timeTaken") ? void 0 : json["timeTaken"], | ||
"contextSlot": !exists(json, "contextSlot") ? void 0 : json["contextSlot"] | ||
}; | ||
@@ -672,3 +703,4 @@ } | ||
"data": value.data === void 0 ? void 0 : value.data.map(InlineResponseDefaultDataToJSON), | ||
"timeTaken": value.timeTaken | ||
"timeTaken": value.timeTaken, | ||
"contextSlot": value.contextSlot | ||
}; | ||
@@ -733,3 +765,3 @@ } | ||
var DefaultApi = class extends BaseAPI { | ||
async v1IndexedRouteMapGetRaw(requestParameters, initOverrides) { | ||
async v3IndexedRouteMapGetRaw(requestParameters, initOverrides) { | ||
const queryParameters = {}; | ||
@@ -741,3 +773,3 @@ if (requestParameters.onlyDirectRoutes !== void 0) { | ||
const response = await this.request({ | ||
path: `/v1/indexed-route-map`, | ||
path: `/v3/indexed-route-map`, | ||
method: "GET", | ||
@@ -749,13 +781,13 @@ headers: headerParameters, | ||
} | ||
async v1IndexedRouteMapGet(requestParameters = {}, initOverrides) { | ||
const response = await this.v1IndexedRouteMapGetRaw(requestParameters, initOverrides); | ||
async v3IndexedRouteMapGet(requestParameters = {}, initOverrides) { | ||
const response = await this.v3IndexedRouteMapGetRaw(requestParameters, initOverrides); | ||
return await response.value(); | ||
} | ||
async v1PriceGetRaw(requestParameters, initOverrides) { | ||
if (requestParameters.id === null || requestParameters.id === void 0) { | ||
throw new RequiredError("id", "Required parameter requestParameters.id was null or undefined when calling v1PriceGet."); | ||
async v3PriceGetRaw(requestParameters, initOverrides) { | ||
if (requestParameters.ids === null || requestParameters.ids === void 0) { | ||
throw new RequiredError("ids", "Required parameter requestParameters.ids was null or undefined when calling v3PriceGet."); | ||
} | ||
const queryParameters = {}; | ||
if (requestParameters.id !== void 0) { | ||
queryParameters["id"] = requestParameters.id; | ||
if (requestParameters.ids !== void 0) { | ||
queryParameters["ids"] = requestParameters.ids; | ||
} | ||
@@ -765,8 +797,8 @@ if (requestParameters.vsToken !== void 0) { | ||
} | ||
if (requestParameters.amount !== void 0) { | ||
queryParameters["amount"] = requestParameters.amount; | ||
if (requestParameters.vsAmount !== void 0) { | ||
queryParameters["vsAmount"] = requestParameters.vsAmount; | ||
} | ||
const headerParameters = {}; | ||
const response = await this.request({ | ||
path: `/v1/price`, | ||
path: `/v3/price`, | ||
method: "GET", | ||
@@ -778,15 +810,15 @@ headers: headerParameters, | ||
} | ||
async v1PriceGet(requestParameters, initOverrides) { | ||
const response = await this.v1PriceGetRaw(requestParameters, initOverrides); | ||
async v3PriceGet(requestParameters, initOverrides) { | ||
const response = await this.v3PriceGetRaw(requestParameters, initOverrides); | ||
return await response.value(); | ||
} | ||
async v1QuoteGetRaw(requestParameters, initOverrides) { | ||
async v3QuoteGetRaw(requestParameters, initOverrides) { | ||
if (requestParameters.inputMint === null || requestParameters.inputMint === void 0) { | ||
throw new RequiredError("inputMint", "Required parameter requestParameters.inputMint was null or undefined when calling v1QuoteGet."); | ||
throw new RequiredError("inputMint", "Required parameter requestParameters.inputMint was null or undefined when calling v3QuoteGet."); | ||
} | ||
if (requestParameters.outputMint === null || requestParameters.outputMint === void 0) { | ||
throw new RequiredError("outputMint", "Required parameter requestParameters.outputMint was null or undefined when calling v1QuoteGet."); | ||
throw new RequiredError("outputMint", "Required parameter requestParameters.outputMint was null or undefined when calling v3QuoteGet."); | ||
} | ||
if (requestParameters.amount === null || requestParameters.amount === void 0) { | ||
throw new RequiredError("amount", "Required parameter requestParameters.amount was null or undefined when calling v1QuoteGet."); | ||
throw new RequiredError("amount", "Required parameter requestParameters.amount was null or undefined when calling v3QuoteGet."); | ||
} | ||
@@ -806,4 +838,4 @@ const queryParameters = {}; | ||
} | ||
if (requestParameters.slippage !== void 0) { | ||
queryParameters["slippage"] = requestParameters.slippage; | ||
if (requestParameters.slippageBps !== void 0) { | ||
queryParameters["slippageBps"] = requestParameters.slippageBps; | ||
} | ||
@@ -816,5 +848,8 @@ if (requestParameters.feeBps !== void 0) { | ||
} | ||
if (requestParameters.userPublicKey !== void 0) { | ||
queryParameters["userPublicKey"] = requestParameters.userPublicKey; | ||
} | ||
const headerParameters = {}; | ||
const response = await this.request({ | ||
path: `/v1/quote`, | ||
path: `/v3/quote`, | ||
method: "GET", | ||
@@ -826,26 +861,12 @@ headers: headerParameters, | ||
} | ||
async v1QuoteGet(requestParameters, initOverrides) { | ||
const response = await this.v1QuoteGetRaw(requestParameters, initOverrides); | ||
async v3QuoteGet(requestParameters, initOverrides) { | ||
const response = await this.v3QuoteGetRaw(requestParameters, initOverrides); | ||
return await response.value(); | ||
} | ||
async v1RouteMapGetRaw(initOverrides) { | ||
async v3SwapPostRaw(requestParameters, initOverrides) { | ||
const queryParameters = {}; | ||
const headerParameters = {}; | ||
const response = await this.request({ | ||
path: `/v1/route-map`, | ||
method: "GET", | ||
headers: headerParameters, | ||
query: queryParameters | ||
}, initOverrides); | ||
return new VoidApiResponse(response); | ||
} | ||
async v1RouteMapGet(initOverrides) { | ||
await this.v1RouteMapGetRaw(initOverrides); | ||
} | ||
async v1SwapPostRaw(requestParameters, initOverrides) { | ||
const queryParameters = {}; | ||
const headerParameters = {}; | ||
headerParameters["Content-Type"] = "application/json"; | ||
const response = await this.request({ | ||
path: `/v1/swap`, | ||
path: `/v3/swap`, | ||
method: "POST", | ||
@@ -858,12 +879,12 @@ headers: headerParameters, | ||
} | ||
async v1SwapPost(requestParameters = {}, initOverrides) { | ||
const response = await this.v1SwapPostRaw(requestParameters, initOverrides); | ||
async v3SwapPost(requestParameters = {}, initOverrides) { | ||
const response = await this.v3SwapPostRaw(requestParameters, initOverrides); | ||
return await response.value(); | ||
} | ||
}; | ||
var V1QuoteGetSwapModeEnum = /* @__PURE__ */ ((V1QuoteGetSwapModeEnum2) => { | ||
V1QuoteGetSwapModeEnum2["ExactIn"] = "ExactIn"; | ||
V1QuoteGetSwapModeEnum2["ExactOut"] = "ExactOut"; | ||
return V1QuoteGetSwapModeEnum2; | ||
})(V1QuoteGetSwapModeEnum || {}); | ||
var V3QuoteGetSwapModeEnum = /* @__PURE__ */ ((V3QuoteGetSwapModeEnum2) => { | ||
V3QuoteGetSwapModeEnum2["ExactIn"] = "ExactIn"; | ||
V3QuoteGetSwapModeEnum2["ExactOut"] = "ExactOut"; | ||
return V3QuoteGetSwapModeEnum2; | ||
})(V3QuoteGetSwapModeEnum || {}); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -883,2 +904,5 @@ 0 && (module.exports = { | ||
Def1ToJSON, | ||
Def2FromJSON, | ||
Def2FromJSONTyped, | ||
Def2ToJSON, | ||
DefaultApi, | ||
@@ -888,5 +912,2 @@ InlineObjectFromJSON, | ||
InlineObjectToJSON, | ||
InlineResponse200DataFromJSON, | ||
InlineResponse200DataFromJSONTyped, | ||
InlineResponse200DataToJSON, | ||
InlineResponse200FromJSON, | ||
@@ -911,2 +932,5 @@ InlineResponse200FromJSONTyped, | ||
InlineResponseDefaultDataToJSON, | ||
InlineResponseDefaultFeesFromJSON, | ||
InlineResponseDefaultFeesFromJSONTyped, | ||
InlineResponseDefaultFeesToJSON, | ||
InlineResponseDefaultFromJSON, | ||
@@ -924,3 +948,3 @@ InlineResponseDefaultFromJSONTyped, | ||
TextApiResponse, | ||
V1QuoteGetSwapModeEnum, | ||
V3QuoteGetSwapModeEnum, | ||
VoidApiResponse, | ||
@@ -927,0 +951,0 @@ canConsumeForm, |
{ | ||
"name": "@jup-ag/api", | ||
"version": "0.0.5", | ||
"version": "3.0.0", | ||
"description": "## Generate typescript types from swagger schema", | ||
@@ -8,14 +8,8 @@ "main": "dist/index.js", | ||
"typings": "dist/index.d.ts", | ||
"scripts": { | ||
"start": "ts-node ./example/index.ts", | ||
"build": "tsup generated/index.ts --dts --format esm,cjs", | ||
"openapi-gen": "openapi-generator-cli generate -i swagger.json -o generated -g typescript-fetch --skip-validate-spec --additional-properties=typescriptThreePlus=true" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"dependencies": { | ||
"cross-fetch": "^3.1.5" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@openapitools/openapi-generator-cli": "^2.4.26", | ||
"@openapitools/openapi-generator-cli": "^2.5.2", | ||
"cross-fetch": "^3.1.5", | ||
"ts-node": "^10.5.0", | ||
@@ -27,3 +21,8 @@ "tsup": "^5.12.1", | ||
"dist" | ||
] | ||
} | ||
], | ||
"scripts": { | ||
"start": "ts-node ./example/index.ts", | ||
"build": "tsup generated/index.ts --dts --format esm,cjs", | ||
"openapi-gen": "openapi-generator-cli generate -i swagger.json -o generated -g typescript-fetch --skip-validate-spec --additional-properties=typescriptThreePlus=true" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
88876
0
2692
1
5
3
0
- Removedcross-fetch@^3.1.5
- Removedcross-fetch@3.2.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removedtr46@0.0.3(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)