diff --git a/dist/extension.zip b/dist/extension.zip index 840aaa7..4d79e87 100644 Binary files a/dist/extension.zip and b/dist/extension.zip differ diff --git a/dist/extension/birb.js b/dist/extension/birb.js index 3b77b68..b822389 100644 --- a/dist/extension/birb.js +++ b/dist/extension/birb.js @@ -2651,7 +2651,7 @@ }; const menuItems = [ - new MenuItem(`Pet ${birdBirb()}`, pet, [ + new MenuItem(() => `Pet ${birdBirb()}`, pet, [ [0, 1, 1, 0, 1, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1], @@ -2683,7 +2683,7 @@ [1, 0, 0, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1, 0], ]), - new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [ + new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [ [0, 1, 0, 1, 0, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 1, 0, 0, 1], @@ -2741,7 +2741,7 @@ }), new Separator(), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), - new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false), + new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false), ]; /** @type {Birb} */ diff --git a/dist/extension/manifest.json b/dist/extension/manifest.json index d79f6e0..7aaadfd 100644 --- a/dist/extension/manifest.json +++ b/dist/extension/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "Pocket Bird", "description": "It's a pet bird in your browser, what more could you want?", - "version": "2026.4.3", + "version": "2026.4.4", "homepage_url": "https://idreesinc.com", "icons": { "48": "images/icons/transparent/48x48x1.png", diff --git a/dist/obsidian/main.js b/dist/obsidian/main.js index 74ea4c1..417086a 100644 --- a/dist/obsidian/main.js +++ b/dist/obsidian/main.js @@ -1,7 +1,7 @@ const { Plugin, Notice } = require('obsidian'); module.exports = class PocketBird extends Plugin { onload() { - console.log("Loading Pocket Bird version 2026.4.3..."); + console.log("Loading Pocket Bird version 2026.4.4..."); const OBSIDIAN_PLUGIN = this; (function () { 'use strict'; @@ -2684,7 +2684,7 @@ module.exports = class PocketBird extends Plugin { }; const menuItems = [ - new MenuItem(`Pet ${birdBirb()}`, pet, [ + new MenuItem(() => `Pet ${birdBirb()}`, pet, [ [0, 1, 1, 0, 1, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1], @@ -2716,7 +2716,7 @@ module.exports = class PocketBird extends Plugin { [1, 0, 0, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1, 0], ]), - new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [ + new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [ [0, 1, 0, 1, 0, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 1, 0, 0, 1], @@ -2774,7 +2774,7 @@ module.exports = class PocketBird extends Plugin { }), new Separator(), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), - new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false), + new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false), ]; /** @type {Birb} */ diff --git a/dist/obsidian/manifest.json b/dist/obsidian/manifest.json index 38c0638..fd707c9 100644 --- a/dist/obsidian/manifest.json +++ b/dist/obsidian/manifest.json @@ -1,7 +1,7 @@ { "id": "pocket-bird", "name": "Pocket Bird", - "version": "2026.4.3", + "version": "2026.4.4", "minAppVersion": "0.15.0", "description": "Add a pet bird to fly around your notes and keep you company!", "author": "Idrees Hassan", diff --git a/dist/userscript/birb.user.js b/dist/userscript/birb.user.js index 9cba60e..603516c 100644 --- a/dist/userscript/birb.user.js +++ b/dist/userscript/birb.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Pocket Bird // @namespace https://idreesinc.com -// @version 2026.4.3 +// @version 2026.4.4 // @description It's a pet bird in your browser, what more could you want? // @author Idrees // @downloadURL https://github.com/IdreesInc/Pocket-Bird/raw/refs/heads/main/dist/userscript/birb.user.js @@ -2646,7 +2646,7 @@ }; const menuItems = [ - new MenuItem(`Pet ${birdBirb()}`, pet, [ + new MenuItem(() => `Pet ${birdBirb()}`, pet, [ [0, 1, 1, 0, 1, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1], @@ -2678,7 +2678,7 @@ [1, 0, 0, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1, 0], ]), - new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [ + new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [ [0, 1, 0, 1, 0, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 1, 0, 0, 1], @@ -2736,7 +2736,7 @@ }), new Separator(), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), - new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false), + new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false), ]; /** @type {Birb} */ diff --git a/dist/web/birb.embed.js b/dist/web/birb.embed.js index 829a758..31365c7 100644 --- a/dist/web/birb.embed.js +++ b/dist/web/birb.embed.js @@ -2626,7 +2626,7 @@ }; const menuItems = [ - new MenuItem(`Pet ${birdBirb()}`, pet, [ + new MenuItem(() => `Pet ${birdBirb()}`, pet, [ [0, 1, 1, 0, 1, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1], @@ -2658,7 +2658,7 @@ [1, 0, 0, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1, 0], ]), - new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [ + new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [ [0, 1, 0, 1, 0, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 1, 0, 0, 1], @@ -2716,7 +2716,7 @@ }), new Separator(), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), - new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false), + new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false), ]; /** @type {Birb} */ diff --git a/dist/web/birb.js b/dist/web/birb.js index 829a758..31365c7 100644 --- a/dist/web/birb.js +++ b/dist/web/birb.js @@ -2626,7 +2626,7 @@ }; const menuItems = [ - new MenuItem(`Pet ${birdBirb()}`, pet, [ + new MenuItem(() => `Pet ${birdBirb()}`, pet, [ [0, 1, 1, 0, 1, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1], @@ -2658,7 +2658,7 @@ [1, 0, 0, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1, 0], ]), - new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [ + new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [ [0, 1, 0, 1, 0, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 1, 0, 0, 1], @@ -2716,7 +2716,7 @@ }), new Separator(), new MenuItem(() => `Source Code ${isPetBoostActive() ? " ❤" : ""}`, () => { window.open("https://github.com/IdreesInc/Pocket-Bird"); }), - new MenuItem("Build 2026.4.3", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.3"); }, undefined, false), + new MenuItem("Build 2026.4.4", () => { alert("Thank you for using Pocket Bird! You are on version: 2026.4.4"); }, undefined, false), ]; /** @type {Birb} */ diff --git a/src/application.js b/src/application.js index e1123aa..b8391a5 100644 --- a/src/application.js +++ b/src/application.js @@ -169,7 +169,7 @@ function startApplication(birbPixels, featherPixels, hatsPixels) { }; const menuItems = [ - new MenuItem(`Pet ${birdBirb()}`, pet, [ + new MenuItem(() => `Pet ${birdBirb()}`, pet, [ [0, 1, 1, 0, 1, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 0, 0, 0, 1], @@ -201,7 +201,7 @@ function startApplication(birbPixels, featherPixels, hatsPixels) { [1, 0, 0, 0, 0, 1, 0], [1, 1, 1, 1, 1, 1, 0], ]), - new MenuItem(`Hide ${birdBirb()}`, () => birb.setVisible(false), [ + new MenuItem(() => `Hide ${birdBirb()}`, () => birb.setVisible(false), [ [0, 1, 0, 1, 0, 1, 0], [1, 0, 0, 1, 0, 0, 1], [1, 0, 0, 1, 0, 0, 1],