@xyo-network/sentinel-model 2.82.0 → 2.83.1
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/browser/Params.d.cts +1 -1
- package/dist/browser/Params.d.cts.map +1 -1
- package/dist/browser/Params.d.mts +1 -1
- package/dist/browser/Params.d.mts.map +1 -1
- package/dist/browser/Params.d.ts +1 -1
- package/dist/browser/Params.d.ts.map +1 -1
- package/dist/browser/typeChecks.d.cts +5 -5
- package/dist/browser/typeChecks.d.cts.map +1 -1
- package/dist/browser/typeChecks.d.mts +5 -5
- package/dist/browser/typeChecks.d.mts.map +1 -1
- package/dist/browser/typeChecks.d.ts +5 -5
- package/dist/browser/typeChecks.d.ts.map +1 -1
- package/dist/node/Params.d.cts +1 -1
- package/dist/node/Params.d.cts.map +1 -1
- package/dist/node/Params.d.mts +1 -1
- package/dist/node/Params.d.mts.map +1 -1
- package/dist/node/Params.d.ts +1 -1
- package/dist/node/Params.d.ts.map +1 -1
- package/dist/node/typeChecks.d.cts +5 -5
- package/dist/node/typeChecks.d.cts.map +1 -1
- package/dist/node/typeChecks.d.mts +5 -5
- package/dist/node/typeChecks.d.mts.map +1 -1
- package/dist/node/typeChecks.d.ts +5 -5
- package/dist/node/typeChecks.d.ts.map +1 -1
- package/package.json +9 -10
- package/src/Params.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyObject } from '@xyo-network/core';
|
|
2
1
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
+
import { AnyObject } from '@xyo-network/object';
|
|
3
3
|
import { SentinelConfig } from './Config';
|
|
4
4
|
export type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends AnyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,IAAI,IAC/C,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyObject } from '@xyo-network/core';
|
|
2
1
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
+
import { AnyObject } from '@xyo-network/object';
|
|
3
3
|
import { SentinelConfig } from './Config';
|
|
4
4
|
export type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends AnyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,IAAI,IAC/C,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
package/dist/browser/Params.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyObject } from '@xyo-network/core';
|
|
2
1
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
+
import { AnyObject } from '@xyo-network/object';
|
|
3
3
|
import { SentinelConfig } from './Config';
|
|
4
4
|
export type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends AnyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,IAAI,IAC/C,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SentinelInstance } from './Instance';
|
|
2
2
|
import { SentinelModule } from './Module';
|
|
3
|
-
export declare const isSentinelInstance: import("@xyo-network/object").
|
|
3
|
+
export declare const isSentinelInstance: import("@xyo-network/object").TypeCheck<SentinelInstance>;
|
|
4
4
|
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule>;
|
|
5
5
|
export declare const asSentinelModule: {
|
|
6
|
-
<
|
|
7
|
-
<
|
|
6
|
+
<TType extends SentinelModule>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
7
|
+
<TType_1 extends SentinelModule>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
8
8
|
};
|
|
9
9
|
export declare const asSentinelInstance: {
|
|
10
|
-
<
|
|
11
|
-
<
|
|
10
|
+
<TType extends SentinelInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
11
|
+
<TType_1 extends SentinelInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
12
12
|
};
|
|
13
13
|
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule) => R) => R | undefined;
|
|
14
14
|
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,2DAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB,qEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB,2EAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB,6EAAyC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SentinelInstance } from './Instance';
|
|
2
2
|
import { SentinelModule } from './Module';
|
|
3
|
-
export declare const isSentinelInstance: import("@xyo-network/object").
|
|
3
|
+
export declare const isSentinelInstance: import("@xyo-network/object").TypeCheck<SentinelInstance>;
|
|
4
4
|
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule>;
|
|
5
5
|
export declare const asSentinelModule: {
|
|
6
|
-
<
|
|
7
|
-
<
|
|
6
|
+
<TType extends SentinelModule>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
7
|
+
<TType_1 extends SentinelModule>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
8
8
|
};
|
|
9
9
|
export declare const asSentinelInstance: {
|
|
10
|
-
<
|
|
11
|
-
<
|
|
10
|
+
<TType extends SentinelInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
11
|
+
<TType_1 extends SentinelInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
12
12
|
};
|
|
13
13
|
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule) => R) => R | undefined;
|
|
14
14
|
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,2DAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB,qEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB,2EAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB,6EAAyC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SentinelInstance } from './Instance';
|
|
2
2
|
import { SentinelModule } from './Module';
|
|
3
|
-
export declare const isSentinelInstance: import("@xyo-network/object").
|
|
3
|
+
export declare const isSentinelInstance: import("@xyo-network/object").TypeCheck<SentinelInstance>;
|
|
4
4
|
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule>;
|
|
5
5
|
export declare const asSentinelModule: {
|
|
6
|
-
<
|
|
7
|
-
<
|
|
6
|
+
<TType extends SentinelModule>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
7
|
+
<TType_1 extends SentinelModule>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
8
8
|
};
|
|
9
9
|
export declare const asSentinelInstance: {
|
|
10
|
-
<
|
|
11
|
-
<
|
|
10
|
+
<TType extends SentinelInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
11
|
+
<TType_1 extends SentinelInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
12
12
|
};
|
|
13
13
|
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule) => R) => R | undefined;
|
|
14
14
|
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,2DAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB,qEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB,2EAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB,6EAAyC,CAAA"}
|
package/dist/node/Params.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyObject } from '@xyo-network/core';
|
|
2
1
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
+
import { AnyObject } from '@xyo-network/object';
|
|
3
3
|
import { SentinelConfig } from './Config';
|
|
4
4
|
export type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends AnyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,IAAI,IAC/C,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
package/dist/node/Params.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyObject } from '@xyo-network/core';
|
|
2
1
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
+
import { AnyObject } from '@xyo-network/object';
|
|
3
3
|
import { SentinelConfig } from './Config';
|
|
4
4
|
export type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends AnyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,IAAI,IAC/C,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
package/dist/node/Params.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AnyObject } from '@xyo-network/core';
|
|
2
1
|
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model';
|
|
2
|
+
import { AnyObject } from '@xyo-network/object';
|
|
3
3
|
import { SentinelConfig } from './Config';
|
|
4
4
|
export type SentinelParams<TConfig extends AnyConfigSchema<SentinelConfig> = AnyConfigSchema<SentinelConfig>, TAdditionalParams extends AnyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>;
|
|
5
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAEzC,MAAM,MAAM,cAAc,CACxB,OAAO,SAAS,eAAe,CAAC,cAAc,CAAC,GAAG,eAAe,CAAC,cAAc,CAAC,EACjF,iBAAiB,SAAS,SAAS,GAAG,IAAI,GAAG,IAAI,IAC/C,YAAY,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SentinelInstance } from './Instance';
|
|
2
2
|
import { SentinelModule } from './Module';
|
|
3
|
-
export declare const isSentinelInstance: import("@xyo-network/object").
|
|
3
|
+
export declare const isSentinelInstance: import("@xyo-network/object").TypeCheck<SentinelInstance>;
|
|
4
4
|
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule>;
|
|
5
5
|
export declare const asSentinelModule: {
|
|
6
|
-
<
|
|
7
|
-
<
|
|
6
|
+
<TType extends SentinelModule>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
7
|
+
<TType_1 extends SentinelModule>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
8
8
|
};
|
|
9
9
|
export declare const asSentinelInstance: {
|
|
10
|
-
<
|
|
11
|
-
<
|
|
10
|
+
<TType extends SentinelInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
11
|
+
<TType_1 extends SentinelInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
12
12
|
};
|
|
13
13
|
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule) => R) => R | undefined;
|
|
14
14
|
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,2DAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB,qEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB,2EAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB,6EAAyC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SentinelInstance } from './Instance';
|
|
2
2
|
import { SentinelModule } from './Module';
|
|
3
|
-
export declare const isSentinelInstance: import("@xyo-network/object").
|
|
3
|
+
export declare const isSentinelInstance: import("@xyo-network/object").TypeCheck<SentinelInstance>;
|
|
4
4
|
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule>;
|
|
5
5
|
export declare const asSentinelModule: {
|
|
6
|
-
<
|
|
7
|
-
<
|
|
6
|
+
<TType extends SentinelModule>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
7
|
+
<TType_1 extends SentinelModule>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
8
8
|
};
|
|
9
9
|
export declare const asSentinelInstance: {
|
|
10
|
-
<
|
|
11
|
-
<
|
|
10
|
+
<TType extends SentinelInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
11
|
+
<TType_1 extends SentinelInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
12
12
|
};
|
|
13
13
|
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule) => R) => R | undefined;
|
|
14
14
|
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,2DAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB,qEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB,2EAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB,6EAAyC,CAAA"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SentinelInstance } from './Instance';
|
|
2
2
|
import { SentinelModule } from './Module';
|
|
3
|
-
export declare const isSentinelInstance: import("@xyo-network/object").
|
|
3
|
+
export declare const isSentinelInstance: import("@xyo-network/object").TypeCheck<SentinelInstance>;
|
|
4
4
|
export declare const isSentinelModule: import("@xyo-network/module-model").ModuleTypeCheck<SentinelModule>;
|
|
5
5
|
export declare const asSentinelModule: {
|
|
6
|
-
<
|
|
7
|
-
<
|
|
6
|
+
<TType extends SentinelModule>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
7
|
+
<TType_1 extends SentinelModule>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
8
8
|
};
|
|
9
9
|
export declare const asSentinelInstance: {
|
|
10
|
-
<
|
|
11
|
-
<
|
|
10
|
+
<TType extends SentinelInstance>(value: unknown, config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType | undefined;
|
|
11
|
+
<TType_1 extends SentinelInstance>(value: unknown, assert: string | (() => string), config?: import("@xyo-network/object").TypeCheckConfig | undefined): TType_1;
|
|
12
12
|
};
|
|
13
13
|
export declare const withSentinelModule: <R>(module: any, closure: (module: SentinelModule) => R) => R | undefined;
|
|
14
14
|
export declare const withSentinelInstance: <R>(module: any, closure: (module: SentinelInstance) => R) => R | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAGzC,eAAO,MAAM,kBAAkB,2DAA+F,CAAA;AAC9H,eAAO,MAAM,gBAAgB,qEAA4E,CAAA;AAEzG,eAAO,MAAM,gBAAgB;;;CAA2C,CAAA;AACxE,eAAO,MAAM,kBAAkB;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,kBAAkB,2EAAuC,CAAA;AACtE,eAAO,MAAM,oBAAoB,6EAAyC,CAAA"}
|
package/package.json
CHANGED
|
@@ -11,15 +11,14 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/promise": "^2.13.20",
|
|
14
|
-
"@xyo-network/archivist-model": "~2.
|
|
15
|
-
"@xyo-network/boundwitness-model": "~2.
|
|
16
|
-
"@xyo-network/
|
|
17
|
-
"@xyo-network/
|
|
18
|
-
"@xyo-network/module-
|
|
19
|
-
"@xyo-network/
|
|
20
|
-
"@xyo-network/
|
|
21
|
-
"@xyo-network/
|
|
22
|
-
"@xyo-network/witness-model": "~2.82.0"
|
|
14
|
+
"@xyo-network/archivist-model": "~2.83.1",
|
|
15
|
+
"@xyo-network/boundwitness-model": "~2.83.1",
|
|
16
|
+
"@xyo-network/diviner-model": "~2.83.1",
|
|
17
|
+
"@xyo-network/module-events": "~2.83.1",
|
|
18
|
+
"@xyo-network/module-model": "~2.83.1",
|
|
19
|
+
"@xyo-network/object": "~2.83.1",
|
|
20
|
+
"@xyo-network/payload-model": "~2.83.1",
|
|
21
|
+
"@xyo-network/witness-model": "~2.83.1"
|
|
23
22
|
},
|
|
24
23
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
25
24
|
"devDependencies": {
|
|
@@ -66,5 +65,5 @@
|
|
|
66
65
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
67
66
|
},
|
|
68
67
|
"sideEffects": false,
|
|
69
|
-
"version": "2.
|
|
68
|
+
"version": "2.83.1"
|
|
70
69
|
}
|