Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@orca-so/token-sdk

Package Overview
Dependencies
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@orca-so/token-sdk - npm Package Compare versions

Comparing version 0.3.5 to 0.4.0-alpha.0

8

dist/fetcher.js

@@ -33,3 +33,7 @@ "use strict";

(0, tiny_invariant_1.default)(mintInfo, "Mint not found");
this._cache.set(mintString, { mint: mintString, decimals: mintInfo.decimals });
this._cache.set(mintString, {
mint: mintString,
decimals: mintInfo.decimals,
tokenProgram: mintInfo.tokenProgram,
});
for (const provider of this.providers) {

@@ -64,2 +68,3 @@ try {

decimals: mintInfos[index].decimals,
tokenProgram: mintInfos[index].tokenProgram,
});

@@ -109,4 +114,5 @@ });

decimals: token.decimals,
tokenProgram: token.tokenProgram,
...metadata_1.MetadataUtil.merge(token, metadata),
};
}

@@ -6,2 +6,3 @@ import { Address } from "@orca-so/common-sdk";

decimals: number;
tokenProgram: Address;
} & Metadata;

@@ -8,0 +9,0 @@ export interface Mintlist {

8

package.json
{
"name": "@orca-so/token-sdk",
"version": "0.3.5",
"version": "0.4.0-alpha.0",
"description": "SPL Token Utilities",

@@ -11,5 +11,5 @@ "repository": "https://github.com/orca-so/orca-sdks",

"peerDependencies": {
"@orca-so/common-sdk": "^0.4.0",
"@solana/spl-token": "^0.3.8",
"@solana/web3.js": "^1.75.0"
"@orca-so/common-sdk": "^0.6.0-alpha.2",
"@solana/spl-token": "^0.4.1",
"@solana/web3.js": "^1.90.0"
},

@@ -16,0 +16,0 @@ "dependencies": {

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