diff --git a/CHANGELOG.md b/CHANGELOG.md index f74d630..9027280 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog], and this project adheres to [Semantic Versioning]. +## [1.0.3] - 2024-01-10 +### Added +- Thumbnail images + +### Changed +- Action metadata thumbnails + ## [1.0.2] - 2024-01-09 ### Fixed - Action metadata icon url @@ -31,7 +38,8 @@ The format is based on [Keep a Changelog], and this project adheres to [Semantic - Initiated project -[Unreleased]: https://github.com/rarimo/collabland-rarimo-poh-action/compare/1.0.2...HEAD +[Unreleased]: https://github.com/rarimo/collabland-rarimo-poh-action/compare/1.0.3...HEAD +[1.0.3]: https://github.com/rarimo/collabland-rarimo-poh-action/compare/1.0.2...1.0.3 [1.0.2]: https://github.com/rarimo/collabland-rarimo-poh-action/compare/1.0.1...1.0.2 [1.0.1]: https://github.com/rarimo/collabland-rarimo-poh-action/compare/1.0.0...1.0.1 [1.0.0]: https://github.com/rarimo/collabland-rarimo-poh-action/compare/0.1.0...1.0.0 diff --git a/package.json b/package.json index 1dee57d..cd4cd35 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "collabland-rarimo-poh-action", "description": "Implementation of the Collab.Land action /verify command for the Discord server which allows members to verify their humanity using the Rarimo Proof of Humanity case.", - "version": "1.0.2", + "version": "1.0.3", "private": true, "license": "MIT", "author": "Zero Block Global Foundation", diff --git a/public/thumbnail-discord-verify-msg.png b/public/thumbnail-discord-verify-msg.png new file mode 100644 index 0000000..bac4f2d Binary files /dev/null and b/public/thumbnail-discord-verify-msg.png differ diff --git a/public/thumbnail-robotornot.png b/public/thumbnail-robotornot.png new file mode 100644 index 0000000..67d2573 Binary files /dev/null and b/public/thumbnail-robotornot.png differ diff --git a/src/const/metadata.ts b/src/const/metadata.ts index 39065f1..8df37dc 100644 --- a/src/const/metadata.ts +++ b/src/const/metadata.ts @@ -6,10 +6,8 @@ import { config } from '@/config' const keywords = ['verification', 'rarimo', 'proof-of-humanity'] -const appIcon = { - label: 'Rarimo Proof of Humanity Action', - src: new URL('/logo.png', config.appUrl).toString(), - sizes: '186x186', +const craftPublicImgUrl = (imgName: string): string => { + return new URL(`/${imgName}`, config.appUrl).toString() } const manifest = new MiniAppManifest({ @@ -28,8 +26,25 @@ const manifest = new MiniAppManifest({ website: config.pohAppUrl, keywords, tags: keywords, - thumbnails: [appIcon], - icons: [appIcon], + thumbnails: [ + { + label: 'Rarimo Proof of Humanity App', + src: craftPublicImgUrl('thumbnail-robotornot.png'), + sizes: '3576x1946', + }, + { + label: 'Verify Discord Action message', + src: craftPublicImgUrl('thumbnail-discord-verify-msg.png'), + sizes: '1338x1368', + }, + ], + icons: [ + { + label: 'Rarimo Proof of Humanity Action', + src: craftPublicImgUrl('logo.png'), + sizes: '186x186', + }, + ], }) export const METADATA: DiscordActionMetadata = {