@xyo-network/domain-plugin 2.64.10 → 2.65.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.
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DomainWitness = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const domain_payload_plugin_1 = require("@xyo-network/domain-payload-plugin");
6
5
  const witness_1 = require("@xyo-network/witness");
7
6
  const Config_1 = require("./Config");
@@ -9,13 +8,8 @@ class DomainWitness extends witness_1.AbstractWitness {
9
8
  static generateDmarc(domain) {
10
9
  return `${DomainWitness.dmarc}.${domain}`;
11
10
  }
12
- observe(_payload) {
13
- const _super = Object.create(null, {
14
- observe: { get: () => super.observe }
15
- });
16
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
17
- return yield _super.observe.call(this, [{ schema: domain_payload_plugin_1.DomainSchema }]);
18
- });
11
+ observeHandler(_payload) {
12
+ return [{ schema: domain_payload_plugin_1.DomainSchema }];
19
13
  }
20
14
  }
21
15
  exports.DomainWitness = DomainWitness;
@@ -1 +1 @@
1
- {"version":3,"file":"Witness.js","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":";;;;AAAA,8EAAiE;AAGjE,kDAAoF;AAEpF,qCAAyE;AAGzE,MAAa,aAAyE,SAAQ,yBAAwB;IAIpH,MAAM,CAAC,aAAa,CAAC,MAAc;QACjC,OAAO,GAAG,aAAa,CAAC,KAAK,IAAI,MAAM,EAAE,CAAA;IAC3C,CAAC;IAEc,OAAO,CAAC,QAAoB;;;;;YACzC,OAAO,MAAM,OAAM,OAAO,YAAC,CAAC,EAAE,MAAM,EAAE,oCAAY,EAAE,CAAC,CAAC,CAAA;QACxD,CAAC;KAAA;;AAVH,sCAWC;AAViB,2BAAa,GAAG,CAAC,kCAAyB,CAAC,CAAA;AACpD,mBAAK,GAAG,MAAM,CAAA"}
1
+ {"version":3,"file":"Witness.js","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":";;;AAAA,8EAAiE;AAIjE,kDAAoF;AAEpF,qCAAyE;AAGzE,MAAa,aAAyE,SAAQ,yBAAwB;IAIpH,MAAM,CAAC,aAAa,CAAC,MAAc;QACjC,OAAO,GAAG,aAAa,CAAC,KAAK,IAAI,MAAM,EAAE,CAAA;IAC3C,CAAC;IAEkB,cAAc,CAAC,QAAoB;QACpD,OAAO,CAAC,EAAE,MAAM,EAAE,oCAAY,EAAE,CAAC,CAAA;IACnC,CAAC;;AAVH,sCAWC;AAViB,2BAAa,GAAG,CAAC,kCAAyB,CAAC,CAAA;AACpD,mBAAK,GAAG,MAAM,CAAA"}