New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ton

Package Overview
Dependencies
Maintainers
3
Versions
179
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ton - npm Package Compare versions

Comparing version 11.8.0 to 11.9.0

2

dist/client/TonClient4.d.ts

@@ -128,3 +128,3 @@ import { AxiosAdapter } from "axios";

}>;
getConfig(seqno: number): Promise<{
getConfig(seqno: number, ids?: number[]): Promise<{
config: {

@@ -131,0 +131,0 @@ cell: string;

@@ -90,4 +90,8 @@ "use strict";

}
async getConfig(seqno) {
let res = await axios_1.default.get(__classPrivateFieldGet(this, _TonClient4_endpoint, "f") + '/block/' + seqno + '/config', { adapter: __classPrivateFieldGet(this, _TonClient4_adapter, "f"), timeout: __classPrivateFieldGet(this, _TonClient4_timeout, "f") });
async getConfig(seqno, ids) {
let tail = '';
if (ids && ids.length > 0) {
tail = '/' + [...ids].sort().join(',');
}
let res = await axios_1.default.get(__classPrivateFieldGet(this, _TonClient4_endpoint, "f") + '/block/' + seqno + '/config' + tail, { adapter: __classPrivateFieldGet(this, _TonClient4_adapter, "f"), timeout: __classPrivateFieldGet(this, _TonClient4_timeout, "f") });
if (!configCodec.is(res.data)) {

@@ -94,0 +98,0 @@ throw Error('Mailformed response');

@@ -22,2 +22,3 @@ "use strict";

await client.getConfig(20241422);
await client.getConfig(20241422, [1, 2, 3]);
});

@@ -24,0 +25,0 @@ it('should get accounts', async () => {

{
"name": "ton",
"version": "11.8.0",
"version": "11.9.0",
"repository": "https://github.com/tonwhales/ton.git",

@@ -5,0 +5,0 @@ "author": "Steve Korshakov <steve@korshakov.com>",

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