@tonconnect/protocol
Advanced tools
Comparing version 0.0.21 to 0.0.22
import { ConnectItem } from './connect-item'; | ||
export interface ConnectRequest { | ||
name: string; | ||
url: string; | ||
icon: string; | ||
manifestUrl: string; | ||
items: ConnectItem[]; | ||
} |
@@ -21,2 +21,4 @@ import { CHAIN } from '../../CHAIN'; | ||
BAD_REQUEST_ERROR = 1, | ||
MANIFEST_NOT_FOUND_ERROR = 2, | ||
MANIFEST_CONTENT_ERROR = 3, | ||
UNKNOWN_APP_ERROR = 100, | ||
@@ -31,2 +33,3 @@ USER_REJECTS_ERROR = 300, | ||
network: CHAIN; | ||
walletStateInit: string; | ||
} | ||
@@ -33,0 +36,0 @@ export declare type TonProofItemReply = TonProofItemReplySuccess | TonProofItemReplyError; |
@@ -8,2 +8,4 @@ "use strict"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["BAD_REQUEST_ERROR"] = 1] = "BAD_REQUEST_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["MANIFEST_NOT_FOUND_ERROR"] = 2] = "MANIFEST_NOT_FOUND_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["MANIFEST_CONTENT_ERROR"] = 3] = "MANIFEST_CONTENT_ERROR"; | ||
CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["UNKNOWN_APP_ERROR"] = 100] = "UNKNOWN_APP_ERROR"; | ||
@@ -10,0 +12,0 @@ CONNECT_EVENT_ERROR_CODES[CONNECT_EVENT_ERROR_CODES["USER_REJECTS_ERROR"] = 300] = "USER_REJECTS_ERROR"; |
{ | ||
"name": "@tonconnect/protocol", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36781
543