Bump version to 9.2.2

This commit is contained in:
Daniel Triendl 2024-10-15 17:13:21 +02:00
parent b1d846de32
commit 4a81cbf321
3 changed files with 11 additions and 28 deletions

@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name 3CX TAPI // @name 3CX TAPI
// @namespace http://cp-solutions.at // @namespace http://cp-solutions.at
// @version 9.2.1 // @version 9.2.2
// @author Daniel Triendl <d.triendl@cp-solutions.at> // @author Daniel Triendl <d.triendl@cp-solutions.at>
// @copyright Copyright 2021 CP Solutions GmbH // @copyright Copyright 2021 CP Solutions GmbH
// @source https://source.cp-austria.at/git/CPATRD/3cx_tapi.git // @source https://source.cp-austria.at/git/CPATRD/3cx_tapi.git
@ -9,6 +9,8 @@
// @match https://192.168.0.154:5001/* // @match https://192.168.0.154:5001/*
// @match https://cpsolution.my3cx.at: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/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.xmlHttpRequest
// @grant GM.notification // @grant GM.notification
// @grant GM.getValue // @grant GM.getValue
@ -4249,7 +4251,7 @@ function fireChangeEvents(element) {
console.debug('change event dispatched for element: ' + element.id); 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) { function parseRawHeaders(h) {
const s = h.trim(); const s = h.trim();
if (!s) { if (!s) {
@ -4271,20 +4273,10 @@ function parseGMResponse(req, res) {
}); });
} }
class ResImpl { class ResImpl {
_bodyUsed;
rawBody;
init;
body;
headers;
redirected;
status;
statusText;
type;
url;
constructor(body, init) { constructor(body, init) {
this.rawBody = body; this.rawBody = body;
this.init = init; this.init = init;
//this.body = toReadableStream(body); this.body = body.stream();
const { headers, statusCode, statusText, finalUrl, redirected } = init; const { headers, statusCode, statusText, finalUrl, redirected } = init;
this.headers = headers; this.headers = headers;
this.status = statusCode; this.status = statusCode;
@ -4358,18 +4350,6 @@ function decode(body) {
}); });
return form; 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) { async function GM_fetch(input, init) {
const request = new Request(input, init); const request = new Request(input, init);
@ -4417,6 +4397,9 @@ function gmXHRMethod(method) {
throw new Error(`unsupported http method ${method}`); throw new Error(`unsupported http method ${method}`);
} }
//# sourceMappingURL=index.mjs.map
;// ./src/call-history.ts ;// ./src/call-history.ts

4
package-lock.json generated

@ -1,12 +1,12 @@
{ {
"name": "3cx-tapi", "name": "3cx-tapi",
"version": "9.1.1", "version": "9.2.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "3cx-tapi", "name": "3cx-tapi",
"version": "9.1.1", "version": "9.2.2",
"dependencies": { "dependencies": {
"@trim21/gm-fetch": "^0.1.16", "@trim21/gm-fetch": "^0.1.16",
"chrono-node": "^2.7.7" "chrono-node": "^2.7.7"

@ -1,7 +1,7 @@
{ {
"name": "3cx-tapi", "name": "3cx-tapi",
"description": "3CX CP Tapi and Projectmanager integration", "description": "3CX CP Tapi and Projectmanager integration",
"version": "9.2.1", "version": "9.2.2",
"author": { "author": {
"name": "Daniel Triendl", "name": "Daniel Triendl",
"email": "d.triendl@cp-solutions.at" "email": "d.triendl@cp-solutions.at"