@confidencesystemsinc/sdk 2.0.10 → 2.0.12

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.
@@ -9,7 +9,7 @@ export declare const SelfPlaybookShadowComponent: {
9
9
  };
10
10
  declare const EmbeddedLayoutComponent: (props: React.ComponentProps<typeof EmbeddedLayout>) => import('react').ReactPortal;
11
11
  declare const AutoInstantiatedEmbeddedLayoutComponent: (props: React.ComponentProps<typeof EmbeddedLayout.AutoInstantiated>) => import('react').ReactPortal;
12
- declare const WithInstantiateButtonEmbeddedLayoutComponent: (props: React.ComponentProps<typeof EmbeddedLayout.WithInstantiateButton>) => import('react').ReactPortal;
12
+ declare const WithInstantiateButtonEmbeddedLayoutComponent: (props: React.ComponentProps<typeof EmbeddedLayout.WithInstantiateButton>) => import("react/jsx-runtime").JSX.Element;
13
13
  type EmbeddedLayoutShadowComponent = typeof EmbeddedLayoutComponent & {
14
14
  WithInstantiateButton: typeof WithInstantiateButtonEmbeddedLayoutComponent;
15
15
  AutoInstantiated: typeof AutoInstantiatedEmbeddedLayoutComponent;
@@ -1,10 +1,12 @@
1
- import { MyPlaybook } from '../types/my-playbooks.types';
1
+ import { MyPlaybook, MyPlaybooksResponse } from '../types/my-playbooks.types';
2
2
  export declare const MY_PLAYBOOKS_QUERY_KEY: (username: string) => string[];
3
3
  export declare const useMyPlaybooks: ({ username }: {
4
4
  username: string;
5
5
  }) => {
6
- myPlaybooks: MyPlaybook[];
7
- prefetchQuery: (username: string) => void;
6
+ myPlaybooks: MyPlaybook[] | undefined;
7
+ fetchNextPage: (options?: import('@tanstack/react-query').FetchNextPageOptions) => Promise<import('@tanstack/react-query').InfiniteQueryObserverResult<import('@tanstack/react-query').InfiniteData<MyPlaybooksResponse, unknown>, Error>>;
8
+ hasNextPage: boolean;
9
+ isFetchingNextPage: boolean;
8
10
  isLoading: boolean;
9
11
  error: Error | null;
10
12
  };