@tonconnect/sdk 0.0.39 → 0.0.40
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.
|
@@ -159,7 +159,7 @@ class BridgeProvider {
|
|
|
159
159
|
generateUniversalLink(message) {
|
|
160
160
|
const url = new URL(this.walletConnectionSource.universalLink);
|
|
161
161
|
url.searchParams.append('v', protocol.version.toString());
|
|
162
|
-
url.searchParams.append('
|
|
162
|
+
url.searchParams.append('r', JSON.stringify(message));
|
|
163
163
|
url.searchParams.append('r', protocol_1.Base64.encode(JSON.stringify(message), true));
|
|
164
164
|
return url.toString();
|
|
165
165
|
}
|
package/lib/ton-connect.js
CHANGED
|
@@ -215,6 +215,7 @@ class TonConnect {
|
|
|
215
215
|
onWalletConnectError(connectEventError) {
|
|
216
216
|
const error = connect_errors_parser_1.connectErrorsParser.parseError(connectEventError);
|
|
217
217
|
this.statusChangeErrorSubscriptions.forEach(errorsHandler => errorsHandler(error));
|
|
218
|
+
console.debug(error);
|
|
218
219
|
if (error instanceof manifest_not_found_error_1.ManifestNotFoundError || error instanceof manifest_content_error_error_1.ManifestContentErrorError) {
|
|
219
220
|
console.error(error);
|
|
220
221
|
throw error;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonconnect/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.40",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npx rimraf lib && ttsc && npx rimraf dist && webpack --mode development",
|
|
6
6
|
"build:production": "npx rimraf lib && ttsc --sourceMap false && npx rimraf dist && webpack --mode production"
|