@uninspired/unproxied-client 0.0.7 → 0.0.9

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.
@@ -7,6 +7,23 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
7
7
  "/create": {
8
8
  $post: {
9
9
  input: {
10
+ header: {
11
+ "X-App-Secret": string;
12
+ };
13
+ } & {
14
+ json: {
15
+ name: string;
16
+ };
17
+ };
18
+ output: "Unauthorized";
19
+ outputFormat: "text";
20
+ status: 401;
21
+ } | {
22
+ input: {
23
+ header: {
24
+ "X-App-Secret": string;
25
+ };
26
+ } & {
10
27
  json: {
11
28
  name: string;
12
29
  };
@@ -36,10 +53,6 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
36
53
  "/:domainId": {
37
54
  $get: {
38
55
  input: {
39
- query: {
40
- domainId: string;
41
- };
42
- } & {
43
56
  param: {
44
57
  domainId: string;
45
58
  };
@@ -49,10 +62,6 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
49
62
  status: 404;
50
63
  } | {
51
64
  input: {
52
- query: {
53
- domainId: string;
54
- };
55
- } & {
56
65
  param: {
57
66
  domainId: string;
58
67
  };
@@ -74,7 +83,7 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
74
83
  "/:domainId": {
75
84
  $put: {
76
85
  input: {
77
- query: {
86
+ param: {
78
87
  domainId: string;
79
88
  };
80
89
  } & {
@@ -82,10 +91,6 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
82
91
  serverName: string;
83
92
  proxyUrl: string;
84
93
  };
85
- } & {
86
- param: {
87
- domainId: string;
88
- };
89
94
  };
90
95
  output: "Updated";
91
96
  outputFormat: "text";
@@ -96,10 +101,6 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
96
101
  "/:domainId": {
97
102
  $delete: {
98
103
  input: {
99
- query: {
100
- domainId: string;
101
- };
102
- } & {
103
104
  param: {
104
105
  domainId: string;
105
106
  };
@@ -113,10 +114,6 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
113
114
  "/:domainId/verify": {
114
115
  $post: {
115
116
  input: {
116
- query: {
117
- domainId: string;
118
- };
119
- } & {
120
117
  param: {
121
118
  domainId: string;
122
119
  };
@@ -126,10 +123,6 @@ declare const apiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, hono_types
126
123
  status: 404;
127
124
  } | {
128
125
  input: {
129
- query: {
130
- domainId: string;
131
- };
132
- } & {
133
126
  param: {
134
127
  domainId: string;
135
128
  };
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.7",
8
+ "version": "0.0.9",
9
9
  "description": "Auth client for Uninspired Studio Products",
10
10
  "author": "Chris Kolb <chris@uninspired.studio>",
11
11
  "license": "MIT",