New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@saberhq/spl-token

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saberhq/spl-token - npm Package Compare versions

Comparing version 0.1.0-beta.8 to 0.1.0-beta.10

dist/constants.js

0

dist/constants.d.ts

@@ -0,0 +0,0 @@ import JSBI from "jsbi";

@@ -0,0 +0,0 @@ export * from "./constants";

14

dist/index.js

@@ -1,8 +0,6 @@

'use strict'
if (process.env.NODE_ENV === 'production') {
module.exports = require('./spl-token.cjs.production.min.js')
} else {
module.exports = require('./spl-token.cjs.development.js')
}
export * from "./constants";
export * from "./price";
export * from "./token";
export * from "./tokenAmount";
export * from "./utils";
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ import { Fraction, NumberFormat, Rounding } from "@ubeswap/token-math";

@@ -1,2 +0,3 @@

import { Cluster, PublicKey } from "@solana/web3.js";
import { Network } from "@saberhq/solana";
import { PublicKey } from "@solana/web3.js";
/**

@@ -11,11 +12,18 @@ * Token information.

decimals: number;
cluster: Cluster;
network: Network;
}
export declare const tokensEqual: (a: Token | undefined, b: Token | undefined) => boolean;
/**
* Map of network to Token
*/
export declare type TokenMap = {
[c in Cluster]: Token;
[c in Network]: Token;
};
/**
* Creates a Token for all networks.
*/
export declare const makeTokenForAllNetworks: (token: Omit<Token, "network">) => TokenMap;
/**
* Solana native token.
*/
export declare const SOL: TokenMap;

@@ -0,0 +0,0 @@ import { u64 } from "@solana/spl-token";

@@ -0,0 +0,0 @@ import { u64 } from "@solana/spl-token";

{
"name": "@saberhq/spl-token",
"version": "0.1.0-beta.8",
"version": "0.1.0-beta.10",
"repository": "git@github.com:saber-hq/use-solana.git",

@@ -8,22 +8,15 @@ "author": "Ian Macalinao <ian@saber.so>",

"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"build": "tsc",
"clean": "rm -fr dist/",
"test": "tsdx test --passWithNoTests",
"test:ci": "tsdx test --passWithNoTests --ci --coverage --maxWorkers=2",
"prepare": "tsdx build"
"prepublishOnly": "npm run build"
},
"devDependencies": {
"dependencies": {
"@saberhq/solana": "^0.1.0-beta.10",
"@solana/spl-token": "^0.1.5",
"@solana/web3.js": "^1.18.0",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"dependencies": {
"@ubeswap/token-math": "^0.1.3",
"decimal.js": "^10.2.1",
"jsbi": "^3.1.4",
"tiny-invariant": "^1.1.0"
"tiny-invariant": "^1.1.0",
"tslib": "^2.3.0"
},

@@ -37,7 +30,8 @@ "main": "dist/spl-token.cjs.production.min.js",

"peerDependencies": {
"@solana/spl-token": "^0.1.5",
"@solana/web3.js": "^1.18.0",
"bn.js": "*"
},
"gitHead": "9339ac1701c9b332e7b4a8a798b6a11d722d5c4a"
"publishConfig": {
"access": "public"
},
"gitHead": "3c6462e72cc77eb03115e3ddcdf4e30dd5f07ae2"
}

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