Skip to content

Commit

Permalink
Merge pull request #42 from lens-protocol/release/1.0.1
Browse files Browse the repository at this point in the history
Release/1.0.1
  • Loading branch information
cesarenaldi authored Oct 30, 2023
2 parents 3795b4e + 7638920 commit 2208e47
Show file tree
Hide file tree
Showing 24 changed files with 965 additions and 218 deletions.
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

## 1.0.1

### Patch Changes

- e651a74: **fix:** legacy `PublicationMetadataSchema` and `ProfileMetadataSchema` to replicate old discrepancies

## 1.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion docs/types/MarketplaceMetadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<h4>See</h4><p><a href="https://docs.opensea.io/docs/metadata-standards#metadata-structure">https://docs.opensea.io/docs/metadata-standards#metadata-structure</a></p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/lens-protocol/metadata/blob/main/src/publication/common/marketplace.ts#L51">src/publication/common/marketplace.ts:51</a></li></ul></aside></div>
<li>Defined in <a href="https://github.com/lens-protocol/metadata/blob/main/src/publication/common/marketplace.ts#L53">src/publication/common/marketplace.ts:53</a></li></ul></aside></div>
<div class="col-sidebar">
<div class="page-menu">
<div class="tsd-navigation settings">
Expand Down
4 changes: 2 additions & 2 deletions docs/types/MarketplaceMetadataAttribute.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="MarketplaceMetadataAttribute.html">MarketplaceMetadataAttribute</a></li></ul>
<h1>Type alias MarketplaceMetadataAttribute</h1></div>
<div class="tsd-signature"><span class="tsd-kind-type-alias">Marketplace<wbr/>Metadata<wbr/>Attribute</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">display_type</span><span class="tsd-signature-symbol">?: </span><a href="../enums/MarketplaceMetadataAttributeDisplayType.html" class="tsd-signature-type tsd-kind-enum">MarketplaceMetadataAttributeDisplayType</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">trait_type</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">value</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</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">Marketplace<wbr/>Metadata<wbr/>Attribute</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">display_type</span><span class="tsd-signature-symbol">?: </span><a href="../enums/MarketplaceMetadataAttributeDisplayType.html" class="tsd-signature-type tsd-kind-enum">MarketplaceMetadataAttributeDisplayType</a><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">trait_type</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">value</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></div>
<div class="tsd-comment tsd-typography"><p>A marketplace metadata attribute.</p>
</div>
<div class="tsd-type-declaration">
Expand All @@ -26,7 +26,7 @@ <h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-
<li class="tsd-parameter">
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">trait_<wbr/>type</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span></h5></li>
<li class="tsd-parameter">
<h5><span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span></h5></li></ul></div>
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">value</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span></h5></li></ul></div>
<div class="tsd-comment tsd-typography">
<h4>See</h4><p><a href="https://docs.opensea.io/docs/metadata-standards#attributes">https://docs.opensea.io/docs/metadata-standards#attributes</a></p>
</div><aside class="tsd-sources">
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/3d/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -637,15 +637,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/article/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,15 +595,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/audio/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -598,15 +598,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/checking-in/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -617,15 +617,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/embed/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -603,15 +603,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/event/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1133,15 +1133,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/image/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -598,15 +598,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/link/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -603,15 +603,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/livestream/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -660,15 +660,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/mint/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -603,15 +603,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/space/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -622,15 +622,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/story/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -586,15 +586,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/text-only/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -582,15 +582,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/transaction/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -617,15 +617,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
Expand Down
12 changes: 5 additions & 7 deletions jsonschemas/publications/video/3.0.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -601,15 +601,13 @@
"description": "The name of the trait."
},
"value": {
"type": "string",
"minLength": 1,
"description": "The value of the trait"
"type": [
"string",
"number"
]
}
},
"required": [
"value"
],
"additionalProperties": false
"additionalProperties": true
},
"MediaAudio": {
"type": "object",
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": "1.0.0",
"version": "1.0.1",
"description": "Lens Protocol Metadata Standards",
"type": "module",
"main": "./dist/index.cjs",
Expand Down
Loading

0 comments on commit 2208e47

Please sign in to comment.