@33cn/chain33-rpc-api
Advanced tools
Comparing version 1.5.8 to 1.5.9
@@ -188,7 +188,8 @@ import HttpProvider from './HttpProvider'; | ||
/** | ||
* @description 查询所有创建成功的token | ||
* @description 查询所有创建成功/预创建的token | ||
* @param {string} status 0 预创建 1 创建成功 | ||
* @returns {Promise<any>} | ||
* @memberof BtyBaseSdk | ||
*/ | ||
queryAllTokens(url?: string): Promise<any>; | ||
queryAllTokens(status?: number, url?: string): Promise<any>; | ||
/** | ||
@@ -195,0 +196,0 @@ * @description 查询地址下的token/trace合约下的token资产 |
@@ -328,7 +328,9 @@ "use strict"; | ||
/** | ||
* @description 查询所有创建成功的token | ||
* @description 查询所有创建成功/预创建的token | ||
* @param {string} status 0 预创建 1 创建成功 | ||
* @returns {Promise<any>} | ||
* @memberof BtyBaseSdk | ||
*/ | ||
BtyBaseSdk.prototype.queryAllTokens = function (url) { | ||
BtyBaseSdk.prototype.queryAllTokens = function (status, url) { | ||
if (status === void 0) { status = 1; } | ||
if (url === void 0) { url = ''; } | ||
@@ -340,3 +342,3 @@ return this.callPromiseAPI('Query', { | ||
queryAll: true, | ||
status: 1, | ||
status: status, | ||
}, | ||
@@ -343,0 +345,0 @@ }, url); |
{ | ||
"name": "@33cn/chain33-rpc-api", | ||
"version": "1.5.8", | ||
"version": "1.5.9", | ||
"description": "chain33 rpc 接口封装", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
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
143058
2851
2