@well-played.gg/react-sdk 1.1.0 → 1.2.0
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/index.d.ts +6 -3
- package/dist/wp-react-sdk.cjs.js +108 -107
- package/dist/wp-react-sdk.es.js +8232 -8429
- package/dist/wp-react-sdk.umd.js +109 -108
- package/package.json +8 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ApolloClient } from '@apollo/client';
|
|
1
2
|
import { ApolloError } from '@apollo/client';
|
|
2
3
|
import { ApolloQueryResult } from '@apollo/client';
|
|
3
4
|
import { ErrorResponse } from '@apollo/client/link/error';
|
|
@@ -7,9 +8,10 @@ import { EventErrorListener } from 'graphql-ws';
|
|
|
7
8
|
import { FragmentOf } from 'gql.tada';
|
|
8
9
|
import { initGraphQLTada } from 'gql.tada';
|
|
9
10
|
import { InvalidationPolicies } from '@nerdwallet/apollo-cache-policies/dist/policies/types';
|
|
10
|
-
import { JSX
|
|
11
|
+
import { JSX } from 'react/jsx-runtime';
|
|
11
12
|
import { LazyQueryHookOptions } from '@apollo/client/react/types/types';
|
|
12
13
|
import { NoInfer as NoInfer_2 } from '@apollo/client/react/types/types';
|
|
14
|
+
import { NormalizedCacheObject } from '@apollo/client';
|
|
13
15
|
import { OidcConfiguration } from '@axa-fr/oidc-client';
|
|
14
16
|
import { OidcProviderProps } from '@axa-fr/react-oidc';
|
|
15
17
|
import { PropsWithChildren } from 'react';
|
|
@@ -346,7 +348,7 @@ export { ResultOf }
|
|
|
346
348
|
export declare const RichTextEditorContent: ({ content, style, }: {
|
|
347
349
|
content: string;
|
|
348
350
|
style?: React.CSSProperties;
|
|
349
|
-
}) =>
|
|
351
|
+
}) => JSX.Element;
|
|
350
352
|
|
|
351
353
|
declare type RoundWithGames = Omit<BaseRound, "games"> & {
|
|
352
354
|
games: GameWithMatches[];
|
|
@@ -554,11 +556,12 @@ export declare const useTournamentTeams: ({ tournamentId, skip, status, }: {
|
|
|
554
556
|
|
|
555
557
|
export declare const useWellPlayed: () => {
|
|
556
558
|
organizationId: string;
|
|
559
|
+
apiClient: ApolloClient<NormalizedCacheObject>;
|
|
557
560
|
};
|
|
558
561
|
|
|
559
562
|
export { VariablesOf }
|
|
560
563
|
|
|
561
|
-
export declare const WellPlayedProvider: ({ children, oidcConfig, wpAppConfig, ...configs }: PropsWithChildren<WPConfigProps>) =>
|
|
564
|
+
export declare const WellPlayedProvider: ({ children, oidcConfig, wpAppConfig, ...configs }: PropsWithChildren<WPConfigProps>) => JSX.Element;
|
|
562
565
|
|
|
563
566
|
declare type WPConfigProps = {
|
|
564
567
|
/**
|