@xyo-network/crypto-cards-game-plugin 3.4.0 → 3.4.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.
@@ -1,4 +1,23 @@
1
- export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
2
- export * from './Schema.ts';
3
- export * from './Witness.ts';
4
- //# sourceMappingURL=index.d.ts.map
1
+ import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
+ import { Promisable } from '@xylabs/promise';
3
+ import { AbstractWitness } from '@xyo-network/abstract-witness';
4
+ import { AnyConfigSchema } from '@xyo-network/module-model';
5
+ import { Schema, Payload } from '@xyo-network/payload-model';
6
+ import { WitnessParams, WitnessConfig, WitnessModule } from '@xyo-network/witness-model';
7
+
8
+ type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
9
+ declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
10
+
11
+ type CryptoCardsGameWitnessConfig = WitnessConfig<{
12
+ schema: CryptoCardsGameWitnessConfigSchema;
13
+ }>;
14
+ type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
15
+ declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
16
+ static readonly configSchemas: Schema[];
17
+ static readonly defaultConfigSchema: Schema;
18
+ protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
19
+ }
20
+
21
+ declare const CryptoCardsGamePlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
22
+
23
+ export { CryptoCardsGamePlugin, CryptoCardsGameWitness, type CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessConfigSchema, type CryptoCardsGameWitnessParams, CryptoCardsGamePlugin as default };
@@ -1,4 +1,23 @@
1
- export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
2
- export * from './Schema.ts';
3
- export * from './Witness.ts';
4
- //# sourceMappingURL=index.d.ts.map
1
+ import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
+ import { Promisable } from '@xylabs/promise';
3
+ import { AbstractWitness } from '@xyo-network/abstract-witness';
4
+ import { AnyConfigSchema } from '@xyo-network/module-model';
5
+ import { Schema, Payload } from '@xyo-network/payload-model';
6
+ import { WitnessParams, WitnessConfig, WitnessModule } from '@xyo-network/witness-model';
7
+
8
+ type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
9
+ declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
10
+
11
+ type CryptoCardsGameWitnessConfig = WitnessConfig<{
12
+ schema: CryptoCardsGameWitnessConfigSchema;
13
+ }>;
14
+ type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
15
+ declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
16
+ static readonly configSchemas: Schema[];
17
+ static readonly defaultConfigSchema: Schema;
18
+ protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
19
+ }
20
+
21
+ declare const CryptoCardsGamePlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
22
+
23
+ export { CryptoCardsGamePlugin, CryptoCardsGameWitness, type CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessConfigSchema, type CryptoCardsGameWitnessParams, CryptoCardsGamePlugin as default };
@@ -1,4 +1,23 @@
1
- export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
2
- export * from './Schema.ts';
3
- export * from './Witness.ts';
4
- //# sourceMappingURL=index.d.ts.map
1
+ import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
+ import { Promisable } from '@xylabs/promise';
3
+ import { AbstractWitness } from '@xyo-network/abstract-witness';
4
+ import { AnyConfigSchema } from '@xyo-network/module-model';
5
+ import { Schema, Payload } from '@xyo-network/payload-model';
6
+ import { WitnessParams, WitnessConfig, WitnessModule } from '@xyo-network/witness-model';
7
+
8
+ type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
9
+ declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
10
+
11
+ type CryptoCardsGameWitnessConfig = WitnessConfig<{
12
+ schema: CryptoCardsGameWitnessConfigSchema;
13
+ }>;
14
+ type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
15
+ declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
16
+ static readonly configSchemas: Schema[];
17
+ static readonly defaultConfigSchema: Schema;
18
+ protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
19
+ }
20
+
21
+ declare const CryptoCardsGamePlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
22
+
23
+ export { CryptoCardsGamePlugin, CryptoCardsGameWitness, type CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessConfigSchema, type CryptoCardsGameWitnessParams, CryptoCardsGamePlugin as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/crypto-cards-game-plugin",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,19 +30,19 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
32
  "@xylabs/promise": "^4.5.1",
33
- "@xyo-network/abstract-witness": "^3.8.0",
34
- "@xyo-network/crypto-cards-game-payload-plugin": "^3.4.0",
35
- "@xyo-network/module-model": "^3.8.0",
36
- "@xyo-network/payload-model": "^3.8.0",
37
- "@xyo-network/payloadset-plugin": "^3.8.0",
38
- "@xyo-network/witness-model": "^3.8.0"
33
+ "@xyo-network/abstract-witness": "^3.8.5",
34
+ "@xyo-network/crypto-cards-game-payload-plugin": "^3.4.1",
35
+ "@xyo-network/module-model": "^3.8.5",
36
+ "@xyo-network/payload-model": "^3.8.5",
37
+ "@xyo-network/payloadset-plugin": "^3.8.5",
38
+ "@xyo-network/witness-model": "^3.8.5"
39
39
  },
