@tthr/vue 0.0.14 → 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,8 @@
18
18
  * ```
19
19
  */
20
20
 
21
- import { useRuntimeConfig, createError, type H3Event } from '#imports';
21
+ import { createError } from 'h3';
22
+ import { useRuntimeConfig } from '#imports';
22
23
 
23
24
  export interface TetherServerClient {
24
25
  /**
@@ -107,7 +108,7 @@ export interface AssetMetadata {
107
108
  * @param event - The H3 event (optional, used for request context)
108
109
  * @returns A Tether client with query, mutation, and storage methods
109
110
  */
110
- export function useTetherServer(_event?: H3Event): TetherServerClient {
111
+ export function useTetherServer(_event?: unknown): TetherServerClient {
111
112
  const config = useRuntimeConfig();
112
113
 
113
114
  const apiKey = config.tether?.apiKey || process.env.TETHER_API_KEY;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tthr/vue",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "description": "Tether Vue/Nuxt SDK",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",