Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
4a81cbf321 | |||
b1d846de32 | |||
748a8740eb | |||
248fbd5f0f | |||
20e011bb55 |
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name 3CX TAPI
|
||||
// @namespace http://cp-solutions.at
|
||||
// @version 9.2.0
|
||||
// @version 9.2.2
|
||||
// @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
|
||||
@ -4276,7 +4276,7 @@ class ResImpl {
|
||||
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;
|
||||
@ -4350,14 +4350,6 @@ function decode(body) {
|
||||
});
|
||||
return form;
|
||||
}
|
||||
function toReadableStream(value) {
|
||||
return new ReadableStream({
|
||||
start(controller) {
|
||||
controller.enqueue(value);
|
||||
controller.close();
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
async function GM_fetch(input, init) {
|
||||
const request = new Request(input, init);
|
||||
|
12
package-lock.json
generated
12
package-lock.json
generated
@ -1,14 +1,14 @@
|
||||
{
|
||||
"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.15",
|
||||
"@trim21/gm-fetch": "^0.1.16",
|
||||
"chrono-node": "^2.7.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -1865,9 +1865,9 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@trim21/gm-fetch": {
|
||||
"version": "0.1.15",
|
||||
"resolved": "https://registry.npmjs.org/@trim21/gm-fetch/-/gm-fetch-0.1.15.tgz",
|
||||
"integrity": "sha512-197WkYDd1XY8eDNWMBWSrAV77kCJzvh8EOnKSgIoHDXTb1AFLDN1iFnK/Y2x4XTOUDdOfUQd25rKUlVGWmQYhQ==",
|
||||
"version": "0.1.16",
|
||||
"resolved": "https://registry.npmjs.org/@trim21/gm-fetch/-/gm-fetch-0.1.16.tgz",
|
||||
"integrity": "sha512-FoLbc1lsMvs/1xDgOZVbS+SYS4oFnp1RLdYT4lTrUFEIpbVR5t+b/E3Mg2oKl/yjgqEh2Ty2kI0U//gODz1V6w==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@types/estree": {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "3cx-tapi",
|
||||
"description": "3CX CP Tapi and Projectmanager integration",
|
||||
"version": "9.2.0",
|
||||
"version": "9.2.2",
|
||||
"author": {
|
||||
"name": "Daniel Triendl",
|
||||
"email": "d.triendl@cp-solutions.at"
|
||||
@ -25,7 +25,7 @@
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"chrono-node": "^2.7.7",
|
||||
"@trim21/gm-fetch": "^0.1.15"
|
||||
"@trim21/gm-fetch": "^0.1.16"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/greasemonkey": "^4.0.7",
|
||||
|
Loading…
x
Reference in New Issue
Block a user