Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: V3 #140

Merged
merged 37 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
64e768b
feat: v3 changes (WIP)
rolznz Nov 29, 2023
53a5e19
feat: expose underlying WebLN provider functionality
rolznz Nov 30, 2023
7f7e798
feat: V3 WIP
rolznz Nov 30, 2023
ede2f4c
doc: improve README
rolznz Dec 4, 2023
928d2db
feat: stop using window.webln and replace window events with bitcoin …
rolznz Dec 5, 2023
de18757
feat: browser build WIP
rolznz Dec 6, 2023
9d055d3
feat: remove browserify, update pure html example
rolznz Dec 7, 2023
9253e53
feat: add showBalance option to dev page
rolznz Dec 7, 2023
d1285a9
fix: minor issues in dev page
rolznz Dec 7, 2023
f185f94
Merge remote-tracking branch 'origin/master' into feat/v3
rolznz Dec 7, 2023
37df187
feat: split send payment and connect flows
rolznz Dec 7, 2023
7a4a075
feat: implement requestProvider
rolznz Dec 8, 2023
2617175
fix: modal header show-help attribute
rolznz Dec 8, 2023
42095a1
chore: improve color pickers in dev page
rolznz Dec 8, 2023
a2bb7b4
fix: close modal
rolznz Dec 8, 2023
7016f93
experimental: bc:onpaid event
rolznz Dec 8, 2023
faa90f8
feat: enable flows outside of modal
rolznz Dec 8, 2023
f1dcb8f
chore: rename flow components
rolznz Dec 8, 2023
b321682
fix: waiting icon color
rolznz Dec 8, 2023
7e2e364
fix: success animation color
rolznz Dec 8, 2023
10ab40d
fix: disconnect after closing modal
rolznz Dec 8, 2023
3c87a89
fix: remove unused import
rolznz Dec 8, 2023
7664084
feat: update react wrapper
rolznz Dec 8, 2023
93f051d
feat: add onPaid callback for launchModal and SendPayment component
rolznz Dec 8, 2023
1bf59fd
chore: document API functions
rolznz Dec 8, 2023
be07cbe
chore: add make invoice function to dev page
rolznz Dec 10, 2023
18fa952
feat: add checkPayment function for external payments
rolznz Dec 10, 2023
8084057
chore: update example replit and codepen
rolznz Dec 11, 2023
d086746
Merge remote-tracking branch 'origin/master' into feat/v3
rolznz Dec 11, 2023
ba586ed
feat: address v3 feedback WIP
rolznz Dec 13, 2023
afa09b4
fix: rename setPaidExternally to setPaid
rolznz Dec 13, 2023
2f51b50
feat: update React wrapper to replace checkPayment with payment prop
rolznz Dec 14, 2023
e337cf0
chore: rename top level flow components to simply bc-connect and bc-p…
rolznz Dec 14, 2023
49231e8
chore: update NextJS examples
rolznz Dec 14, 2023
fe02b95
chore: update html example
rolznz Dec 14, 2023
f5df141
fix: bc-balance component not listening to connection changes
rolznz Dec 14, 2023
498ae2e
chore: release version 3.0.0
rolznz Dec 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
353 changes: 298 additions & 55 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions demos/html/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ A simple example of how to add Bitcoin Connect to a simple HTML website

Simply open [index.html](./index.html) in your browser

# Watching for changes
## Watching for changes

## Install
### Install

Run `yarn install`

## Development
### Development

Run `yarn dev`
12 changes: 6 additions & 6 deletions demos/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
<head>
<meta charset="utf-8" />
<title>Bitcoin Connect</title>
<script src="https://cdn.jsdelivr.net/npm/@getalby/bitcoin-connect@2.4.3/dist/index.browser.js"></script>
<script type="module">
import {onConnected} from 'https://esm.sh/@getalby/bitcoin-connect@3.0.0';
onConnected((provider) => {
console.log('Connected with provider', provider);
});
</script>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
<div style="display: flex; flex-direction: column; gap: 1rem">
<code> &lt;bc-button /&gt; </code>
<bc-button></bc-button>
</div>
<script>
window.addEventListener('bc:connected', async () => {
alert('connected');
});
</script>
</body>
</html>
21 changes: 0 additions & 21 deletions demos/html/minimal.html

This file was deleted.

