zh-web-sdk 2.7.1 → 2.7.2

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/dist/types.d.ts CHANGED
@@ -302,8 +302,9 @@ export interface ISetJWTParameters {
302
302
  appIdentifier: AppIdentifier;
303
303
  }
304
304
  export interface Filters {
305
- getAssets: {
306
- deposit_address_creation: string;
305
+ getAssets?: {
306
+ deposit_address_creation?: string;
307
+ stablecoin?: boolean;
307
308
  };
308
309
  }
309
310
  export interface IOpenModalParameters {
@@ -313,10 +314,5 @@ export interface IOpenModalParameters {
313
314
  }
314
315
  export interface ISetFiltersParameters {
315
316
  appIdentifier: AppIdentifier;
316
- filters: {
317
- getAssets: {
318
- deposit_address_creation?: string;
319
- stablecoin?: boolean;
320
- };
321
- };
317
+ filters?: Filters;
322
318
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zh-web-sdk",
3
- "version": "2.7.1",
3
+ "version": "2.7.2",
4
4
  "private": false,
5
5
  "description": "ZeroHash Web SDK",
6
6
  "homepage": "https://github.com/seedcx/zh-web-sdk",
package/src/types.ts CHANGED
@@ -327,8 +327,9 @@ export interface ISetJWTParameters {
327
327
  }
328
328
 
329
329
  export interface Filters {
330
- getAssets: {
331
- deposit_address_creation: string
330
+ getAssets?: {
331
+ deposit_address_creation?: string
332
+ stablecoin?: boolean
332
333
  }
333
334
  }
334
335
 
@@ -340,10 +341,5 @@ export interface IOpenModalParameters {
340
341
 
341
342
  export interface ISetFiltersParameters {
342
343
  appIdentifier: AppIdentifier;
343
- filters: {
344
- getAssets: {
345
- deposit_address_creation?: string;
346
- stablecoin?: boolean;
347
- }
348
- }
344
+ filters?: Filters
349
345
  }