@tonconnect/sdk 3.4.0 → 3.4.1

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/lib/esm/index.mjs CHANGED
@@ -1787,9 +1787,7 @@ class InjectedProvider {
1787
1787
  js_bridge_method: 'restoreConnection',
1788
1788
  trace_id: traceId
1789
1789
  });
1790
- const connectEvent = yield this.injectedWallet.restoreConnection({
1791
- traceId
1792
- });
1790
+ const connectEvent = yield this.injectedWallet.restoreConnection();
1793
1791
  (_c = this.analytics) === null || _c === void 0 ? void 0 : _c.emitJsBridgeResponse({
1794
1792
  js_bridge_method: 'restoreConnection',
1795
1793
  trace_id: traceId
@@ -1874,9 +1872,7 @@ class InjectedProvider {
1874
1872
  (_b = this.analytics) === null || _b === void 0 ? void 0 : _b.emitJsBridgeCall({
1875
1873
  js_bridge_method: 'send'
1876
1874
  });
1877
- const result = this.injectedWallet.send(Object.assign(Object.assign({}, request), { id }), {
1878
- traceId: options.traceId
1879
- });
1875
+ const result = this.injectedWallet.send(Object.assign(Object.assign({}, request), { id }));
1880
1876
  result
1881
1877
  .then(response => {
1882
1878
  var _a;
@@ -1906,9 +1902,7 @@ class InjectedProvider {
1906
1902
  js_bridge_method: 'connect',
1907
1903
  trace_id: traceId
1908
1904
  });
1909
- const connectEvent = yield this.injectedWallet.connect(protocolVersion, message, {
1910
- traceId
1911
- });
1905
+ const connectEvent = yield this.injectedWallet.connect(protocolVersion, message);
1912
1906
  (_c = this.analytics) === null || _c === void 0 ? void 0 : _c.emitJsBridgeResponse({
1913
1907
  js_bridge_method: 'connect'
1914
1908
  });
@@ -3877,7 +3871,7 @@ class TonConnectTracker {
3877
3871
  }
3878
3872
  }
3879
3873
 
3880
- const tonConnectSdkVersion = "3.4.0";
3874
+ const tonConnectSdkVersion = "3.4.1";
3881
3875
 
3882
3876
  const bounceableTag = 0x11;
3883
3877
  const noBounceableTag = 0x51;