From 4a81cbf321fcb0f6dbbe1cffc6be43fcfa405e9b Mon Sep 17 00:00:00 2001 From: Daniel Triendl Date: Tue, 15 Oct 2024 17:13:21 +0200 Subject: [PATCH] Bump version to 9.2.2 --- 3CX_TAPI.user.js | 33 ++++++++------------------------- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 11 insertions(+), 28 deletions(-) diff --git a/3CX_TAPI.user.js b/3CX_TAPI.user.js index 4326443..4d545cb 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.1 +// @version 9.2.2 // @author Daniel Triendl // @copyright Copyright 2021 CP Solutions GmbH // @source https://source.cp-austria.at/git/CPATRD/3cx_tapi.git @@ -9,6 +9,8 @@ // @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 @@ -4249,7 +4251,7 @@ function fireChangeEvents(element) { console.debug('change event dispatched for element: ' + element.id); } -;// ./src/gm-fetch/utils.ts +;// ./node_modules/@trim21/gm-fetch/dist/index.mjs function parseRawHeaders(h) { const s = h.trim(); if (!s) { @@ -4271,20 +4273,10 @@ 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 = body.stream(); const { headers, statusCode, statusText, finalUrl, redirected } = init; this.headers = headers; this.status = statusCode; @@ -4358,18 +4350,6 @@ function decode(body) { }); return form; } -/* -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); @@ -4417,6 +4397,9 @@ function gmXHRMethod(method) { throw new Error(`unsupported http method ${method}`); } + +//# sourceMappingURL=index.mjs.map + ;// ./src/call-history.ts diff --git a/package-lock.json b/package-lock.json index 70baaad..02e3516 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "3cx-tapi", - "version": "9.1.1", + "version": "9.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "3cx-tapi", - "version": "9.1.1", + "version": "9.2.2", "dependencies": { "@trim21/gm-fetch": "^0.1.16", "chrono-node": "^2.7.7" diff --git a/package.json b/package.json index 24f6fb2..c0ea420 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "3cx-tapi", "description": "3CX CP Tapi and Projectmanager integration", - "version": "9.2.1", + "version": "9.2.2", "author": { "name": "Daniel Triendl", "email": "d.triendl@cp-solutions.at"