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
5
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 3.0.3 to 3.0.4-alpha.0

20

dist/index.d.ts

@@ -604,2 +604,8 @@ /**

/**
* Request a legacy transaction rather than the default versioned transaction, needs to be paired with a quote using asLegacyTransaction otherwise the transaction might be too large
* @type {boolean}
* @memberof InlineObject
*/
asLegacyTransaction?: boolean;
/**
* 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

@@ -763,15 +769,3 @@ * @type {string}

*/
setupTransaction?: string;
/**
* Base64 encoded transaction
* @type {string}
* @memberof InlineResponse2001
*/
swapTransaction?: string;
/**
* Base64 encoded transaction
* @type {string}
* @memberof InlineResponse2001
*/
cleanupTransaction?: string;
}

@@ -953,3 +947,3 @@ declare function InlineResponse2001FromJSON(json: any): InlineResponse2001;

userPublicKey?: string;
enforceSingleTx?: boolean;
asLegacyTransaction?: boolean;
}

@@ -956,0 +950,0 @@ interface V3SwapPostRequest {

@@ -527,2 +527,3 @@ "use strict";

"feeAccount": !exists(json, "feeAccount") ? void 0 : json["feeAccount"],
"asLegacyTransaction": !exists(json, "asLegacyTransaction") ? void 0 : json["asLegacyTransaction"],
"destinationWallet": !exists(json, "destinationWallet") ? void 0 : json["destinationWallet"]

@@ -543,2 +544,3 @@ };

"feeAccount": value.feeAccount,
"asLegacyTransaction": value.asLegacyTransaction,
"destinationWallet": value.destinationWallet

@@ -630,5 +632,3 @@ };

return {
"setupTransaction": !exists(json, "setupTransaction") ? void 0 : json["setupTransaction"],
"swapTransaction": !exists(json, "swapTransaction") ? void 0 : json["swapTransaction"],
"cleanupTransaction": !exists(json, "cleanupTransaction") ? void 0 : json["cleanupTransaction"]
"swapTransaction": !exists(json, "swapTransaction") ? void 0 : json["swapTransaction"]
};

@@ -644,5 +644,3 @@ }

return {
"setupTransaction": value.setupTransaction,
"swapTransaction": value.swapTransaction,
"cleanupTransaction": value.cleanupTransaction
"swapTransaction": value.swapTransaction
};

@@ -837,4 +835,4 @@ }

}
if (requestParameters.enforceSingleTx !== void 0) {
queryParameters["enforceSingleTx"] = requestParameters.enforceSingleTx;
if (requestParameters.asLegacyTransaction !== void 0) {
queryParameters["asLegacyTransaction"] = requestParameters.asLegacyTransaction;
}

@@ -841,0 +839,0 @@ const headerParameters = {};

{
"name": "@jup-ag/api",
"version": "3.0.3",
"version": "3.0.4-alpha.0",
"description": "## Generate typescript types from swagger schema",

@@ -8,2 +8,7 @@ "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=supportsES6=true,typescriptThreePlus=true"
},
"author": "",

@@ -21,8 +26,3 @@ "license": "MIT",

"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=supportsES6=true,typescriptThreePlus=true"
}
}
]
}

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