@tthr/vue 0.0.15 → 0.0.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.
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
20
|
|
|
21
|
-
import { createError
|
|
21
|
+
import { createError } from 'h3';
|
|
22
22
|
import { useRuntimeConfig } from '#imports';
|
|
23
23
|
|
|
24
24
|
export interface TetherServerClient {
|
|
@@ -108,7 +108,7 @@ export interface AssetMetadata {
|
|
|
108
108
|
* @param event - The H3 event (optional, used for request context)
|
|
109
109
|
* @returns A Tether client with query, mutation, and storage methods
|
|
110
110
|
*/
|
|
111
|
-
export function useTetherServer(_event?:
|
|
111
|
+
export function useTetherServer(_event?: unknown): TetherServerClient {
|
|
112
112
|
const config = useRuntimeConfig();
|
|
113
113
|
|
|
114
114
|
const apiKey = config.tether?.apiKey || process.env.TETHER_API_KEY;
|