@xyo-network/crypto-cards-game-plugin 2.51.8 → 2.52.0-rc.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.
@@ -6,7 +6,7 @@ const crypto_cards_game_payload_plugin_1 = require("@xyo-network/crypto-cards-ga
6
6
  const payload_model_1 = require("@xyo-network/payload-model");
7
7
  const payloadset_plugin_1 = require("@xyo-network/payloadset-plugin");
8
8
  const Witness_1 = require("./Witness");
9
- const XyoCryptoCardsGamePlugin = () => (0, payloadset_plugin_1.createPayloadSetPlugin)({ required: { [crypto_cards_game_payload_plugin_1.XyoCryptoCardsGameSchema]: 1 }, schema: payload_model_1.PayloadSetSchema }, {
9
+ const XyoCryptoCardsGamePlugin = () => (0, payloadset_plugin_1.createPayloadSetWitnessPlugin)({ required: { [crypto_cards_game_payload_plugin_1.XyoCryptoCardsGameSchema]: 1 }, schema: payload_model_1.PayloadSetSchema }, {
10
10
  witness: (params) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
11
11
  const result = yield Witness_1.XyoCryptoCardsGameWitness.create(params);
12
12
  return result;
@@ -1 +1 @@
1
- {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;;AAAA,oGAAwF;AAExF,8DAA6D;AAC7D,sEAAgG;AAEhG,uCAAsF;AAE/E,MAAM,wBAAwB,GAAG,GAAG,EAAE,CAC3C,IAAA,0CAAsB,EACpB,EAAE,QAAQ,EAAE,EAAE,CAAC,2DAAwB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,gCAAgB,EAAE,EACzE;IACE,OAAO,EAAE,CAAO,MAAM,EAAE,EAAE;QACxB,MAAM,MAAM,GAAG,MAAM,mCAAyB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAC7D,OAAO,MAAM,CAAA;IACf,CAAC,CAAA;CACF,CACF,CAAA;AATU,QAAA,wBAAwB,4BASlC"}
1
+ {"version":3,"file":"Plugin.js","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":";;;;AAAA,oGAAwF;AACxF,8DAA6D;AAC7D,sEAA8E;AAE9E,uCAAqD;AAE9C,MAAM,wBAAwB,GAAG,GAAG,EAAE,CAC3C,IAAA,iDAA6B,EAC3B,EAAE,QAAQ,EAAE,EAAE,CAAC,2DAAwB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,gCAAgB,EAAE,EACzE;IACE,OAAO,EAAE,CAAO,MAAM,EAAE,EAAE;QACxB,MAAM,MAAM,GAAG,MAAM,mCAAyB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;QAC7D,OAAO,MAAmC,CAAA;IAC5C,CAAC,CAAA;CACF,CACF,CAAA;AATU,QAAA,wBAAwB,4BASlC"}
@@ -1,18 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.XyoCryptoCardsGameWitness = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const witness_1 = require("@xyo-network/witness");
6
5
  const Schema_1 = require("./Schema");
7
6
  class XyoCryptoCardsGameWitness extends witness_1.AbstractWitness {
8
- static create(params) {
9
- const _super = Object.create(null, {
10
- create: { get: () => super.create }
11
- });
12
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
13
- return (yield _super.create.call(this, params));
14
- });
15
- }
16
7
  observe(payloads) {
17
8
  return super.observe(payloads);
18
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Witness.js","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":";;;;AAEA,kDAAsG;AAEtG,qCAAgE;AAMhE,MAAa,yBAA0B,SAAQ,yBAA+D;IAG5G,MAAM,CAAgB,MAAM,CAAC,MAAuD;;;;;YAClF,OAAO,CAAC,MAAM,OAAM,MAAM,YAAC,MAAM,CAAC,CAA8B,CAAA;QAClE,CAAC;KAAA;IAEQ,OAAO,CAAC,QAAuB;QACtC,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;IAChC,CAAC;;AATH,8DAUC;AATiB,sCAAY,GAAG,8CAAqC,CAAA"}
1
+ {"version":3,"file":"Witness.js","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":";;;AAGA,kDAAsG;AAEtG,qCAAgE;AAQhE,MAAa,yBAA0B,SAAQ,yBAAgD;IAGpF,OAAO,CAAC,QAAuB;QACtC,OAAO,KAAK,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;IAChC,CAAC;;AALH,8DAMC;AALiB,sCAAY,GAAG,8CAAqC,CAAA"}