Skip to content

Commit d84e86a

Browse files
authored
Merge pull request #18 from iwfan/master
Fix `Uncaught _H: "initData" transformer failed to parse the value`
2 parents 524c516 + fcb6968 commit d84e86a

File tree

3 files changed

+49
-38
lines changed

3 files changed

+49
-38
lines changed

package-lock.json

Lines changed: 45 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"predeploy": "npm run build"
1515
},
1616
"dependencies": {
17-
"@telegram-apps/sdk-react": "^2.0.10",
18-
"@telegram-apps/telegram-ui": "^2.1.5",
17+
"@telegram-apps/sdk-react": "^2.0.20",
18+
"@telegram-apps/telegram-ui": "^2.1.8",
1919
"@tonconnect/ui-react": "^2.0.5",
2020
"eruda": "^3.0.1",
2121
"react": "^18.2.0",

src/mockEnv.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ if (import.meta.env.DEV) {
3737
['start_param', 'debug'],
3838
['chat_type', 'sender'],
3939
['chat_instance', '8428209589180549439'],
40+
['signature', '6fbdaab833d39f54518bd5c3eb3f511d035e68cb'],
4041
]).toString();
4142

4243
lp = {
@@ -67,4 +68,4 @@ if (import.meta.env.DEV) {
6768
'⚠️ As long as the current environment was not considered as the Telegram-based one, it was mocked. Take a note, that you should not do it in production and current behavior is only specific to the development process. Environment mocking is also applied only in development mode. So, after building the application, you will not see this behavior and related warning, leading to crashing the application outside Telegram.',
6869
);
6970
})();
70-
}
71+
}

0 commit comments

Comments
 (0)