40
40
  "devDependencies": {
41
- "@xylabs/ts-scripts-yarn3": "^4.2.6",
42
- "@xylabs/tsconfig": "^4.2.6",
41
+ "@xylabs/ts-scripts-yarn3": "^5.0.22",
42
+ "@xylabs/tsconfig": "^5.0.22",
43
43
  "@xylabs/vitest-extended": "^4.5.1",
44
44
  "typescript": "^5.7.3",
45
- "vitest": "^3.0.4"
45
+ "vitest": "^3.0.5"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
@@ -1,3 +0,0 @@
1
- import { CryptoCardsGameWitness } from './Witness.ts';
2
- export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
3
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAErD,eAAO,MAAM,qBAAqB,gGAS/B,CAAA"}
@@ -1,3 +0,0 @@
1
- export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
2
- export declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kCAAkC,GAAG,8CAA8C,CAAA;AAC/F,eAAO,MAAM,kCAAkC,EAAE,kCAAmF,CAAA"}
@@ -1,16 +0,0 @@
1
- import type { Promisable } from '@xylabs/promise';
2
- import { AbstractWitness } from '@xyo-network/abstract-witness';
3
- import type { AnyConfigSchema } from '@xyo-network/module-model';
4
- import type { Payload, Schema } from '@xyo-network/payload-model';
5
- import type { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
6
- import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
7
- export type CryptoCardsGameWitnessConfig = WitnessConfig<{
8
- schema: CryptoCardsGameWitnessConfigSchema;
9
- }>;
10
- export type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
11
- export declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
12
- static readonly configSchemas: Schema[];
13
- static readonly defaultConfigSchema: Schema;
14
- protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
15
- }
16
- //# sourceMappingURL=Witness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EACV,aAAa,EAAE,aAAa,EAAE,aAAa,EAC5C,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAA;AAEhE,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC;IACvD,MAAM,EAAE,kCAAkC,CAAA;CAC3C,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC,eAAe,CAAC,4BAA4B,CAAC,CAAC,CAAA;AAEvG,qBAAa,sBAAuB,SAAQ,eAAe,CAAC,4BAA4B,CAAE,YAAW,aAAa;IAChH,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA+D;IAC/G,gBAAyB,mBAAmB,EAAE,MAAM,CAAqC;cAEtE,cAAc,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAG/E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACrF,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
@@ -1,3 +0,0 @@
1
- import { CryptoCardsGameWitness } from './Witness.ts';
2
- export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
3
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAErD,eAAO,MAAM,qBAAqB,gGAS/B,CAAA"}
@@ -1,3 +0,0 @@
1
- export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
2
- export declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kCAAkC,GAAG,8CAA8C,CAAA;AAC/F,eAAO,MAAM,kCAAkC,EAAE,kCAAmF,CAAA"}
@@ -1,16 +0,0 @@
1
- import type { Promisable } from '@xylabs/promise';
2
- import { AbstractWitness } from '@xyo-network/abstract-witness';
3
- import type { AnyConfigSchema } from '@xyo-network/module-model';
4
- import type { Payload, Schema } from '@xyo-network/payload-model';
5
- import type { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
6
- import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
7
- export type CryptoCardsGameWitnessConfig = WitnessConfig<{
8
- schema: CryptoCardsGameWitnessConfigSchema;
9
- }>;
10
- export type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
11
- export declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
12
- static readonly configSchemas: Schema[];
13
- static readonly defaultConfigSchema: Schema;
14
- protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
15
- }
16
- //# sourceMappingURL=Witness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EACV,aAAa,EAAE,aAAa,EAAE,aAAa,EAC5C,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAA;AAEhE,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC;IACvD,MAAM,EAAE,kCAAkC,CAAA;CAC3C,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC,eAAe,CAAC,4BAA4B,CAAC,CAAC,CAAA;AAEvG,qBAAa,sBAAuB,SAAQ,eAAe,CAAC,4BAA4B,CAAE,YAAW,aAAa;IAChH,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA+D;IAC/G,gBAAyB,mBAAmB,EAAE,MAAM,CAAqC;cAEtE,cAAc,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAG/E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACrF,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
@@ -1,3 +0,0 @@
1
- import { CryptoCardsGameWitness } from './Witness.ts';
2
- export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
3
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAA;AAErD,eAAO,MAAM,qBAAqB,gGAS/B,CAAA"}
@@ -1,3 +0,0 @@
1
- export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
2
- export declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kCAAkC,GAAG,8CAA8C,CAAA;AAC/F,eAAO,MAAM,kCAAkC,EAAE,kCAAmF,CAAA"}
@@ -1,16 +0,0 @@
1
- import type { Promisable } from '@xylabs/promise';
2
- import { AbstractWitness } from '@xyo-network/abstract-witness';
3
- import type { AnyConfigSchema } from '@xyo-network/module-model';
4
- import type { Payload, Schema } from '@xyo-network/payload-model';
5
- import type { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
6
- import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
7
- export type CryptoCardsGameWitnessConfig = WitnessConfig<{
8
- schema: CryptoCardsGameWitnessConfigSchema;
9
- }>;
10
- export type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
11
- export declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
12
- static readonly configSchemas: Schema[];
13
- static readonly defaultConfigSchema: Schema;
14
- protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
15
- }
16
- //# sourceMappingURL=Witness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACjE,OAAO,KAAK,EACV,aAAa,EAAE,aAAa,EAAE,aAAa,EAC5C,MAAM,4BAA4B,CAAA;AAEnC,OAAO,EAAE,kCAAkC,EAAE,MAAM,aAAa,CAAA;AAEhE,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC;IACvD,MAAM,EAAE,kCAAkC,CAAA;CAC3C,CAAC,CAAA;AAEF,MAAM,MAAM,4BAA4B,GAAG,aAAa,CAAC,eAAe,CAAC,4BAA4B,CAAC,CAAC,CAAA;AAEvG,qBAAa,sBAAuB,SAAQ,eAAe,CAAC,4BAA4B,CAAE,YAAW,aAAa;IAChH,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAA+D;IAC/G,gBAAyB,mBAAmB,EAAE,MAAM,CAAqC;cAEtE,cAAc,CAAC,QAAQ,CAAC,EAAE,OAAO,EAAE,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC;CAG/E"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACrF,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}