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.11 to 0.0.12

8

lib/index.d.ts

@@ -121,3 +121,3 @@ declare module '@solana/spl-token' {

multiSigners: Array<Account>,
amount: number,
amount: number | u64,
): Promise<void>;

@@ -128,3 +128,3 @@ burn(

multiSigners: Array<Account>,
amount: number,
amount: number | u64,
): Promise<void>;

@@ -185,3 +185,3 @@ closeAccount(

multiSigners: Array<Account>,
amount: number,
amount: number | u64,
): TransactionInstruction;

@@ -194,3 +194,3 @@ static createBurnInstruction(

multiSigners: Array<Account>,
amount: number,
amount: number | u64,
): TransactionInstruction;

@@ -197,0 +197,0 @@ static createCloseAccountInstruction(

@@ -9,2 +9,3 @@ /**

declare module '@solana/spl-token' {
declare export var TOKEN_PROGRAM_ID;
declare export class u64 extends BN {

@@ -58,2 +59,5 @@ toBuffer(): Buffer;

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

@@ -116,3 +120,3 @@ connection: Connection,

multiSigners: Array<Account>,
amount: number,
amount: number | u64,
): Promise<void>;

@@ -123,4 +127,14 @@ burn(

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

@@ -180,3 +194,3 @@ account: PublicKey,

multiSigners: Array<Account>,
amount: number,
amount: number | u64,
): TransactionInstruction;

@@ -189,3 +203,3 @@ static createBurnInstruction(

multiSigners: Array<Account>,
amount: number,
amount: number | u64,
): TransactionInstruction;

@@ -192,0 +206,0 @@ static createCloseAccountInstruction(

{
"name": "@solana/spl-token",
"version": "0.0.11",
"version": "0.0.12",
"description": "SPL Token JavaScript API",

@@ -25,3 +25,3 @@ "license": "MIT",

],
"testnetDefaultChannel": "v1.3.14",
"testnetDefaultChannel": "v1.3.17",
"scripts": {

@@ -35,3 +35,3 @@ "build": "rollup -c",

"lint:watch": "watch 'npm run lint:fix' . --wait=1",
"build:program": "rm client/util/store/config.json; ../../do.sh build token",
"build:program": "rm -f client/util/store/config.json; cargo build-bpf --manifest-path ../program/Cargo.toml",
"cluster:localnet": "rm -f .env",

@@ -42,3 +42,3 @@ "cluster:devnet": "cp cluster-devnet.env .env",

"localnet:update": "solana-localnet update",
"localnet:up": "rm client/util/store/config.json; set -x; solana-localnet down; set -e; solana-localnet up",
"localnet:up": "rm -f client/util/store/config.json; set -x; solana-localnet down; set -e; solana-localnet up",
"localnet:down": "solana-localnet down",

@@ -51,3 +51,3 @@ "localnet:logs": "solana-localnet logs -f",

"@babel/runtime": "^7.10.5",
"@solana/web3.js": "^0.78.0",
"@solana/web3.js": "^0.86.1",
"bn.js": "^5.0.0",

@@ -67,7 +67,7 @@ "buffer-layout": "^1.2.0",

"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-commonjs": "^16.0.0",
"babel-eslint": "^10.1.0",
"eslint": "^7.4.0",
"eslint-plugin-import": "^2.22.0",
"flow-bin": "0.135.0",
"flow-bin": "0.136.0",
"flow-typed": "^3.2.0",

@@ -74,0 +74,0 @@ "mz": "^2.7.0",

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