@onesi/genesis 0.2.0 → 0.2.2

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The TypeScript SDK for OneOS. One typed client for every Genesis service, through the Genesis API at `https://os.one.ml/api`.
4
4
 
5
5
  ```sh
6
- npm install @onesi/genesis@0.2.0
6
+ npm install @onesi/genesis@0.2.2
7
7
  ```
8
8
 
9
9
  ```ts
@@ -203,6 +203,18 @@ export declare function blindsModule(client: GenesisClient): {
203
203
  }) => Promise<{
204
204
  events: import("./index.js").components["schemas"]["Blinds.ActivityEvent"][];
205
205
  }>;
206
+ /** One HTTPS call made by Blinds under a delegation the caller holds; {{VARIABLE}} templates are filled server side and values never leave Blinds. Never retried. */
207
+ proxy: (body: OperationInput<"blinds_proxyRequest">["body"], init?: {
208
+ signal?: AbortSignal;
209
+ idempotencyKey?: string;
210
+ }) => Promise<{
211
+ status: number;
212
+ headers: {
213
+ [key: string]: string;
214
+ };
215
+ body: string;
216
+ request_id: string;
217
+ }>;
206
218
  ownerEnrollment: {
207
219
  reserve: (body: OperationInput<"blinds_ownerReserve">["body"], init?: {
208
220
  signal?: AbortSignal;
@@ -145,6 +145,8 @@ export function blindsModule(client) {
145
145
  revoke: (delegate_id, init) => write('blinds_revokeDelegate', { delegate_id }, init),
146
146
  },
147
147
  activity: (init) => read('blinds_listActivity', init),
148
+ /** One HTTPS call made by Blinds under a delegation the caller holds; {{VARIABLE}} templates are filled server side and values never leave Blinds. Never retried. */
149
+ proxy: (body, init) => write('blinds_proxyRequest', { body }, init),
148
150
  ownerEnrollment: {
149
151
  reserve: (body, init = {}) => client.request('blinds_ownerReserve', { body }, init),
150
152
  sign: (body, init = {}) => client.request('blinds_ownerSign', { body }, init),