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 | 08.07.2021 15:13:06 | -7,200 | 332106e9d8f31c0f590e3595293fe6c1bd8aca9d | feat: further improve design | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublishersTable.jsx",
"new_path": "src/app/components/PublishersTable.jsx",
"diff": "@@ -35,7 +35,6 @@ export default function PublishersTable({ publishers, navigateToPublisher }) {\nlabel={publisher.badge.label}\ncolor={publisher.badge.colo... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: further improve design |
244,495 | 08.07.2021 16:25:41 | -7,200 | 7c24a627897230a5355debe0fcaa82a99d4ae66a | feat: allowance settings modal | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Form/CurrencyInput.tsx",
"new_path": "src/app/components/Form/CurrencyInput.tsx",
"diff": "@@ -4,6 +4,7 @@ function CurrencyInput({\nid,\nname,\nplaceholder,\n+ value,\nonChange,\n}: React.InputHTMLAttributes<HTMLInputElement>) {\nreturn (\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: allowance settings modal |
244,461 | 08.07.2021 17:31:40 | -7,200 | 2d6e434f690fda6ab8d3d5f1a0bd49129a4a88ab | Create GitHub action to build production files | [
{
"change_type": "ADD",
"old_path": null,
"new_path": ".github/workflows/build.yml",
"diff": "+name: Build Production\n+\n+on:\n+ pull_request:\n+ push:\n+ branches:\n+ - develop\n+ tags:\n+ - v*\n+\n+jobs:\n+ build:\n+ runs-on: ubuntu-latest\n+\n+ name: build-prod\n+ steps:\n+ - uses: actions/check... | TypeScript | MIT License | getalby/lightning-browser-extension | Create GitHub action to build production files |
244,461 | 08.07.2021 17:54:41 | -7,200 | 889a999db2a2698d563b134f2bda54bc409c3f62 | Rename folder
some systems are case senstive | [
{
"change_type": "RENAME",
"old_path": "src/app/screens/Onboard/ConnectLND/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "src/stories/Onboard.stories.js",
"new_path": "src/stories/Onboard.stories.js",
... | TypeScript | MIT License | getalby/lightning-browser-extension | Rename folder
some systems are case senstive |
244,495 | 08.07.2021 18:10:19 | -7,200 | f03ea0379c73b919d1bf3483941c1ebf1c8a6ddc | fix: force storybook to use postcss8 instea of 7 | [
{
"change_type": "MODIFY",
"old_path": ".storybook/main.js",
"new_path": ".storybook/main.js",
"diff": "@@ -2,7 +2,18 @@ const path = require(\"path\");\nmodule.exports = {\nstories: [\"../src/**/*.stories.mdx\", \"../src/**/*.stories.@(js|jsx|ts|tsx)\"],\n- addons: [\"@storybook/addon-links\", \"@s... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: force storybook to use postcss8 instea of 7 |
244,461 | 08.07.2021 18:23:20 | -7,200 | fe64035f7b0a75984433f02e93cc6d57daa4fc40 | Fix chrome is undefined storybook error | [
{
"change_type": "MODIFY",
"old_path": ".storybook/preview.js",
"new_path": ".storybook/preview.js",
"diff": "import \"../src/app/styles/index.css\";\n// Needed to make Storybook work with webextension-polyfill.\n+if (!window.chrome) window.chrome = {};\nif (!chrome.runtime) chrome.runtime = {};\nif... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix chrome is undefined storybook error |
244,461 | 08.07.2021 22:04:04 | -7,200 | 0bb3cb3332fd8745c9b3fdeaf3146a5cc27a8782 | Use node 14 (LTS) for build script | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build.yml",
"new_path": ".github/workflows/build.yml",
"diff": "@@ -16,7 +16,7 @@ jobs:\n- uses: actions/checkout@v2\n- uses: actions/setup-node@v2-beta\nwith:\n- node-version: '15.x'\n+ node-version: '14.x'\n- name: Get yarn cache directory ... | TypeScript | MIT License | getalby/lightning-browser-extension | Use node 14 (LTS) for build script |
244,461 | 08.07.2021 23:11:23 | -7,200 | 9f52538a464c90fd631053f08476feb6cb515201 | Do not save negative remainingBudget values | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/events/allowances.js",
"new_path": "src/extension/background-script/events/allowances.js",
"diff": "@@ -17,7 +17,7 @@ const updateAllowance = async (message, data) => {\n}\nconst remainingBudget = allowance.remainingBudget || 0;... | TypeScript | MIT License | getalby/lightning-browser-extension | Do not save negative remainingBudget values |
244,461 | 08.07.2021 23:31:08 | -7,200 | aa04f6a5980efcf5d615238f196ec4e119fb06f2 | Add update and delete allowance functionality | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publisher.tsx",
"new_path": "src/app/screens/Publisher.tsx",
"diff": "import React, { useState, useEffect } from \"react\";\n-import { useParams } from \"react-router-dom\";\n+import { useHistory, useParams } from \"react-router-dom\";\nimport ... | TypeScript | MIT License | getalby/lightning-browser-extension | Add update and delete allowance functionality |
244,461 | 08.07.2021 23:54:17 | -7,200 | 848064b119912e8ede7c093e061dc15f5ce8a17c | Close popup when the options page is opened | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -162,7 +162,9 @@ class Home extends React.Component {\ntitle={alias}\nsubtitle={balance && balanceFiat ? `${balance} (${balanceFiat})` : \"\"}\nonOptionsClick={() => {\n... | TypeScript | MIT License | getalby/lightning-browser-extension | Close popup when the options page is opened |
244,461 | 09.07.2021 00:18:51 | -7,200 | 54a9d494c3e5c58327b52e99289a5b3dd57f9462 | Popup: only show allowance details if an allowance is configured | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -70,21 +70,21 @@ class Home extends React.Component {\n<>\n<PublisherCard title={allowance.name} image={allowance.imageURL} />\n<div className=\"px-5 pb-5\">\n+ {parseIn... | TypeScript | MIT License | getalby/lightning-browser-extension | Popup: only show allowance details if an allowance is configured |
244,461 | 09.07.2021 00:35:06 | -7,200 | b6189778200de8465bf7e8a696b04470031a9663 | Suggest a default allowance of 10 times the invoice amount | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "@@ -12,10 +12,9 @@ import msg from \"../../../common/lib/msg\";\nclass ConfirmPayment extends React.Component {\nconstructor(props) {\nsuper(props);\n- ... | TypeScript | MIT License | getalby/lightning-browser-extension | Suggest a default allowance of 10 times the invoice amount |
244,461 | 09.07.2021 09:34:24 | -7,200 | 51dacc8a3a4277195cc056af94ecc0cb882b69e0 | Add yarn cache again | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/build.yml",
"new_path": ".github/workflows/build.yml",
"diff": "@@ -18,6 +18,18 @@ jobs:\nwith:\nnode-version: '14.x'\n+ - name: Get yarn cache directory path\n+ id: yarn-cache-dir-path\n+ run: echo \"::set-output name=dir::$(yarn cache dir)\... | TypeScript | MIT License | getalby/lightning-browser-extension | Add yarn cache again |
244,461 | 09.07.2021 09:45:18 | -7,200 | 1cc94249cac27c4e9b9fd2783e078c8697fc1230 | Hack hack
try to fix GH actions | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -95,7 +95,7 @@ module.exports = {\n{\nloader: \"css-loader\", // Takes the CSS files and returns the CSS with imports and url(...) for Webpack\noptions: {\n- sourceMap: true,\n+ sourceMap: nodeEn... | TypeScript | MIT License | getalby/lightning-browser-extension | Hack hack
try to fix GH actions |
244,461 | 09.07.2021 12:45:46 | -7,200 | 27ab950a8adae02f584f9fa052ab56295236dd12 | enable sourcemap for css loader
otherwise I got the following error in the build task:
```
ERROR in ./src/app/styles/index.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/resolve-url-loader/index.js):
Error: resolve-url-loa... | [
{
"change_type": "MODIFY",
"old_path": "webpack.config.js",
"new_path": "webpack.config.js",
"diff": "@@ -92,15 +92,14 @@ module.exports = {\n{\nloader: MiniCssExtractPlugin.loader, // It creates a CSS file per JS file which contains CSS\n},\n+ \"css-loader\", // Takes the CSS files and returns the ... | TypeScript | MIT License | getalby/lightning-browser-extension | enable sourcemap for css loader
otherwise I got the following error in the build task:
```
ERROR in ./src/app/styles/index.css
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleBuildError: Module build failed (from ./node_modules/resolve-url-loader/index.js):
Error: resolve-url-l... |
244,495 | 13.07.2021 15:17:05 | -7,200 | c46f63b570d1cab00e8a056c2141c3f08ea40134 | feat: improved routing | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "import React, { useState, useEffect } from \"react\";\n-import { HashRouter, Switch, Route } from \"react-router-dom\";\n+import { HashRouter, Switch, Redirect, Rou... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: improved routing |
244,495 | 13.07.2021 19:58:23 | -7,200 | a1dca26a516e833ba7035257009f019f5458090c | feat: created an accessible menu component | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@headlessui/react\": \"^1.2.0\",\n\"@heroicons/react\": \"^1.0.1\",\n\"@node-lightning/invoice\": \"^0.22.0\",\n+ \"@reach/menu-button\": \"^0.15.3\",\n\"@tailwindcss/forms\": \"^0.3.2\",\n\"advanced-css-re... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: created an accessible menu component |
244,495 | 13.07.2021 20:04:32 | -7,200 | aef551e6aeeb3d456b760e44462e73ffaf2b1254 | feat: added component to storybook | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/Menu/Menu.stories.tsx",
"diff": "+import React from \"react\";\n+\n+import Menu from \".\";\n+\n+export const Default = () => (\n+ <Menu>\n+ <Menu.Button>Menu</Menu.Button>\n+ <Menu.List>\n+ <Menu.Item onClick={() => alert(\"E... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added component to storybook |
244,495 | 13.07.2021 20:07:47 | -7,200 | 7bb2b6c9cdae5e5f3c2c48a16831871ee6463241 | feat: remove redundant menu file | [
{
"change_type": "DELETE",
"old_path": "src/app/components/Menu/Menu.tsx",
"new_path": null,
"diff": "-import React from \"react\";\n-import { Menu } from \"@reach/menu-button\";\n-\n-type Props = {\n- children: React.ReactNode;\n-};\n-\n-function MenuComponent({ children }: Props) {\n- return <Menu... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: remove redundant menu file |
244,495 | 13.07.2021 22:17:43 | -7,200 | 81d48578776f83a5ed3a10b3b1e8abc341b51813 | fix: correct route after deleting allowance | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Publisher.tsx",
"new_path": "src/app/screens/Publisher.tsx",
"diff": "@@ -70,14 +70,17 @@ function Publisher() {\n}\nasync function updateAllowance() {\n- const result = await utils.call(\"updateAllowance\", {id: parseInt(id), totalBudget: budg... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: correct route after deleting allowance |
244,495 | 14.07.2021 13:29:13 | -7,200 | 8748402f2000e3d16a0551b0eaf75ca2bef35697 | feat: step 4 redesign | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/card.jsx",
"new_path": "src/app/components/card.jsx",
"diff": "@@ -2,7 +2,7 @@ import React from \"react\";\nexport default function Card({ alias, satoshis, fiat, color, currency }) {\nreturn (\n- <div className={`bg-${color} h-36 rounded-lg... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: step 4 redesign |
244,495 | 14.07.2021 15:12:41 | -7,200 | e920e8d43e5923983d3a0b676ed2af25da6f5349 | feat: added log out to options screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "@@ -8,6 +8,7 @@ type Props = {\nsubtitle: string;\nonOptionsClick: () => void;\nchildren?: React.ReactNode;\n+ right?: React.ReactNode;\n};\nexport default func... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: added log out to options screen |
244,495 | 15.07.2021 10:56:38 | -7,200 | d3cd20723a4fd76feab756ae683818863f6122a2 | feat: add user menu to navbar | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Menu/Menu.stories.tsx",
"new_path": "src/app/components/Menu/Menu.stories.tsx",
"diff": "@@ -4,7 +4,9 @@ import Menu from \".\";\nexport const Default = () => (\n<Menu>\n- <Menu.Button>Menu</Menu.Button>\n+ <Menu.Button className=\"inline-fl... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add user menu to navbar |
244,495 | 15.07.2021 11:07:47 | -7,200 | 78c72956b488702c07be81a714d2407d63587734 | feat: moved usermenu into a separate component | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Navbar/Navbar.tsx",
"new_path": "src/app/components/Navbar/Navbar.tsx",
"diff": "import React from \"react\";\nimport Skeleton from \"react-loading-skeleton\";\nimport WalletIcon from \"@bitcoin-design/bitcoin-icons/svg/outline/wallet.svg\";... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: moved usermenu into a separate component |
244,495 | 21.07.2021 15:27:14 | -7,200 | 658d663ce5eeb6bc860e043c9819047e62e8e9cf | feat: decode lnurl in prompt screen | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"advanced-css-reset\": \"^1.2.2\",\n\"assert\": \"^2.0.0\",\n\"axios\": \"^0.21.1\",\n+ \"bech32\": \"^2.0.0\",\n\"browser-polyfill\": \"^3.20.2\",\n\"crypto-browserify\": \"^3.12.0\",\n\"crypto-js\": \"^4.0... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: decode lnurl in prompt screen |
244,495 | 21.07.2021 15:45:49 | -7,200 | 66e524aa0d521441a1e0c2a19570487759a9b548 | feat: add publishercard | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -61,7 +61,10 @@ class Prompt extends React.Component {\nrender={(props) => <Enable origin={this.state.origin} />}\n/>\n<Route exact path=\"/getInvoice\">\n- <GetInvo... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add publishercard |
244,495 | 21.07.2021 17:07:19 | -7,200 | 5c4c79599961abf193c2539013e909fb77bf7957 | feat: lnurl payment flow integrated | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/GetInvoice.tsx",
"new_path": "src/app/screens/GetInvoice.tsx",
"diff": "import React, { useState, useEffect } from \"react\";\n+import axios from \"axios\";\n+import { bech32 } from \"bech32\";\n+\n+import msg from \"../../common/lib/msg\";\n+\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: lnurl payment flow integrated |
244,495 | 21.07.2021 17:45:52 | -7,200 | 994f61ee62b67509f234066d9c984a709cfe0893 | feat: improved markup | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/GetInvoice.tsx",
"new_path": "src/app/screens/GetInvoice.tsx",
"diff": "@@ -56,10 +56,10 @@ function GetInvoice({ lnurlEncoded, origin }: Props) {\nfunction renderAmount() {\nif (metadata.minSendable === metadata.maxSendable) {\n- return <p>Pay... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: improved markup |
244,495 | 21.07.2021 18:19:38 | -7,200 | 7e925b1bd243f9cf60be2478fb5558235ab4ada1 | feat: improved alignment | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/GetInvoice.tsx",
"new_path": "src/app/screens/GetInvoice.tsx",
"diff": "@@ -67,7 +67,7 @@ function GetInvoice({ lnurlEncoded, origin }: Props) {\nvalue={value}\nonChange={(e) => setValue(e.target.value)}\n/>\n- <output>{value} satoshi</output>\... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: improved alignment |
244,495 | 21.07.2021 18:34:49 | -7,200 | e7f392caba0356eaccfb000557d12f71c148a983 | feat: typesafe | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/GetInvoice.tsx",
"new_path": "src/app/screens/GetInvoice.tsx",
"diff": "-import React, { useState, useEffect } from \"react\";\n+import React, { useState, useEffect, MouseEvent } from \"react\";\nimport axios from \"axios\";\nimport { bech32 } ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: typesafe |
244,495 | 21.07.2021 19:33:53 | -7,200 | ce072507606b20f1e5c7ab65a974a5d568418cda | fix: compare to lowercase | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -42,7 +42,7 @@ if (document) {\nif (!response.enabled) {\nreturn;\n}\n- if (paymentRequest.startsWith(\"LNURL\")) {\n+ if (paymentRequest.toLowerCase().start... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: compare to lowercase |
244,495 | 21.07.2021 19:58:23 | -7,200 | 2869e3f0396bafeb66b4f9db65d412edc7008a6a | feat: renamed getinvoice | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -10,7 +10,7 @@ import Unlock from \"../../screens/Unlock\";\nimport Enable from \"../../screens/Enable\";\nimport Loading from \"../../components/Loading\";\nimport ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: renamed getinvoice |
244,495 | 22.07.2021 09:07:17 | -7,200 | 94c83702b7a6bc85c52cfe073c26f441f94fde22 | refactor: handle lnurl inside background script | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -62,7 +62,7 @@ class Prompt extends React.Component {\n/>\n<Route exact path=\"/lnurlPay\">\n<LNURLPay\n- lnurlEncoded={this.state.args?.lnurlEncoded}\n+ metadata={t... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: handle lnurl inside background script |
244,495 | 22.07.2021 09:21:31 | -7,200 | 2a589767870230aee52382e57d6b0ee900f9b202 | refactor: return out of switch | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -12,18 +12,17 @@ async function lnurl(message, sender) {\nswitch (lnurlType) {\ncase \"channelRequest\":\n// lnurl-channe... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: return out of switch |
244,495 | 22.07.2021 13:23:47 | -7,200 | b9a52b5d990b2290a9780e33cbc19bb2916189cc | feat: initial lnurl-auth handling | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -62,7 +62,7 @@ class Prompt extends React.Component {\n/>\n<Route exact path=\"/lnurlPay\">\n<LNURLPay\n- metadata={this.state.args?.lnurlMetadata}\n+ details={this.... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: initial lnurl-auth handling |
244,495 | 22.07.2021 13:57:49 | -7,200 | 311cbe7ca5b45bfe9214d11e40f93a5cec3a6e95 | feat: move params to lnurlDetails | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -10,7 +10,12 @@ async function lnurl(message) {\nlet lnurlType = url.searchParams.get(\"tag\");\nlet lnurlDetails;\n- if ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: move params to lnurlDetails |
244,495 | 23.07.2021 17:01:17 | -7,200 | b59c3fda1e91073a2e63a352807d05294a5893c1 | feat: parse invoice and verify details | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "import React, { useState, MouseEvent } from \"react\";\nimport axios from \"axios\";\n+import sha256 from \"crypto-js/sha256\";\n+import Hex from \"crypto-js/enc-hex\";\n+impor... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: parse invoice and verify details |
244,495 | 23.07.2021 17:09:55 | -7,200 | 9577c585ef91aab12b4295c1e67b087a9c95b2cb | feat: add optional param descriptions | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -27,9 +27,14 @@ function LNURLPay({ details, origin }: Props) {\nasync function confirm() {\ntry {\n// Request the invoice\n- const res = await axios.get(details.callback, {... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add optional param descriptions |
244,495 | 23.07.2021 18:26:13 | -7,200 | a1f206403fae3f7acc8bdac9336dc98a19ec959c | feat: send the payment | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -2,7 +2,7 @@ import React, { useState, MouseEvent } from \"react\";\nimport axios from \"axios\";\nimport sha256 from \"crypto-js/sha256\";\nimport Hex from \"crypto-js/enc-... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: send the payment |
244,495 | 23.07.2021 21:49:43 | -7,200 | f10acac1e99931e0bbbed984b09098716f2d43ca | feat: successaction validation | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -34,8 +34,9 @@ function LNURLPay({ details, origin }: Props) {\n// comment: \"\", // an optional parameter to pass the LN WALLET user's comment to LN SERVICE. Note on commen... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: successaction validation |
244,495 | 23.07.2021 22:06:42 | -7,200 | b1231bf0239d44a0620602d8f0fdb75c966dfa80 | feat: succesaction message handling | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -70,13 +70,8 @@ function LNURLPay({ details, origin }: Props) {\nreturn await msg.reply({\nconfirmed: true,\npaymentRequest,\n+ successAction,\n});\n-\n- // TODO:\n- // Once... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: succesaction message handling |
244,495 | 23.07.2021 22:12:32 | -7,200 | d5177a695f0ee6f0c4aa4c4013411c38ae5c0fd5 | chore: edit comments | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -65,6 +65,7 @@ async function payWithPrompt(message, lnurlDetails) {\npublishPaymentNotification(message, paymentRequestD... | TypeScript | MIT License | getalby/lightning-browser-extension | chore: edit comments |
244,495 | 24.07.2021 11:49:26 | -7,200 | fa36a65871e746d1877511a4d0c6a2c5abac7202 | refactor: verification | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -41,27 +41,13 @@ function LNURLPay({ details, origin }: Props) {\nrequest: paymentRequest,\n});\n- // LN WALLET Verifies that h tag (description_hash) in provided invoice is... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: verification |
244,495 | 25.07.2021 15:04:51 | -7,200 | f1005bf8506a2788f842b1cb12336c21b3c5cbd3 | feat: drop node-lightning/invoice | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@bitcoin-design/bitcoin-icons\": \"^0.1.0\",\n\"@headlessui/react\": \"^1.2.0\",\n\"@heroicons/react\": \"^1.0.2\",\n- \"@node-lightning/invoice\": \"^0.22.0\",\n\"@reach/menu-button\": \"^0.15.3\",\n\"@tai... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: drop node-lightning/invoice |
244,495 | 25.07.2021 22:17:48 | -7,200 | 3e0ecb7fde95ffc5cf349cdb4573df1cdef582e2 | use satoshi | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "@@ -58,7 +58,7 @@ class ConfirmPayment extends React.Component {\n<div className=\"p-6\">\n<div className=\"mb-8\">\n<PaymentSummary\n- amount={this.pro... | TypeScript | MIT License | getalby/lightning-browser-extension | use satoshi
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,495 | 25.07.2021 22:48:59 | -7,200 | 0066ddf395f16a9a7936822d4e4ed5db8382247e | feat: move successcallback to react comp | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -5,6 +5,7 @@ import Hex from \"crypto-js/enc-hex\";\nimport { parsePaymentRequest } from \"invoices\";\nimport msg from \"../../common/lib/msg\";\n+import utils from \"../..... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: move successcallback to react comp |
244,495 | 26.07.2021 16:56:47 | -7,200 | 435803487d478427f9328e713b6b83c75b8d2ced | Update src/app/screens/ConfirmPayment/index.jsx | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/ConfirmPayment/index.jsx",
"new_path": "src/app/screens/ConfirmPayment/index.jsx",
"diff": "@@ -14,7 +14,7 @@ class ConfirmPayment extends React.Component {\nsuper(props);\nthis.history = createHashHistory();\nthis.state = {\n- budget: this.pro... | TypeScript | MIT License | getalby/lightning-browser-extension | Update src/app/screens/ConfirmPayment/index.jsx
Co-authored-by: Michael Bumann <hello@michaelbumann.com> |
244,461 | 27.07.2021 15:16:21 | -7,200 | be1eca5ef55bbc1eb1fce46da27fb54678c0025b | Load connector after the prompt was executed
A decrypted account is only available after the prompt.
If the account is not unlocked the prompt asks for the password and unlocks the account | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -46,7 +46,6 @@ async function lnurl(message) {\n}\nasync function payWithPrompt(message, lnurlDetails) {\n- const connect... | TypeScript | MIT License | getalby/lightning-browser-extension | Load connector after the prompt was executed
A decrypted account is only available after the prompt.
If the account is not unlocked the prompt asks for the password and unlocks the account |
244,461 | 28.07.2021 11:34:02 | -7,200 | 0664d260a5557c3c71011c67e31f0da1931935de | Initial draft of lnurl-auth | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"crypto-js\": \"^4.0.0\",\n\"dayjs\": \"^1.10.6\",\n\"dexie\": \"^3.0.3\",\n+ \"elliptic\": \"^6.5.4\",\n\"invoices\": \"^2.0.0\",\n\"lsat-js\": \"^2.0.0\",\n\"memoizee\": \"^0.4.15\",\n"
},
{
"chang... | TypeScript | MIT License | getalby/lightning-browser-extension | Initial draft of lnurl-auth |
244,461 | 28.07.2021 11:34:53 | -7,200 | d8073a8cd38838f9636ae7cf3f18f54e67ac1029 | Support case-insenstive lightning protocol links
(LIGHTNING: vs. lightning:) | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -7,14 +7,16 @@ if (document) {\nconst donation = new Donation(document.location.toString());\ndonation.execute();\n- // Intercept any `lightning:{paymentReqe... | TypeScript | MIT License | getalby/lightning-browser-extension | Support case-insenstive lightning protocol links
(LIGHTNING: vs. lightning:) |
244,461 | 28.07.2021 15:58:57 | -7,200 | 65ba81dc3cae4f342714ee8ed30052bcd59a854e | Prompt the user and add support for auto-login | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -11,6 +11,7 @@ import Enable from \"../../screens/Enable\";\nimport Loading from \"../../components/Loading\";\nimport ConfirmPayment from \"../../screens/ConfirmPay... | TypeScript | MIT License | getalby/lightning-browser-extension | Prompt the user and add support for auto-login |
244,461 | 28.07.2021 16:27:15 | -7,200 | 5f7ff1947e5165088301600222055d18eb04fcca | Check if the account is unlocked
To auto-login we need to make sure the account is unlocked. Otherwise we need to show the prompt which handles unlocking | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -102,9 +102,13 @@ async function authWithPrompt(message, lnurlDetails) {\n.equalsIgnoreCase(message.origin.host)\n.first(... | TypeScript | MIT License | getalby/lightning-browser-extension | Check if the account is unlocked
To auto-login we need to make sure the account is unlocked. Otherwise we need to show the prompt which handles unlocking |
244,461 | 28.07.2021 16:27:23 | -7,200 | f7121dde7470b1cae1087dd2828db30d9db65fef | No need for alerts here | [
{
"change_type": "MODIFY",
"old_path": "src/extension/inpage-script/index.js",
"new_path": "src/extension/inpage-script/index.js",
"diff": "@@ -48,7 +48,7 @@ if (document) {\nreturn window.webln\n.lnurl(paymentRequest)\n.then((r) => {\n- alert(JSON.stringify(r));\n+ console.log(r);\n})\n.catch((e) =... | TypeScript | MIT License | getalby/lightning-browser-extension | No need for alerts here |
244,461 | 28.07.2021 16:40:40 | -7,200 | 15b1d85891fdbfd694259bbbb022aaa8f93ac51f | Also check if a publisher is enabled | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -108,7 +108,7 @@ async function authWithPrompt(message, lnurlDetails) {\nlet loginStatus = { confirmed: true, remember: t... | TypeScript | MIT License | getalby/lightning-browser-extension | Also check if a publisher is enabled |
244,495 | 29.07.2021 11:33:29 | -7,200 | 305bbab11f6839f914a82f7f30cebd3d8fe63e83 | refactor: move invoice validation into lib | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "import React, { useState, MouseEvent } from \"react\";\nimport axios from \"axios\";\n-import sha256 from \"crypto-js/sha256\";\n-import Hex from \"crypto-js/enc-hex\";\n-impor... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: move invoice validation into lib |
244,495 | 30.07.2021 23:08:41 | -7,200 | 92e0635a5bca6fca172d1c4926dd353ca35864ed | feat: lnurl pay action that can be called from utils | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -50,11 +50,14 @@ function LNURLPay({ details, origin }: Props) {\nreturn;\n}\n+ // LN WALLET pays the invoice, no additional user confirmation is required at this point\n+ r... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: lnurl pay action that can be called from utils |
244,495 | 04.08.2021 14:55:40 | -7,200 | 70170630af9c3c8bcd6af2a5b5a9b0fd51f5fee6 | feat: handle known success actions, replace success callback | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/LNURLPay.tsx",
"new_path": "src/app/screens/LNURLPay.tsx",
"diff": "@@ -51,29 +51,40 @@ function LNURLPay({ details, origin }: Props) {\n}\n// LN WALLET pays the invoice, no additional user confirmation is required at this point\n- return await... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: handle known success actions, replace success callback |
244,495 | 04.08.2021 18:42:15 | -7,200 | bc91ae475cc9bc1db97acb7a51a44f53dbabcbef | feat: show the lnurl domain name | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Prompt/Prompt.jsx",
"new_path": "src/app/router/Prompt/Prompt.jsx",
"diff": "@@ -69,10 +69,7 @@ class Prompt extends React.Component {\n</Route>\n<Route exact path=\"/lnurlAuth\">\n<LNURLAuth\n- details={{\n- host: this.state.args?.host,\n- path... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: show the lnurl domain name |
244,461 | 04.08.2021 19:24:31 | -7,200 | f58ec1fc53a36a0bcf6ff64d213fd66ad33fd3be | Correct WebLN getInfo response | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/extension/background-script/actions/ln/getInfo.js",
"diff": "+import state from \"../../state\";\n+\n+const getInfo = async (message, sender) => {\n+ const connector = state.getState().getConnector();\n+ const info = await connector.getInfo(... | TypeScript | MIT License | getalby/lightning-browser-extension | Correct WebLN getInfo response |
244,461 | 04.08.2021 19:54:00 | -7,200 | 28e535fac0ef474ca362d580c6b5d2be24bed788 | Add parsed URL to lnurlDetails object
we currently rely on this one | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -34,6 +34,7 @@ async function lnurl(message) {\nlnurlType = res.data.tag;\n}\nlnurlDetails.domain = url.hostname;\n+ lnur... | TypeScript | MIT License | getalby/lightning-browser-extension | Add parsed URL to lnurlDetails object
we currently rely on this one |
244,461 | 04.08.2021 23:22:14 | -7,200 | f6ec7db20c4250a1b8c42113b61005100e3ce3b0 | Use satsymbol
<3 | [
{
"change_type": "MODIFY",
"old_path": "src/manifest.json",
"new_path": "src/manifest.json",
"diff": "\"version\": \"1.0.0\",\n\"icons\": {\n- \"16\": \"assets/icons/favicon-16.png\",\n- \"32\": \"assets/icons/favicon-32.png\",\n- \"48\": \"assets/icons/favicon-48.png\",\n- \"128\": \"assets/icons/f... | TypeScript | MIT License | getalby/lightning-browser-extension | Use satsymbol
<3 https://satsymbol.com |
244,461 | 05.08.2021 00:01:18 | -7,200 | c4fc884b1ab32078f12947c6ffb6239b0a4a3604 | Update browser icon if the current page has an allowance set | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/index.js",
"new_path": "src/extension/background-script/index.js",
"diff": "@@ -14,6 +14,28 @@ setInterval(() => {\n}, 5000);\n*/\n+const updateIcon = async (tabId, changeInfo, tabInfo) => {\n+ if (!changeInfo.url) {\n+ return;\... | TypeScript | MIT License | getalby/lightning-browser-extension | Update browser icon if the current page has an allowance set |
244,461 | 05.08.2021 00:52:12 | -7,200 | 13f38f711b767daafccc5610a44a1ec061125dca | Fix import filename | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "@@ -11,7 +11,7 @@ import utils from \"../../../../common/lib/utils\";\nimport state from \"../../state\";\nimport db from \"... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix import filename |
244,495 | 05.08.2021 08:44:38 | -7,200 | 7c6fd0a2e6cf644765d4bc54b9bde80c0fa2d72f | refactor: moved code to get lnurl details into func | [
{
"change_type": "MODIFY",
"old_path": "src/common/lib/lnurl.ts",
"new_path": "src/common/lib/lnurl.ts",
"diff": "+import axios from \"axios\";\nimport sha256 from \"crypto-js/sha256\";\nimport Hex from \"crypto-js/enc-hex\";\nimport { parsePaymentRequest } from \"invoices\";\n+import { bech32Decode... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: moved code to get lnurl details into func |
244,461 | 05.08.2021 09:37:02 | -7,200 | 2663506afbc70b6ef5de941c46193f70759e4faf | Cleanup manifest and generate a new GUID | [
{
"change_type": "MODIFY",
"old_path": "src/manifest.json",
"new_path": "src/manifest.json",
"diff": "},\n\"description\": \"Lightning up the browser\",\n\"homepage_url\": \"https://github.com/bumi/lightning-browser-extension\",\n- \"web_accessible_resources\": [\"js/inpageScript.bundle.js\", \"lsat... | TypeScript | MIT License | getalby/lightning-browser-extension | Cleanup manifest and generate a new GUID |
244,461 | 05.08.2021 12:07:28 | -7,200 | 983cf4324e70a9d534e9a00edeb54bc7859d8326 | Named progress steps | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.jsx",
"new_path": "src/app/router/Welcome/Welcome.jsx",
"diff": "@@ -14,14 +14,14 @@ import ConnectLnd from \"../../screens/Onboard/ConnectLnd\";\nimport TestConnection from \"../../screens/Onboard/TestConnection\";\nconst routes... | TypeScript | MIT License | getalby/lightning-browser-extension | Named progress steps |
244,461 | 05.08.2021 15:25:37 | -7,200 | 97194ff5e34b6abdf1de1520cb9bd1377f1bd2b7 | Add hacky test connection
If we can not connect the user can remove the account and try again | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "@@ -24,7 +24,11 @@ function Options() {\n<HashRouter>\n<Navbar\ntitle={accountInfo.alias}\n- subtitle={accountInfo.balance}\n+ subtitle={\n+ typeof accountInfo.bala... | TypeScript | MIT License | getalby/lightning-browser-extension | Add hacky test connection
If we can not connect the user can remove the account and try again |
244,461 | 05.08.2021 15:26:21 | -7,200 | 9e03264d11683a0b8ddd7801630cfba6b309b412 | getInfo and getBalance calls for Lnbits and LndHub | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnbits.js",
"new_path": "src/extension/background-script/connectors/lnbits.js",
"diff": "-import memoizee from \"memoizee\";\nimport Base from \"./base\";\nclass LnBits extends Base {\n- constructor(config) {\n- super... | TypeScript | MIT License | getalby/lightning-browser-extension | getInfo and getBalance calls for Lnbits and LndHub |
244,461 | 05.08.2021 16:00:27 | -7,200 | b5710c04a833dd61827461d33a93460544fa1fa2 | Add action to validate account data | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/setup/index.js",
"new_path": "src/extension/background-script/actions/setup/index.js",
"diff": "import setPassword from \"./setPassword\";\nimport status from \"./status\";\nimport reset from \"./reset\";\n+import valida... | TypeScript | MIT License | getalby/lightning-browser-extension | Add action to validate account data |
244,461 | 05.08.2021 16:00:45 | -7,200 | 88ae4c21aaa66b16cda41ad8efe61815b2011b9a | Onboard screen for Lnbit and LndHub | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/screens/Onboard/ConnectLnbits/index.jsx",
"diff": "+import React, { useState } from \"react\";\n+import Input from \"../../../components/Form/input\";\n+import Button from \"../../../components/button\";\n+import { useHistory } from \"re... | TypeScript | MIT License | getalby/lightning-browser-extension | Onboard screen for Lnbit and LndHub |
244,461 | 05.08.2021 16:06:11 | -7,200 | 5aa1ca86dbf9bb4b2b49eee6c722445062747f49 | AutoFocus and default values for input data | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Form/input.jsx",
"new_path": "src/app/components/Form/input.jsx",
"diff": "@@ -7,6 +7,8 @@ export default function Input({\ntype = \"text\",\nrequired = false,\nonChange,\n+ value,\n+ autoFocus = false,\n}) {\nreturn (\n<input\n@@ -17,6 +19,... | TypeScript | MIT License | getalby/lightning-browser-extension | AutoFocus and default values for input data |
244,495 | 05.08.2021 17:57:32 | -7,200 | 488ee7ac0f3d8b29796a174a7356056a943ec0ef | feat: add support for steps without links | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/steps.jsx",
"new_path": "src/app/components/steps.jsx",
"diff": "import React from \"react\";\nimport { Link } from \"react-router-dom\";\n-export default function Steps(props) {\n+export default function Steps({ steps }) {\n+ function creat... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add support for steps without links |
244,461 | 05.08.2021 18:02:47 | -7,200 | 154dde118dbeb21fb1a1ecdbfbe56f8891eeebd3 | sendPayment for lndhub | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lndhub.js",
"new_path": "src/extension/background-script/connectors/lndhub.js",
"diff": "import memoizee from \"memoizee\";\n+import axios from \"axios\";\nimport Base from \"./base\";\nexport default class LndHub ext... | TypeScript | MIT License | getalby/lightning-browser-extension | sendPayment for lndhub |
244,461 | 05.08.2021 18:40:40 | -7,200 | 1baeb20aec0241cf28d6990708f3d14d0f1f8653 | Fix error handling
we need to unify and improve error handling | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/ln/sendPayment.js",
"new_path": "src/extension/background-script/actions/ln/sendPayment.js",
"diff": "@@ -64,7 +64,7 @@ export function publishPaymentNotification(\nresponse\n) {\nlet status = \"success\"; // default. le... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix error handling
we need to unify and improve error handling |
244,461 | 05.08.2021 18:40:50 | -7,200 | 95c5b000643c97603ab9a08aa85017e5d13f3258 | sendPayments with lnbits | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnbits.js",
"new_path": "src/extension/background-script/connectors/lnbits.js",
"diff": "import Base from \"./base\";\n+import { parsePaymentRequest } from \"invoices\";\nclass LnBits extends Base {\ngetInfo() {\n@@ -... | TypeScript | MIT License | getalby/lightning-browser-extension | sendPayments with lnbits |
244,461 | 07.08.2021 14:51:12 | -7,200 | 3f6f1e911800dcf36793227f26f1aa1c51918c6a | Handle lnurl auth errors when the connector does not support the signMessage calls | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/actions/lnurl/index.ts",
"new_path": "src/extension/background-script/actions/lnurl/index.ts",
"diff": "import axios from \"axios\";\n+import PubSub from \"pubsub-js\";\nimport { parsePaymentRequest } from \"invoices\";\nimport ... | TypeScript | MIT License | getalby/lightning-browser-extension | Handle lnurl auth errors when the connector does not support the signMessage calls |
244,461 | 09.08.2021 21:03:19 | -7,200 | eff49394a9369b96da2ce2513f907e05edd10f0c | Make sure balances are integers
We need to refactor the balance handling to make sure we properly deal with msats and sats | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Options/Options.jsx",
"new_path": "src/app/router/Options/Options.jsx",
"diff": "@@ -14,8 +14,7 @@ function Options() {\nuseEffect(() => {\nutils.call(\"accountInfo\").then((response) => {\nconst { alias } = response.info;\n- const { balance } =... | TypeScript | MIT License | getalby/lightning-browser-extension | Make sure balances are integers
We need to refactor the balance handling to make sure we properly deal with msats and sats |
244,461 | 09.08.2021 21:03:36 | -7,200 | 02e2cdd8629f3a7a6977578de1145bb8845d863c | Specific balance response for lnd | [
{
"change_type": "MODIFY",
"old_path": "src/extension/background-script/connectors/lnd.js",
"new_path": "src/extension/background-script/connectors/lnd.js",
"diff": "@@ -59,6 +59,13 @@ class Lnd extends Base {\nreturn this.request(\"GET\", \"/v1/balance/channels\", undefined, {\npending_open_balance... | TypeScript | MIT License | getalby/lightning-browser-extension | Specific balance response for lnd |
244,461 | 11.08.2021 01:20:39 | -7,200 | 92d01cec76eb1a9cbe5aa294c0b8925176d6ff27 | Disable autocomplete for input fields | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/Form/input.jsx",
"new_path": "src/app/components/Form/input.jsx",
"diff": "@@ -9,6 +9,7 @@ export default function Input({\nonChange,\nvalue,\nautoFocus = false,\n+ autoComplete = \"off\",\n}) {\nreturn (\n<input\n@@ -21,6 +22,7 @@ export de... | TypeScript | MIT License | getalby/lightning-browser-extension | Disable autocomplete for input fields |
244,461 | 11.08.2021 01:23:34 | -7,200 | 961df37a5a615e463047df7a3fc5be79beaf6708 | Rename transactions to payments
unifiying the name | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Home/index.jsx",
"new_path": "src/app/screens/Home/index.jsx",
"diff": "@@ -25,8 +25,8 @@ class Home extends React.Component {\ncurrency: \"USD\",\nbalance: null,\nbalanceFiat: null,\n- transactions: {},\n- loadingTransactions: true,\n+ payment... | TypeScript | MIT License | getalby/lightning-browser-extension | Rename transactions to payments
unifiying the name |
244,461 | 11.08.2021 01:24:05 | -7,200 | 7fe298f439d0731168bd226ff92ebf3e00309d47 | Fix parsing the balance to integer | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/TestConnection/index.jsx",
"new_path": "src/app/screens/Onboard/TestConnection/index.jsx",
"diff": "@@ -20,7 +20,7 @@ export default function TestConnection() {\n.call(\"accountInfo\")\n.then((response) => {\nconst { alias } = response.... | TypeScript | MIT License | getalby/lightning-browser-extension | Fix parsing the balance to integer |
244,495 | 16.08.2021 14:25:56 | -7,200 | f09bd0cb43090744d1bffc19f9c55239899fce49 | feat: choose connector screen with nested routing | [
{
"change_type": "MODIFY",
"old_path": "src/app/router/Welcome/Welcome.jsx",
"new_path": "src/app/router/Welcome/Welcome.jsx",
"diff": "@@ -10,13 +10,17 @@ import DevMenu from \"../../components/DevMenu\";\nimport Steps from \"../../components/steps\";\nimport Intro from \"../../screens/Onboard/Intr... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: choose connector screen with nested routing |
244,495 | 16.08.2021 14:31:08 | -7,200 | 082ea4763ed0133aeaececc3730874582c98d763 | feat: add linkbutton hover styles | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"new_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"diff": "@@ -7,7 +7,7 @@ import ConnectLnd from \"../ConnectLnd\";\nfunction LinkButton({ to, title, description }) {\nreturn (\n<Link to={to} ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add linkbutton hover styles |
244,495 | 16.08.2021 14:37:58 | -7,200 | 6303242c8c68ba4dd72dde20b4cd6e401d70c8a0 | feat: add nested route to lndhub | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"new_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"diff": "@@ -3,6 +3,7 @@ import { Switch, Route, Link, useRouteMatch } from \"react-router-dom\";\nimport { ChevronRightIcon } from \"@heroicon... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add nested route to lndhub |
244,495 | 16.08.2021 20:46:15 | -7,200 | 3747094a9045eb56d74c6260d0b7b3180bdce0d5 | feat: move linkbutton to components | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/app/components/LinkButton/LinkButton.stories.tsx",
"diff": "+import React from \"react\";\n+import { MemoryRouter } from \"react-router-dom\";\n+\n+import LinkButton from \".\";\n+\n+const metadata = {\n+ title: \"Components/Buttons/LinkButt... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: move linkbutton to components |
244,495 | 17.08.2021 09:44:13 | -7,200 | eb28558251b1e3c2da42ef7de417061d4b3ab2c0 | feat: present fallback img on error | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/PublishersTable.jsx",
"new_path": "src/app/components/PublishersTable.jsx",
"diff": "@@ -25,6 +25,10 @@ export default function PublishersTable({ publishers, navigateToPublisher }) {\nclassName=\"h-12 w-12 object-cover rounded-full shadow-lg... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: present fallback img on error |
244,461 | 18.08.2021 00:15:24 | -7,200 | f0676aac3354063d3abb522c68e2f85c2e41c5af | New wallet screen | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"new_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"diff": "@@ -5,6 +5,7 @@ import LinkButton from \"../../../components/LinkButton\";\nimport ConnectLnd from \"../ConnectLnd\";\nimport ConnectL... | TypeScript | MIT License | getalby/lightning-browser-extension | New wallet screen |
244,495 | 18.08.2021 13:53:42 | -7,200 | 3e342bdd6d07298c637ef4ffcb0e1812c82fb46d | feat: add macaroon by dragging and dropping a file | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"diff": "import React, { useState } from \"react\";\n+import { UploadIcon } from \"@heroicons/react/outline\";\n+\nimport Input from \"../../../component... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add macaroon by dragging and dropping a file |
244,495 | 18.08.2021 14:01:44 | -7,200 | 15edb5d545d1e52764a58a459e7ea920e0b6c5c6 | feat: move buf2hex into utils | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"diff": "@@ -12,13 +12,6 @@ const initialFormData = Object.freeze({\nmacaroon: \"\",\n});\n-function buf2hex(buffer) {\n- // buffer is an ArrayBuffer\n- ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: move buf2hex into utils |
244,495 | 18.08.2021 14:11:43 | -7,200 | 2303ca5195cca8972df15b0bd7b2255e71b76432 | feat: make use of bytesToHexString | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"diff": "@@ -74,7 +74,9 @@ export default function ConnectLnd() {\nfunction readFile(file) {\nconst reader = new FileReader();\nreader.onload = function ... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: make use of bytesToHexString |
244,495 | 18.08.2021 15:07:48 | -7,200 | d7cdf3b1ea0ba5a835f3dfed429c52b50bcf952b | feat: add macaroon file browsing | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"diff": "-import React, { useState } from \"react\";\n+import React, { useState, useRef } from \"react\";\nimport { UploadIcon } from \"@heroicons/react/... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add macaroon file browsing |
244,495 | 18.08.2021 16:36:59 | -7,200 | df1a41e39b8ea063672c81ac9d77b73e52a7e233 | feat: apply consistent flow | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"new_path": "src/app/screens/Onboard/ChooseConnector/index.tsx",
"diff": "@@ -23,22 +23,22 @@ export default function ChooseConnector() {\n{\nto: `${url}/create-wallet`,\ntitle: \"Create a new wallet\",\n- de... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: apply consistent flow |
244,495 | 19.08.2021 09:20:54 | -7,200 | d5f485fe04c36c0279d4aec6fe4248480686bb95 | feat: consistent styling | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"diff": "@@ -173,7 +173,7 @@ export default function ConnectLnd() {\n</div>\n<div\n- className=\"mt-10 -mx-4 relative lg:mt-0 lg:flex lg:items-center\"\n... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: consistent styling |
244,495 | 19.08.2021 09:27:50 | -7,200 | 369587d2b088af80226eb8b010f4b5f42c6b7f71 | fix: lndhub consistent styling | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLnd/index.jsx",
"diff": "@@ -91,8 +91,8 @@ export default function ConnectLnd() {\n}\nreturn (\n- <div className=\"relative mt-12 lg:mt-24 lg:grid lg:grid-cols-2 lg:gap-... | TypeScript | MIT License | getalby/lightning-browser-extension | fix: lndhub consistent styling |
244,495 | 19.08.2021 10:03:31 | -7,200 | a64ece503ec737283591915e87be1058c1fe7768 | feat: add extra button variant | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/button.tsx",
"new_path": "src/app/components/button.tsx",
"diff": "import React from \"react\";\n+import { classNames } from \"../utils/index\";\n+\ntype Props = React.ButtonHTMLAttributes<HTMLButtonElement> & {\nfullWidth?: boolean;\nlabel:... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: add extra button variant |
244,495 | 20.08.2021 13:29:32 | -7,200 | a5fd2b1d7e355022e89ed4120cadb846baaa7cb0 | feat: styling improvement | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.jsx",
"new_path": "src/app/components/QrcodeScanner/index.jsx",
"diff": "@@ -64,7 +64,7 @@ function QrcodeScanner({\nreturn (\n<div className=\"p-6 shadow-sm rounded-md border border-gray-300 flex flex-col items-center\">... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: styling improvement |
244,495 | 20.08.2021 13:31:57 | -7,200 | 232881d87ddbc4647dfa4d125474f644b399664e | refactor: clear text | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.jsx",
"new_path": "src/app/components/QrcodeScanner/index.jsx",
"diff": "@@ -73,7 +73,7 @@ function QrcodeScanner({\naria-hidden=\"true\"\n/>\n<Button\n- label=\"Request Camera Permissions\"\n+ label=\"Start scanning\"\no... | TypeScript | MIT License | getalby/lightning-browser-extension | refactor: clear text |
244,495 | 20.08.2021 14:16:53 | -7,200 | 6d610886c148357c729d26d71ca92797b9dacd38 | feat: visually show if match was found | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.jsx",
"new_path": "src/app/components/QrcodeScanner/index.jsx",
"diff": "@@ -13,11 +13,7 @@ function QrcodeScanner({\nconst html5QrCodeRef = useRef(null);\nuseEffect(() => {\n- return () => {\n- html5QrCodeRef.current.sto... | TypeScript | MIT License | getalby/lightning-browser-extension | feat: visually show if match was found |
244,461 | 20.08.2021 15:46:33 | -7,200 | 9e63c1fd3f886187907269b46553e6ac55722e4c | Remove trailing slash from lndhub URL | [
{
"change_type": "MODIFY",
"old_path": "src/app/screens/Onboard/ConnectLndHub/index.jsx",
"new_path": "src/app/screens/Onboard/ConnectLndHub/index.jsx",
"diff": "@@ -29,7 +29,7 @@ export default function ConnectLndHub() {\n}\nconst login = match[1];\nconst password = match[2];\n- const url = match[3... | TypeScript | MIT License | getalby/lightning-browser-extension | Remove trailing slash from lndhub URL |
244,461 | 20.08.2021 16:40:25 | -7,200 | da373ea355a73d3edbd5fcfca9055b0c618da039 | Stop QR Code scanning after we could successfully scan | [
{
"change_type": "MODIFY",
"old_path": "src/app/components/QrcodeScanner/index.jsx",
"new_path": "src/app/components/QrcodeScanner/index.jsx",
"diff": "@@ -30,6 +30,7 @@ function QrcodeScanner({\nqrbox,\n},\n(decodedText, decodedResult) => {\n+ handleStopScanning();\nqrCodeSuccessCallback(decodedTex... | TypeScript | MIT License | getalby/lightning-browser-extension | Stop QR Code scanning after we could successfully scan |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.