-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from getAlby/chore/v3.6.1
chore: 3.6.1
- Loading branch information
Showing
5 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,13 +36,13 @@ You can use Bitcoin Connect without any build tools: | |
|
||
```html | ||
<script type="module"> | ||
import {launchModal} from 'https://esm.sh/@getalby/[email protected].0'; // jsdelivr.net, skypack.dev also work | ||
import {launchModal} from 'https://esm.sh/@getalby/[email protected].1'; // jsdelivr.net, skypack.dev also work | ||
// use Bitcoin connect API normally... | ||
launchModal(); | ||
// or if you just want access to the web components: | ||
import 'https://esm.sh/@getalby/[email protected].0'; | ||
import 'https://esm.sh/@getalby/[email protected].1'; | ||
</script> | ||
|
||
<!-- Bitcoin Connect components are now available --> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
<meta charset="utf-8" /> | ||
<title>Bitcoin Connect</title> | ||
<script type="module"> | ||
import {onConnected} from 'https://esm.sh/@getalby/[email protected].0'; | ||
import {onConnected} from 'https://esm.sh/@getalby/[email protected].1'; | ||
onConnected((provider) => { | ||
console.log('Connected with provider', provider); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters