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

@tonconnect/sdk

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tonconnect/sdk - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

3

lib/provider/bridge/bridge-gateway.js

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

const url_1 = require("../../utils/url");
const web_api_1 = require("../../utils/web-api");
if ((0, web_api_1.isNode)()) {
if ((0, protocol_1.isNode)()) {
try {

@@ -21,0 +20,0 @@ eval("global.EventSource = require('eventsource')");

import { DappMetadata } from "../models";
export declare function getWindow(): Window | undefined;
export declare function getDocument(): Document | undefined;
export declare function isNode(): boolean;
export declare function getWebPageMetadata(): DappMetadata;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getWebPageMetadata = exports.isNode = exports.getDocument = exports.getWindow = void 0;
exports.getWebPageMetadata = exports.getDocument = exports.getWindow = void 0;
function getWindow() {

@@ -18,6 +18,2 @@ if (typeof window === 'undefined') {

exports.getDocument = getDocument;
function isNode() {
return typeof require === 'function' && typeof global === 'object';
}
exports.isNode = isNode;
function getWebPageMetadata() {

@@ -24,0 +20,0 @@ var _a, _b;

{
"name": "@tonconnect/sdk",
"version": "0.0.30",
"version": "0.0.31",
"scripts": {

@@ -31,3 +31,3 @@ "build": "npx rimraf lib && ttsc",

"node-fetch": "^2.6.7",
"@tonconnect/protocol": "^0.0.17"
"@tonconnect/protocol": "^0.0.18"
},

@@ -34,0 +34,0 @@ "files": [

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