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.7 to 0.0.8

2

lib/crypto/session-crypto.js

@@ -10,3 +10,3 @@ "use strict";

// noinspection JSConstantReassignment
global.crypto = require('crypto');
global.crypto = require('crypto').webcrypto;
}

@@ -13,0 +13,0 @@ catch (err) { }

@@ -17,3 +17,3 @@ "use strict";

function encode(value, urlSafe) {
if (urlSafe === void 0) { urlSafe = true; }
if (urlSafe === void 0) { urlSafe = false; }
if (!(value instanceof Uint8Array) && !(typeof value === 'string')) {

@@ -26,3 +26,3 @@ value = JSON.stringify(value);

function decode(value, urlSafe) {
if (urlSafe === void 0) { urlSafe = true; }
if (urlSafe === void 0) { urlSafe = false; }
var decodedBuffer = decodeToBuffer(value, urlSafe);

@@ -29,0 +29,0 @@ return {

{
"name": "@tonconnect/protocol",
"version": "0.0.7",
"version": "0.0.8",
"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