@xyo-network/crypto-cards-game-plugin 2.73.4 → 2.74.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/index.d.mts CHANGED
@@ -1,21 +1,6 @@
1
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
- import { AnyConfigSchema } from '@xyo-network/module';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { Promisable } from '@xyo-network/promise';
5
- import { WitnessConfig, WitnessParams, AbstractWitness, WitnessModule } from '@xyo-network/witness';
6
-
7
- type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
8
- declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
9
-
10
- type CryptoCardsGameWitnessConfig = WitnessConfig<{
11
- schema: CryptoCardsGameWitnessConfigSchema;
12
- }>;
13
- type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
14
- declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
15
- static configSchemas: "network.xyo.crypto.cards.game.witness.config"[];
16
- protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
17
- }
18
-
19
- declare const CryptoCardsGamePlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
20
-
21
- export { CryptoCardsGamePlugin, CryptoCardsGameWitness, CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessConfigSchema, CryptoCardsGameWitnessParams, CryptoCardsGamePlugin as default };
1
+ import { CryptoCardsGamePlugin } from './Plugin';
2
+ export * from './Schema';
3
+ export * from './Witness';
4
+ export { CryptoCardsGamePlugin };
5
+ export default CryptoCardsGamePlugin;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAEhD,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,qBAAqB,EAAE,CAAA;AAGhC,eAAe,qBAAqB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,21 +1,6 @@
1
- import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
2
- import { AnyConfigSchema } from '@xyo-network/module';
3
- import { Payload } from '@xyo-network/payload-model';
4
- import { Promisable } from '@xyo-network/promise';
5
- import { WitnessConfig, WitnessParams, AbstractWitness, WitnessModule } from '@xyo-network/witness';
6
-
7
- type CryptoCardsGameWitnessConfigSchema = 'network.xyo.crypto.cards.game.witness.config';
8
- declare const CryptoCardsGameWitnessConfigSchema: CryptoCardsGameWitnessConfigSchema;
9
-
10
- type CryptoCardsGameWitnessConfig = WitnessConfig<{
11
- schema: CryptoCardsGameWitnessConfigSchema;
12
- }>;
13
- type CryptoCardsGameWitnessParams = WitnessParams<AnyConfigSchema<CryptoCardsGameWitnessConfig>>;
14
- declare class CryptoCardsGameWitness extends AbstractWitness<CryptoCardsGameWitnessParams> implements WitnessModule {
15
- static configSchemas: "network.xyo.crypto.cards.game.witness.config"[];
16
- protected observeHandler(payloads?: Payload[]): Promisable<Payload[]>;
17
- }
18
-
19
- declare const CryptoCardsGamePlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<CryptoCardsGameWitness>;
20
-
21
- export { CryptoCardsGamePlugin, CryptoCardsGameWitness, CryptoCardsGameWitnessConfig, CryptoCardsGameWitnessConfigSchema, CryptoCardsGameWitnessParams, CryptoCardsGamePlugin as default };
1
+ import { CryptoCardsGamePlugin } from './Plugin';
2
+ export * from './Schema';
3
+ export * from './Witness';
4
+ export { CryptoCardsGamePlugin };
5
+ export default CryptoCardsGamePlugin;
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAA;AAEhD,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,qBAAqB,EAAE,CAAA;AAGhC,eAAe,qBAAqB,CAAA"}
package/package.json CHANGED
@@ -10,24 +10,18 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/crypto-cards-game-payload-plugin": "~2.73.4",
14
- "@xyo-network/module": "~2.73.4",
15
- "@xyo-network/payload-model": "~2.73.4",
16
- "@xyo-network/payloadset-plugin": "~2.73.4",
17
- "@xyo-network/promise": "~2.73.4",
18
- "@xyo-network/witness": "~2.73.4"
13
+ "@xyo-network/crypto-cards-game-payload-plugin": "~2.74.1",
14
+ "@xyo-network/module": "~2.74.1",
15
+ "@xyo-network/payload-model": "~2.74.1",
16
+ "@xyo-network/payloadset-plugin": "~2.74.1",
17
+ "@xyo-network/promise": "~2.74.1",
18
+ "@xyo-network/witness": "~2.74.1"
19
19
  },
20
20
  "devDependencies": {
21
- "@xylabs/ts-scripts-yarn3": "^2.19.12",
22
- "@xylabs/tsconfig": "^2.19.12",
23
- "publint": "^0.2.2",
24
- "tsup": "^7.2.0",
21
+ "@xylabs/ts-scripts-yarn3": "^3.0.28",
22
+ "@xylabs/tsconfig": "^3.0.28",
25
23
  "typescript": "^5.2.2"
26
24
  },
27
- "scripts": {
28
- "package-compile": "tsup && publint",
29
- "package-recompile": "tsup && publint"
30
- },
31
25
  "description": "Primary SDK for using XYO Protocol 2.0",
32
26
  "docs": "dist/docs.json",
33
27
  "types": "dist/index.d.ts",
@@ -68,5 +62,5 @@
68
62
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
69
63
  },
70
64
  "sideEffects": false,
71
- "version": "2.73.4"
65
+ "version": "2.74.1"
72
66
  }
package/tsup.config.ts DELETED
@@ -1,16 +0,0 @@
1
- import { defineConfig } from 'tsup'
2
-
3
- // eslint-disable-next-line import/no-default-export
4
- export default defineConfig({
5
- bundle: true,
6
- cjsInterop: true,
7
- clean: false,
8
- dts: {
9
- entry: ['src/index.ts'],
10
- },
11
- entry: ['src/index.ts'],
12
- format: ['cjs', 'esm'],
13
- sourcemap: true,
14
- splitting: false,
15
- tsconfig: 'tsconfig.json',
16
- })