Comparing version 2.10.1 to 2.10.2
@@ -20,3 +20,3 @@ "use strict"; | ||
: [rawTypes]; | ||
// TODO: it if interfering, make 'subTypes' logic maybe? | ||
// TODO: it is interfering, make 'subTypes' logic maybe? | ||
if (types.includes('service_message')) { | ||
@@ -23,0 +23,0 @@ types.push(...constants_1.SERVICE_MESSAGE_EVENTS); |
@@ -206,3 +206,5 @@ "use strict"; | ||
method: 'GET', | ||
signal: controller.signal | ||
signal: controller.signal, | ||
// @ts-expect-error undici's types are weird; https://github.com/nodejs/node/issues/46221 | ||
duplex: 'half' | ||
}; | ||
@@ -209,0 +211,0 @@ if (this.options.agent !== undefined) { |
@@ -79,2 +79,3 @@ "use strict"; | ||
['sendDocument', ['document', 'thumb']], | ||
['sendVoice', ['voice']], | ||
['sendVideo', ['video', 'thumb']], | ||
@@ -81,0 +82,0 @@ ['sendAnimation', ['animation', 'thumb']], |
{ | ||
"name": "puregram", | ||
"version": "2.10.1", | ||
"version": "2.10.2", | ||
"description": "powerful and modern telegram bot api sdk for node.js and typescript 😁", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
986211
24350