@tonconnect/ui 0.0.6 → 0.0.7

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/README.md CHANGED
@@ -32,8 +32,10 @@ const tonConnectUI = new TonConnectUI({
32
32
  ```
33
33
 
34
34
  See all available options:
35
- [TonConnectUiOptionsWithManifest](https://ton-connect.github.io/sdk/docs/interfaces/_tonconnect_ui.TonConnectUiOptionsWithManifest.html)
36
- [TonConnectUiOptionsWithConnector](https://ton-connect.github.io/sdk/docs/interfaces/_tonconnect_ui.TonConnectUiOptionsWithConnector.html)
35
+
36
+ [TonConnectUiOptionsWithManifest](https://ton-connect.github.io/sdk/interfaces/_tonconnect_ui.TonConnectUiOptionsWithManifest.html)
37
+
38
+ [TonConnectUiOptionsWithConnector](https://ton-connect.github.io/sdk/interfaces/_tonconnect_ui.TonConnectUiOptionsWithConnector.html)
37
39
 
38
40
  ## Change options if needed
39
41
  ```ts
@@ -51,7 +53,7 @@ DON'T do this:
51
53
  tonConnectUI.uiOptions.language = 'ru'; // WRONG, WILL NOT WORK
52
54
  ```
53
55
 
54
- [See all available options](https://ton-connect.github.io/sdk/docs/interfaces/_tonconnect_ui.TonConnectUiOptions.html)
56
+ [See all available options](https://ton-connect.github.io/sdk/interfaces/_tonconnect_ui.TonConnectUiOptions.html)
55
57
 
56
58
  ## Fetch wallets list
57
59
  ```ts
package/lib/index.js CHANGED
@@ -6799,7 +6799,6 @@ const AccountButtonDropdown = (props) => {
6799
6799
  const connector = useContext(ConnectorContext);
6800
6800
  const [isCopiedShown, setIsCopiedShown] = createSignal(false);
6801
6801
  const onCopy = () => __async(void 0, null, function* () {
6802
- console.log(tonConnectUi.account.address);
6803
6802
  const userFriendlyAddress = toUserFriendlyAddress(tonConnectUi.account.address);
6804
6803
  yield copyToClipboard(userFriendlyAddress);
6805
6804
  setIsCopiedShown(true);
@@ -10673,6 +10672,8 @@ class TonConnectUI {
10673
10672
  console.error(e2);
10674
10673
  throw new TonConnectUIError("Unhandled error:" + e2);
10675
10674
  }
10675
+ } finally {
10676
+ widgetController.clearAction();
10676
10677
  }
10677
10678
  });
10678
10679
  }