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

@saberhq/token-utils

Package Overview
Dependencies
Maintainers
2
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saberhq/token-utils - npm Package Compare versions

Comparing version 1.10.5 to 1.10.6

dist/cjs/splTokenRegistry.d.ts

1

dist/cjs/index.d.ts

@@ -5,2 +5,3 @@ export * from "./ata";

export * from "./price";
export * from "./splTokenRegistry";
export * from "./token";

@@ -7,0 +8,0 @@ export * from "./tokenAmount";

@@ -9,2 +9,3 @@ "use strict";

(0, tslib_1.__exportStar)(require("./price"), exports);
(0, tslib_1.__exportStar)(require("./splTokenRegistry"), exports);
(0, tslib_1.__exportStar)(require("./token"), exports);

@@ -11,0 +12,0 @@ (0, tslib_1.__exportStar)(require("./tokenAmount"), exports);

8

dist/cjs/tokenList.d.ts

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

import type * as tokenRegistry from "@solana/spl-token-registry";
import type { SPLTokenExtensions, SPLTokenInfo, SPLTokenList } from "./splTokenRegistry";
import { Token } from "./token";

@@ -14,3 +14,3 @@ /**

*/
export declare type TokenExtensions = tokenRegistry.TokenExtensions & {
export declare type TokenExtensions = SPLTokenExtensions & {
/**

@@ -39,3 +39,3 @@ * Mints of the underlying tokens that make up this token.

*/
export declare type TokenInfo = Omit<tokenRegistry.TokenInfo, "extensions"> & {
export declare type TokenInfo = Omit<SPLTokenInfo, "extensions"> & {
readonly extensions?: TokenExtensions;

@@ -46,3 +46,3 @@ };

*/
export declare type TokenList = Omit<tokenRegistry.TokenList, "tokens"> & {
export declare type TokenList = Omit<SPLTokenList, "tokens"> & {
readonly tokens: TokenInfo[];

@@ -49,0 +49,0 @@ };

@@ -5,2 +5,3 @@ export * from "./ata";

export * from "./price";
export * from "./splTokenRegistry";
export * from "./token";

@@ -7,0 +8,0 @@ export * from "./tokenAmount";

@@ -5,2 +5,3 @@ export * from "./ata";

export * from "./price";
export * from "./splTokenRegistry";
export * from "./token";

@@ -7,0 +8,0 @@ export * from "./tokenAmount";

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

import type * as tokenRegistry from "@solana/spl-token-registry";
import type { SPLTokenExtensions, SPLTokenInfo, SPLTokenList } from "./splTokenRegistry";
import { Token } from "./token";

@@ -14,3 +14,3 @@ /**

*/
export declare type TokenExtensions = tokenRegistry.TokenExtensions & {
export declare type TokenExtensions = SPLTokenExtensions & {
/**

@@ -39,3 +39,3 @@ * Mints of the underlying tokens that make up this token.

*/
export declare type TokenInfo = Omit<tokenRegistry.TokenInfo, "extensions"> & {
export declare type TokenInfo = Omit<SPLTokenInfo, "extensions"> & {
readonly extensions?: TokenExtensions;

@@ -46,3 +46,3 @@ };

*/
export declare type TokenList = Omit<tokenRegistry.TokenList, "tokens"> & {
export declare type TokenList = Omit<SPLTokenList, "tokens"> & {
readonly tokens: TokenInfo[];

@@ -49,0 +49,0 @@ };

{
"name": "@saberhq/token-utils",
"description": "Token-related math and transaction utilities for Solana.",
"version": "1.10.5",
"version": "1.10.6",
"repository": "git@github.com:saber-hq/solana-common.git",

@@ -18,3 +18,3 @@ "author": "Ian Macalinao <ian@saber.so>",

"dependencies": {
"@saberhq/solana-contrib": "^1.10.5",
"@saberhq/solana-contrib": "^1.10.6",
"@solana/buffer-layout": "^3.0.0",

@@ -33,3 +33,2 @@ "@solana/spl-token": "^0.1.8",

"devDependencies": {
"@solana/spl-token-registry": "^0.2.654",
"@solana/web3.js": "^1.31.0",

@@ -40,3 +39,2 @@ "@types/bn.js": "^5.1.0",

"peerDependencies": {
"@solana/spl-token-registry": "^0.2.270",
"@solana/web3.js": "^1.29.2",

@@ -49,3 +47,3 @@ "bn.js": "^5.2",

},
"gitHead": "4c6564be041b37cba4d01a8a898fd23dde9bc979"
"gitHead": "ac08d701ad187136048f90ab100b935c175ca755"
}

@@ -5,2 +5,3 @@ export * from "./ata";

export * from "./price";
export * from "./splTokenRegistry";
export * from "./token";

@@ -7,0 +8,0 @@ export * from "./tokenAmount";

@@ -1,3 +0,6 @@

import type * as tokenRegistry from "@solana/spl-token-registry";
import type {
SPLTokenExtensions,
SPLTokenInfo,
SPLTokenList,
} from "./splTokenRegistry";
import { Token } from "./token";

@@ -29,3 +32,3 @@

*/
export type TokenExtensions = tokenRegistry.TokenExtensions & {
export type TokenExtensions = SPLTokenExtensions & {
/**

@@ -59,3 +62,3 @@ * Mints of the underlying tokens that make up this token.

*/
export type TokenInfo = Omit<tokenRegistry.TokenInfo, "extensions"> & {
export type TokenInfo = Omit<SPLTokenInfo, "extensions"> & {
readonly extensions?: TokenExtensions;

@@ -67,3 +70,3 @@ };

*/
export type TokenList = Omit<tokenRegistry.TokenList, "tokens"> & {
export type TokenList = Omit<SPLTokenList, "tokens"> & {
readonly tokens: TokenInfo[];

@@ -70,0 +73,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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