@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/README.md +19 -0
- package/dist/tonconnect-sdk.min.js +1 -1
- package/dist/tonconnect-sdk.min.js.map +1 -1
- package/lib/cjs/index.cjs +4 -10
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/esm/index.mjs +4 -10
- package/lib/esm/index.mjs.map +1 -1
- package/package.json +3 -3
package/lib/cjs/index.cjs
CHANGED
|
@@ -1790,9 +1790,7 @@ class InjectedProvider {
|
|
|
1790
1790
|
js_bridge_method: 'restoreConnection',
|
|
1791
1791
|
trace_id: traceId
|
|
1792
1792
|
});
|
|
1793
|
-
const connectEvent = yield this.injectedWallet.restoreConnection(
|
|
1794
|
-
traceId
|
|
1795
|
-
});
|
|
1793
|
+
const connectEvent = yield this.injectedWallet.restoreConnection();
|
|
1796
1794
|
(_c = this.analytics) === null || _c === void 0 ? void 0 : _c.emitJsBridgeResponse({
|
|
1797
1795
|
js_bridge_method: 'restoreConnection',
|
|
1798
1796
|
trace_id: traceId
|
|
@@ -1877,9 +1875,7 @@ class InjectedProvider {
|
|
|
1877
1875
|
(_b = this.analytics) === null || _b === void 0 ? void 0 : _b.emitJsBridgeCall({
|
|
1878
1876
|
js_bridge_method: 'send'
|
|
1879
1877
|
});
|
|
1880
|
-
const result = this.injectedWallet.send(Object.assign(Object.assign({}, request), { id })
|
|
1881
|
-
traceId: options.traceId
|
|
1882
|
-
});
|
|
1878
|
+
const result = this.injectedWallet.send(Object.assign(Object.assign({}, request), { id }));
|
|
1883
1879
|
result
|
|
1884
1880
|
.then(response => {
|
|
1885
1881
|
var _a;
|
|
@@ -1909,9 +1905,7 @@ class InjectedProvider {
|
|
|
1909
1905
|
js_bridge_method: 'connect',
|
|
1910
1906
|
trace_id: traceId
|
|
1911
1907
|
});
|
|
1912
|
-
const connectEvent = yield this.injectedWallet.connect(protocolVersion, message
|
|
1913
|
-
traceId
|
|
1914
|
-
});
|
|
1908
|
+
const connectEvent = yield this.injectedWallet.connect(protocolVersion, message);
|
|
1915
1909
|
(_c = this.analytics) === null || _c === void 0 ? void 0 : _c.emitJsBridgeResponse({
|
|
1916
1910
|
js_bridge_method: 'connect'
|
|
1917
1911
|
});
|
|
@@ -3880,7 +3874,7 @@ class TonConnectTracker {
|
|
|
3880
3874
|
}
|
|
3881
3875
|
}
|
|
3882
3876
|
|
|
3883
|
-
const tonConnectSdkVersion = "3.4.
|
|
3877
|
+
const tonConnectSdkVersion = "3.4.1";
|
|
3884
3878
|
|
|
3885
3879
|
const bounceableTag = 0x11;
|
|
3886
3880
|
const noBounceableTag = 0x51;
|