New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@jup-ag/api

Package Overview
Dependencies
Maintainers
6
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jup-ag/api - npm Package Compare versions

Comparing version 6.0.3 to 6.0.4

2

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc