Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tonconnect/protocol

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tonconnect/protocol - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

4

lib/models/app-message/connect-request/connect-request.d.ts
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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc