Socket
Socket
Sign inDemoInstall

@mtproto/core

Package Overview
Dependencies
7
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "@mtproto/core",
"version": "1.0.0",
"version": "1.1.0",
"description": "Telegram API (MTProto) client library for browser",

@@ -5,0 +5,0 @@ "keywords": [

@@ -68,3 +68,3 @@ # @mtproto/core

```js
const { getSRPParams } = require('@mtproto/core/utils');
const { getSRPParams } = require('@mtproto/core/src/utils');

@@ -71,0 +71,0 @@ const password = 'YOU_PASSWORD';

@@ -411,3 +411,7 @@ const bigInt = require('big-integer');

waitMessage.resolve(message.result);
if (message.result._ === 'rpc_error') {
waitMessage.reject(message.result);
} else {
waitMessage.resolve(message.result);
}

@@ -414,0 +418,0 @@ this.messagesWaitResponse.delete(message.req_msg_id);

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc