@saberhq/token-utils
Advanced tools
Comparing version 1.10.5 to 1.10.6
@@ -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); |
@@ -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
277052
9
3
129
3990
- Removed@solana/spl-token-registry@0.2.4574(transitive)
- Removedcross-fetch@3.0.6(transitive)
- Removednode-fetch@2.6.1(transitive)