@neosianexus/super-tebex 3.0.4 → 3.1.1

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 CHANGED
@@ -100,6 +100,18 @@ export interface TebexContextValue {
100
100
  readonly config: ResolvedTebexConfig;
101
101
  readonly queryClient: QueryClient;
102
102
  }
103
+ /**
104
+ * Hook to access the Tebex context.
105
+ * Must be used within a TebexProvider or TebexMockProvider.
106
+ *
107
+ * @throws TebexError if used outside of a provider
108
+ */
109
+ export declare function useTebexContext(): TebexContextValue;
110
+ /**
111
+ * Hook to access just the Tebex configuration.
112
+ * Useful when you don't need the QueryClient.
113
+ */
114
+ export declare function useTebexConfig(): ResolvedTebexConfig;
103
115
  /**
104
116
  * Props for TebexProvider component.
105
117
  */
@@ -130,18 +142,6 @@ export interface TebexProviderProps {
130
142
  * ```
131
143
  */
132
144
  export declare function TebexProvider({ children, config, queryClient: externalQueryClient, }: TebexProviderProps): ReactNode;
133
- /**
134
- * Hook to access the Tebex context.
135
- * Must be used within a TebexProvider.
136
- *
137
- * @throws TebexError if used outside of TebexProvider
138
- */
139
- export declare function useTebexContext(): TebexContextValue;
140
- /**
141
- * Hook to access just the Tebex configuration.
142
- * Useful when you don't need the QueryClient.
143
- */
144
- export declare function useTebexConfig(): ResolvedTebexConfig;
145
145
  /**
146
146
  * Base return type for all query hooks.
147
147
  */