Bump version to 9.2.0

This commit is contained in:
Daniel Triendl 2024-10-14 11:50:06 +02:00
parent 20e011bb55
commit 248fbd5f0f
2 changed files with 25 additions and 16 deletions

View File

@ -1,7 +1,7 @@
// ==UserScript==
// @name 3CX TAPI
// @namespace http://cp-solutions.at
// @version 9.2.0
// @version 9.2.1
// @author Daniel Triendl <d.triendl@cp-solutions.at>
// @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,7 +4358,8 @@ function decode(body) {
});
return form;
}
function toReadableStream(value) {
/*
function toReadableStream(value: Blob) {
return new ReadableStream({
start(controller) {
controller.enqueue(value);
@ -4358,6 +4367,9 @@ function toReadableStream(value) {
},
});
}
*/
;// ./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

View File

@ -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"