Skip to content

Commit

Permalink
v2.0.0-beta.02 - 1.9.1
Browse files Browse the repository at this point in the history
- Hotfix for post failure when no tags are present
  • Loading branch information
iPaulPro committed Sep 18, 2023
1 parent 85d3f51 commit 884457b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion manifest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default defineManifest(async (env) => ({
name: 'Focalize - DApp for Lens Protocol (Beta)',
short_name: 'Focalize',
version,
version_name: '2.0.0-beta.01',
version_name: '2.0.0-beta.02',
description: 'Social app built on Lens Protocol with DMs via XMTP',
permissions: [
'activeTab',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "focalize",
"private": true,
"version": "1.9.0",
"version": "1.9.1",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/publications/lens-post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,9 @@ const createPostTransaction = async (
console.log('createPostTransaction: Created post typed data', typedData);

if (useRelay) {
// @ts-ignore This function strips the __typename
const signature = await signTypedData(
typedData.domain,
// @ts-ignore
typedData.types,
typedData.value
);
Expand Down
7 changes: 3 additions & 4 deletions src/window/Composer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@
$attachments[0].cover = `ipfs://${$cover.cid}`;
}
const tags = $postTags.length ? $postTags : undefined;
let attributes: MetadataAttributeInput[] = [];
mainFocus = getMainFocusFromMimeType($attachments[0].type);
Expand All @@ -221,7 +220,7 @@
$attachments,
$title,
$content,
tags,
$postTags,
$contentWarning,
$description,
locale,
Expand All @@ -237,7 +236,7 @@
$cover?.type,
$content,
attributes,
tags ?? undefined,
$postTags,
$contentWarning,
$description,
locale,
Expand All @@ -253,7 +252,7 @@
$cover?.type,
$content,
attributes,
tags ?? undefined,
$postTags,
$contentWarning,
$description,
locale,
Expand Down

0 comments on commit 884457b

Please sign in to comment.