@jup-ag/api
Advanced tools
Comparing version 6.0.36 to 6.0.37
@@ -637,8 +637,2 @@ /** | ||
timeTaken?: number; | ||
/** | ||
* | ||
* @type {string} | ||
* @memberof QuoteResponse | ||
*/ | ||
swapUsdValue?: string; | ||
} | ||
@@ -927,2 +921,8 @@ /** | ||
/** | ||
* Optional. Default to false. Add consensus account to (hopefully) prevent MEV attacks | ||
* @type {boolean} | ||
* @memberof SwapRequest | ||
*/ | ||
addConsensusAccount?: boolean; | ||
/** | ||
* | ||
@@ -929,0 +929,0 @@ * @type {QuoteResponse} |
@@ -763,4 +763,3 @@ "use strict"; | ||
"contextSlot": !exists(json, "contextSlot") ? void 0 : json["contextSlot"], | ||
"timeTaken": !exists(json, "timeTaken") ? void 0 : json["timeTaken"], | ||
"swapUsdValue": !exists(json, "swapUsdValue") ? void 0 : json["swapUsdValue"] | ||
"timeTaken": !exists(json, "timeTaken") ? void 0 : json["timeTaken"] | ||
}; | ||
@@ -788,4 +787,3 @@ } | ||
"contextSlot": value.contextSlot, | ||
"timeTaken": value.timeTaken, | ||
"swapUsdValue": value.swapUsdValue | ||
"timeTaken": value.timeTaken | ||
}; | ||
@@ -928,2 +926,3 @@ } | ||
"correctLastValidBlockHeight": !exists(json, "correctLastValidBlockHeight") ? void 0 : json["correctLastValidBlockHeight"], | ||
"addConsensusAccount": !exists(json, "addConsensusAccount") ? void 0 : json["addConsensusAccount"], | ||
"quoteResponse": QuoteResponseFromJSON(json["quoteResponse"]) | ||
@@ -957,2 +956,3 @@ }; | ||
"correctLastValidBlockHeight": value.correctLastValidBlockHeight, | ||
"addConsensusAccount": value.addConsensusAccount, | ||
"quoteResponse": QuoteResponseToJSON(value.quoteResponse) | ||
@@ -959,0 +959,0 @@ }; |
{ | ||
"name": "@jup-ag/api", | ||
"version": "6.0.36", | ||
"version": "6.0.37", | ||
"description": "## Generate typescript types from swagger schema", | ||
@@ -21,13 +21,13 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@openapitools/openapi-generator-cli": "^2.9.0", | ||
"@project-serum/anchor": "^0.26.0", | ||
"@solana/web3.js": "^1.87.6", | ||
"@types/promise-retry": "^1.1.3", | ||
"bs58": "^5.0.0", | ||
"promise-retry": "2.0.1", | ||
"@openapitools/openapi-generator-cli": "^2.9.0", | ||
"cross-fetch": "^3.1.5", | ||
"promise-retry": "2.0.1", | ||
"ts-node": "^10.5.0", | ||
"tsup": "^7.1.0", | ||
"typescript": "^5.1.6", | ||
"vitest": "^0.34.1" | ||
"vitest": "^0.34.1", | ||
"@types/promise-retry": "^1.1.3" | ||
}, | ||
@@ -34,0 +34,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Unstable ownership
Supply chain riskA new collaborator has begun publishing package versions. Package stability and security risk may be elevated.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
214506
1
3