@jup-ag/api
Advanced tools
Comparing version 6.0.3 to 6.0.4
@@ -517,3 +517,3 @@ /** | ||
*/ | ||
inAmount?: string; | ||
inAmount: string; | ||
/** | ||
@@ -520,0 +520,0 @@ * |
@@ -650,2 +650,3 @@ "use strict"; | ||
isInstance = isInstance && "inputMint" in value; | ||
isInstance = isInstance && "inAmount" in value; | ||
isInstance = isInstance && "outputMint" in value; | ||
@@ -669,3 +670,3 @@ isInstance = isInstance && "outAmount" in value; | ||
"inputMint": json["inputMint"], | ||
"inAmount": !exists(json, "inAmount") ? void 0 : json["inAmount"], | ||
"inAmount": json["inAmount"], | ||
"outputMint": json["outputMint"], | ||
@@ -672,0 +673,0 @@ "outAmount": json["outAmount"], |
{ | ||
"name": "@jup-ag/api", | ||
"version": "6.0.3", | ||
"version": "6.0.4", | ||
"description": "## Generate typescript types from swagger schema", | ||
@@ -9,10 +9,4 @@ "main": "dist/index.js", | ||
"sideEffects": false, | ||
"scripts": { | ||
"start": "ts-node ./example/index.ts", | ||
"build": "npm run openapi-gen && tsup src/index.ts --dts --format esm,cjs", | ||
"openapi-gen": "openapi-generator-cli generate -i swagger.yaml -o generated -g typescript-fetch --skip-validate-spec --additional-properties=supportsES6=true,typescriptThreePlus=true" | ||
}, | ||
"author": "", | ||
"license": "MIT", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -23,7 +17,14 @@ "@openapitools/openapi-generator-cli": "^2.7.0", | ||
"tsup": "^7.1.0", | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.1.6", | ||
"vitest": "^0.34.1" | ||
}, | ||
"files": [ | ||
"dist" | ||
] | ||
} | ||
], | ||
"scripts": { | ||
"start": "ts-node ./example/index.ts", | ||
"test": "vitest", | ||
"build": "npm run openapi-gen && tsup src/index.ts --dts --format esm,cjs", | ||
"openapi-gen": "openapi-generator-cli generate -i swagger.yaml -o generated -g typescript-fetch --skip-validate-spec --additional-properties=supportsES6=true,typescriptThreePlus=true" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
136106
2894
6