@xyo-network/react-payload 2.25.15 → 2.25.16

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.
@@ -1,3 +1,3 @@
1
1
  import { Huri } from '@xyo-network/core';
2
2
  import { XyoNetworkPayload } from '@xyo-network/network';
3
- export declare const findHuriNetwork: (huriInstance: Huri, networks?: XyoNetworkPayload[] | undefined) => XyoNetworkPayload | undefined;
3
+ export declare const findHuriNetwork: (huriInstance: Huri, networks?: XyoNetworkPayload[]) => XyoNetworkPayload | undefined;
@@ -2,7 +2,7 @@ import { XyoApiError } from '@xyo-network/api';
2
2
  /**
3
3
  * Gets a Huri and schema payload from a schema string
4
4
  */
5
- declare const useGetSchemaPayload: (schema?: string | undefined) => {
5
+ declare const useGetSchemaPayload: (schema?: string) => {
6
6
  apiError: XyoApiError<any, any> | undefined;
7
7
  notFound: boolean;
8
8
  schemaHuri: import("@xyo-network/core").Huri | undefined;
@@ -1,5 +1,5 @@
1
1
  import { XyoApiError } from '@xyo-network/api';
2
2
  import { Huri, XyoPayload } from '@xyo-network/core';
3
3
  import { FetchHuriHashOptions } from './lib';
4
- declare const useHuriHash: (huriOrHash?: string | Huri | undefined, huriUri?: string | undefined, options?: FetchHuriHashOptions | undefined) => [XyoPayload | undefined, boolean, XyoApiError | undefined];
4
+ declare const useHuriHash: (huriOrHash?: string | Huri, huriUri?: string, options?: FetchHuriHashOptions) => [XyoPayload | undefined, boolean, XyoApiError | undefined];
5
5
  export { useHuriHash };
@@ -1,3 +1,3 @@
1
1
  import { XyoApiError } from '@xyo-network/api';
2
2
  import { XyoPayload } from '@xyo-network/core';
3
- export declare const usePayload: (hash?: string | undefined) => [XyoPayload | undefined, boolean, XyoApiError | undefined];
3
+ export declare const usePayload: (hash?: string) => [XyoPayload | undefined, boolean, XyoApiError | undefined];
@@ -1,5 +1,5 @@
1
1
  import { XyoApiError } from '@xyo-network/api';
2
2
  import { XyoPayload } from '@xyo-network/core';
3
3
  import { FetchHuriHashOptions } from './lib';
4
- declare const useResolveHuri: (huriUri?: string | undefined, dependentNotFound?: boolean | undefined, options?: FetchHuriHashOptions | undefined) => [XyoPayload | undefined, boolean, XyoApiError | undefined];
4
+ declare const useResolveHuri: (huriUri?: string, dependentNotFound?: boolean, options?: FetchHuriHashOptions) => [XyoPayload | undefined, boolean, XyoApiError | undefined];
5
5
  export { useResolveHuri };