@xyo-network/crypto-cards-game-plugin 2.84.0 → 2.84.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/node/index.cjs +68 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.js +11 -40
- package/dist/node/index.js.map +1 -1
- package/package.json +15 -15
- package/dist/node/index.mjs +0 -39
- package/dist/node/index.mjs.map +0 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
CryptoCardsGamePlugin: () => CryptoCardsGamePlugin,
|
|
24
|
+
CryptoCardsGameWitness: () => CryptoCardsGameWitness,
|
|
25
|
+
CryptoCardsGameWitnessConfigSchema: () => CryptoCardsGameWitnessConfigSchema,
|
|
26
|
+
default: () => src_default
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(src_exports);
|
|
29
|
+
|
|
30
|
+
// src/Plugin.ts
|
|
31
|
+
var import_crypto_cards_game_payload_plugin = require("@xyo-network/crypto-cards-game-payload-plugin");
|
|
32
|
+
var import_payload_model = require("@xyo-network/payload-model");
|
|
33
|
+
var import_payloadset_plugin = require("@xyo-network/payloadset-plugin");
|
|
34
|
+
|
|
35
|
+
// src/Witness.ts
|
|
36
|
+
var import_abstract_witness = require("@xyo-network/abstract-witness");
|
|
37
|
+
|
|
38
|
+
// src/Schema.ts
|
|
39
|
+
var CryptoCardsGameWitnessConfigSchema = "network.xyo.crypto.cards.game.witness.config";
|
|
40
|
+
|
|
41
|
+
// src/Witness.ts
|
|
42
|
+
var CryptoCardsGameWitness = class extends import_abstract_witness.AbstractWitness {
|
|
43
|
+
static configSchemas = [CryptoCardsGameWitnessConfigSchema];
|
|
44
|
+
observeHandler(payloads) {
|
|
45
|
+
return payloads ?? [];
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
// src/Plugin.ts
|
|
50
|
+
var CryptoCardsGamePlugin = () => (0, import_payloadset_plugin.createPayloadSetWitnessPlugin)(
|
|
51
|
+
{ required: { [import_crypto_cards_game_payload_plugin.CryptoCardsGameSchema]: 1 }, schema: import_payload_model.PayloadSetSchema },
|
|
52
|
+
{
|
|
53
|
+
witness: async (params) => {
|
|
54
|
+
const result = await CryptoCardsGameWitness.create(params);
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
// src/index.ts
|
|
61
|
+
var src_default = CryptoCardsGamePlugin;
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
CryptoCardsGamePlugin,
|
|
65
|
+
CryptoCardsGameWitness,
|
|
66
|
+
CryptoCardsGameWitnessConfigSchema
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts"],"sourcesContent":["import { CryptoCardsGamePlugin } from './Plugin'\n\nexport * from './Schema'\nexport * from './Witness'\n\nexport { CryptoCardsGamePlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default CryptoCardsGamePlugin\n","import { CryptoCardsGameSchema } from '@xyo-network/crypto-cards-game-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { CryptoCardsGameWitness } from './Witness'\n\nexport const CryptoCardsGamePlugin = () =>\n createPayloadSetWitnessPlugin<CryptoCardsGameWitness>(\n { required: { [CryptoCardsGameSchema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n const result = await CryptoCardsGameWitness.create(params)\n return result as CryptoCardsGameWitness\n },\n },\n )\n","import { Promisable } from '@xylabs/promise'\nimport { AbstractWitness } from '@xyo-network/abstract-witness'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema'\n\nexport type CryptoCardsGameWitnessConfig = WitnessConfig<{\n schema: CryptoCardsGameWitnessConfigSchema\n}>\n\nexport type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>\n\nexport class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {\n static override configSchemas = [CryptoCardsGameWitnessConfigSchema]\n\n protected override observeHandler(payloads?: Payload[]): Promisable<Payload[]> {\n return payloads ?? []\n }\n}\n","export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config'\nexport const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,8CAAsC;AACtC,2BAAiC;AACjC,+BAA8C;;;ACD9C,8BAAgC;;;ACAzB,IAAM,qCAAyE;;;ADa/E,IAAM,yBAAN,cAAqC,wCAAuE;AAAA,EACjH,OAAgB,gBAAgB,CAAC,kCAAkC;AAAA,EAEhD,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADdO,IAAM,wBAAwB,UACnC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,6DAAqB,GAAG,EAAE,GAAG,QAAQ,sCAAiB;AAAA,EACrE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,YAAM,SAAS,MAAM,uBAAuB,OAAO,MAAM;AACzD,aAAO;AAAA,IACT;AAAA,EACF;AACF;;;ADPF,IAAO,cAAQ;","names":[]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,45 +1,16 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
CryptoCardsGamePlugin: () => CryptoCardsGamePlugin,
|
|
24
|
-
CryptoCardsGameWitness: () => CryptoCardsGameWitness,
|
|
25
|
-
CryptoCardsGameWitnessConfigSchema: () => CryptoCardsGameWitnessConfigSchema,
|
|
26
|
-
default: () => src_default
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(src_exports);
|
|
29
|
-
|
|
30
1
|
// src/Plugin.ts
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
2
|
+
import { CryptoCardsGameSchema } from "@xyo-network/crypto-cards-game-payload-plugin";
|
|
3
|
+
import { PayloadSetSchema } from "@xyo-network/payload-model";
|
|
4
|
+
import { createPayloadSetWitnessPlugin } from "@xyo-network/payloadset-plugin";
|
|
34
5
|
|
|
35
6
|
// src/Witness.ts
|
|
36
|
-
|
|
7
|
+
import { AbstractWitness } from "@xyo-network/abstract-witness";
|
|
37
8
|
|
|
38
9
|
// src/Schema.ts
|
|
39
10
|
var CryptoCardsGameWitnessConfigSchema = "network.xyo.crypto.cards.game.witness.config";
|
|
40
11
|
|
|
41
12
|
// src/Witness.ts
|
|
42
|
-
var CryptoCardsGameWitness = class extends
|
|
13
|
+
var CryptoCardsGameWitness = class extends AbstractWitness {
|
|
43
14
|
static configSchemas = [CryptoCardsGameWitnessConfigSchema];
|
|
44
15
|
observeHandler(payloads) {
|
|
45
16
|
return payloads ?? [];
|
|
@@ -47,8 +18,8 @@ var CryptoCardsGameWitness = class extends import_abstract_witness.AbstractWitne
|
|
|
47
18
|
};
|
|
48
19
|
|
|
49
20
|
// src/Plugin.ts
|
|
50
|
-
var CryptoCardsGamePlugin = () =>
|
|
51
|
-
{ required: { [
|
|
21
|
+
var CryptoCardsGamePlugin = () => createPayloadSetWitnessPlugin(
|
|
22
|
+
{ required: { [CryptoCardsGameSchema]: 1 }, schema: PayloadSetSchema },
|
|
52
23
|
{
|
|
53
24
|
witness: async (params) => {
|
|
54
25
|
const result = await CryptoCardsGameWitness.create(params);
|
|
@@ -59,10 +30,10 @@ var CryptoCardsGamePlugin = () => (0, import_payloadset_plugin.createPayloadSetW
|
|
|
59
30
|
|
|
60
31
|
// src/index.ts
|
|
61
32
|
var src_default = CryptoCardsGamePlugin;
|
|
62
|
-
|
|
63
|
-
0 && (module.exports = {
|
|
33
|
+
export {
|
|
64
34
|
CryptoCardsGamePlugin,
|
|
65
35
|
CryptoCardsGameWitness,
|
|
66
|
-
CryptoCardsGameWitnessConfigSchema
|
|
67
|
-
|
|
36
|
+
CryptoCardsGameWitnessConfigSchema,
|
|
37
|
+
src_default as default
|
|
38
|
+
};
|
|
68
39
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts","../../src/index.ts"],"sourcesContent":["import { CryptoCardsGameSchema } from '@xyo-network/crypto-cards-game-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { CryptoCardsGameWitness } from './Witness'\n\nexport const CryptoCardsGamePlugin = () =>\n createPayloadSetWitnessPlugin<CryptoCardsGameWitness>(\n { required: { [CryptoCardsGameSchema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n const result = await CryptoCardsGameWitness.create(params)\n return result as CryptoCardsGameWitness\n },\n },\n )\n","import { Promisable } from '@xylabs/promise'\nimport { AbstractWitness } from '@xyo-network/abstract-witness'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema'\n\nexport type CryptoCardsGameWitnessConfig = WitnessConfig<{\n schema: CryptoCardsGameWitnessConfigSchema\n}>\n\nexport type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>\n\nexport class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {\n static override configSchemas = [CryptoCardsGameWitnessConfigSchema]\n\n protected override observeHandler(payloads?: Payload[]): Promisable<Payload[]> {\n return payloads ?? []\n }\n}\n","export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config'\nexport const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config'\n","import { CryptoCardsGamePlugin } from './Plugin'\n\nexport * from './Schema'\nexport * from './Witness'\n\nexport { CryptoCardsGamePlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default CryptoCardsGamePlugin\n"],"mappings":";AAAA,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,uBAAuB;;;ACAzB,IAAM,qCAAyE;;;ADa/E,IAAM,yBAAN,cAAqC,gBAAuE;AAAA,EACjH,OAAgB,gBAAgB,CAAC,kCAAkC;AAAA,EAEhD,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADdO,IAAM,wBAAwB,MACnC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,qBAAqB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACrE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,YAAM,SAAS,MAAM,uBAAuB,OAAO,MAAM;AACzD,aAAO;AAAA,IACT;AAAA,EACF;AACF;;;AGPF,IAAO,cAAQ;","names":[]}
|
package/package.json
CHANGED
|
@@ -11,20 +11,19 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@xylabs/promise": "^2.13.20",
|
|
14
|
-
"@xyo-network/abstract-witness": "^2.84.
|
|
15
|
-
"@xyo-network/crypto-cards-game-payload-plugin": "~2.84.
|
|
16
|
-
"@xyo-network/module-model": "^2.84.
|
|
17
|
-
"@xyo-network/payload-model": "^2.84.
|
|
18
|
-
"@xyo-network/payloadset-plugin": "^2.84.
|
|
19
|
-
"@xyo-network/witness-model": "^2.84.
|
|
14
|
+
"@xyo-network/abstract-witness": "^2.84.3",
|
|
15
|
+
"@xyo-network/crypto-cards-game-payload-plugin": "~2.84.1",
|
|
16
|
+
"@xyo-network/module-model": "^2.84.3",
|
|
17
|
+
"@xyo-network/payload-model": "^2.84.3",
|
|
18
|
+
"@xyo-network/payloadset-plugin": "^2.84.3",
|
|
19
|
+
"@xyo-network/witness-model": "^2.84.3"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@xylabs/ts-scripts-yarn3": "^3.2.
|
|
23
|
-
"@xylabs/tsconfig": "^3.2.
|
|
22
|
+
"@xylabs/ts-scripts-yarn3": "^3.2.19",
|
|
23
|
+
"@xylabs/tsconfig": "^3.2.19",
|
|
24
24
|
"typescript": "^5.3.3"
|
|
25
25
|
},
|
|
26
26
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
27
|
-
"docs": "dist/docs.json",
|
|
28
27
|
"types": "dist/node/index.d.ts",
|
|
29
28
|
"exports": {
|
|
30
29
|
".": {
|
|
@@ -40,19 +39,19 @@
|
|
|
40
39
|
},
|
|
41
40
|
"node": {
|
|
42
41
|
"require": {
|
|
43
|
-
"types": "./dist/node/index.d.
|
|
44
|
-
"default": "./dist/node/index.
|
|
42
|
+
"types": "./dist/node/index.d.cts",
|
|
43
|
+
"default": "./dist/node/index.cjs"
|
|
45
44
|
},
|
|
46
45
|
"import": {
|
|
47
46
|
"types": "./dist/node/index.d.mts",
|
|
48
|
-
"default": "./dist/node/index.
|
|
47
|
+
"default": "./dist/node/index.js"
|
|
49
48
|
}
|
|
50
49
|
}
|
|
51
50
|
},
|
|
52
51
|
"./package.json": "./package.json"
|
|
53
52
|
},
|
|
54
|
-
"main": "dist/node/index.
|
|
55
|
-
"module": "dist/node/index.
|
|
53
|
+
"main": "dist/node/index.cjs",
|
|
54
|
+
"module": "dist/node/index.js",
|
|
56
55
|
"homepage": "https://xyo.network",
|
|
57
56
|
"license": "LGPL-3.0-only",
|
|
58
57
|
"publishConfig": {
|
|
@@ -63,5 +62,6 @@
|
|
|
63
62
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
64
63
|
},
|
|
65
64
|
"sideEffects": false,
|
|
66
|
-
"version": "2.84.
|
|
65
|
+
"version": "2.84.1",
|
|
66
|
+
"type": "module"
|
|
67
67
|
}
|
package/dist/node/index.mjs
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
// src/Plugin.ts
|
|
2
|
-
import { CryptoCardsGameSchema } from "@xyo-network/crypto-cards-game-payload-plugin";
|
|
3
|
-
import { PayloadSetSchema } from "@xyo-network/payload-model";
|
|
4
|
-
import { createPayloadSetWitnessPlugin } from "@xyo-network/payloadset-plugin";
|
|
5
|
-
|
|
6
|
-
// src/Witness.ts
|
|
7
|
-
import { AbstractWitness } from "@xyo-network/abstract-witness";
|
|
8
|
-
|
|
9
|
-
// src/Schema.ts
|
|
10
|
-
var CryptoCardsGameWitnessConfigSchema = "network.xyo.crypto.cards.game.witness.config";
|
|
11
|
-
|
|
12
|
-
// src/Witness.ts
|
|
13
|
-
var CryptoCardsGameWitness = class extends AbstractWitness {
|
|
14
|
-
static configSchemas = [CryptoCardsGameWitnessConfigSchema];
|
|
15
|
-
observeHandler(payloads) {
|
|
16
|
-
return payloads ?? [];
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
// src/Plugin.ts
|
|
21
|
-
var CryptoCardsGamePlugin = () => createPayloadSetWitnessPlugin(
|
|
22
|
-
{ required: { [CryptoCardsGameSchema]: 1 }, schema: PayloadSetSchema },
|
|
23
|
-
{
|
|
24
|
-
witness: async (params) => {
|
|
25
|
-
const result = await CryptoCardsGameWitness.create(params);
|
|
26
|
-
return result;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
|
|
31
|
-
// src/index.ts
|
|
32
|
-
var src_default = CryptoCardsGamePlugin;
|
|
33
|
-
export {
|
|
34
|
-
CryptoCardsGamePlugin,
|
|
35
|
-
CryptoCardsGameWitness,
|
|
36
|
-
CryptoCardsGameWitnessConfigSchema,
|
|
37
|
-
src_default as default
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts","../../src/index.ts"],"sourcesContent":["import { CryptoCardsGameSchema } from '@xyo-network/crypto-cards-game-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { CryptoCardsGameWitness } from './Witness'\n\nexport const CryptoCardsGamePlugin = () =>\n createPayloadSetWitnessPlugin<CryptoCardsGameWitness>(\n { required: { [CryptoCardsGameSchema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n const result = await CryptoCardsGameWitness.create(params)\n return result as CryptoCardsGameWitness\n },\n },\n )\n","import { Promisable } from '@xylabs/promise'\nimport { AbstractWitness } from '@xyo-network/abstract-witness'\nimport { AnyConfigSchema } from '@xyo-network/module-model'\nimport { Payload } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema'\n\nexport type CryptoCardsGameWitnessConfig = WitnessConfig<{\n schema: CryptoCardsGameWitnessConfigSchema\n}>\n\nexport type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>\n\nexport class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {\n static override configSchemas = [CryptoCardsGameWitnessConfigSchema]\n\n protected override observeHandler(payloads?: Payload[]): Promisable<Payload[]> {\n return payloads ?? []\n }\n}\n","export type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config'\nexport const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config'\n","import { CryptoCardsGamePlugin } from './Plugin'\n\nexport * from './Schema'\nexport * from './Witness'\n\nexport { CryptoCardsGamePlugin }\n\n// eslint-disable-next-line import/no-default-export\nexport default CryptoCardsGamePlugin\n"],"mappings":";AAAA,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,uBAAuB;;;ACAzB,IAAM,qCAAyE;;;ADa/E,IAAM,yBAAN,cAAqC,gBAAuE;AAAA,EACjH,OAAgB,gBAAgB,CAAC,kCAAkC;AAAA,EAEhD,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADdO,IAAM,wBAAwB,MACnC;AAAA,EACE,EAAE,UAAU,EAAE,CAAC,qBAAqB,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EACrE;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,YAAM,SAAS,MAAM,uBAAuB,OAAO,MAAM;AACzD,aAAO;AAAA,IACT;AAAA,EACF;AACF;;;AGPF,IAAO,cAAQ;","names":[]}
|