@iconlake/client 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/iconlake.icon/rest.ts +5 -4
- package/package.json +3 -3
package/iconlake.icon/rest.ts
CHANGED
|
@@ -178,12 +178,13 @@ export class Api<SecurityDataType extends unknown> extends HttpClient<SecurityDa
|
|
|
178
178
|
* @tags Query
|
|
179
179
|
* @name QueryHash
|
|
180
180
|
* @summary Queries a list of Hash items.
|
|
181
|
-
* @request
|
|
181
|
+
* @request POST:/iconlake/icon/hash
|
|
182
182
|
*/
|
|
183
|
-
queryHash = (hashType
|
|
183
|
+
queryHash = (query?: { hashType?: string; uri?: string }, params: RequestParams = {}) =>
|
|
184
184
|
this.request<IconQueryHashResponse, RpcStatus>({
|
|
185
|
-
path: `/iconlake/icon/hash
|
|
186
|
-
method: "
|
|
185
|
+
path: `/iconlake/icon/hash`,
|
|
186
|
+
method: "POST",
|
|
187
|
+
query: query,
|
|
187
188
|
format: "json",
|
|
188
189
|
...params,
|
|
189
190
|
});
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iconlake/client",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "
|
|
5
|
-
"author": "
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"description": "iconLake Typescript Client",
|
|
5
|
+
"author": "iconLake",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"licenses": [
|
|
8
8
|
{
|