Skip to content

Commit

Permalink
fix: app info response type (#233)
Browse files Browse the repository at this point in the history
* fix: app info response can be null

* build: update hc & packages

* test: assert app info
  • Loading branch information
jost-s authored Feb 27, 2024
1 parent fa35a44 commit f1301e0
Show file tree
Hide file tree
Showing 12 changed files with 1,481 additions and 3,745 deletions.
1,259 changes: 592 additions & 667 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/client.appagentwebsocket.cachedappinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
**Signature:**

```typescript
cachedAppInfo?: AppInfo;
cachedAppInfo?: AppInfo | null;
```
2 changes: 1 addition & 1 deletion docs/client.appagentwebsocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export declare class AppAgentWebsocket implements AppAgentClient
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [appWebsocket](./client.appagentwebsocket.appwebsocket.md) | <code>readonly</code> | [AppWebsocket](./client.appwebsocket.md) | |
| [cachedAppInfo?](./client.appagentwebsocket.cachedappinfo.md) | | [AppInfo](./client.appinfo.md) | _(Optional)_ |
| [cachedAppInfo?](./client.appagentwebsocket.cachedappinfo.md) | | [AppInfo](./client.appinfo.md) \| null | _(Optional)_ |
| [emitter](./client.appagentwebsocket.emitter.md) | <code>readonly</code> | Emittery&lt;[AppAgentEvents](./client.appagentevents.md)<!-- -->&gt; | |
| [installedAppId](./client.appagentwebsocket.installedappid.md) | | [InstalledAppId](./client.installedappid.md) | |
| [myPubKey](./client.appagentwebsocket.mypubkey.md) | | [AgentPubKey](./client.agentpubkey.md) | |
Expand Down
2 changes: 1 addition & 1 deletion docs/client.appinforesponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
**Signature:**

```typescript
export type AppInfoResponse = AppInfo;
export type AppInfoResponse = AppInfo | null;
```
**References:** [AppInfo](./client.appinfo.md)

Loading

0 comments on commit f1301e0

Please sign in to comment.