@rabby-wallet/rabby-api
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -59,3 +59,3 @@ import { AxiosAdapter } from 'axios'; | ||
}>; | ||
searchToken: (id: string, q: string) => Promise<TokenItem[]>; | ||
searchToken: (id: string, q: string, chainId?: string, is_all?: boolean) => Promise<TokenItem[]>; | ||
searchSwapToken: (id: string, chainId: string, q: string, is_all?: boolean) => Promise<any>; | ||
@@ -62,0 +62,0 @@ getToken: (id: string, chainId: string, tokenId: string) => Promise<TokenItem>; |
@@ -221,3 +221,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}); | ||
this.searchToken = (id, q) => __awaiter(this, void 0, void 0, function* () { | ||
this.searchToken = (id, q, chainId, is_all = false) => __awaiter(this, void 0, void 0, function* () { | ||
const { data } = yield this.request.get('/v1/user/token_search', { | ||
@@ -228,2 +228,4 @@ params: { | ||
has_balance: false, | ||
is_all, | ||
chain_id: chainId, | ||
}, | ||
@@ -230,0 +232,0 @@ }); |
{ | ||
"name": "@rabby-wallet/rabby-api", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
66575
1967
0