fable-serviceproviderbase 3.0.1 → 3.0.3
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fable-serviceproviderbase",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Simple base classes for fable services.",
|
|
5
5
|
"main": "source/Fable-ServiceProviderBase.js",
|
|
6
6
|
"scripts": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"homepage": "https://github.com/stevenvelozo/fable-serviceproviderbase",
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"chai": "4.3.7",
|
|
45
|
-
"fable": "^3.0.
|
|
45
|
+
"fable": "^3.0.29",
|
|
46
46
|
"mocha": "10.2.0",
|
|
47
47
|
"nyc": "^15.1.0"
|
|
48
48
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* For a couple services, we need to be able to instantiate them before the Fable object is fully initialized.
|
|
5
5
|
* This is a base class for those services.
|
|
6
6
|
*
|
|
7
|
-
* @license MIT
|
|
8
7
|
* @author <steven@velozo.com>
|
|
9
8
|
*/
|
|
10
9
|
|
|
@@ -14,8 +13,6 @@ class FableCoreServiceProviderBase
|
|
|
14
13
|
{
|
|
15
14
|
this.fable = false;
|
|
16
15
|
|
|
17
|
-
this.isFableService = true;
|
|
18
|
-
|
|
19
16
|
this.options = (typeof(pOptions) === 'object') ? pOptions : {};
|
|
20
17
|
|
|
21
18
|
this.serviceType = 'Unknown';
|
|
@@ -26,6 +23,9 @@ class FableCoreServiceProviderBase
|
|
|
26
23
|
this.Hash = (typeof(pServiceHash) === 'string') ? pServiceHash : `${this.UUID}`;
|
|
27
24
|
}
|
|
28
25
|
|
|
26
|
+
|
|
27
|
+
static isFableService = true;
|
|
28
|
+
|
|
29
29
|
// After fable is initialized, it would be expected to be wired in as a normal service.
|
|
30
30
|
connectFable(pFable)
|
|
31
31
|
{
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Fable Service Base
|
|
3
|
-
* @license MIT
|
|
4
3
|
* @author <steven@velozo.com>
|
|
5
4
|
*/
|
|
6
5
|
|
|
@@ -10,8 +9,6 @@ class FableServiceProviderBase
|
|
|
10
9
|
{
|
|
11
10
|
this.fable = pFable;
|
|
12
11
|
|
|
13
|
-
this.isFableService = true;
|
|
14
|
-
|
|
15
12
|
this.options = (typeof(pOptions) === 'object') ? pOptions : {};
|
|
16
13
|
|
|
17
14
|
this.serviceType = 'Unknown';
|
|
@@ -20,6 +17,8 @@ class FableServiceProviderBase
|
|
|
20
17
|
|
|
21
18
|
this.Hash = (typeof(pServiceHash) === 'string') ? pServiceHash : `${this.UUID}`;
|
|
22
19
|
}
|
|
20
|
+
|
|
21
|
+
static isFableService = true;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
module.exports = FableServiceProviderBase;
|