Skip to content

Commit

Permalink
Merge pull request #26 from lens-protocol/release/0.1.0-alpha.23
Browse files Browse the repository at this point in the history
Release/0.1.0 alpha.23
  • Loading branch information
cesarenaldi authored Sep 18, 2023
2 parents 084a168 + 0dbe820 commit 838c26e
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/hot-olives-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@lens-protocol/metadata': patch
---

**fix:** non-optional `locale: Locale`
1 change: 1 addition & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"healthy-teachers-learn",
"hip-cherries-roll",
"hot-jobs-collect",
"hot-olives-juggle",
"hungry-mangos-pay",
"large-pots-bow",
"light-ligers-exist",
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @lens-protocol/metadata

## 0.1.0-alpha.23

### Patch Changes

- b76078c: **fix:** non-optional `locale: Locale`

## 0.1.0-alpha.22

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions docs/types/PublicationMetadataCommon.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<li><a href="../index.html">Lens Protocol Metadata Standards</a></li>
<li><a href="PublicationMetadataCommon.html">PublicationMetadataCommon</a></li></ul>
<h1>Type alias PublicationMetadataCommon</h1></div>
<div class="tsd-signature"><span class="tsd-kind-type-alias">Publication<wbr/>Metadata<wbr/>Common</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">appId</span><span class="tsd-signature-symbol">?: </span><a href="AppId.html" class="tsd-signature-type tsd-kind-type-alias">AppId</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">attributes</span><span class="tsd-signature-symbol">?: </span><a href="MetadataAttribute.html" class="tsd-signature-type tsd-kind-type-alias">MetadataAttribute</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">contentWarning</span><span class="tsd-signature-symbol">?: </span><a href="../enums/PublicationContentWarning.html" class="tsd-signature-type tsd-kind-enum">PublicationContentWarning</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">encryptedWith</span><span class="tsd-signature-symbol">?: </span><a href="PublicationEncryptionStrategy.html" class="tsd-signature-type tsd-kind-type-alias">PublicationEncryptionStrategy</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">hideFromFeed</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">locale</span><span class="tsd-signature-symbol">?: </span><a href="Locale.html" class="tsd-signature-type tsd-kind-type-alias">Locale</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">tags</span><span class="tsd-signature-symbol">?: </span><a href="Tag.html" class="tsd-signature-type tsd-kind-type-alias">Tag</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
<div class="tsd-signature"><span class="tsd-kind-type-alias">Publication<wbr/>Metadata<wbr/>Common</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">appId</span><span class="tsd-signature-symbol">?: </span><a href="AppId.html" class="tsd-signature-type tsd-kind-type-alias">AppId</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">attributes</span><span class="tsd-signature-symbol">?: </span><a href="MetadataAttribute.html" class="tsd-signature-type tsd-kind-type-alias">MetadataAttribute</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">contentWarning</span><span class="tsd-signature-symbol">?: </span><a href="../enums/PublicationContentWarning.html" class="tsd-signature-type tsd-kind-enum">PublicationContentWarning</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">encryptedWith</span><span class="tsd-signature-symbol">?: </span><a href="PublicationEncryptionStrategy.html" class="tsd-signature-type tsd-kind-type-alias">PublicationEncryptionStrategy</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">hideFromFeed</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">locale</span><span class="tsd-signature-symbol">: </span><a href="Locale.html" class="tsd-signature-type tsd-kind-type-alias">Locale</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">tags</span><span class="tsd-signature-symbol">?: </span><a href="Tag.html" class="tsd-signature-type tsd-kind-type-alias">Tag</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
<div class="tsd-comment tsd-typography"><p>Common fields of a Lens primary publication.</p>
</div>
<div class="tsd-type-declaration">
Expand Down Expand Up @@ -58,7 +58,7 @@ <h5><span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">
</div>
<div class="tsd-comment tsd-typography"></div></li>
<li class="tsd-parameter">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">locale</span><span class="tsd-signature-symbol">?: </span><a href="Locale.html" class="tsd-signature-type tsd-kind-type-alias">Locale</a></h5>
<h5><span class="tsd-kind-property">locale</span><span class="tsd-signature-symbol">: </span><a href="Locale.html" class="tsd-signature-type tsd-kind-type-alias">Locale</a></h5>
<div class="tsd-comment tsd-typography"><p>The locale of the metadata.</p>
</div>
<div class="tsd-comment tsd-typography"></div></li>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lens-protocol/metadata",
"version": "0.1.0-alpha.22",
"version": "0.1.0-alpha.23",
"description": "Lens Protocol Metadata Standards",
"type": "module",
"main": "./dist/index.cjs",
Expand Down
2 changes: 1 addition & 1 deletion src/publication/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export type PublicationMetadataCommon = {
/**
* The locale of the metadata.
*/
locale?: Locale;
locale: Locale;
/**
* The encryption strategy used to encrypt the publication.
*
Expand Down

0 comments on commit 838c26e

Please sign in to comment.