fable-serviceproviderbase 3.0.1 → 3.0.2

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.1",
3
+ "version": "3.0.2",
4
4
  "description": "Simple base classes for fable services.",
5
5
  "main": "source/Fable-ServiceProviderBase.js",
6
6
  "scripts": {
@@ -14,8 +14,6 @@ class FableCoreServiceProviderBase
14
14
  {
15
15
  this.fable = false;
16
16
 
17
- this.isFableService = true;
18
-
19
17
  this.options = (typeof(pOptions) === 'object') ? pOptions : {};
20
18
 
21
19
  this.serviceType = 'Unknown';
@@ -26,6 +24,9 @@ class FableCoreServiceProviderBase
26
24
  this.Hash = (typeof(pServiceHash) === 'string') ? pServiceHash : `${this.UUID}`;
27
25
  }
28
26
 
27
+
28
+ static isFableService = true;
29
+
29
30
  // After fable is initialized, it would be expected to be wired in as a normal service.
30
31
  connectFable(pFable)
31
32
  {
@@ -10,8 +10,6 @@ class FableServiceProviderBase
10
10
  {
11
11
  this.fable = pFable;
12
12
 
13
- this.isFableService = true;
14
-
15
13
  this.options = (typeof(pOptions) === 'object') ? pOptions : {};
16
14
 
17
15
  this.serviceType = 'Unknown';
@@ -20,6 +18,8 @@ class FableServiceProviderBase
20
18
 
21
19
  this.Hash = (typeof(pServiceHash) === 'string') ? pServiceHash : `${this.UUID}`;
22
20
  }
21
+
22
+ static isFableService = true;
23
23
  }
24
24
 
25
25
  module.exports = FableServiceProviderBase;