protoblast
Advanced tools
Comparing version 0.8.16 to 0.8.17
@@ -0,1 +1,5 @@ | ||
## 0.8.17 (2024-01-10) | ||
* Add `Request#getResponse()` method | ||
## 0.8.16 (2023-12-21) | ||
@@ -2,0 +6,0 @@ |
@@ -1,2 +0,4 @@ | ||
var Request = Classes.Develry.Request, | ||
const RESPONSE = Symbol('response'); | ||
let Request = Classes.Develry.Request, | ||
original_send = XMLHttpRequest.prototype.send, | ||
@@ -452,2 +454,4 @@ original_open = XMLHttpRequest.prototype.open, | ||
this[RESPONSE] = pledge; | ||
return pledge; | ||
@@ -457,2 +461,13 @@ }); | ||
/** | ||
* Get the response | ||
* | ||
* @author Jelle De Loecker <jelle@elevenways.be> | ||
* @since 0.8.17 | ||
* @version 0.8.17 | ||
*/ | ||
Request.setMethod(function getResponse() { | ||
return this[RESPONSE]; | ||
}); | ||
/** | ||
* Get a response header | ||
@@ -459,0 +474,0 @@ * |
@@ -1,2 +0,4 @@ | ||
var dns_cache, | ||
const RESPONSE = Symbol('response'); | ||
let dns_cache, | ||
Request = Blast.Classes.Develry.Request, | ||
@@ -414,2 +416,4 @@ https, | ||
this[RESPONSE] = pledge; | ||
return pledge; | ||
@@ -419,2 +423,13 @@ }); | ||
/** | ||
* Get the response | ||
* | ||
* @author Jelle De Loecker <jelle@elevenways.be> | ||
* @since 0.8.17 | ||
* @version 0.8.17 | ||
*/ | ||
Request.setMethod(function getResponse() { | ||
return this[RESPONSE]; | ||
}); | ||
/** | ||
* Get a response header | ||
@@ -421,0 +436,0 @@ * |
{ | ||
"name": "protoblast", | ||
"description": "Native object expansion library", | ||
"version": "0.8.16", | ||
"version": "0.8.17", | ||
"author": "Jelle De Loecker <jelle@elevenways.be>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
938439
38318