@xyo-network/crypto-cards-game-plugin 2.99.4 → 2.99.6
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/Plugin.d.cts +1 -1
- package/dist/browser/Plugin.d.mts +1 -1
- package/dist/browser/Plugin.d.ts +1 -1
- package/dist/browser/Witness.d.cts +1 -1
- package/dist/browser/Witness.d.mts +1 -1
- package/dist/browser/Witness.d.ts +1 -1
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.d.cts +3 -3
- package/dist/browser/index.d.mts +3 -3
- package/dist/browser/index.d.ts +3 -3
- package/dist/browser/{index.js → index.mjs} +1 -1
- package/dist/{node/index.js.map → browser/index.mjs.map} +1 -1
- package/dist/neutral/Plugin.d.cts +1 -1
- package/dist/neutral/Plugin.d.mts +1 -1
- package/dist/neutral/Plugin.d.ts +1 -1
- package/dist/neutral/Witness.d.cts +1 -1
- package/dist/neutral/Witness.d.mts +1 -1
- package/dist/neutral/Witness.d.ts +1 -1
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.d.cts +3 -3
- package/dist/neutral/index.d.mts +3 -3
- package/dist/neutral/index.d.ts +3 -3
- package/dist/{node/index.js → neutral/index.mjs} +1 -1
- package/dist/{browser/index.js.map → neutral/index.mjs.map} +1 -1
- package/dist/node/Plugin.d.cts +1 -1
- package/dist/node/Plugin.d.mts +1 -1
- package/dist/node/Plugin.d.ts +1 -1
- package/dist/node/Witness.d.cts +1 -1
- package/dist/node/Witness.d.mts +1 -1
- package/dist/node/Witness.d.ts +1 -1
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.d.cts +3 -3
- package/dist/node/index.d.mts +3 -3
- package/dist/node/index.d.ts +3 -3
- package/dist/{neutral/index.js → node/index.mjs} +1 -1
- package/dist/{neutral/index.js.map → node/index.mjs.map} +1 -1
- package/package.json +14 -14
- package/src/Plugin.ts +1 -1
- package/src/Witness.ts +1 -1
- package/src/index.ts +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/browser/Plugin.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts"],"sourcesContent":["// eslint-disable-next-line import/no-default-export\nexport { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts"],"sourcesContent":["// eslint-disable-next-line import/no-default-export\nexport { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts'\nexport * from './Schema.ts'\nexport * from './Witness.ts'\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.ts'\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, Schema } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema.ts'\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 readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsGameWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = 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,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,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;","names":[]}
|
package/dist/browser/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/browser/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.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.
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.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.ts'\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, Schema } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema.ts'\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 readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsGameWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = 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,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,uBAAuB;;;ACAzB,IAAM,qCAAyE;;;ADa/E,IAAM,yBAAN,cAAqC,gBAAuE;AAAA,EACjH,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,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;","names":[]}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/neutral/Plugin.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts"],"sourcesContent":["// eslint-disable-next-line import/no-default-export\nexport { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts"],"sourcesContent":["// eslint-disable-next-line import/no-default-export\nexport { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts'\nexport * from './Schema.ts'\nexport * from './Witness.ts'\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.ts'\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, Schema } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema.ts'\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 readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsGameWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = 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,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,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;","names":[]}
|
package/dist/neutral/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/neutral/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.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.
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.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.ts'\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, Schema } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema.ts'\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 readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsGameWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = 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,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,uBAAuB;;;ACAzB,IAAM,qCAAyE;;;ADa/E,IAAM,yBAAN,cAAqC,gBAAuE;AAAA,EACjH,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,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;","names":[]}
|
package/dist/node/Plugin.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/node/Plugin.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/node/Plugin.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
1
|
+
import { CryptoCardsGameWitness } from './Witness.ts';
|
|
2
2
|
export declare const CryptoCardsGamePlugin: () => import("@xyo-network/payloadset-plugin").PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
|
|
3
3
|
//# sourceMappingURL=Plugin.d.ts.map
|
package/dist/node/Witness.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
package/dist/node/Witness.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
package/dist/node/Witness.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
|
3
3
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model';
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model';
|
|
6
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
6
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts';
|
|
7
7
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
8
8
|
schema: CryptoCardsGameWitnessConfigSchema;
|
|
9
9
|
}>;
|
package/dist/node/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts"],"sourcesContent":["// eslint-disable-next-line import/no-default-export\nexport { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.ts"],"sourcesContent":["// eslint-disable-next-line import/no-default-export\nexport { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts'\nexport * from './Schema.ts'\nexport * from './Witness.ts'\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.ts'\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, Schema } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema.ts'\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 readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsGameWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = 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,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,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;","names":[]}
|
package/dist/node/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/node/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
2
|
-
export * from './Schema.
|
|
3
|
-
export * from './Witness.
|
|
1
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts';
|
|
2
|
+
export * from './Schema.ts';
|
|
3
|
+
export * from './Witness.ts';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.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.
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/Schema.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.ts'\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, Schema } from '@xyo-network/payload-model'\nimport { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'\n\nimport { CryptoCardsGameWitnessConfigSchema } from './Schema.ts'\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 readonly configSchemas: Schema[] = [...super.configSchemas, CryptoCardsGameWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = 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,SAAS,6BAA6B;AACtC,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACD9C,SAAS,uBAAuB;;;ACAzB,IAAM,qCAAyE;;;ADa/E,IAAM,yBAAN,cAAqC,gBAAuE;AAAA,EACjH,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,kCAAkC;AAAA,EAC9G,OAAyB,sBAA8B;AAAA,EAEpC,eAAe,UAA6C;AAC7E,WAAO,YAAY,CAAC;AAAA,EACtB;AACF;;;ADfO,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;","names":[]}
|
package/package.json
CHANGED
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/promise": "^3.6.
|
|
14
|
-
"@xyo-network/abstract-witness": "^2.
|
|
15
|
-
"@xyo-network/crypto-cards-game-payload-plugin": "^2.99.
|
|
16
|
-
"@xyo-network/module-model": "^2.
|
|
17
|
-
"@xyo-network/payload-model": "^2.
|
|
18
|
-
"@xyo-network/payloadset-plugin": "^2.
|
|
19
|
-
"@xyo-network/witness-model": "^2.
|
|
13
|
+
"@xylabs/promise": "^3.6.12",
|
|
14
|
+
"@xyo-network/abstract-witness": "^2.111.3",
|
|
15
|
+
"@xyo-network/crypto-cards-game-payload-plugin": "^2.99.6",
|
|
16
|
+
"@xyo-network/module-model": "^2.111.3",
|
|
17
|
+
"@xyo-network/payload-model": "^2.111.3",
|
|
18
|
+
"@xyo-network/payloadset-plugin": "^2.111.3",
|
|
19
|
+
"@xyo-network/witness-model": "^2.111.3"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@xylabs/ts-scripts-yarn3": "^3.
|
|
23
|
-
"@xylabs/tsconfig": "^3.
|
|
24
|
-
"typescript": "^5.5.
|
|
22
|
+
"@xylabs/ts-scripts-yarn3": "^3.15.14",
|
|
23
|
+
"@xylabs/tsconfig": "^3.15.14",
|
|
24
|
+
"typescript": "^5.5.4"
|
|
25
25
|
},
|
|
26
26
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
27
27
|
"types": "dist/node/index.d.ts",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"import": {
|
|
36
36
|
"types": "./dist/browser/index.d.mts",
|
|
37
|
-
"default": "./dist/browser/index.
|
|
37
|
+
"default": "./dist/browser/index.mjs"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"node": {
|
|
@@ -44,14 +44,14 @@
|
|
|
44
44
|
},
|
|
45
45
|
"import": {
|
|
46
46
|
"types": "./dist/node/index.d.mts",
|
|
47
|
-
"default": "./dist/node/index.
|
|
47
|
+
"default": "./dist/node/index.mjs"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
51
|
"./package.json": "./package.json"
|
|
52
52
|
},
|
|
53
53
|
"main": "dist/node/index.cjs",
|
|
54
|
-
"module": "dist/node/index.
|
|
54
|
+
"module": "dist/node/index.mjs",
|
|
55
55
|
"homepage": "https://xyo.network",
|
|
56
56
|
"license": "LGPL-3.0-only",
|
|
57
57
|
"publishConfig": {
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
63
63
|
},
|
|
64
64
|
"sideEffects": false,
|
|
65
|
-
"version": "2.99.
|
|
65
|
+
"version": "2.99.6",
|
|
66
66
|
"type": "module"
|
|
67
67
|
}
|
package/src/Plugin.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { CryptoCardsGameSchema } from '@xyo-network/crypto-cards-game-payload-pl
|
|
|
2
2
|
import { PayloadSetSchema } from '@xyo-network/payload-model'
|
|
3
3
|
import { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'
|
|
4
4
|
|
|
5
|
-
import { CryptoCardsGameWitness } from './Witness.
|
|
5
|
+
import { CryptoCardsGameWitness } from './Witness.ts'
|
|
6
6
|
|
|
7
7
|
export const CryptoCardsGamePlugin = () =>
|
|
8
8
|
createPayloadSetWitnessPlugin<CryptoCardsGameWitness>(
|
package/src/Witness.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { AnyConfigSchema } from '@xyo-network/module-model'
|
|
|
4
4
|
import { Payload, Schema } from '@xyo-network/payload-model'
|
|
5
5
|
import { WitnessConfig, WitnessModule, WitnessParams } from '@xyo-network/witness-model'
|
|
6
6
|
|
|
7
|
-
import { CryptoCardsGameWitnessConfigSchema } from './Schema.
|
|
7
|
+
import { CryptoCardsGameWitnessConfigSchema } from './Schema.ts'
|
|
8
8
|
|
|
9
9
|
export type CryptoCardsGameWitnessConfig = WitnessConfig<{
|
|
10
10
|
schema: CryptoCardsGameWitnessConfigSchema
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// eslint-disable-next-line import/no-default-export
|
|
2
|
-
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.
|
|
3
|
-
export * from './Schema.
|
|
4
|
-
export * from './Witness.
|
|
2
|
+
export { CryptoCardsGamePlugin, CryptoCardsGamePlugin as default } from './Plugin.ts'
|
|
3
|
+
export * from './Schema.ts'
|
|
4
|
+
export * from './Witness.ts'
|