Socket
Socket
Sign inDemoInstall

@solana/spl-token

Package Overview
Dependencies
Maintainers
12
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.2.0-alpha.2 to 0.2.0

12

package.json
{
"name": "@solana/spl-token",
"version": "0.2.0-alpha.2",
"version": "0.2.0",
"author": "Solana Maintainers <maintainers@solana.foundation>",

@@ -32,5 +32,8 @@ "repository": "https://github.com/solana-labs/solana-program-library",

"postbuild": "echo '{\"type\":\"commonjs\"}' > lib/cjs/package.json && echo '{\"type\":\"module\"}' > lib/esm/package.json",
"deploy": "yarn docs && gh-pages --dist docs --dotfiles",
"deploy": "yarn docs && gh-pages --dist docs --dest token/js --dotfiles",
"example": "node --experimental-specifier-resolution=node --loader ts-node/esm examples/create_mint_and_transfer_tokens.ts",
"test": "mocha",
"test": "yarn test:unit && yarn test:e2e-built && yarn test:e2e-native",
"test:unit": "mocha test/unit",
"test:e2e-built": "start-server-and-test 'solana-test-validator --bpf-program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA ../../target/deploy/spl_token.so --reset --quiet' http://localhost:8899/health 'mocha test/e2e'",
"test:e2e-native": "start-server-and-test 'solana-test-validator --reset --quiet' http://localhost:8899/health 'mocha test/e2e'",
"docs": "shx rm -rf docs && NODE_OPTIONS=--max_old_space_size=4096 typedoc && shx cp .nojekyll docs/",

@@ -45,3 +48,4 @@ "fmt": "prettier --write '{*,**/*}.{js,ts,jsx,tsx,json}'",

"@solana/buffer-layout-utils": "^0.2.0",
"@solana/web3.js": "^1.32.0"
"@solana/web3.js": "^1.32.0",
"start-server-and-test": "^1.14.0"
},

@@ -48,0 +52,0 @@ "devDependencies": {

@@ -7,4 +7,4 @@ # `@solana/spl-token`

- [TypeScript Docs](...)
- [FAQ (Frequently Asked Questions)](.../FAQ.md)
- [TypeScript Docs](https://solana-labs.github.io/solana-program-library/token/js/)
- [FAQ (Frequently Asked Questions)](./FAQ.md)
- [Install](#install)

@@ -20,8 +20,2 @@ - [Usage](#usage)

## Usage
```ts
@TODO
```
## Build from Source

@@ -36,3 +30,3 @@

```shell
cd solana-program-library/token/ts
cd solana-program-library/token/js
```

@@ -54,1 +48,6 @@

```
6. Run the example:
```shell
yarn example
```
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