Socket
Socket
Sign inDemoInstall

@solana/spl-token

Package Overview
Dependencies
Maintainers
10
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.1.6 to 0.1.7

22

module.flow.js

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

owner: PublicKey,
allowOwnerOffCurve?: boolean,
): Promise<PublicKey>;

@@ -151,2 +152,9 @@ static createMint(

): Promise<void>;
burnChecked(
account: PublicKey,
owner: any,
multiSigners: Array<Signer>,
amount: number | u64,
decimals: number,
): Promise<void>;
freezeAccount(

@@ -168,2 +176,3 @@ account: PublicKey,

): Promise<void>;
syncNative(nativeAccount: PublicKey): Promise<void>;
static createInitMintInstruction(

@@ -249,2 +258,15 @@ programId: PublicKey,

): TransactionInstruction;
static createBurnCheckedInstruction(
programId: PublicKey,
mint: PublicKey,
account: PublicKey,
owner: PublicKey,
multiSigners: Array<Signer>,
amount: number | u64,
decimals: number,
): TransactionInstruction;
static createSyncNativeInstruction(
programId: PublicKey,
nativeAccount: PublicKey,
): TransactionInstruction;
static createAssociatedTokenAccountInstruction(

@@ -251,0 +273,0 @@ associatedProgramId: PublicKey,

12

package.json
{
"name": "@solana/spl-token",
"version": "0.1.6",
"version": "0.1.7",
"description": "SPL Token JavaScript API",

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

"lint:fix": "npm run pretty:fix && eslint . --fix",
"flow": "flow",
"flow": "flow check-contents < module.flow.js",
"flow:watch": "watch 'flow' . --wait=1 --ignoreDirectoryPattern=/doc/",

@@ -60,3 +60,3 @@ "lint:watch": "watch 'npm run lint:fix' . --wait=1",

"@babel/runtime": "^7.10.5",
"@solana/web3.js": "^1.12.0",
"@solana/web3.js": "^1.21.0",
"bn.js": "^5.1.0",

@@ -78,3 +78,3 @@ "buffer": "6.0.3",

"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",

@@ -94,3 +94,3 @@ "@rollup/plugin-multi-entry": "^4.0.0",

"esm": "^3.2.25",
"flow-bin": "^0.145.0",
"flow-bin": "^0.157.0",
"flow-remove-types": "^2.145.0",

@@ -100,3 +100,3 @@ "flow-typed": "^3.3.1",

"mkdirp": "^1.0.4",
"mocha": "^8.3.0",
"mocha": "^9.0.0",
"mocha-headless-chrome": "^3.1.0",

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

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