@uninspired/unproxied-client 0.0.3 → 0.0.4

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.
@@ -2,11 +2,31 @@ import * as hono_hono_base from 'hono/hono-base';
2
2
  import * as hono_types from 'hono/types';
3
3
  import { hc, ClientRequestOptions } from 'hono/client';
4
4
 
5
- declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, {
6
- "/api/v1": {
5
+ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types.BlankSchema | hono_types.MergeSchemaPath<{
6
+ "/create": {
7
+ $post: any;
8
+ };
9
+ }, "/api/v1/api-keys"> | hono_types.MergeSchemaPath<{
10
+ "/": {
11
+ $post: any;
12
+ };
13
+ } & {
14
+ "/:domainId": {
7
15
  $get: any;
8
16
  };
9
- }, "/api/v1">;
17
+ } & {
18
+ "/:domainId": {
19
+ $put: any;
20
+ };
21
+ } & {
22
+ "/:domainId": {
23
+ $delete: any;
24
+ };
25
+ } & {
26
+ "/:domainId/verify": {
27
+ $post: any;
28
+ };
29
+ }, "/api/v1/domains">, "/api/v1">;
10
30
  type ApiRouter = typeof apiRouter;
11
31
 
12
32
  type UnproxiedClient = ReturnType<typeof hc<ApiRouter>>;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "types": "dist/types/index.d.ts",
6
6
  "type": "module",
7
7
  "private": false,
8
- "version": "0.0.3",
8
+ "version": "0.0.4",
9
9
  "description": "Auth client for Uninspired Studio Products",
10
10
  "author": "Chris Kolb <chris@uninspired.studio>",
11
11
  "license": "MIT",