@xyo-network/sentinel 2.64.4 → 2.64.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/dist/esm/index.js CHANGED
@@ -1,10 +1,12 @@
1
1
  export * from './AbstractSentinel';
2
2
  export * from './Automation';
3
3
  export * from './Config';
4
+ export * from './isSentinelModule';
4
5
  export * from './MemorySentinel';
5
6
  export * from './Queries';
6
7
  export * from './SentinelIntervalAutomationWrapper';
7
8
  export * from './SentinelModel';
8
9
  export * from './SentinelRunner';
10
+ export * from './withSentinelModule';
9
11
  export * from './Wrapper';
10
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,qCAAqC,CAAA;AACnD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,qCAAqC,CAAA;AACnD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { isModule, IsModuleFactory } from '@xyo-network/module';
2
+ export const isSentinelModule = IsModuleFactory.create(isModule, ['report']);
3
+ //# sourceMappingURL=isSentinelModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSentinelModule.js","sourceRoot":"","sources":["../../src/isSentinelModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAI/D,MAAM,CAAC,MAAM,gBAAgB,GAAG,eAAe,CAAC,MAAM,CAAiB,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,CAAA"}
@@ -0,0 +1,4 @@
1
+ import { WithModuleFactory } from '@xyo-network/module-model';
2
+ import { isSentinelModule } from './isSentinelModule';
3
+ export const withSentinelModule = WithModuleFactory.create(isSentinelModule);
4
+ //# sourceMappingURL=withSentinelModule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withSentinelModule.js","sourceRoot":"","sources":["../../src/withSentinelModule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAA;AAE7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAErD,MAAM,CAAC,MAAM,kBAAkB,GAAG,iBAAiB,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAA"}
@@ -1,10 +1,12 @@
1
1
  export * from './AbstractSentinel';
2
2
  export * from './Automation';
3
3
  export * from './Config';
4
+ export * from './isSentinelModule';
4
5
  export * from './MemorySentinel';
5
6
  export * from './Queries';
6
7
  export * from './SentinelIntervalAutomationWrapper';
7
8
  export * from './SentinelModel';
8
9
  export * from './SentinelRunner';
10
+ export * from './withSentinelModule';
9
11
  export * from './Wrapper';
10
12
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,qCAAqC,CAAA;AACnD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,oBAAoB,CAAA;AAClC,cAAc,kBAAkB,CAAA;AAChC,cAAc,WAAW,CAAA;AACzB,cAAc,qCAAqC,CAAA;AACnD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,WAAW,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { SentinelModule } from './SentinelModel';
2
+ export declare const isSentinelModule: import("@xyo-network/module").ModuleTypeCheck<SentinelModule>;
3
+ //# sourceMappingURL=isSentinelModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSentinelModule.d.ts","sourceRoot":"","sources":["../../src/isSentinelModule.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAEhD,eAAO,MAAM,gBAAgB,+DAA+D,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const withSentinelModule: <R extends void = void>(module: any, closure: (module: any) => R) => R | undefined;
2
+ //# sourceMappingURL=withSentinelModule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withSentinelModule.d.ts","sourceRoot":"","sources":["../../src/withSentinelModule.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB,oFAA6C,CAAA"}
package/package.json CHANGED
@@ -12,19 +12,19 @@
12
12
  "dependencies": {
13
13
  "@xylabs/assert": "^2.9.3",
14
14
  "@xylabs/promise": "^2.9.3",
15
- "@xyo-network/account": "^2.64.4",
16
- "@xyo-network/account-model": "^2.64.4",
17
- "@xyo-network/archivist": "^2.64.4",
18
- "@xyo-network/archivist-wrapper": "^2.64.4",
19
- "@xyo-network/boundwitness-model": "^2.64.4",
20
- "@xyo-network/core": "^2.64.4",
21
- "@xyo-network/error": "^2.64.4",
22
- "@xyo-network/module": "^2.64.4",
23
- "@xyo-network/module-model": "^2.64.4",
24
- "@xyo-network/payload-model": "^2.64.4",
25
- "@xyo-network/payload-wrapper": "^2.64.4",
26
- "@xyo-network/promise": "^2.64.4",
27
- "@xyo-network/witness": "^2.64.4",
15
+ "@xyo-network/account": "^2.64.5",
16
+ "@xyo-network/account-model": "^2.64.5",
17
+ "@xyo-network/archivist": "^2.64.5",
18
+ "@xyo-network/archivist-wrapper": "^2.64.5",
19
+ "@xyo-network/boundwitness-model": "^2.64.5",
20
+ "@xyo-network/core": "^2.64.5",
21
+ "@xyo-network/error": "^2.64.5",
22
+ "@xyo-network/module": "^2.64.5",
23
+ "@xyo-network/module-model": "^2.64.5",
24
+ "@xyo-network/payload-model": "^2.64.5",
25
+ "@xyo-network/payload-wrapper": "^2.64.5",
26
+ "@xyo-network/promise": "^2.64.5",
27
+ "@xyo-network/witness": "^2.64.5",
28
28
  "lodash": "^4.17.21"
29
29
  },
30
30
  "description": "Primary SDK for using XYO Protocol 2.0",
@@ -66,5 +66,5 @@
66
66
  },
67
67
  "sideEffects": false,
68
68
  "types": "dist/types/index.d.ts",
69
- "version": "2.64.4"
69
+ "version": "2.64.5"
70
70
  }
package/src/index.ts CHANGED
@@ -1,9 +1,11 @@
1
1
  export * from './AbstractSentinel'
2
2
  export * from './Automation'
3
3
  export * from './Config'
4
+ export * from './isSentinelModule'
4
5
  export * from './MemorySentinel'
5
6
  export * from './Queries'
6
7
  export * from './SentinelIntervalAutomationWrapper'
7
8
  export * from './SentinelModel'
8
9
  export * from './SentinelRunner'
10
+ export * from './withSentinelModule'
9
11
  export * from './Wrapper'
@@ -0,0 +1,5 @@
1
+ import { isModule, IsModuleFactory } from '@xyo-network/module'
2
+
3
+ import { SentinelModule } from './SentinelModel'
4
+
5
+ export const isSentinelModule = IsModuleFactory.create<SentinelModule>(isModule, ['report'])
@@ -0,0 +1,5 @@
1
+ import { WithModuleFactory } from '@xyo-network/module-model'
2
+
3
+ import { isSentinelModule } from './isSentinelModule'
4
+
5
+ export const withSentinelModule = WithModuleFactory.create(isSentinelModule)