atomicassets
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -72,3 +72,3 @@ import ExplorerActionGenerator from '../../Actions/Explorer'; | ||
getAssets(options?: AssetParams, page?: number, limit?: number, data?: DataOptions): Promise<ApiAsset[]>; | ||
countAssets(options: AssetParams, data: DataOptions): Promise<number>; | ||
countAssets(options: AssetParams, data?: DataOptions): Promise<number>; | ||
getAsset(id: string): Promise<ApiAsset>; | ||
@@ -75,0 +75,0 @@ getAssetLogs(id: string, page?: number, limit?: number, order?: string): Promise<ApiLog[]>; |
@@ -36,3 +36,3 @@ "use strict"; | ||
} | ||
async countAssets(options, data) { | ||
async countAssets(options, data = {}) { | ||
return await this.countEndpoint('/v1/assets', buildDataOptions(options, data)); | ||
@@ -39,0 +39,0 @@ } |
@@ -12,3 +12,3 @@ { | ||
"license": "MIT", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "build/index.js", | ||
@@ -15,0 +15,0 @@ "types": "build/index.d.ts", |
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
141869