@mtkruto/browser 0.1.706 → 0.1.708

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtkruto/browser",
3
- "version": "0.1.706",
3
+ "version": "0.1.708",
4
4
  "description": "MTKruto for browsers",
5
5
  "author": "Roj <rojvv@icloud.com>",
6
6
  "repository": {
@@ -20,8 +20,5 @@
20
20
  "require": "./script/1_utilities.js"
21
21
  }
22
22
  },
23
- "devDependencies": {
24
- "@types/object-inspect": "^1.8.1"
25
- },
26
23
  "_generatedBy": "dnt@dev"
27
24
  }
@@ -1199,7 +1199,7 @@ _MessageManager_c = new WeakMap(), _MessageManager_LresolveFileId = new WeakMap(
1199
1199
  const topMsgId = params?.messageThreadId;
1200
1200
  const replyToMsgId = params?.replyToMessageId;
1201
1201
  return replyToMsgId !== undefined ? new _2_tl_js_1.types.InputReplyToMessage({ reply_to_msg_id: replyToMsgId, top_msg_id: topMsgId, quote_text: params?.replyQuote?.text, quote_entities: await Promise.all(params?.replyQuote?.entities.map((v) => (0, _3_types_js_2.messageEntityToTlObject)(v, __classPrivateFieldGet(this, _MessageManager_c, "f").getEntity)) ?? []), quote_offset: params?.replyQuote?.offset }) : undefined;
1202
- }, _MessageManager_sendDocumentInner = async function _MessageManager_sendDocumentInner(chatId, document, params, fileType, otherAttribs, urlSupported = false, expectedMimeTypes) {
1202
+ }, _MessageManager_sendDocumentInner = async function _MessageManager_sendDocumentInner(chatId, document, params, fileType, otherAttribs, urlSupported = true, expectedMimeTypes) {
1203
1203
  let media = null;
1204
1204
  const spoiler = params?.hasSpoiler ? true : undefined;
1205
1205
  const ttl_seconds = params && "selfDestruct" in params && typeof params.selfDestruct !== undefined ? (0, _3_types_js_1.selfDestructOptionToInt)(params.selfDestruct) : undefined;