author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
244,495 | 09.11.2021 09:20:45 | -3,600 | 9b02f6647bcd0e133a6ebd8356288e88b2693d89 | feat: remove global window declaration | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/index.ts",
"new_path": "src/extension/content-script/batteries/index.ts",
"diff": "import utils from \"../../../common/lib/utils\";\n-import { Battery } from \"../../../types\";\n// import GitHubRepo from \"./GitHubRepo\"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: remove global window declaration |
244,495 | 09.11.2021 09:56:35 | -3,600 | e36d8eecab9d67c0fe252f47f40aee86af4633ae | refactor: implicit return | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/index.ts",
"new_path": "src/extension/content-script/batteries/index.ts",
"diff": "@@ -12,9 +12,9 @@ async function LBE_EXTRACT_LIGHTNING_DATA() {\n// get maching extractors/enhancements for the current URL\n// NOTE: this... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: implicit return |
244,495 | 09.11.2021 10:50:56 | -3,600 | 53747ddd59e6f71889c7a1ee96ea41e16e51dbd4 | feat: notify the content script when tab was updated | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -102,6 +102,15 @@ async function init() {\n// TODO: make optional\nbrowser.tabs.onUpdated.addListener(updateIcon); // update Icon when there is an al... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: notify the content script when tab was updated |
244,495 | 09.11.2021 10:59:27 | -3,600 | 6218ab3fb0343031a3a7e8fec31a01929e720791 | refactor: extract into func | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -14,6 +14,14 @@ setInterval(() => {\n}, 5000);\n*/\n+const notifyContentScript = (tabId, changeInfo, tab) => {\n+ if (changeInfo.status === \"complet... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: extract into func |
244,495 | 09.11.2021 16:08:59 | -3,600 | ef85d8b1a2d460e6ced6b0b7e32ec744bfa8f2ad | refactor: replace promises by messaging | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -32,19 +32,6 @@ class Home extends React.Component {\n};\n}\n- loadLightningDataFromCurrentWebsite() {\n- // Enhancement data is loaded asynchronously (for example becau... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: replace promises by messaging |
244,495 | 09.11.2021 18:44:24 | -3,600 | a84947208f4eb9e3babd3bcb39f39c568a9d6c0c | Update src/extension/content-script/batteries/index.ts | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/index.ts",
"new_path": "src/extension/content-script/batteries/index.ts",
"diff": "@@ -4,6 +4,7 @@ import Twitter from \"./Twitter\";\nimport YouTubeVideo from \"./YouTubeVideo\";\n// import YouTubeChannel from \"./YouTub... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/extension/content-script/batteries/index.ts
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,461 | 09.11.2021 19:35:19 | -3,600 | eed7f6abcd3cac3d7de0168406d7d21714486915 | Highlight the icon after the when webln is enabled | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/allowances/enable.js",
"new_path": "src/extension/background-script/actions/allowances/enable.js",
"diff": "-import state from \"../../state\";\nimport db from \"../../db\";\nimport utils from \"../../../../common/lib/ut... | TypeScript | MIT License | getalby/lightning-browser-extension | Highlight the icon after the when webln is enabled |
244,531 | 10.11.2021 15:33:47 | -3,600 | 44e386971514042306bbcda5c1b09b55a0a65b93 | with new icons | [
{
"change_type": "ADD",
"old_path": "static/assets/icons/alby_icon_yellow_128x128.png",
"new_path": "static/assets/icons/alby_icon_yellow_128x128.png",
"diff": "Binary files /dev/null and b/static/assets/icons/alby_icon_yellow_128x128.png differ\n"
},
{
"change_type": "ADD",
"old_path": ... | TypeScript | MIT License | getalby/lightning-browser-extension | with new icons |
244,495 | 10.11.2021 18:06:26 | -3,600 | 5fc16b08fed7516cc8ea56f8f4b99f5e5f732118 | fix: cannot stop scanner bug | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.tsx",
"new_path": "src/app/components/QrcodeScanner/index.tsx",
"diff": "@@ -93,7 +93,15 @@ function QrcodeScanner({\nasync function handleStopScanning(isMounted = true) {\ntry {\nif (html5QrCodeRef.current) {\n+ const sc... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: cannot stop scanner bug |
244,531 | 15.11.2021 21:29:38 | -3,600 | 7996b2a4ed682ba2bd2251b8d85041b8d3988143 | added sleeping Alby icons to replace the blue icons
let's see how the sleeping icons appear in the browser bar. | [
{
"change_type": "ADD",
"old_path": "static/assets/icons/alby_icon_sleeping_128x128.png",
"new_path": "static/assets/icons/alby_icon_sleeping_128x128.png",
"diff": "Binary files /dev/null and b/static/assets/icons/alby_icon_sleeping_128x128.png differ\n"
},
{
"change_type": "ADD",
"old_p... | TypeScript | MIT License | getalby/lightning-browser-extension | added sleeping Alby icons to replace the blue icons
let's see how the sleeping icons appear in the browser bar. |
244,461 | 15.11.2021 14:28:17 | 21,600 | 34c1a33a31bd8a13640b06d263bae68b21579c65 | Add optional debug mode
This allows to easily access important objects from the background script console.
e.g.
debugAlby.state.getState().accounts gives you the list of accounts
debugAlby.connectors gives ja access to the connector classes
this helps with quickly testing certain changes in a REPL. | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -5,6 +5,7 @@ import utils from \"../../common/lib/utils\";\nimport { router } from \"./router\";\nimport state from \"./state\";\nimport db from \"./... | TypeScript | MIT License | getalby/lightning-browser-extension | Add optional debug mode
This allows to easily access important objects from the background script console.
e.g.
debugAlby.state.getState().accounts gives you the list of accounts
debugAlby.connectors gives ja access to the connector classes
this helps with quickly testing certain changes in a REPL. |
244,461 | 14.11.2021 13:51:52 | 21,600 | 06d8a088055a75fb2d263b22c4022665ce6448ab | Add support for comments in LNURLpay requests | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -17,6 +17,7 @@ type Details = {\ncallback: string;\ndomain: string;\nmetadata: string;\n+ commentAllowed?: number;\n};\ntype Origin = {\n@@ -42,6 +43,7 @@ function LNURLPay(... | TypeScript | MIT License | getalby/lightning-browser-extension | Add support for comments in LNURLpay requests |
244,461 | 16.11.2021 00:36:11 | 21,600 | 5ab48a39ae7b34579fe761781a966c9680638286 | Use sleeping (off) and yellow (on) icons | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/setup/setIcon.js",
"new_path": "src/extension/background-script/actions/setup/setIcon.js",
"diff": "const setIcon = async (message, sender) => {\n// TODO: refactor names / rename files?\nconst names = {\n- active: \"alby... | TypeScript | MIT License | getalby/lightning-browser-extension | Use sleeping (off) and yellow (on) icons |
244,495 | 17.11.2021 10:13:20 | -3,600 | c9d2c64ff889d489ff174ecbbe18425ea810264e | remove redundant sass file | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -4,8 +4,6 @@ import { createHashHistory } from \"history\";\nimport { HashRouter, Route, Switch } from \"react-router-dom\";\nimport { parsePaymentRequest } from \"i... | TypeScript | MIT License | getalby/lightning-browser-extension | remove redundant sass file |
244,495 | 17.11.2021 10:24:45 | -3,600 | 07b7b63648ee298eb6ba9586a9103b1d31f534f7 | clearer distinction between dev and prod | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -39,9 +39,7 @@ const getExtensionFileType = (browser) => {\nreturn \"zip\";\n};\n-module.exports = {\n- devtool: nodeEnv === \"development\" ? \"inline-source-map\" : false,\n-\n+var options = {\... | TypeScript | MIT License | getalby/lightning-browser-extension | clearer distinction between dev and prod |
244,495 | 18.11.2021 12:34:26 | -3,600 | 0cf78667a4ac9bb83ca2db61e91bf43960c68d61 | feat: reset account to initial state before loading | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "@@ -17,6 +17,7 @@ function Options() {\nconst [accountInfo, setAccountInfo] = useState({});\nfunction loadAccountInfo() {\n+ setAccountInfo({});\nreturn utils.call(... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: reset account to initial state before loading |
244,495 | 18.11.2021 12:21:23 | -3,600 | a92ce39d91df1f9d230c27abec630510bc21e51c | feat: disallow horizontal scrollbar in popup | [
{
"change_type": "MODIFY",
"old_path": "static/views/popup.html",
"new_path": "static/views/popup.html",
"diff": "<meta property=\"og:image:url\" content=\"/assets/icons/satsymbol-128.png\" />\n</head>\n-<body class=\"w-96 bg-gray-50\">\n+<body class=\"w-96 overflow-x-hidden bg-gray-50\">\n<div id=\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: disallow horizontal scrollbar in popup |
244,461 | 17.11.2021 09:55:06 | 21,600 | aaf407cb1199b78492809fe20e4e0b950fd22ece | Use correct LnBits error response message | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnbits.js",
"new_path": "src/extension/background-script/connectors/lnbits.js",
"diff": "@@ -157,7 +157,7 @@ class LnBits extends Base {\nif (!res.ok) {\nconst errBody = await res.json();\nconsole.log(\"errBody\", err... | TypeScript | MIT License | getalby/lightning-browser-extension | Use correct LnBits error response message |
244,461 | 17.11.2021 09:59:04 | 21,600 | 73008d1d0d9bb1cf9ed4aa970d2e56ccab35b5a2 | Update default LnBits URL | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnbits/index.tsx",
"new_path": "src/app/screens/Onboard/ConnectLnbits/index.tsx",
"diff": "@@ -9,7 +9,7 @@ export default function ConnectLnbits() {\nconst history = useHistory();\nconst [formData, setFormData] = useState({\nadmi... | TypeScript | MIT License | getalby/lightning-browser-extension | Update default LnBits URL |
244,461 | 19.11.2021 14:17:34 | 21,600 | a6d9591efa22878e2f5badf718ccacd20f94b143 | Pass amount as integer to the makeInvoice call
LNbits requires integrate values and I guess it is a better convention for now | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"new_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"diff": "@@ -7,10 +7,13 @@ const makeInvoice = async (message, sender) => {\n}\nPubSub.publish(`ln.makeInvoice.start`, message)... | TypeScript | MIT License | getalby/lightning-browser-extension | Pass amount as integer to the makeInvoice call
LNbits requires integrate values and I guess it is a better convention for now |
244,463 | 19.11.2021 19:48:17 | -3,600 | b55ba6d7ae00a4612bdf23e49af41e61c4033a69 | convert BalanceCard to tsx | [
{
"change_type": "RENAME",
"old_path": "src/app/components/BalanceCard/index.jsx",
"new_path": "src/app/components/BalanceCard/index.tsx",
"diff": "import React from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\n+type Props = {\n+ alias: string;\n+ crypto: string;\n+ fiat: string;\n+... | TypeScript | MIT License | getalby/lightning-browser-extension | convert BalanceCard to tsx |
244,495 | 15.11.2021 12:54:04 | -3,600 | 20ac73a14aecb20b59ea47923255576a7254e9f0 | refactored react-router code | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.jsx",
"new_path": "src/app/router/Welcome/Welcome.jsx",
"diff": "@@ -21,6 +21,7 @@ const routes = [\npath: \"/choose-connector/*\",\ncomponent: ChooseConnector,\nname: \"Connect to Lightning\",\n+ routes: [{ path: \"/lnd\", compo... | TypeScript | MIT License | getalby/lightning-browser-extension | refactored react-router code |
244,495 | 22.11.2021 10:44:04 | -3,600 | fe51ecbd8e27fb289f62a7d29145d5e5270317bf | feat: use account id | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -2,7 +2,7 @@ import React, { useState, useEffect, createContext } from \"react\";\nimport utils from \"../../common/lib/utils\";\ninterface AuthContextType {\n- user: ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: use account id |
244,495 | 23.11.2021 10:23:09 | -3,600 | bdf52009bb08c301449473961c3e1c5f10c3f4b4 | Update src/app/context/AuthContext.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "@@ -43,6 +43,7 @@ export function AuthProvider({ children }: { children: React.ReactNode }) {\n})\n.catch((e) => {\nconsole.log(e);\n+ alert(`An unexpected error occurred... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/app/context/AuthContext.tsx
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,495 | 23.11.2021 10:23:15 | -3,600 | 3abfe09b1bffd9d702015ba09d9627494a91a2c4 | Update src/app/screens/Publisher.tsx | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publisher.tsx",
"new_path": "src/app/screens/Publisher.tsx",
"diff": "@@ -33,7 +33,6 @@ function Publisher() {\nconst response = await utils.call(\"getAllowanceById\", {\nid: parseInt(id),\n});\n- console.log(response);\nsetAllowance(response);... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/app/screens/Publisher.tsx
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,495 | 23.11.2021 10:23:19 | -3,600 | 709c8080bacb44c56e37d24d2ff4bbecd118e225 | Update src/extension/background-script/actions/accounts/unlock.js | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/unlock.js",
"new_path": "src/extension/background-script/actions/accounts/unlock.js",
"diff": "@@ -20,7 +20,6 @@ const unlock = (message, sender) => {\n// if everything is fine we keep the password in memory\nst... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/extension/background-script/actions/accounts/unlock.js
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,495 | 23.11.2021 11:24:27 | -3,600 | 37a31a62ac780f2a66a7a4eea3913d51d793a756 | fix: errors due to react-router 6 upgrade | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"new_path": "src/app/components/AccountMenu/AccountMenu.stories.tsx",
"diff": "import React from \"react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+import { Meta } from \"@storybook/react/... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: errors due to react-router 6 upgrade |
244,495 | 23.11.2021 11:10:48 | -3,600 | 6481c337b81b675926e7b8e6fc1e1c29d8238ee1 | feat: updated breaking changes | [
{
"change_type": "MODIFY",
"old_path": ".storybook/preview.js",
"new_path": ".storybook/preview.js",
"diff": "import \"../src/app/styles/index.css\";\n+import \"react-loading-skeleton/dist/skeleton.css\";\n// Needed to make Storybook work with webextension-polyfill.\nif (!window.chrome) window.chrom... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: updated breaking changes |
244,495 | 18.11.2021 13:24:44 | -3,600 | bee650482f713b1931e5e457ba3f8facde1606e7 | feat: show succes message within screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -45,6 +45,7 @@ function LNURLPay(props: Props) {\n);\nconst [comment, setComment] = useState<string | undefined>();\nconst [loading, setLoading] = useState(false);\n+ const ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show succes message within screen |
244,495 | 22.11.2021 11:36:41 | -3,600 | c321467bb430e899ad3aee74af8221435cb8ac0c | feat: add close button | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -254,12 +254,22 @@ function LNURLPay(props: Props) {\n</div>\n</>\n) : (\n- <dl className=\"shadow bg-white pt-4 px-4 rounded-lg overflow-hidden\">\n+ <>\n+ <dl className=\"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add close button |
244,495 | 23.11.2021 13:24:00 | -3,600 | 3b59581cef585ed635678d629ce8c6a985169582 | feat: render success actions within the app | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -45,7 +45,9 @@ function LNURLPay(props: Props) {\n);\nconst [comment, setComment] = useState<string | undefined>();\nconst [loading, setLoading] = useState(false);\n- const ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: render success actions within the app |
244,495 | 23.11.2021 14:01:35 | -3,600 | 55fe481838f99f865df9f7b567a3ee02cb72c312 | feat: implement updated bitcoin icons react lib | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"dependencies\": {\n\"@babel/runtime\": \"^7.15.4\",\n- \"@bitcoin-design/bitcoin-icons\": \"^0.1.1\",\n+ \"@bitcoin-design/bitcoin-icons-react\": \"^0.1.8\",\n\"@headlessui/react\": \"^1.4.2\",\n\"@hero... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: implement updated bitcoin icons react lib |
244,495 | 23.11.2021 15:10:23 | -3,600 | ca5dac68f5a111a57899c85fb7deaeb48a4fb913 | fix: show send icon | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -147,7 +147,7 @@ function Home() {\n<div className=\"flex mb-6 space-x-4\">\n<Button\nfullWidth\n- icon={<SendIcon />}\n+ icon={<SendIcon className=\"w-6 h-6\" />}\nlabe... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: show send icon |
244,495 | 26.11.2021 10:37:37 | -3,600 | 411d5e623dd4f095a7fa3777d28f59ac6c2beb9b | feat: remove proposals already included by preset-env | [
{
"change_type": "MODIFY",
"old_path": ".babelrc",
"new_path": ".babelrc",
"diff": "],\n\"plugins\": [\n[\"@babel/plugin-proposal-class-properties\"],\n- [\"@babel/plugin-transform-destructuring\", {\n- \"useBuiltIns\": true\n- }],\n- [\"@babel/plugin-proposal-object-rest-spread\", {\n- \"useBuiltIn... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: remove proposals already included by preset-env |
244,495 | 26.11.2021 10:45:31 | -3,600 | c5b1a22e69fba2ddaef37c31d4b129119cbe03ce | feat: remove plugin that is already integrated in babel-env | [
{
"change_type": "MODIFY",
"old_path": ".babelrc",
"new_path": ".babelrc",
"diff": "\"regenerator\": true\n}\n]\n- ],\n- \"env\": {\n- \"test\": {\n- \"plugins\": [\"@babel/plugin-transform-modules-commonjs\"]\n- }\n- }\n+ ]\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "package.json",... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: remove plugin that is already integrated in babel-env |
244,495 | 26.11.2021 11:08:18 | -3,600 | 7a252482bf8d505182978dbd893a11487cd49f1b | refactor: extension reloader doesnt seem to be used | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"typescript\": \"^4.5.2\",\n\"webpack\": \"^5.64.4\",\n\"webpack-cli\": \"^4.9.1\",\n- \"webpack-extension-reloader\": \"^1.1.4\",\n\"wext-manifest-loader\": \"^2.3.0\",\n\"wext-manifest-webpack-plugin\": \"... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: extension reloader doesnt seem to be used |
244,495 | 26.11.2021 11:11:16 | -3,600 | 284e6936c5be1466c46ae7b61418d03d5e72e507 | refactor: were not using flow, we rely on typescript | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"css-minimizer-webpack-plugin\": \"^3.2.0\",\n\"eslint\": \"^8.3.0\",\n\"eslint-config-prettier\": \"^8.3.0\",\n- \"eslint-plugin-flowtype\": \"^8.0.3\",\n\"eslint-plugin-import\": \"^2.25.3\",\n\"eslint-plu... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: were not using flow, we rely on typescript |
244,495 | 29.11.2021 12:18:06 | -3,600 | 34ab3aca7330cf1ade941785aab963a5b9e8d9f6 | feat: only show preimage when available | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/TransactionsTable/index.tsx",
"new_path": "src/app/components/TransactionsTable/index.tsx",
"diff": "@@ -85,7 +85,9 @@ export default function TransactionsTable({ transactions }: Props) {\n<Disclosure.Panel>\n<div className=\"mt-1 ml-9 text-... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: only show preimage when available |
244,495 | 29.11.2021 17:34:58 | -3,600 | 2c49d8a8c280a4f75dc565fdf5d9544b63c56ce7 | feat: support default memo | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary.tsx",
"new_path": "src/app/components/PaymentSummary.tsx",
"diff": "@@ -6,7 +6,7 @@ type Props = {\nfunction PaymentSummary({ amount, amountAlt, description }: Props) {\nreturn (\n- <div className=\"p-4 bg-gray-50 border-t bor... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: support default memo |
244,495 | 29.11.2021 17:54:23 | -3,600 | 1cecb3c91da301f96432e141b1fe831d3b07382c | move provider to ts | [
{
"change_type": "RENAME",
"old_path": "src/extension/ln/webln/index.js",
"new_path": "src/extension/ln/webln/index.ts",
"diff": "+interface RequestInvoiceArgs {\n+ amount?: string | number;\n+ defaultAmount?: string | number;\n+ minimumAmount?: string | number;\n+ maximumAmount?: string | number;\n... | TypeScript | MIT License | getalby/lightning-browser-extension | move provider to ts |
244,495 | 29.11.2021 17:56:27 | -3,600 | c8dd074edd1cd47a7e1664b834f845c7f5f9c803 | add message event type | [
{
"change_type": "MODIFY",
"old_path": "src/extension/ln/webln/index.ts",
"new_path": "src/extension/ln/webln/index.ts",
"diff": "@@ -100,7 +100,7 @@ export default class WebLNProvider {\n\"*\" // TODO use origin\n);\n- function handleWindowMessage(messageEvent: any) {\n+ function handleWindowMessag... | TypeScript | MIT License | getalby/lightning-browser-extension | add message event type |
244,495 | 29.11.2021 18:25:15 | -3,600 | e0f3b24696e5a30ab09de7973ee9485686b5d531 | refactor: memo const | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"new_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"diff": "@@ -2,13 +2,11 @@ import PubSub from \"pubsub-js\";\nimport state from \"../../state\";\nconst makeInvoice = async (me... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: memo const |
244,495 | 30.11.2021 14:30:09 | -3,600 | 429bec2ec755952446628d0c60c6377f5e387f40 | feat: connector type | [
{
"change_type": "MODIFY",
"old_path": "src/declarations.d.ts",
"new_path": "src/declarations.d.ts",
"diff": "@@ -24,7 +24,7 @@ interface PaymentRequestDetails {\npublic_key: string;\n};\nsafe_tokens: number;\n- tokens: number;\n+ tokens: string;\n}\ndeclare module \"invoices\" {\n"
},
{
"ch... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: connector type |
244,495 | 30.11.2021 14:58:47 | -3,600 | 611e8e1f9832ab8a0fb164ac9444309f5cc66998 | feat: typed lndhub | [
{
"change_type": "MODIFY",
"old_path": "src/declarations.d.ts",
"new_path": "src/declarations.d.ts",
"diff": "@@ -24,7 +24,7 @@ interface PaymentRequestDetails {\npublic_key: string;\n};\nsafe_tokens: number;\n- tokens: string;\n+ tokens: number;\n}\ndeclare module \"invoices\" {\n"
},
{
"ch... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: typed lndhub |
244,495 | 30.11.2021 15:42:33 | -3,600 | 52ff54955d554f968562a4e1f3c78c744aaf0460 | feat: converted all connectors to typescript | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/base.ts",
"new_path": "src/extension/background-script/connectors/base.ts",
"diff": "interface Config {\n- login: string;\n- password: string;\n- url: string;\n+ adminkey?: string;\n+ login?: string;\n+ macaroon?: str... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: converted all connectors to typescript |
244,495 | 30.11.2021 16:00:53 | -3,600 | 7e31068b9b4a08a2189d6f90fa83c49254478f08 | feat: added example | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/connectors/connector.example",
"diff": "+import Base from \"./base\";\n+import Connector, {\n+ SendPaymentArgs,\n+ SendPaymentResponse,\n+ GetInfoResponse,\n+ GetBalanceResponse,\n+ MakeInvoiceArgs,\n+ MakeInvoice... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added example |
244,495 | 01.12.2021 09:06:34 | -3,600 | 6e699c863769820cd8aa49a27e59fd6ed17829f5 | refactor: leave message intact | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"new_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"diff": "@@ -2,11 +2,10 @@ import PubSub from \"pubsub-js\";\nimport state from \"../../state\";\nconst makeInvoice = async (me... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: leave message intact |
244,495 | 01.12.2021 13:45:31 | -3,600 | e568247cff8189b206882a93a4648a7773313fed | feat: handle dynamic invoice | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary.tsx",
"new_path": "src/app/components/PaymentSummary.tsx",
"diff": "type Props = {\n- amount: string;\n+ amount: string | React.ReactNode;\namountAlt?: string;\n- description: string;\n+ description?: string;\n};\nfunction Pay... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: handle dynamic invoice |
244,495 | 01.12.2021 18:09:23 | -3,600 | 2282838b66cb3e43c6616bd2b8e52ee19e386b34 | feat: toggline website enhancements ui | [
{
"change_type": "RENAME",
"old_path": "src/app/components/Toggle/index.jsx",
"new_path": "src/app/components/Toggle/index.tsx",
"diff": "-import { useState } from \"react\";\nimport { Switch } from \"@headlessui/react\";\nimport { classNames } from \"../../utils/index\";\n-export default function T... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: toggline website enhancements ui |
244,495 | 01.12.2021 18:43:52 | -3,600 | f3719823bf46cb6a86c2972e630a9d5f4f418473 | feat: check setting before extracting data | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -26,19 +26,41 @@ function Setting({ title, subtitle, right }: Props) {\nfunction Settings() {\nconst [loading, setLoading] = useState(true);\n+ const [settings, setSettings]... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: check setting before extracting data |
244,495 | 02.12.2021 12:17:21 | -3,600 | b69a1473b1d13abcd5ac7ed9183c920e6db9cea9 | refactor: get and save settings trough actions | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "import { useState, useEffect } from \"react\";\n-import browser from \"webextension-polyfill\";\nimport { Html5Qrcode } from \"html5-qrcode\";\n+import utils from \"../../commo... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: get and save settings trough actions |
244,461 | 02.12.2021 14:07:46 | -3,600 | b6c471c76ca26f66412ae7fe65b5dbd8684e984c | Make sure to load cached connector class and not reinitialize | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/state.ts",
"new_path": "src/extension/background-script/state.ts",
"diff": "@@ -49,6 +49,9 @@ const state = createState<State>((set, get) => ({\nreturn account;\n},\ngetConnector: () => {\n+ if (get().connector) {\n+ return get(... | TypeScript | MIT License | getalby/lightning-browser-extension | Make sure to load cached connector class and not reinitialize |
244,461 | 03.12.2021 00:31:48 | -3,600 | 7011e0796fed8a6edb9666c2fee55369aeff5203 | Add missing logos to ChooseConnector from options page | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Options/ChooseConnector/index.jsx",
"new_path": "src/app/screens/Options/ChooseConnector/index.jsx",
"diff": "@@ -7,27 +7,36 @@ import ConnectLndHub from \"../../Onboard/ConnectLndHub\";\nimport ConnectLnbits from \"../../Onboard/ConnectLnbits\... | TypeScript | MIT License | getalby/lightning-browser-extension | Add missing logos to ChooseConnector from options page |
244,495 | 03.12.2021 12:45:09 | -3,600 | e4e992707c7008e8ab7af9de691fc39d9d99eebd | feat: make adminkey required | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/base.ts",
"new_path": "src/extension/background-script/connectors/base.ts",
"diff": "interface Config {\n- adminkey?: string;\n+ adminkey: string;\nlogin?: string;\nmacaroon?: string;\npassword?: string;\n"
},
{
... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: make adminkey required |
244,495 | 03.12.2021 12:49:39 | -3,600 | 4153c674fd4a7bf95358541d757b2434106f0b94 | feat: add route interface | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/connector.interface.ts",
"new_path": "src/extension/background-script/connectors/connector.interface.ts",
"diff": "@@ -4,6 +4,11 @@ interface WebLNNode {\ncolor?: string;\n}\n+interface Route {\n+ total_amt: number;\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add route interface |
244,495 | 03.12.2021 13:06:51 | -3,600 | 66794f2657b68f686f130e91f11c1cd67cc69555 | Update src/extension/background-script/actions/ln/makeInvoice.js | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"new_path": "src/extension/background-script/actions/ln/makeInvoice.js",
"diff": "@@ -5,7 +5,7 @@ const makeInvoice = async (message, sender) => {\nPubSub.publish(`ln.makeInvoice.start`, message);\nco... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/extension/background-script/actions/ln/makeInvoice.js
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,495 | 06.12.2021 12:53:33 | -3,600 | 341349e9003a07f967b2edc7579638694fbcdaf0 | feat: lnurlpay from options | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "@@ -12,6 +12,7 @@ import ChooseConnector from \"../../screens/Options/ChooseConnector\";\nimport TestConnection from \"../../screens/Options/TestConnection\";\nimpo... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: lnurlpay from options |
244,495 | 06.12.2021 13:04:13 | -3,600 | a4cab6196a8b6228d498a0007c2e338a859c318b | refactor: improved types | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -35,15 +35,16 @@ function LNURLPay(props: Props) {\nconst [loading, setLoading] = useState(true);\nconst navigate = useNavigate();\nconst location: {\n- state?: {\n- details... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: improved types |
244,495 | 06.12.2021 14:27:35 | -3,600 | 9efeb008596ead235031789945e96b3ee9954f35 | feat: move constructor to connector | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/base.ts",
"new_path": "src/extension/background-script/connectors/base.ts",
"diff": "-interface Config {\n- adminkey: string;\n- login?: string;\n- macaroon?: string;\n- password?: string;\n- url?: string;\n-}\n-\ncla... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: move constructor to connector |
244,495 | 06.12.2021 14:35:09 | -3,600 | 3e303450d85658198a0d0079c452117beba69ed1 | refactor: move config type into connector | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/connector.example",
"new_path": "src/extension/background-script/connectors/connector.example",
"diff": "@@ -12,7 +12,16 @@ import Connector, {\nVerifyMessageResponse,\n} from \"./connector.interface\";\n+interface Co... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move config type into connector |
244,495 | 06.12.2021 14:38:14 | -3,600 | 997086f189dfd1ec6ad3a0d1f4f1fdacfe412f41 | refactor: rename config | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnbits.ts",
"new_path": "src/extension/background-script/connectors/lnbits.ts",
"diff": "@@ -17,15 +17,15 @@ import Connector, {\nVerifyMessageResponse,\n} from \"./connector.interface\";\n-interface LnBitsConfig {\n+... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: rename config |
244,495 | 08.12.2021 17:11:26 | -3,600 | 9bce70c22bb613adb078d9a579bc3ce98cee3f79 | refactor: remove base class | [
{
"change_type": "DELETE",
"old_path": "src/extension/background-script/connectors/base.ts",
"new_path": null,
"diff": "-class Base {\n- init() {\n- return Promise.resolve();\n- }\n-}\n-\n-export default Base;\n"
},
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: remove base class |
244,495 | 08.12.2021 20:07:38 | -3,600 | 0c5d69939035f5caf67a47961285a9d6e4ab28c7 | refactor: renamed invoices | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -69,7 +69,7 @@ class Prompt extends Component {\npath=\"invoice\"\nelement={\n<MakeInvoice\n- invoice={this.state.args.invoice}\n+ invoiceAttributes={this.state.args... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: renamed invoices |
244,461 | 09.12.2021 00:17:24 | -3,600 | dfd8a130444b9823e9b4a6be84b53a5e01e8cfe0 | Move camera access setting to the bottom
I think the other settings might be used more often | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Settings.tsx",
"new_path": "src/app/screens/Settings.tsx",
"diff": "@@ -53,6 +53,23 @@ function Settings() {\n<Container>\n<h2 className=\"mt-12 mb-6 text-2xl font-bold\">Settings</h2>\n<div className=\"shadow bg-white sm:rounded-md sm:overflow... | TypeScript | MIT License | getalby/lightning-browser-extension | Move camera access setting to the bottom
I think the other settings might be used more often |
244,461 | 09.12.2021 01:29:30 | -3,600 | ed73edd94e106a042b3648af5f52a7b83f83eff2 | Add BitcoinTV enhancement
This loads lightning data from the BitcoinTV video or channel descriptions and allows tipping from the Alby popup.
To load the data one additional API request is made to BitcoinTV | [
{
"change_type": "MODIFY",
"old_path": "src/extension/content-script/batteries/index.ts",
"new_path": "src/extension/content-script/batteries/index.ts",
"diff": "@@ -3,10 +3,12 @@ import utils from \"../../../common/lib/utils\";\nimport Monetization from \"./Monetization\";\nimport Twitter from \"./... | TypeScript | MIT License | getalby/lightning-browser-extension | Add BitcoinTV enhancement
This loads lightning data from the BitcoinTV video or channel descriptions and allows tipping from the Alby popup.
To load the data one additional API request is made to BitcoinTV |
244,495 | 09.12.2021 11:10:49 | -3,600 | 6fc2a8113085a95eaf1a50bf5af3d688e9a1eeb6 | refactor: improved action usage | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -66,7 +66,7 @@ class Prompt extends Component {\n}\n/>\n<Route\n- path=\"invoice\"\n+ path=\"makeInvoice\"\nelement={\n<MakeInvoice\ninvoiceAttributes={this.state.ar... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: improved action usage |
244,461 | 09.12.2021 13:44:24 | -3,600 | f4cd9b6b73537459bc279a8ec1b75aaed963253f | Generalize bitcointv enhancement to support all peertube instances | [
{
"change_type": "RENAME",
"old_path": "src/extension/content-script/batteries/BitcoinTvVideo.ts",
"new_path": "src/extension/content-script/batteries/Peertube.ts",
"diff": "@@ -3,9 +3,15 @@ import axios from \"axios\";\nimport getOriginData from \"../originData\";\nimport setLightningData from \"..... | TypeScript | MIT License | getalby/lightning-browser-extension | Generalize bitcointv enhancement to support all peertube instances |
244,461 | 09.12.2021 17:11:37 | -3,600 | 2b307376882eb17fc32d5e601a8722fbaf1e69f1 | Allow the user to edit the description | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PaymentSummary.tsx",
"new_path": "src/app/components/PaymentSummary.tsx",
"diff": "type Props = {\namount: string | React.ReactNode;\namountAlt?: string;\n- description?: string;\n+ description?: string | React.ReactNode;\n};\nfunction Payme... | TypeScript | MIT License | getalby/lightning-browser-extension | Allow the user to edit the description |
244,470 | 13.12.2021 06:55:20 | -3,600 | f9b0d108809bd1f813ed771bfca66c8486214217 | resize satsymbol and added some spacing | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Card/index.jsx",
"new_path": "src/app/components/Card/index.jsx",
"diff": "@@ -2,7 +2,7 @@ export default function Card({ alias, satoshis, fiat, color, currency }) {\nreturn (\n<div className={`${color} h-36 rounded-lg pt-6`}>\n<p className=... | TypeScript | MIT License | getalby/lightning-browser-extension | resize satsymbol and added some spacing |
244,495 | 13.12.2021 13:24:17 | -3,600 | d1a19039e91b4791a41de34c7c8a5f36ec49bb74 | feat: add checkpayment route | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "-import { useState } from \"react\";\n+import { useState, useEffect } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport { CaretLeftIcon } from \"@bitcoin... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add checkpayment route |
244,495 | 13.12.2021 14:17:29 | -3,600 | 30ed4985540a9aba87181ef5efe657c98b51b91a | feat: poll for the paid status | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "@@ -5,6 +5,7 @@ import { CopyIcon } from \"@bitcoin-design/bitcoin-icons-react/outline\";\nimport QRCode from \"react-qr-code\";\nimport utils from \"../../common/lib/utils\";\n+... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: poll for the paid status |
244,461 | 13.12.2021 17:30:29 | -3,600 | 0ae18f238775c9158e2490596ac6b2005f3658a4 | Reset connector memoization | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/select.js",
"new_path": "src/extension/background-script/actions/accounts/select.js",
"diff": "@@ -9,13 +9,9 @@ const select = (message, sender) => {\nconst account = currentState.accounts[accountId];\nif (accou... | TypeScript | MIT License | getalby/lightning-browser-extension | Reset connector memoization |
244,470 | 14.12.2021 09:36:25 | -3,600 | 839f0fad27d2b73825c3e0c98a895ab484f39ae5 | updated unlock menu | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -11,7 +11,7 @@ type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & {\ndisabled?: boolean;\nsecondary?: boolean;\nfixed?: boolean;\n- isWhat?: boolean;... | TypeScript | MIT License | getalby/lightning-browser-extension | updated unlock menu |
244,495 | 14.12.2021 16:46:12 | -3,600 | 041c4186756eb26b1c7d399d7486aabcaafb9684 | feat: replace memoryrouter, only use prompt when needed | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "@@ -11,6 +11,7 @@ import Publisher from \"../../screens/Publisher\";\nimport ChooseConnector from \"../../screens/Options/ChooseConnector\";\nimport TestConnection ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: replace memoryrouter, only use prompt when needed |
244,495 | 14.12.2021 16:53:56 | -3,600 | 63863f49a94446826c4779d30d1595b0f80a6587 | fix: invoice prop removal | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "@@ -25,7 +25,7 @@ function ConfirmPayment(props) {\nconst paymentRequestRef = useRef(\nprops.paymentRequest || searchParams.get(\"paymentRequest\")\n);\... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: invoice prop removal |
244,495 | 15.12.2021 16:25:03 | -3,600 | c02b2a2152a3ea732f4718c6831c21cef9643e94 | feat: updated example | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/connector.example",
"new_path": "src/extension/background-script/connectors/connector.example",
"diff": "import Connector, {\nSendPaymentArgs,\nSendPaymentResponse,\n+ CheckPaymentArgs,\n+ CheckPaymentResponse,\nGetIn... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: updated example |
244,495 | 15.12.2021 17:14:22 | -3,600 | 7c85f19b911e5db2f510be1cc050f772461e5da4 | feat: show if invoice was payed | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "-import { useState, useEffect } from \"react\";\n+import { useState } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\nimport { CaretLeftIcon } from \"@bitcoin... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show if invoice was payed |
244,495 | 15.12.2021 18:22:20 | -3,600 | d849ab001baedfc3415fba983811319dd4d88f46 | feat: move accountinfo to context, update balance | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "import { useState, useEffect, createContext, useContext } from \"react\";\nimport utils from \"../../common/lib/utils\";\n+interface Account {\n+ id: string;\n+ alias?: s... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: move accountinfo to context, update balance |
244,495 | 16.12.2021 17:27:15 | -3,600 | 91ae0ec6c21e7e8a21d84b27f1f1d17db5953506 | feat: show confetti on success | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"pubsub-js\": \"^1.9.4\",\n\"query-string\": \"^7.0.0\",\n\"react\": \"^17.0.2\",\n+ \"react-confetti\": \"^6.0.1\",\n\"react-dom\": \"^17.0.2\",\n\"react-loading-skeleton\": \"^3.0.1\",\n\"react-modal\": \"... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show confetti on success |
244,495 | 17.12.2021 11:01:47 | -3,600 | aec3269bd01412abd45bba2ab2a9c2f0b9bccb17 | feat: improve confirmed payment display | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Receive.tsx",
"new_path": "src/app/screens/Receive.tsx",
"diff": "import { useState } from \"react\";\nimport { useNavigate } from \"react-router-dom\";\n-import { CaretLeftIcon } from \"@bitcoin-design/bitcoin-icons-react/filled\";\n+import {\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: improve confirmed payment display |
244,461 | 18.12.2021 22:26:57 | -3,600 | 1d4bebe7654d1072cdef3bbbd2da255f4ee9b3ca | LND: Return payment hash as hex string | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.ts",
"new_path": "src/extension/background-script/connectors/lnd.ts",
"diff": "import Base64 from \"crypto-js/enc-base64\";\nimport UTF8 from \"crypto-js/enc-utf8\";\n+import utils from \"../../../common/lib/utils... | TypeScript | MIT License | getalby/lightning-browser-extension | LND: Return payment hash as hex string |
244,461 | 18.12.2021 22:27:55 | -3,600 | edb9b1bd18f90e33f29f163ee0a0118ec701ff8f | Better URL generation
using an URL object instead of string concatenation | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.ts",
"new_path": "src/extension/background-script/connectors/lnd.ts",
"diff": "@@ -151,22 +151,24 @@ class Lnd implements Connector {\n});\n};\n- async request(method: string, path: string, args: any, defaultValue... | TypeScript | MIT License | getalby/lightning-browser-extension | Better URL generation
using an URL object instead of string concatenation |
244,461 | 18.12.2021 22:35:13 | -3,600 | 8fa5272846533f0b93cc3d73ee83cae549d4b6d3 | Use v1/ invoice endpoint
I got only a 404 on the v2 one. (at what LND version was that added?) | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.ts",
"new_path": "src/extension/background-script/connectors/lnd.ts",
"diff": "@@ -67,9 +67,7 @@ class Lnd implements Connector {\n}\nasync checkPayment(args: CheckPaymentArgs): Promise<CheckPaymentResponse> {\n- ... | TypeScript | MIT License | getalby/lightning-browser-extension | Use v1/ invoice endpoint
I got only a 404 on the v2 one. (at what LND version was that added?) |
244,461 | 20.12.2021 21:58:50 | -3,600 | b8c920aba3ab5a711ae3c2941cff4c0d0ce90d1b | testing native messaging | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/native.js",
"new_path": "src/extension/background-script/connectors/native.js",
"diff": "-import memoizee from \"memoizee\";\nimport browser from \"webextension-polyfill\";\n-const nativeApplication = \"LBE\";\n-\n-//... | TypeScript | MIT License | getalby/lightning-browser-extension | testing native messaging |
244,461 | 20.12.2021 22:00:14 | -3,600 | fc5165216c7c17a93ea4dd82adcc1ac653fa8418 | Target ES6 (supported in all browser that we target) | [
{
"change_type": "MODIFY",
"old_path": "tsconfig.json",
"new_path": "tsconfig.json",
"diff": "/* Basic Options */\n// \"incremental\": true, /* Enable incremental compilation */\n- \"target\": \"es5\", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES201... | TypeScript | MIT License | getalby/lightning-browser-extension | Target ES6 (supported in all browser that we target) |
244,495 | 22.12.2021 18:12:10 | -3,600 | 1bec364fe0c4e77beaa4c88b64f05250922dfbd8 | remove colors that are already included in tailwind | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Options/TestConnection/index.jsx",
"new_path": "src/app/screens/Options/TestConnection/index.jsx",
"diff": "@@ -55,7 +55,7 @@ export default function TestConnection() {\n{accountInfo && accountInfo.alias && (\n<div>\n<div className=\"flex space... | TypeScript | MIT License | getalby/lightning-browser-extension | remove colors that are already included in tailwind |
244,495 | 22.12.2021 18:18:10 | -3,600 | ce8ac4cb4b5c456439c064f631fff486cc207103 | revert button changes | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Button/index.tsx",
"new_path": "src/app/components/Button/index.tsx",
"diff": "@@ -9,9 +9,6 @@ type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & {\nprimary?: boolean;\nloading?: boolean;\ndisabled?: boolean;\n- secondary?: boolean... | TypeScript | MIT License | getalby/lightning-browser-extension | revert button changes |
244,495 | 22.12.2021 18:27:05 | -3,600 | c2fc11241b101985be5407b5f89d60bb9760549f | add back primary states | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/LinkButton/index.tsx",
"new_path": "src/app/components/LinkButton/index.tsx",
"diff": "@@ -12,13 +12,7 @@ export default function LinkButton({ to, title, description, logo }: Props) {\n<Link to={to} className=\"block\">\n<div className=\"p-4... | TypeScript | MIT License | getalby/lightning-browser-extension | add back primary states |
244,495 | 22.12.2021 19:47:45 | -3,600 | 35abe99ce49bbc84698dfcf06c9386fd81110c00 | remove spacing from classes | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/LinkButton/index.tsx",
"new_path": "src/app/components/LinkButton/index.tsx",
"diff": "@@ -14,7 +14,7 @@ export default function LinkButton({ to, title, description, logo }: Props) {\n<div className=\"my-12\">\n<img src={logo} alt=\"logo\" c... | TypeScript | MIT License | getalby/lightning-browser-extension | remove spacing from classes |
244,461 | 22.12.2021 23:43:39 | -3,600 | 726d1b92d533b5d668feb72a770267311e217d09 | Add option to limit the amount of transactions to the getPayment action | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/TransactionsTable/index.tsx",
"new_path": "src/app/components/TransactionsTable/index.tsx",
"diff": "@@ -36,7 +36,7 @@ export default function TransactionsTable({ transactions }: Props) {\nreturn (\n<div className=\"shadow overflow-hidden ro... | TypeScript | MIT License | getalby/lightning-browser-extension | Add option to limit the amount of transactions to the getPayment action |
244,495 | 23.12.2021 09:51:05 | -3,600 | d008b015906a365985a33833de5b677c2733229b | feat: use the new useroutes hook | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.jsx",
"new_path": "src/app/router/Welcome/Welcome.jsx",
"diff": "import { useEffect, useState } from \"react\";\n-import {\n- HashRouter as Router,\n- Routes,\n- Route,\n- useLocation,\n-} from \"react-router-dom\";\n+import { Ha... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: use the new useroutes hook |
244,495 | 23.12.2021 14:53:13 | -3,600 | 845b76c083d3df02ea03b928b7aa79cfe10cab8e | feat: improve tasks | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"build:opera\": \"cross-env NODE_ENV=production cross-env TARGET_BROWSER=opera webpack\",\n\"build\": \"yarn run build:chrome && yarn run build:firefox && yarn run build:opera\",\n\"package\": \"yarn run bui... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: improve tasks |
244,495 | 23.12.2021 15:13:20 | -3,600 | 69e693ebd61f65e27c6be87a4f08932eec820d79 | feat: use unknown instead of any | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/sendPayment.ts",
"new_path": "src/extension/background-script/actions/ln/sendPayment.ts",
"diff": "@@ -8,7 +8,7 @@ import utils from \"../../../../common/lib/utils\";\nexport default async function sendPayment(message... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: use unknown instead of any |
244,461 | 23.12.2021 19:30:54 | -3,600 | 0d05ee0f92ec8821e13e2fdbe8789cdeecf29fe3 | Trigger call to extract lightning data only from http sites
Not on any other tabs like for example internal settings pages | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -59,7 +59,9 @@ function Home() {\n// Enhancement data is loaded asynchronously (for example because we need to fetch additional data).\nbrowser.tabs.query({ active: true... | TypeScript | MIT License | getalby/lightning-browser-extension | Trigger call to extract lightning data only from http sites
Not on any other tabs like for example internal settings pages |
244,495 | 24.12.2021 10:51:29 | -3,600 | 89cb3fd8dec8588ede946f98d266cb4470904504 | less warnings, better types | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/msg.ts",
"new_path": "src/common/lib/msg.ts",
"diff": "@@ -22,7 +22,7 @@ const msg = {\nreturn response.data;\n});\n},\n- reply: (data: any) => {\n+ reply: (data: unknown) => {\nreturn browser.runtime.sendMessage({\napplication: \"LBE\",\nrespon... | TypeScript | MIT License | getalby/lightning-browser-extension | less warnings, better types |
244,495 | 24.12.2021 11:06:33 | -3,600 | 45d9dae41be20762481debd26a4bb7a922d97245 | refactor: dont warn for unused function arguments | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.json",
"new_path": ".eslintrc.json",
"diff": "\"webextensions\": true\n},\n\"rules\": {\n- \"react/prop-types\": \"off\"\n+ \"react/prop-types\": \"off\",\n+ \"@typescript-eslint/no-unused-vars\":[\"warn\", { \"args\": \"none\" }] // No warnings for ... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: dont warn for unused function arguments |
244,495 | 24.12.2021 12:27:18 | -3,600 | cd1d110ec042b5df32312d94ac197b9e96da133d | further reducing warnings | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Enable/index.jsx",
"new_path": "src/app/screens/Enable/index.jsx",
"diff": "@@ -5,10 +5,10 @@ import PublisherCard from \"../../components/PublisherCard\";\nimport msg from \"../../../common/lib/msg\";\nfunction Enable(props) {\n- const [loadin... | TypeScript | MIT License | getalby/lightning-browser-extension | further reducing warnings |
244,461 | 26.12.2021 22:37:29 | -3,600 | 6df10f124760e31bbacef1bc65678868155bbe96 | Add native connector for Tor companion app
The companion app is running in the background - Tor need some time to boot up | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/accounts/add.js",
"new_path": "src/extension/background-script/actions/accounts/add.js",
"diff": "@@ -2,7 +2,7 @@ import { encryptData } from \"../../../../common/lib/crypto\";\nimport utils from \"../../../../common/lib... | TypeScript | MIT License | getalby/lightning-browser-extension | Add native connector for Tor companion app
The companion app is running in the background - Tor need some time to boot up |
244,495 | 27.12.2021 10:20:52 | -3,600 | f9005612bce2d94e095a3254d8f66a889050116e | feat: utils call wrapper | [
{
"change_type": "MODIFY",
"old_path": "src/app/context/AuthContext.tsx",
"new_path": "src/app/context/AuthContext.tsx",
"diff": "import { useState, useEffect, createContext, useContext } from \"react\";\nimport utils from \"../../common/lib/utils\";\n+import api from \"../../common/lib/api\";\ninte... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: utils call wrapper |
244,495 | 27.12.2021 10:40:14 | -3,600 | 4507ea4882a2f2d9567c36b3d47c8541a16eefcd | add more methods to api | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publisher.tsx",
"new_path": "src/app/screens/Publisher.tsx",
"diff": "@@ -25,7 +25,6 @@ function Publisher() {\nconst response = await utils.call<Allowance>(\"getAllowanceById\", {\nid: parseInt(id),\n});\n- console.log(response);\nsetAllowance... | TypeScript | MIT License | getalby/lightning-browser-extension | add more methods to api |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.