Socket
Socket
Sign inDemoInstall

@solana/spl-token

Package Overview
Dependencies
Maintainers
6
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/spl-token - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

2

lib/index.cjs.js

@@ -40,2 +40,3 @@ 'use strict';

const TOKEN_PROGRAM_ID = new web3_js.PublicKey('TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA');
/**

@@ -1600,4 +1601,5 @@ * 64-bit value

exports.NATIVE_MINT = NATIVE_MINT;
exports.TOKEN_PROGRAM_ID = TOKEN_PROGRAM_ID;
exports.Token = Token;
exports.u64 = u64;
//# sourceMappingURL=index.cjs.js.map

@@ -14,2 +14,4 @@ declare module '@solana/spl-token' {

// === client/token.js ===
export const TOKEN_PROGRAM_ID: PublicKey;
export class u64 extends BN {

@@ -65,2 +67,5 @@ toBuffer(): Buffer;

export class Token {
publicKey: PublicKey;
programId: PublicKey;
payer: Account;
constructor(

@@ -131,2 +136,12 @@ connection: Connection,

): Promise<void>;
freezeAccount(
account: PublicKey,
authority: any,
multiSigners: Array<Account>,
): Promise<void>;
thawAccount(
account: PublicKey,
authority: any,
multiSigners: Array<Account>,
): Promise<void>;
closeAccount(

@@ -133,0 +148,0 @@ account: PublicKey,

3

lib/index.esm.js

@@ -30,2 +30,3 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';

const TOKEN_PROGRAM_ID = new PublicKey('TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA');
/**

@@ -1587,3 +1588,3 @@ * 64-bit value

export { AccountLayout, MintLayout, NATIVE_MINT, Token, u64 };
export { AccountLayout, MintLayout, NATIVE_MINT, TOKEN_PROGRAM_ID, Token, u64 };
//# sourceMappingURL=index.esm.js.map
{
"name": "@solana/spl-token",
"version": "0.0.12",
"version": "0.0.13",
"description": "SPL Token JavaScript API",

@@ -5,0 +5,0 @@ "license": "MIT",

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