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