@xyo-network/crypto-cards-game-plugin 3.4.2 → 3.4.4
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/types/Plugin.d.ts +3 -0
- package/dist/types/Plugin.d.ts.map +1 -0
- package/dist/types/Schema.d.ts +3 -0
- package/dist/types/Schema.d.ts.map +1 -0
- package/dist/types/Witness.d.ts +16 -0
- package/dist/types/Witness.d.ts.map +1 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -0
- package/package.json +15 -15
- package/dist/browser/index.d.ts +0 -23
- package/dist/neutral/index.d.ts +0 -23
- package/dist/node/index.d.ts +0 -23
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/crypto-cards-game-plugin",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -21,28 +21,28 @@
|
|
|
21
21
|
"type": "module",
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
|
-
"types": "./dist/
|
|
24
|
+
"types": "./dist/types/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/
|
|
30
|
+
"types": "dist/types/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xylabs/promise": "^4.
|
|
33
|
-
"@xyo-network/abstract-witness": "^3.9.
|
|
34
|
-
"@xyo-network/crypto-cards-game-payload-plugin": "^3.4.
|
|
35
|
-
"@xyo-network/module-model": "^3.9.
|
|
36
|
-
"@xyo-network/payload-model": "^3.9.
|
|
37
|
-
"@xyo-network/payloadset-plugin": "^3.9.
|
|
38
|
-
"@xyo-network/witness-model": "^3.9.
|
|
32
|
+
"@xylabs/promise": "^4.6.0",
|
|
33
|
+
"@xyo-network/abstract-witness": "^3.9.36",
|
|
34
|
+
"@xyo-network/crypto-cards-game-payload-plugin": "^3.4.4",
|
|
35
|
+
"@xyo-network/module-model": "^3.9.36",
|
|
36
|
+
"@xyo-network/payload-model": "^3.9.36",
|
|
37
|
+
"@xyo-network/payloadset-plugin": "^3.9.36",
|
|
38
|
+
"@xyo-network/witness-model": "^3.9.36"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
42
|
-
"@xylabs/tsconfig": "^
|
|
43
|
-
"@xylabs/vitest-extended": "^4.
|
|
44
|
-
"typescript": "^5.
|
|
45
|
-
"vitest": "^3.0.
|
|
41
|
+
"@xylabs/ts-scripts-yarn3": "^6.0.5",
|
|
42
|
+
"@xylabs/tsconfig": "^6.0.5",
|
|
43
|
+
"@xylabs/vitest-extended": "^4.6.0",
|
|
44
|
+
"typescript": "^5.8.2",
|
|
45
|
+
"vitest": "^3.0.8"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"access": "public"
|
package/dist/browser/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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/dist/neutral/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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/dist/node/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
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 };
|