@xyo-network/sentinel-model 2.77.14 → 2.77.16

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  [![logo][]](https://xyo.network)
2
2
 
3
- Part of [sdk-xyo-clint-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
3
+ Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
4
4
 
5
5
  ## License
6
6
 
@@ -1,8 +1,9 @@
1
1
  import { NameOrAddress } from '@xyo-network/module-model';
2
2
  export interface SentinelTask {
3
3
  /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */
4
- input?: boolean | string;
4
+ input?: boolean | string | string[];
5
5
  /** @field the modules that performs the task */
6
6
  module: NameOrAddress;
7
+ required?: boolean;
7
8
  }
8
9
  //# sourceMappingURL=Task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;CACtB"}
1
+ {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,8 +1,9 @@
1
1
  import { NameOrAddress } from '@xyo-network/module-model';
2
2
  export interface SentinelTask {
3
3
  /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */
4
- input?: boolean | string;
4
+ input?: boolean | string | string[];
5
5
  /** @field the modules that performs the task */
6
6
  module: NameOrAddress;
7
+ required?: boolean;
7
8
  }
8
9
  //# sourceMappingURL=Task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;CACtB"}
1
+ {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,8 +1,9 @@
1
1
  import { NameOrAddress } from '@xyo-network/module-model';
2
2
  export interface SentinelTask {
3
3
  /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */
4
- input?: boolean | string;
4
+ input?: boolean | string | string[];
5
5
  /** @field the modules that performs the task */
6
6
  module: NameOrAddress;
7
+ required?: boolean;
7
8
  }
8
9
  //# sourceMappingURL=Task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;CACtB"}
1
+ {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,8 +1,9 @@
1
1
  import { NameOrAddress } from '@xyo-network/module-model';
2
2
  export interface SentinelTask {
3
3
  /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */
4
- input?: boolean | string;
4
+ input?: boolean | string | string[];
5
5
  /** @field the modules that performs the task */
6
6
  module: NameOrAddress;
7
+ required?: boolean;
7
8
  }
8
9
  //# sourceMappingURL=Task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;CACtB"}
1
+ {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,8 +1,9 @@
1
1
  import { NameOrAddress } from '@xyo-network/module-model';
2
2
  export interface SentinelTask {
3
3
  /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */
4
- input?: boolean | string;
4
+ input?: boolean | string | string[];
5
5
  /** @field the modules that performs the task */
6
6
  module: NameOrAddress;
7
+ required?: boolean;
7
8
  }
8
9
  //# sourceMappingURL=Task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;CACtB"}
1
+ {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
@@ -1,8 +1,9 @@
1
1
  import { NameOrAddress } from '@xyo-network/module-model';
2
2
  export interface SentinelTask {
3
3
  /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */
4
- input?: boolean | string;
4
+ input?: boolean | string | string[];
5
5
  /** @field the modules that performs the task */
6
6
  module: NameOrAddress;
7
+ required?: boolean;
7
8
  }
8
9
  //# sourceMappingURL=Task.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IACxB,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;CACtB"}
1
+ {"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../../src/Task.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,YAAY;IAC3B,6HAA6H;IAC7H,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,EAAE,CAAA;IACnC,gDAAgD;IAChD,MAAM,EAAE,aAAa,CAAA;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
package/package.json CHANGED
@@ -11,12 +11,12 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@xylabs/promise": "^2.13.3",
14
- "@xyo-network/boundwitness-model": "~2.77.14",
15
- "@xyo-network/core": "~2.77.14",
16
- "@xyo-network/module-events": "~2.77.14",
17
- "@xyo-network/module-model": "~2.77.14",
18
- "@xyo-network/object": "~2.77.14",
19
- "@xyo-network/payload-model": "~2.77.14"
14
+ "@xyo-network/boundwitness-model": "~2.77.16",
15
+ "@xyo-network/core": "~2.77.16",
16
+ "@xyo-network/module-events": "~2.77.16",
17
+ "@xyo-network/module-model": "~2.77.16",
18
+ "@xyo-network/object": "~2.77.16",
19
+ "@xyo-network/payload-model": "~2.77.16"
20
20
  },
21
21
  "description": "Primary SDK for using XYO Protocol 2.0",
22
22
  "devDependencies": {
@@ -63,5 +63,5 @@
63
63
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
64
64
  },
65
65
  "sideEffects": false,
66
- "version": "2.77.14"
66
+ "version": "2.77.16"
67
67
  }
package/src/Task.ts CHANGED
@@ -2,7 +2,8 @@ import { NameOrAddress } from '@xyo-network/module-model'
2
2
 
3
3
  export interface SentinelTask {
4
4
  /** @field determines what inputs are sent to each module - if string, that is the output from other module (name/address) */
5
- input?: boolean | string
5
+ input?: boolean | string | string[]
6
6
  /** @field the modules that performs the task */
7
7
  module: NameOrAddress
8
+ required?: boolean
8
9
  }