Skip to content

Commit 76815ea

Browse files
committed
fix: dependency versions in examples
1 parent c278c8d commit 76815ea

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ You can use Bitcoin Connect without any build tools:
3636

3737
```html
3838
<script type="module">
39-
import {launchModal} from 'https://esm.sh/@getalby/[email protected]'; // jsdelivr.net, skypack.dev also work
39+
import {launchModal} from 'https://esm.sh/@getalby/bitcoin-connect@^3.8.1'; // jsdelivr.net, skypack.dev also work
4040
4141
// use Bitcoin connect API normally...
4242
launchModal();
4343
4444
// or if you just want access to the web components:
45-
import 'https://esm.sh/@getalby/[email protected]';
45+
import 'https://esm.sh/@getalby/bitcoin-connect@^3.8.1';
4646
</script>
4747

4848
<!-- Bitcoin Connect components are now available -->

demos/html/bc-api-usage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ <h1>Programmatic Access Demo</h1>
6565
launchPaymentModal,
6666
requestProvider,
6767
disconnect,
68-
} from 'https://esm.sh/@getalby/bitcoin-connect@latest';
69-
import {LightningAddress} from 'https://esm.sh/@getalby/lightning-tools@latest';
68+
} from 'https://esm.sh/@getalby/bitcoin-connect@^3.8.1';
69+
import {LightningAddress} from 'https://esm.sh/@getalby/lightning-tools@^5.2.0';
7070

7171
// Initialize Bitcoin Connect with your app name
7272
init({appName: 'Programmatic Access Demo'});

demos/html/bc-button.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta charset="utf-8" />
66
<title>bc-button Demo</title>
77
<script type="module">
8-
import {onConnected} from 'https://esm.sh/@getalby/bitcoin-connect@latest';
8+
import {onConnected} from 'https://esm.sh/@getalby/bitcoin-connect@^3.8.1';
99
onConnected((provider) => {
1010
console.log('Connected with provider', provider);
1111
});

demos/html/bc-pay-button.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77

88
<script type="module">
99
// Import necessary modules from esm.sh CDN
10-
import {init} from 'https://esm.sh/@getalby/bitcoin-connect@latest';
11-
import {LightningAddress} from 'https://esm.sh/@getalby/lightning-tools@latest';
10+
import {init} from 'https://esm.sh/@getalby/bitcoin-connect@^3.8.1';
11+
import {LightningAddress} from 'https://esm.sh/@getalby/lightning-tools@^5.2.0';
1212

1313
// Initialize Bitcoin Connect with your app name
1414
// This sets up the connection to Bitcoin wallets

0 commit comments

Comments
 (0)