@ouroboros/body 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.d.ts +1 -1
- package/src/index.ts +3 -3
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -77,7 +77,7 @@ const ACTIONS_TO_METHODS = {
|
|
|
77
77
|
class Body {
|
|
78
78
|
|
|
79
79
|
// The domain used to make requests to
|
|
80
|
-
|
|
80
|
+
public domain: string = '';
|
|
81
81
|
|
|
82
82
|
// The function to call for http and related errors that need to be reported
|
|
83
83
|
private error: onError | null = null;
|
|
@@ -352,9 +352,9 @@ class Body {
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
/**
|
|
355
|
-
* On
|
|
355
|
+
* On Error Code
|
|
356
356
|
*
|
|
357
|
-
* Sets callback for whenever a request gets
|
|
357
|
+
* Sets callback for whenever a request gets an error back
|
|
358
358
|
*
|
|
359
359
|
* @name onNoSession
|
|
360
360
|
* @access public
|