3 changes: 1 addition & 2 deletions demos/html/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"private": true,
"scripts": {
"dev": "wds -r ../.. -o ./demos/html/index.html --watch",
"minimal": "wds -r ../.. -o ./demos/html/minimal.html --watch"
"dev": "wds -r ../.. -o ./demos/html/index.html --watch"
},
"devDependencies": {
"@web/dev-server": "^0.1.31"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,12 @@ const Button = dynamic(
}
);

const Modal = dynamic(
() => import('@getalby/bitcoin-connect-react').then((mod) => mod.Modal),
{
ssr: false,
}
);
import React from 'react';

export function BitcoinConnectClientWrapper() {
return (
<>
<Button />
<Modal />
<button
onClick={async () => {
const launchModal = await import(
Expand Down
2 changes: 1 addition & 1 deletion demos/nextjs-legacy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@getalby/bitcoin-connect-react": "^2.4.3",
"@getalby/bitcoin-connect-react": "^3.0.0",
"next": "14.0.4",
"react": "^18",
"react-dom": "^18"
Expand Down
10 changes: 0 additions & 10 deletions demos/nextjs-legacy/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
import Image from 'next/image';
import {Inter} from 'next/font/google';
import {BitcoinConnectClientWrapper} from '../components/BitcoinConnectClientWrapper';
import dynamic from 'next/dynamic';

const Button = dynamic(
() => import('@getalby/bitcoin-connect-react').then((mod) => mod.Button),
{
ssr: false,
loading: () => <p>Loading...</p>,
}
);

const inter = Inter({subsets: ['latin']});

Expand Down Expand Up @@ -55,7 +46,6 @@ export default function Home() {
</div>

<BitcoinConnectClientWrapper />
<Button />

<div className="mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left">
<a
Expand Down
74 changes: 29 additions & 45 deletions demos/nextjs-legacy/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,38 +51,34 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.55.0.tgz#b721d52060f369aa259cf97392403cb9ce892ec6"
integrity sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==

"@getalby/bitcoin-connect-react@^2.4.3":
version "2.4.3"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-2.4.3.tgz#23731495e78dcd4719a824ead881de0cb82d2175"
integrity sha512-eljMNcTB4h+wlXl8DPPq3sDV6tgyQdZvW5Ka1nCAMRUCmcU4Ux7NurX2XulePPKJ/zcjigbltxrsE5gENCdqzg==
"@getalby/bitcoin-connect-react@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.0.0.tgz#c768ec291d92dccec3c244609d51bf4b29bf3ade"
integrity sha512-ngYKLpR8sh8YjbaHFBYdkZsmLIFpFLuAm9vtDkR/DRPbcTYEBNeWawRnGzt28+85gkofOI3VFxiuIsp5hnq8qg==
dependencies:
"@getalby/bitcoin-connect" "2.4.3"
"@getalby/bitcoin-connect" "^3.0.0"

"@getalby/bitcoin-connect@2.4.3":
version "2.4.3"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-2.4.3.tgz#918041dfd0e35fbe7302691f6c96b1c79529d251"
integrity sha512-siuRiB8S1wCqmhXvxhQLvWZFwG04spfPSdOvHdWv8pDhy3ixfGRvUd9JFQ0saavGS3kueiaDZ6xTSUDJ1hY08Q==
"@getalby/bitcoin-connect@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.0.0.tgz#d8c77fdd03ec691291d1e84f43ae744d7a48bf3f"
integrity sha512-s6D/pkjS2ojmfVYDiZehsbGjmvtwVuBZvivx8izWPhpsTwSR/J7zmxX5E4epZjijXxFEAuXU4baUBzY7NjF3Hg==
dependencies:
"@getalby/lightning-tools" "^4.2.0"
"@getalby/sdk" "^2.7.0"
"@lightninglabs/lnc-web" "^0.2.6-alpha"
"@getalby/lightning-tools" "^5.0.0"
"@getalby/sdk" "^3.0.0"
"@lightninglabs/lnc-web" "^0.2.8-alpha"
qrcode-generator "^1.4.4"
zustand "^4.4.1"

"@getalby/lightning-tools@^4.2.0":
version "4.2.1"
resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-4.2.1.tgz#fa6cd0ad6a8c9baf20e3e37ead242b5ad495abc1"
integrity sha512-QOLF5LwIw6cYuAG3LYkEvZoQi/o+pFJtrG3L0koDo0xI4PliFLU9Qw70wUYJwl5X80UQtlukCpJ3nN5gyUBpdw==
dependencies:
crypto-js "^4.1.1"
light-bolt11-decoder "^3.0.0"
"@getalby/lightning-tools@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-5.0.0.tgz#eefe1fc1ecf28582d6c922c9e22dc28bf3af27c6"
integrity sha512-j3x90CGclpyZTHJRVWvA95jQniu5A+xqvmJNPSkXyzYCdJiFG5oZFWNwC0N+q7Oa8cTvp7wB7FdDqxH+Le0/Nw==

"@getalby/sdk@^2.7.0":
version "2.7.0"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-2.7.0.tgz#20fdb5a39ffcbd9b9c9d7270bdacba97ac4d3f72"
integrity sha512-4NoEgdjx0R8SYDmJfCAsgvuBs0w3d8wsOMGI4m0h2MVsSeCcWW93lrzCl8bRmHTF5N7EfleHwnieYwn5j9KZTA==
"@getalby/sdk@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.0.0.tgz#3d87b3d388dd14355b8b49f2fd3cd7ab63533b32"
integrity sha512-v4CaQf8HYIvN7Ccp+NU09pROrgugwyOkaouMRrat0DJnbRLpkV8zssPeKEqI29k53USnLn5P3SaHFngM4Se/1A==
dependencies:
crypto-js "^4.1.1"
events "^3.3.0"
nostr-tools "^1.17.0"

Expand Down Expand Up @@ -137,17 +133,17 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@lightninglabs/lnc-core@0.2.6-alpha":
version "0.2.6-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-core/-/lnc-core-0.2.6-alpha.tgz#1b93d5aeefb09bb3dedcb82988368b15e223f8fd"
integrity sha512-bw2EQG78pPKMZMFwV+TR99RUbYgPVUKQYMLGGKIOvhPds3dBWSDZpMoqOyW/WidWGXF/ugPHzud8lDbKKhNXgA==
"@lightninglabs/lnc-core@0.2.8-alpha":
version "0.2.8-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-core/-/lnc-core-0.2.8-alpha.tgz#78272c04a5ec95a9ccb830f75ab9b5ca227f0801"
integrity sha512-2tHzmklIiQhJiK1aabX0R2AbbWi0mizWgniCUOb573XToYQN7L61Phh+hWUCxIFfAhHCkp2mnSmX+7eT/ikxOg==

"@lightninglabs/lnc-web@^0.2.6-alpha":
version "0.2.6-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-web/-/lnc-web-0.2.6-alpha.tgz#34f54f65691ff8cdef6eb159321b70c94f198f9e"
integrity sha512-SrqR8xaDnFLgNzPe5om7REOAhSOP95jQNIHP0GY0Lv895eDjrI6CPkfCFcX97INoDWYHBvDT8DZeYkBvlznVNA==
"@lightninglabs/lnc-web@^0.2.8-alpha":
version "0.2.8-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-web/-/lnc-web-0.2.8-alpha.tgz#454f6d68bcd8d766761f326846467000fc9c251c"
integrity sha512-Pe0Moupd7mglbvbVZk7GqPNxa/4lFFWWsnYtiSahzjhNCmTaoQkk/gUY8kk1u5mHaqUmrL1YgLCLsmbGbWPV/g==
dependencies:
"@lightninglabs/lnc-core" "0.2.6-alpha"
"@lightninglabs/lnc-core" "0.2.8-alpha"
crypto-js "4.1.1"

"@next/env@14.0.4":
Expand Down Expand Up @@ -689,11 +685,6 @@ crypto-js@4.1.1:
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf"
integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==

crypto-js@^4.1.1:
version "4.2.0"
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631"
integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==

cssesc@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
Expand Down Expand Up @@ -1694,13 +1685,6 @@ levn@^0.4.1:
prelude-ls "^1.2.1"
type-check "~0.4.0"

light-bolt11-decoder@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/light-bolt11-decoder/-/light-bolt11-decoder-3.0.0.tgz#f644576120426c9ef65621bde254f11016055044"
integrity sha512-AKvOigD2pmC8ktnn2TIqdJu0K0qk6ukUmTvHwF3JNkm8uWCqt18Ijn33A/a7gaRZ4PghJ59X+8+MXrzLKdBTmQ==
dependencies:
"@scure/base" "1.1.1"

lilconfig@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52"
Expand Down
8 changes: 0 additions & 8 deletions demos/nextjs/app/components/BitcoinConnectClientWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,12 @@ const Button = dynamic(
ssr: false,
}
);

const Modal = dynamic(
() => import('@getalby/bitcoin-connect-react').then((mod) => mod.Modal),
{
ssr: false,
}
);
import React from 'react';

export function BitcoinConnectClientWrapper() {
return (
<>
<Button />
<Modal />
<button
onClick={async () => {
const launchModal = await import(
Expand Down
2 changes: 1 addition & 1 deletion demos/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@getalby/bitcoin-connect-react": "^2.4.3",
"@getalby/bitcoin-connect-react": "^3.0.0",
"next": "14.0.4",
"react": "^18",
"react-dom": "^18"
Expand Down
74 changes: 29 additions & 45 deletions demos/nextjs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,38 +51,34 @@
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.55.0.tgz#b721d52060f369aa259cf97392403cb9ce892ec6"
integrity sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==

"@getalby/bitcoin-connect-react@^2.4.3":
version "2.4.3"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-2.4.3.tgz#23731495e78dcd4719a824ead881de0cb82d2175"
integrity sha512-eljMNcTB4h+wlXl8DPPq3sDV6tgyQdZvW5Ka1nCAMRUCmcU4Ux7NurX2XulePPKJ/zcjigbltxrsE5gENCdqzg==
"@getalby/bitcoin-connect-react@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect-react/-/bitcoin-connect-react-3.0.0.tgz#c768ec291d92dccec3c244609d51bf4b29bf3ade"
integrity sha512-ngYKLpR8sh8YjbaHFBYdkZsmLIFpFLuAm9vtDkR/DRPbcTYEBNeWawRnGzt28+85gkofOI3VFxiuIsp5hnq8qg==
dependencies:
"@getalby/bitcoin-connect" "2.4.3"
"@getalby/bitcoin-connect" "^3.0.0"

"@getalby/bitcoin-connect@2.4.3":
version "2.4.3"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-2.4.3.tgz#918041dfd0e35fbe7302691f6c96b1c79529d251"
integrity sha512-siuRiB8S1wCqmhXvxhQLvWZFwG04spfPSdOvHdWv8pDhy3ixfGRvUd9JFQ0saavGS3kueiaDZ6xTSUDJ1hY08Q==
"@getalby/bitcoin-connect@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/bitcoin-connect/-/bitcoin-connect-3.0.0.tgz#d8c77fdd03ec691291d1e84f43ae744d7a48bf3f"
integrity sha512-s6D/pkjS2ojmfVYDiZehsbGjmvtwVuBZvivx8izWPhpsTwSR/J7zmxX5E4epZjijXxFEAuXU4baUBzY7NjF3Hg==
dependencies:
"@getalby/lightning-tools" "^4.2.0"
"@getalby/sdk" "^2.7.0"
"@lightninglabs/lnc-web" "^0.2.6-alpha"
"@getalby/lightning-tools" "^5.0.0"
"@getalby/sdk" "^3.0.0"
"@lightninglabs/lnc-web" "^0.2.8-alpha"
qrcode-generator "^1.4.4"
zustand "^4.4.1"

"@getalby/lightning-tools@^4.2.0":
version "4.2.1"
resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-4.2.1.tgz#fa6cd0ad6a8c9baf20e3e37ead242b5ad495abc1"
integrity sha512-QOLF5LwIw6cYuAG3LYkEvZoQi/o+pFJtrG3L0koDo0xI4PliFLU9Qw70wUYJwl5X80UQtlukCpJ3nN5gyUBpdw==
dependencies:
crypto-js "^4.1.1"
light-bolt11-decoder "^3.0.0"
"@getalby/lightning-tools@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@getalby/lightning-tools/-/lightning-tools-5.0.0.tgz#eefe1fc1ecf28582d6c922c9e22dc28bf3af27c6"
integrity sha512-j3x90CGclpyZTHJRVWvA95jQniu5A+xqvmJNPSkXyzYCdJiFG5oZFWNwC0N+q7Oa8cTvp7wB7FdDqxH+Le0/Nw==

"@getalby/sdk@^2.7.0":
version "2.7.0"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-2.7.0.tgz#20fdb5a39ffcbd9b9c9d7270bdacba97ac4d3f72"
integrity sha512-4NoEgdjx0R8SYDmJfCAsgvuBs0w3d8wsOMGI4m0h2MVsSeCcWW93lrzCl8bRmHTF5N7EfleHwnieYwn5j9KZTA==
"@getalby/sdk@^3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@getalby/sdk/-/sdk-3.0.0.tgz#3d87b3d388dd14355b8b49f2fd3cd7ab63533b32"
integrity sha512-v4CaQf8HYIvN7Ccp+NU09pROrgugwyOkaouMRrat0DJnbRLpkV8zssPeKEqI29k53USnLn5P3SaHFngM4Se/1A==
dependencies:
crypto-js "^4.1.1"
events "^3.3.0"
nostr-tools "^1.17.0"

Expand Down Expand Up @@ -137,17 +133,17 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@lightninglabs/lnc-core@0.2.6-alpha":
version "0.2.6-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-core/-/lnc-core-0.2.6-alpha.tgz#1b93d5aeefb09bb3dedcb82988368b15e223f8fd"
integrity sha512-bw2EQG78pPKMZMFwV+TR99RUbYgPVUKQYMLGGKIOvhPds3dBWSDZpMoqOyW/WidWGXF/ugPHzud8lDbKKhNXgA==
"@lightninglabs/lnc-core@0.2.8-alpha":
version "0.2.8-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-core/-/lnc-core-0.2.8-alpha.tgz#78272c04a5ec95a9ccb830f75ab9b5ca227f0801"
integrity sha512-2tHzmklIiQhJiK1aabX0R2AbbWi0mizWgniCUOb573XToYQN7L61Phh+hWUCxIFfAhHCkp2mnSmX+7eT/ikxOg==

"@lightninglabs/lnc-web@^0.2.6-alpha":
version "0.2.6-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-web/-/lnc-web-0.2.6-alpha.tgz#34f54f65691ff8cdef6eb159321b70c94f198f9e"
integrity sha512-SrqR8xaDnFLgNzPe5om7REOAhSOP95jQNIHP0GY0Lv895eDjrI6CPkfCFcX97INoDWYHBvDT8DZeYkBvlznVNA==
"@lightninglabs/lnc-web@^0.2.8-alpha":
version "0.2.8-alpha"
resolved "https://registry.yarnpkg.com/@lightninglabs/lnc-web/-/lnc-web-0.2.8-alpha.tgz#454f6d68bcd8d766761f326846467000fc9c251c"
integrity sha512-Pe0Moupd7mglbvbVZk7GqPNxa/4lFFWWsnYtiSahzjhNCmTaoQkk/gUY8kk1u5mHaqUmrL1YgLCLsmbGbWPV/g==
dependencies:
"@lightninglabs/lnc-core" "0.2.6-alpha"
"@lightninglabs/lnc-core" "0.2.8-alpha"
crypto-js "4.1.1"

"@next/env@14.0.4":
Expand Down Expand Up @@ -689,11 +685,6 @@ crypto-js@4.1.1:
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.1.1.tgz#9e485bcf03521041bd85844786b83fb7619736cf"
integrity sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==

crypto-js@^4.1.1:
version "4.2.0"
resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631"
integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q==

cssesc@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee"
Expand Down Expand Up @@ -1694,13 +1685,6 @@ levn@^0.4.1:
prelude-ls "^1.2.1"
type-check "~0.4.0"

light-bolt11-decoder@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/light-bolt11-decoder/-/light-bolt11-decoder-3.0.0.tgz#f644576120426c9ef65621bde254f11016055044"
integrity sha512-AKvOigD2pmC8ktnn2TIqdJu0K0qk6ukUmTvHwF3JNkm8uWCqt18Ijn33A/a7gaRZ4PghJ59X+8+MXrzLKdBTmQ==
dependencies:
"@scure/base" "1.1.1"

lilconfig@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52"
Expand Down
4 changes: 2 additions & 2 deletions demos/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"preview": "vite preview"
},
"dependencies": {
"@getalby/bitcoin-connect-react": "2.4.3",
"@getalby/lightning-tools": "^4.0.2",
"@getalby/bitcoin-connect-react": "^3.0.0",
"@getalby/lightning-tools": "^5.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hot-toast": "^2.4.1"
Expand Down
Loading