@sundaeswap/wallet-lite 0.0.95 → 0.0.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sundaeswap/wallet-lite",
3
- "version": "0.0.95",
3
+ "version": "0.0.96",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -66,6 +66,7 @@
66
66
  "@testing-library/react-hooks": "^8.0.1",
67
67
  "@testing-library/user-event": "^14.5.2",
68
68
  "@types/libsodium-wrappers-sumo": "^0.7.8",
69
+ "@tanstack/react-query": "^5.51.11",
69
70
  "@types/lodash": "^4.17.4",
70
71
  "@types/node": "^20.14.2",
71
72
  "@types/node-fetch": "^2.6.11",
@@ -18,6 +18,9 @@ export interface IWindowCip30Extension {
18
18
  icon: string;
19
19
  isEnabled: () => Promise<boolean>;
20
20
  name: string;
21
+ experimental?: {
22
+ feeAddress?: string;
23
+ };
21
24
  }
22
25
 
23
26
  /**
@@ -673,7 +673,8 @@ export class WalletObserver<
673
673
 
674
674
  const start = performance.now();
675
675
  try {
676
- const address = this.api.experimental?.feeAddress;
676
+ const address =
677
+ window.cardano?.[this.activeWallet!]?.experimental?.feeAddress;
677
678
  const end = performance.now();
678
679
 
679
680
  if (this._options.debug) {