@tma.js/bridge 2.2.2 → 2.2.3
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.
|
@@ -488,18 +488,18 @@ export interface Events {
|
|
|
488
488
|
/**
|
|
489
489
|
* Failed to send a prepared message.
|
|
490
490
|
* @since 8.0
|
|
491
|
-
* @see https://docs.telegram-mini-apps.com/platform/events#
|
|
491
|
+
* @see https://docs.telegram-mini-apps.com/platform/events#prepared-message-failed
|
|
492
492
|
*/
|
|
493
493
|
prepared_message_failed: {
|
|
494
494
|
/**
|
|
495
495
|
* Occurred error.
|
|
496
496
|
*/
|
|
497
|
-
error: string;
|
|
497
|
+
error: 'USER_DECLINED' | string;
|
|
498
498
|
};
|
|
499
499
|
/**
|
|
500
500
|
* A prepared message was sent.
|
|
501
501
|
* @since 8.0
|
|
502
|
-
* @see https://docs.telegram-mini-apps.com/platform/events#
|
|
502
|
+
* @see https://docs.telegram-mini-apps.com/platform/events#prepared-message-sent
|
|
503
503
|
*/
|
|
504
504
|
prepared_message_sent: never;
|
|
505
505
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tma.js/bridge",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"description": "TypeScript package to provide communication layer between Mini App and Telegram application.",
|
|
5
5
|
"author": "Vladislav Kibenko <wolfram.deus@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/Telegram-Mini-Apps/tma.js#readme",
|