@xyo-network/diviner 2.52.0-rc.2 → 2.52.0-rc.3

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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IdentityDiviner = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const assert_1 = require("@xylabs/assert");
5
6
  const module_1 = require("@xyo-network/module");
6
7
  const AbstractDiviner_1 = require("./AbstractDiviner");
7
8
  let IdentityDiviner = class IdentityDiviner extends AbstractDiviner_1.AbstractDiviner {
@@ -14,7 +15,7 @@ let IdentityDiviner = class IdentityDiviner extends AbstractDiviner_1.AbstractDi
14
15
  });
15
16
  }
16
17
  divine(payloads) {
17
- return payloads;
18
+ return (0, assert_1.assertEx)(payloads, 'IdentityDiviner requires passed payload');
18
19
  }
19
20
  };
20
21
  IdentityDiviner.targetSchema = 'network.xyo.test';
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityDiviner.js","sourceRoot":"","sources":["../../src/IdentityDiviner.ts"],"names":[],"mappings":";;;;AAEA,gDAAqD;AAKrD,uDAAmD;AAK5C,IAAM,eAAe,GAArB,MAAM,eAAuD,SAAQ,iCAAwB;IAGlG,MAAM,CAAgB,MAAM,CAAwC,MAAgB;;;;;YAClF,OAAO,CAAC,MAAM,OAAM,MAAM,YAAC,MAAM,CAAC,CAAkB,CAAA;QACtD,CAAC;KAAA;IAEQ,MAAM,CAAC,QAAqB;QACnC,OAAO,QAAQ,CAAA;IACjB,CAAC;;AARe,4BAAY,GAAG,kBAAkB,CAAA;AADtC,eAAe;IAD3B,IAAA,wBAAe,GAAE;GACL,eAAe,CAU3B;AAVY,0CAAe"}
1
+ {"version":3,"file":"IdentityDiviner.js","sourceRoot":"","sources":["../../src/IdentityDiviner.ts"],"names":[],"mappings":";;;;AAAA,2CAAyC;AAGzC,gDAAqD;AAKrD,uDAAmD;AAK5C,IAAM,eAAe,GAArB,MAAM,eAA+E,SAAQ,iCAAwB;IAG1H,MAAM,CAAgB,MAAM,CAAwC,MAAgB;;;;;YAClF,OAAO,CAAC,MAAM,OAAM,MAAM,YAAC,MAAM,CAAC,CAAoB,CAAA;QACxD,CAAC;KAAA;IAEQ,MAAM,CAAC,QAAsB;QACpC,OAAO,IAAA,iBAAQ,EAAC,QAAQ,EAAE,yCAAyC,CAAC,CAAA;IACtE,CAAC;;AARe,4BAAY,GAAG,kBAAkB,CAAA;AADtC,eAAe;IAD3B,IAAA,wBAAe,GAAE;GACL,eAAe,CAU3B;AAVY,0CAAe"}