From 248fbd5f0f995862e1304fdebf8ae9096a3a0416 Mon Sep 17 00:00:00 2001 From: Daniel Triendl Date: Mon, 14 Oct 2024 11:50:06 +0200 Subject: [PATCH] Bump version to 9.2.0 --- 3CX_TAPI.user.js | 39 ++++++++++++++++++++++++--------------- package.json | 2 +- 2 files changed, 25 insertions(+), 16 deletions(-) diff --git a/3CX_TAPI.user.js b/3CX_TAPI.user.js index e34d7ad..4326443 100644 --- a/3CX_TAPI.user.js +++ b/3CX_TAPI.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name 3CX TAPI // @namespace http://cp-solutions.at -// @version 9.2.0 +// @version 9.2.1 // @author Daniel Triendl // @copyright Copyright 2021 CP Solutions GmbH // @source https://source.cp-austria.at/git/CPATRD/3cx_tapi.git @@ -9,8 +9,6 @@ // @match https://192.168.0.154:5001/* // @match https://cpsolution.my3cx.at:5001/* // @require https://cdn.jsdelivr.net/gh/CoeJoder/waitForKeyElements.js@v1.2/waitForKeyElements.js -// @require https://cdn.jsdelivr.net/npm/axios@undefined/dist/axios.min.js -// @require https://cdn.jsdelivr.net/npm/axios-userscript-adapter@undefined/dist/axiosGmxhrAdapter.min.js // @grant GM.xmlHttpRequest // @grant GM.notification // @grant GM.getValue @@ -4251,7 +4249,7 @@ function fireChangeEvents(element) { console.debug('change event dispatched for element: ' + element.id); } -;// ./node_modules/@trim21/gm-fetch/dist/index.mjs +;// ./src/gm-fetch/utils.ts function parseRawHeaders(h) { const s = h.trim(); if (!s) { @@ -4273,10 +4271,20 @@ function parseGMResponse(req, res) { }); } class ResImpl { + _bodyUsed; + rawBody; + init; + body; + headers; + redirected; + status; + statusText; + type; + url; constructor(body, init) { this.rawBody = body; this.init = init; - this.body = toReadableStream(body); + //this.body = toReadableStream(body); const { headers, statusCode, statusText, finalUrl, redirected } = init; this.headers = headers; this.status = statusCode; @@ -4350,14 +4358,18 @@ function decode(body) { }); return form; } -function toReadableStream(value) { - return new ReadableStream({ - start(controller) { - controller.enqueue(value); - controller.close(); - }, - }); +/* +function toReadableStream(value: Blob) { + return new ReadableStream({ + start(controller) { + controller.enqueue(value); + controller.close(); + }, + }); } +*/ + +;// ./src/gm-fetch/index.ts async function GM_fetch(input, init) { const request = new Request(input, init); @@ -4405,9 +4417,6 @@ function gmXHRMethod(method) { throw new Error(`unsupported http method ${method}`); } - -//# sourceMappingURL=index.mjs.map - ;// ./src/call-history.ts diff --git a/package.json b/package.json index c140356..4743ea4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "3cx-tapi", "description": "3CX CP Tapi and Projectmanager integration", - "version": "9.2.0", + "version": "9.2.1", "author": { "name": "Daniel Triendl", "email": "d.triendl@cp-solutions.at"