@xyo-network/crypto-cards-game-plugin 3.6.1 → 4.1.0

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.
@@ -0,0 +1,24 @@
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, CryptoCardsGameWitnessConfigSchema, CryptoCardsGamePlugin as default };
24
+ export type { CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessParams };
@@ -0,0 +1,2 @@
1
+ import '@xylabs/vitest-extended';
2
+ //# sourceMappingURL=Plugin.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Plugin.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { CryptoCardsGameWitness } from './Witness.ts';
2
+ export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
3
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
2
+ export declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,24 @@
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, CryptoCardsGameWitnessConfigSchema, CryptoCardsGamePlugin as default };
24
+ export type { CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessParams };
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ import '@xylabs/vitest-extended';
2
+ //# sourceMappingURL=Plugin.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Plugin.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { CryptoCardsGameWitness } from './Witness.ts';
2
+ export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
3
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
2
+ export declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,16 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,24 @@
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, CryptoCardsGameWitnessConfigSchema, CryptoCardsGamePlugin as default };
24
+ export type { CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessParams };
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,2 @@
1
+ import '@xylabs/vitest-extended';
2
+ //# sourceMappingURL=Plugin.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Plugin.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/crypto-cards-game-plugin",
3
- "version": "3.6.1",
3
+ "version": "4.1.0",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -21,29 +21,29 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/types/index.d.ts",
24
+ "types": "./dist/neutral/index.d.ts",
25
25
  "default": "./dist/neutral/index.mjs"
26
26
  },
27
27
  "./package.json": "./package.json"
28
28
  },
29
29
  "module": "dist/neutral/index.mjs",
30
- "types": "dist/types/index.d.ts",
30
+ "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xylabs/promise": "^4.11.2",
33
- "@xyo-network/abstract-witness": "^3.17.1",
34
- "@xyo-network/crypto-cards-game-payload-plugin": "^3.6.1",
35
- "@xyo-network/module-model": "^3.17.1",
36
- "@xyo-network/payload-model": "^3.17.1",
37
- "@xyo-network/payloadset-plugin": "^3.17.1",
38
- "@xyo-network/witness-model": "^3.17.1"
32
+ "@xylabs/promise": "^4.13.15",
33
+ "@xyo-network/abstract-witness": "^4.1.1",
34
+ "@xyo-network/crypto-cards-game-payload-plugin": "^4.1.0",
35
+ "@xyo-network/module-model": "^4.1.1",
36
+ "@xyo-network/payload-model": "^4.1.1",
37
+ "@xyo-network/payloadset-plugin": "^4.1.1",
38
+ "@xyo-network/witness-model": "^4.1.1"
39
39
  },
40
40
  "devDependencies": {
41
- "@xylabs/ts-scripts-yarn3": "^6.5.7",
42
- "@xylabs/tsconfig": "^6.5.7",
43
- "@xylabs/vitest-extended": "^4.11.2",
44
- "knip": "^5.59.0",
41
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
42
+ "@xylabs/tsconfig": "^7.0.0-rc.24",
43
+ "@xylabs/vitest-extended": "^4.13.15",
44
+ "knip": "^5.61.3",
45
45
  "typescript": "^5.8.3",
46
- "vitest": "^3.1.4"
46
+ "vitest": "^3.2.4"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -1,4 +0,0 @@
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes