@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.
@@ -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 GET:/iconlake/icon/hash/{hashType}/{uri}
181
+ * @request POST:/iconlake/icon/hash
182
182
  */
183
- queryHash = (hashType: string, uri: string, params: RequestParams = {}) =>
183
+ queryHash = (query?: { hashType?: string; uri?: string }, params: RequestParams = {}) =>
184
184
  this.request<IconQueryHashResponse, RpcStatus>({
185
- path: `/iconlake/icon/hash/${hashType}/${uri}`,
186
- method: "GET",
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.1",
4
- "description": "Autogenerated Typescript Client",
5
- "author": "Ignite Codegen <hello@ignite.com>",
3
+ "version": "0.0.3",
4
+ "description": "iconLake Typescript Client",
5
+ "author": "iconLake",
6
6
  "license": "Apache-2.0",
7
7
  "licenses": [
8
8
  {