Skip to content

Commit 5a4d348

Browse files
committed
Upgrade to 1.9.2
1 parent 3b7dcc3 commit 5a4d348

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [1.9.2](https://github.com/Creit-Tech/Stellar-Wallets-Kit/compare/v1.9.1...v1.9.2) (2025-09-02)
6+
### Add
7+
- Include a `skipRequestAccess` parameter for devs that need to ignore the `requestAccess` to freighter when calling the `getAddress` method.
8+
59
### [1.9.1](https://github.com/Creit-Tech/Stellar-Wallets-Kit/compare/v1.9.0...v1.9.1) (2025-08-26)
610
### Change
711
- Downgrade Albedo library to 0.12.0

index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
<br>
5757
<input placeholder='Use the connect button to fetch the public key' id='publicKey' type='text'>
5858
<br>
59+
<button id='getAddress'>Get Address</button>
60+
<br>
5961
<label for='xdrTextArea'>XDR to sign</label>
6062
<br>
6163
<textarea rows='10' id='xdrTextArea'></textarea>
@@ -104,7 +106,8 @@
104106
const kit = new StellarWalletsKit({
105107
network: WalletNetwork.TESTNET,
106108
modules: [
107-
...allowAllModules({ filterBy: module => module.productId === XBULL_ID }),
109+
...allowAllModules(),
110+
// ...allowAllModules({ filterBy: module => module.productId === XBULL_ID }),
108111
new LedgerModule(),
109112
new TrezorModule({
110113
appName: 'Stellar Wallets Kit',
@@ -138,6 +141,12 @@
138141

139142
createDefaultButton();
140143

144+
document.querySelector('#getAddress').addEventListener('click', async function(e) {
145+
const response = await kit.getAddress({ skipRequestAccess: true });
146+
document.querySelector('#publicKey').value = response.address;
147+
console.log({ response });
148+
})
149+
141150
document.querySelector('#signButton').addEventListener('click', async function(e) {
142151
const inputElement = document.querySelector('#xdrTextArea');
143152
console.log('XDR to sign:', inputElement.value);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@creit.tech/stellar-wallets-kit",
3-
"version": "1.9.1",
3+
"version": "1.9.2",
44
"description": "A kit to handle all Stellar Wallets at once",
55
"author": {
66
"name": "Creit Technologies LLP",

0 commit comments

Comments
 (0)