Skip to content

Commit

Permalink
chore(release): v0.16.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jost-s committed Oct 17, 2023
1 parent ba0dedc commit 1d423d6
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 9 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added
### Changed
### Fixed
### Removed

## 2023-10-17: v0.16.3
### Fixed
- `CapAccess` types `Unrestricted` and `Transferable` were not correctly implemented. Both need to be nested objects containing a single property with a Pascal cased name, e. g. `{ access: { Unrestricted: null } }`.
- `AttachAppInterfaceRequest` took a mandatory property `port`. The property is optional now.
### Removed
Expand Down
2 changes: 1 addition & 1 deletion docs/client.attachappinterfacerequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

```typescript
export type AttachAppInterfaceRequest = {
port: number;
port?: number;
};
```
10 changes: 6 additions & 4 deletions docs/client.capaccess.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,18 @@
**Signature:**

```typescript
export type CapAccess = "Unrestricted" | {
Transferable: {
export type CapAccess = {
[CapAccessType.Unrestricted]: null;
} | {
[CapAccessType.Transferable]: {
secret: CapSecret;
};
} | {
Assigned: {
[CapAccessType.Assigned]: {
secret: CapSecret;
assignees: AgentPubKey[];
};
};
```
**References:** [CapSecret](./client.capsecret.md)<!-- -->, [AgentPubKey](./client.agentpubkey.md)
**References:** [CapAccessType.Unrestricted](./client.capaccesstype.md)<!-- -->, [CapAccessType.Transferable](./client.capaccesstype.md)<!-- -->, [CapSecret](./client.capsecret.md)<!-- -->, [CapAccessType.Assigned](./client.capaccesstype.md)<!-- -->, [AgentPubKey](./client.agentpubkey.md)

21 changes: 21 additions & 0 deletions docs/client.capaccesstype.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@holochain/client](./client.md) &gt; [CapAccessType](./client.capaccesstype.md)

## CapAccessType enum


**Signature:**

```typescript
export declare enum CapAccessType
```

## Enumeration Members

| Member | Value | Description |
| --- | --- | --- |
| Assigned | <code>&quot;Assigned&quot;</code> | |
| Transferable | <code>&quot;Transferable&quot;</code> | |
| Unrestricted | <code>&quot;Unrestricted&quot;</code> | |

1 change: 1 addition & 0 deletions docs/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
| --- | --- |
| [ActionType](./client.actiontype.md) | |
| [AppStatusFilter](./client.appstatusfilter.md) | |
| [CapAccessType](./client.capaccesstype.md) | |
| [CellProvisioningStrategy](./client.cellprovisioningstrategy.md) | |
| [CellType](./client.celltype.md) | |
| [DhtOpType](./client.dhtoptype.md) | |
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@holochain/client",
"version": "0.16.2",
"version": "0.16.3",
"description": "A JavaScript client for the Holochain Conductor API",
"author": "Holochain Foundation <[email protected]> (http://holochain.org)",
"license": "CAL-1.0",
Expand Down

0 comments on commit 1d423d6

Please sign in to comment.