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

gramio

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gramio - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

4

dist/bot.js

@@ -34,4 +34,4 @@ "use strict";

params = formattable(params);
if ((0, files_1.isMediaUpload)(method, params || {})) {
const formData = await (0, files_1.convertJsonToFormData)(method, params || {});
if (params && (0, files_1.isMediaUpload)(method, params)) {
const formData = await (0, files_1.convertJsonToFormData)(method, params);
const encoder = new form_data_encoder_1.FormDataEncoder(formData);

@@ -38,0 +38,0 @@ reqOptions.body = encoder.encode();

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

catch (error) {
throw new Error(`Update type ${updateType} not supported.`);
throw new Error(`[UPDATES] Update type ${updateType} not supported.`);
}

@@ -54,0 +54,0 @@ }

{
"name": "gramio",
"version": "0.0.7",
"version": "0.0.8",
"description": "WIP",

@@ -20,5 +20,6 @@ "main": "./dist/index.js",

"@gramio/contexts": "^0.0.1",
"@gramio/files": "^0.0.2",
"@gramio/format": "^0.0.2",
"@gramio/files": "^0.0.3",
"@gramio/format": "^0.0.7",
"@gramio/keyboards": "^0.1.6",
"common-tags": "^1.8.2",
"form-data-encoder": "^4.0.2",

@@ -25,0 +26,0 @@ "inspectable": "^2.1.0",

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