Socket
Socket
Sign inDemoInstall

@hyperledger/cactus-core-api

Package Overview
Dependencies
Maintainers
6
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperledger/cactus-core-api - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

dist/lib/main/typescript/i-plugin-factory-options.js

22

CHANGELOG.md

@@ -6,2 +6,24 @@ # Change Log

# [0.3.0](https://github.com/hyperledger/cactus/compare/v0.1.0...v0.3.0) (2021-01-06)
### Bug Fixes
* open API generator config - protected keyword ([57e52f4](https://github.com/hyperledger/cactus/commit/57e52f42c3aaab653acb8838ba93518a5a097af8)), closes [#436](https://github.com/hyperledger/cactus/issues/436)
### Features
* **core-api:** 🎸 add IKeychainPlugin#getKeychainId() ([34656b0](https://github.com/hyperledger/cactus/commit/34656b0730f886619efbbddb512c094029cbbebd))
* **core-api:** add consensus algorithms OpenAPI enum ([7206b85](https://github.com/hyperledger/cactus/commit/7206b85d77d44707baea67a267318a0bea610a66)), closes [#359](https://github.com/hyperledger/cactus/issues/359)
* **core-api:** add instanceId getter to ICactusPlugin ([e50d9ce](https://github.com/hyperledger/cactus/commit/e50d9cef081708d7d6b92701f7f941c36ef6f920))
* **core-api:** getConsensusAlgorithmFamily() on connector API ([477dc7e](https://github.com/hyperledger/cactus/commit/477dc7ed5dfba9ae56060772d478aae349919f10)), closes [#355](https://github.com/hyperledger/cactus/issues/355)
* **plugin-consortium-manual:** JSON Web Signatures for Nodes, Consortium ([caf60b3](https://github.com/hyperledger/cactus/commit/caf60b3f69c81617787afe73ca12165baa2dce50))
* **plugin-registry:** get keychain by keychainId ([4d93c72](https://github.com/hyperledger/cactus/commit/4d93c72ca4c533697a47782946ba2a3549cc742a)), closes [#381](https://github.com/hyperledger/cactus/issues/381)
* **plugin-validator-besu:** generate signature of simple asset ([4c5c253](https://github.com/hyperledger/cactus/commit/4c5c2534b551cd972f0536e12d930ef995265ab4))
# [0.2.0](https://github.com/hyperledger/cactus/compare/v0.1.0...v0.2.0) (2020-12-01)

@@ -8,0 +30,0 @@

2

dist/cactus-core-api.node.umd.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("cactus-core-api",[],t):"object"==typeof exports?exports["cactus-core-api"]=t():e["cactus-core-api"]=t()}(this,(function(){return(()=>{"use strict";var e={410:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(711);t.Optional=r.Optional},711:function(e,t){var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){}return e.prototype.isEmpty=function(){return!this.isPresent()},e.of=function(e){if(null!=e)return new i(e);throw new TypeError("The passed value was null or undefined.")},e.ofNonNull=function(t){return e.of(t)},e.ofNullable=function(e){return null!=e?new i(e):new u},e.empty=function(){return new u},e.from=function(t){switch(t.kind){case"present":return e.of(t.value);case"empty":return e.empty();default:throw new TypeError("The passed value was not an Option type.")}},e}();t.Optional=o;var i=function(e){function t(t){var n=e.call(this)||this;return n.payload=t,n}return r(t,e),t.prototype.isPresent=function(){return!0},t.prototype.get=function(){return this.payload},t.prototype.ifPresent=function(e){e(this.payload)},t.prototype.ifPresentOrElse=function(e,t){e(this.payload)},t.prototype.filter=function(e){return e(this.payload)?this:o.empty()},t.prototype.map=function(e){var t=e(this.payload);return o.ofNullable(t)},t.prototype.flatMap=function(e){return e(this.payload)},t.prototype.or=function(e){return this},t.prototype.orElse=function(e){return this.payload},t.prototype.orElseGet=function(e){return this.payload},t.prototype.orElseThrow=function(e){return this.payload},t.prototype.orNull=function(){return this.payload},t.prototype.orUndefined=function(){return this.payload},t.prototype.toOption=function(){return{kind:"present",value:this.payload}},t.prototype.matches=function(e){return e.present(this.payload)},t.prototype.toJSON=function(e){return this.payload},t}(o),u=function(e){function t(){return e.call(this)||this}return r(t,e),t.prototype.isPresent=function(){return!1},t.prototype.get=function(){throw new TypeError("The optional is not present.")},t.prototype.ifPresent=function(e){},t.prototype.ifPresentOrElse=function(e,t){t()},t.prototype.filter=function(e){return this},t.prototype.map=function(e){return o.empty()},t.prototype.flatMap=function(e){return o.empty()},t.prototype.or=function(e){return e()},t.prototype.orElse=function(e){return e},t.prototype.orElseGet=function(e){return this.orElse(e())},t.prototype.orElseThrow=function(e){throw e()},t.prototype.orNull=function(){return null},t.prototype.orUndefined=function(){},t.prototype.toOption=function(){return{kind:"empty"}},t.prototype.matches=function(e){return e.empty()},t.prototype.toJSON=function(e){return null},t}(o)},564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerType=void 0,function(e){e.BESU1X="BESU_1X",e.BESU2X="BESU_2X",e.BURROW0X="BURROW_0X",e.CORDA4X="CORDA_4X",e.FABRIC14X="FABRIC_14X",e.FABRIC2="FABRIC_2",e.QUORUM2X="QUORUM_2X",e.SAWTOOTH1X="SAWTOOTH_1X"}(t.LedgerType||(t.LedgerType={}))},202:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;t.Configuration=class{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions}}},311:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(564),t),o(n(202),t)},882:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(764),t)},499:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isICactusPlugin=void 0,t.isICactusPlugin=function(e){return"function"==typeof(null==e?void 0:e.getPackageName)}},22:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginAspect=void 0,function(e){e.KEYCHAIN="KEYCHAIN",e.LEDGER_CONNECTOR="LEDGER_CONNECTOR",e.KV_STORAGE="KV_STORAGE",e.WEB_SERVICE="WEB_SERVICE",e.CONSORTIUM="CONSORTIUM",e.VALIDATOR="VALIDATOR"}(t.PluginAspect||(t.PluginAspect={}))},317:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginFactory=void 0;t.PluginFactory=class{}},217:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginRegistry=void 0;const r=n(410),o=n(499);t.PluginRegistry=class{constructor(e={}){this.options=e;const t="PluginRegistry#constructor()";if(!e)throw new TypeError(t+" options falsy");if(e.plugins&&!Array.isArray(e.plugins))throw new TypeError(t+" options.plugins truthy but non-Array");this.plugins=e.plugins||[]}getPlugins(){return this.plugins}getOneById(e){return this.findOneByPackageName(e).orElseThrow((()=>new Error(`Plugin ${e} not present in registry`)))}getOneByAspect(e){return this.findOneByAspect(e).orElseThrow((()=>new Error("No plugin with aspect: "+e)))}findOneByPackageName(e){const t=this.getPlugins().find((t=>t.getPackageName()===e));return r.Optional.ofNullable(t)}findManyByPackageName(e){return this.getPlugins().filter((t=>t.getPackageName()===e))}findOneByAspect(e){const t=this.getPlugins().find((t=>t.getAspect()===e));return r.Optional.ofNullable(t)}findManyByAspect(e){return this.getPlugins().filter((t=>t.getAspect()===e))}hasByAspect(e){return this.findOneByAspect(e).isPresent()}hasByPackageName(e){return this.findOneByPackageName(e).isPresent()}deleteByPackageName(e){let t=0;return this.plugins.forEach(((n,r)=>{n.getPackageName()===e&&(this.plugins.splice(r,1),t++)})),[t]}add(e,t=!1){if(!o.isICactusPlugin(e))throw new Error("PluginRegistry#add() plugin not an ICactusPlugin");const n=e.getPackageName();if(this.hasByPackageName(n)&&!t)throw new Error("PluginRegistry#add() already have plugin: "+n);let r=0;return t&&([r]=this.deleteByPackageName(e.getPackageName())),this.getPlugins().push(e),[r]}}},801:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isIPluginWebService=void 0,t.isIPluginWebService=function(e){return e&&"function"==typeof e.installWebServices&&"function"==typeof e.getHttpServer&&"function"==typeof e.getPackageName&&"function"==typeof e.getAspect&&"function"==typeof e.shutdown}},764:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.PluginRegistry=t.PluginAspect=t.isICactusPlugin=t.PluginFactory=t.isIPluginWebService=void 0,o(n(311),t);var i=n(801);Object.defineProperty(t,"isIPluginWebService",{enumerable:!0,get:function(){return i.isIPluginWebService}});var u=n(317);Object.defineProperty(t,"PluginFactory",{enumerable:!0,get:function(){return u.PluginFactory}});var s=n(499);Object.defineProperty(t,"isICactusPlugin",{enumerable:!0,get:function(){return s.isICactusPlugin}});var a=n(22);Object.defineProperty(t,"PluginAspect",{enumerable:!0,get:function(){return a.PluginAspect}});var p=n(217);Object.defineProperty(t,"PluginRegistry",{enumerable:!0,get:function(){return p.PluginRegistry}})}},t={};return function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}(882)})()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("cactus-core-api",[],t):"object"==typeof exports?exports["cactus-core-api"]=t():e["cactus-core-api"]=t()}(this,(function(){return(()=>{"use strict";var e={564:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerType=t.ConsensusAlgorithmFamily=void 0,function(e){e.AUTHORITY="org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY",e.STAKE="org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE",e.WORK="org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK"}(t.ConsensusAlgorithmFamily||(t.ConsensusAlgorithmFamily={})),function(e){e.BESU1X="BESU_1X",e.BESU2X="BESU_2X",e.BURROW0X="BURROW_0X",e.CORDA4X="CORDA_4X",e.FABRIC14X="FABRIC_14X",e.FABRIC2="FABRIC_2",e.QUORUM2X="QUORUM_2X",e.SAWTOOTH1X="SAWTOOTH_1X"}(t.LedgerType||(t.LedgerType={}))},202:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;t.Configuration=class{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions}}},311:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(564),t),r(n(202),t)},882:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(764),t)},499:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isICactusPlugin=void 0,t.isICactusPlugin=function(e){return"function"==typeof(null==e?void 0:e.getPackageName)}},22:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginAspect=void 0,function(e){e.KEYCHAIN="KEYCHAIN",e.LEDGER_CONNECTOR="LEDGER_CONNECTOR",e.KV_STORAGE="KV_STORAGE",e.WEB_SERVICE="WEB_SERVICE",e.CONSORTIUM="CONSORTIUM"}(t.PluginAspect||(t.PluginAspect={}))},317:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginFactory=void 0;t.PluginFactory=class{}},801:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isIPluginWebService=void 0,t.isIPluginWebService=function(e){return e&&"function"==typeof e.installWebServices&&"function"==typeof e.getHttpServer&&"function"==typeof e.getPackageName&&"function"==typeof e.getAspect&&"function"==typeof e.shutdown}},764:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.PluginAspect=t.isICactusPlugin=t.PluginFactory=t.isIPluginWebService=void 0,r(n(311),t);var o=n(801);Object.defineProperty(t,"isIPluginWebService",{enumerable:!0,get:function(){return o.isIPluginWebService}});var u=n(317);Object.defineProperty(t,"PluginFactory",{enumerable:!0,get:function(){return u.PluginFactory}});var c=n(499);Object.defineProperty(t,"isICactusPlugin",{enumerable:!0,get:function(){return c.isICactusPlugin}});var s=n(22);Object.defineProperty(t,"PluginAspect",{enumerable:!0,get:function(){return s.PluginAspect}})}},t={};return function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}(882)})()}));
//# sourceMappingURL=cactus-core-api.node.umd.min.js.map

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("cactus-core-api",[],t):"object"==typeof exports?exports["cactus-core-api"]=t():e["cactus-core-api"]=t()}(this,(function(){return(()=>{"use strict";var e={468:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(713);t.Optional=r.Optional},713:function(e,t){var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(){}return e.prototype.isEmpty=function(){return!this.isPresent()},e.of=function(e){if(null!=e)return new i(e);throw new TypeError("The passed value was null or undefined.")},e.ofNonNull=function(t){return e.of(t)},e.ofNullable=function(e){return null!=e?new i(e):new u},e.empty=function(){return new u},e.from=function(t){switch(t.kind){case"present":return e.of(t.value);case"empty":return e.empty();default:throw new TypeError("The passed value was not an Option type.")}},e}();t.Optional=o;var i=function(e){function t(t){var n=e.call(this)||this;return n.payload=t,n}return r(t,e),t.prototype.isPresent=function(){return!0},t.prototype.get=function(){return this.payload},t.prototype.ifPresent=function(e){e(this.payload)},t.prototype.ifPresentOrElse=function(e,t){e(this.payload)},t.prototype.filter=function(e){return e(this.payload)?this:o.empty()},t.prototype.map=function(e){var t=e(this.payload);return o.ofNullable(t)},t.prototype.flatMap=function(e){return e(this.payload)},t.prototype.or=function(e){return this},t.prototype.orElse=function(e){return this.payload},t.prototype.orElseGet=function(e){return this.payload},t.prototype.orElseThrow=function(e){return this.payload},t.prototype.orNull=function(){return this.payload},t.prototype.orUndefined=function(){return this.payload},t.prototype.toOption=function(){return{kind:"present",value:this.payload}},t.prototype.matches=function(e){return e.present(this.payload)},t.prototype.toJSON=function(e){return this.payload},t}(o),u=function(e){function t(){return e.call(this)||this}return r(t,e),t.prototype.isPresent=function(){return!1},t.prototype.get=function(){throw new TypeError("The optional is not present.")},t.prototype.ifPresent=function(e){},t.prototype.ifPresentOrElse=function(e,t){t()},t.prototype.filter=function(e){return this},t.prototype.map=function(e){return o.empty()},t.prototype.flatMap=function(e){return o.empty()},t.prototype.or=function(e){return e()},t.prototype.orElse=function(e){return e},t.prototype.orElseGet=function(e){return this.orElse(e())},t.prototype.orElseThrow=function(e){throw e()},t.prototype.orNull=function(){return null},t.prototype.orUndefined=function(){},t.prototype.toOption=function(){return{kind:"empty"}},t.prototype.matches=function(e){return e.empty()},t.prototype.toJSON=function(e){return null},t}(o)},380:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerType=void 0,function(e){e.BESU1X="BESU_1X",e.BESU2X="BESU_2X",e.BURROW0X="BURROW_0X",e.CORDA4X="CORDA_4X",e.FABRIC14X="FABRIC_14X",e.FABRIC2="FABRIC_2",e.QUORUM2X="QUORUM_2X",e.SAWTOOTH1X="SAWTOOTH_1X"}(t.LedgerType||(t.LedgerType={}))},294:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;t.Configuration=class{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions}}},69:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(380),t),o(n(294),t)},548:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),o(n(826),t)},681:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isICactusPlugin=void 0,t.isICactusPlugin=function(e){return"function"==typeof(null==e?void 0:e.getPackageName)}},175:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginAspect=void 0,function(e){e.KEYCHAIN="KEYCHAIN",e.LEDGER_CONNECTOR="LEDGER_CONNECTOR",e.KV_STORAGE="KV_STORAGE",e.WEB_SERVICE="WEB_SERVICE",e.CONSORTIUM="CONSORTIUM",e.VALIDATOR="VALIDATOR"}(t.PluginAspect||(t.PluginAspect={}))},933:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginFactory=void 0;t.PluginFactory=class{}},704:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginRegistry=void 0;const r=n(468),o=n(681);t.PluginRegistry=class{constructor(e={}){this.options=e;const t="PluginRegistry#constructor()";if(!e)throw new TypeError(t+" options falsy");if(e.plugins&&!Array.isArray(e.plugins))throw new TypeError(t+" options.plugins truthy but non-Array");this.plugins=e.plugins||[]}getPlugins(){return this.plugins}getOneById(e){return this.findOneByPackageName(e).orElseThrow((()=>new Error(`Plugin ${e} not present in registry`)))}getOneByAspect(e){return this.findOneByAspect(e).orElseThrow((()=>new Error("No plugin with aspect: "+e)))}findOneByPackageName(e){const t=this.getPlugins().find((t=>t.getPackageName()===e));return r.Optional.ofNullable(t)}findManyByPackageName(e){return this.getPlugins().filter((t=>t.getPackageName()===e))}findOneByAspect(e){const t=this.getPlugins().find((t=>t.getAspect()===e));return r.Optional.ofNullable(t)}findManyByAspect(e){return this.getPlugins().filter((t=>t.getAspect()===e))}hasByAspect(e){return this.findOneByAspect(e).isPresent()}hasByPackageName(e){return this.findOneByPackageName(e).isPresent()}deleteByPackageName(e){let t=0;return this.plugins.forEach(((n,r)=>{n.getPackageName()===e&&(this.plugins.splice(r,1),t++)})),[t]}add(e,t=!1){if(!o.isICactusPlugin(e))throw new Error("PluginRegistry#add() plugin not an ICactusPlugin");const n=e.getPackageName();if(this.hasByPackageName(n)&&!t)throw new Error("PluginRegistry#add() already have plugin: "+n);let r=0;return t&&([r]=this.deleteByPackageName(e.getPackageName())),this.getPlugins().push(e),[r]}}},801:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isIPluginWebService=void 0,t.isIPluginWebService=function(e){return e&&"function"==typeof e.installWebServices&&"function"==typeof e.getHttpServer&&"function"==typeof e.getPackageName&&"function"==typeof e.getAspect&&"function"==typeof e.shutdown}},826:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.PluginRegistry=t.PluginAspect=t.isICactusPlugin=t.PluginFactory=t.isIPluginWebService=void 0,o(n(69),t);var i=n(801);Object.defineProperty(t,"isIPluginWebService",{enumerable:!0,get:function(){return i.isIPluginWebService}});var u=n(933);Object.defineProperty(t,"PluginFactory",{enumerable:!0,get:function(){return u.PluginFactory}});var s=n(681);Object.defineProperty(t,"isICactusPlugin",{enumerable:!0,get:function(){return s.isICactusPlugin}});var a=n(175);Object.defineProperty(t,"PluginAspect",{enumerable:!0,get:function(){return a.PluginAspect}});var p=n(704);Object.defineProperty(t,"PluginRegistry",{enumerable:!0,get:function(){return p.PluginRegistry}})}},t={};return function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}(548)})()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("cactus-core-api",[],t):"object"==typeof exports?exports["cactus-core-api"]=t():e["cactus-core-api"]=t()}(this,(function(){return(()=>{"use strict";var e={380:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.LedgerType=t.ConsensusAlgorithmFamily=void 0,function(e){e.AUTHORITY="org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY",e.STAKE="org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE",e.WORK="org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK"}(t.ConsensusAlgorithmFamily||(t.ConsensusAlgorithmFamily={})),function(e){e.BESU1X="BESU_1X",e.BESU2X="BESU_2X",e.BURROW0X="BURROW_0X",e.CORDA4X="CORDA_4X",e.FABRIC14X="FABRIC_14X",e.FABRIC2="FABRIC_2",e.QUORUM2X="QUORUM_2X",e.SAWTOOTH1X="SAWTOOTH_1X"}(t.LedgerType||(t.LedgerType={}))},294:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Configuration=void 0;t.Configuration=class{constructor(e={}){this.apiKey=e.apiKey,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.baseOptions=e.baseOptions}}},69:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(380),t),r(n(294),t)},548:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(826),t)},681:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isICactusPlugin=void 0,t.isICactusPlugin=function(e){return"function"==typeof(null==e?void 0:e.getPackageName)}},175:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginAspect=void 0,function(e){e.KEYCHAIN="KEYCHAIN",e.LEDGER_CONNECTOR="LEDGER_CONNECTOR",e.KV_STORAGE="KV_STORAGE",e.WEB_SERVICE="WEB_SERVICE",e.CONSORTIUM="CONSORTIUM"}(t.PluginAspect||(t.PluginAspect={}))},933:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PluginFactory=void 0;t.PluginFactory=class{}},801:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isIPluginWebService=void 0,t.isIPluginWebService=function(e){return e&&"function"==typeof e.installWebServices&&"function"==typeof e.getHttpServer&&"function"==typeof e.getPackageName&&"function"==typeof e.getAspect&&"function"==typeof e.shutdown}},826:function(e,t,n){var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.PluginAspect=t.isICactusPlugin=t.PluginFactory=t.isIPluginWebService=void 0,r(n(69),t);var o=n(801);Object.defineProperty(t,"isIPluginWebService",{enumerable:!0,get:function(){return o.isIPluginWebService}});var u=n(933);Object.defineProperty(t,"PluginFactory",{enumerable:!0,get:function(){return u.PluginFactory}});var c=n(681);Object.defineProperty(t,"isICactusPlugin",{enumerable:!0,get:function(){return c.isICactusPlugin}});var s=n(175);Object.defineProperty(t,"PluginAspect",{enumerable:!0,get:function(){return s.PluginAspect}})}},t={};return function n(i){if(t[i])return t[i].exports;var r=t[i]={exports:{}};return e[i].call(r.exports,r,r.exports,n),r.exports}(548)})()}));
//# sourceMappingURL=cactus-core-api.web.umd.min.js.map

@@ -16,4 +16,15 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.LedgerType = void 0;
exports.LedgerType = exports.ConsensusAlgorithmFamily = void 0;
/**
* Enumerates a list of consensus algorithm families in existence. Does not intend to be an exhaustive list, just a practical one, meaning that we only include items here that are relevant to Hyperledger Cactus in fulfilling its own duties. This can be extended later as more sophisticated features of Cactus get implemented. This enum is meant to be first and foremest a useful abstraction for achieving practical tasks, not an encyclopedia and therefore we ask of everyone that this to be extended only in ways that serve a practical purpose for the runtime behavior of Cactus or Cactus plugins in general. The bottom line is that we can accept this enum being not 100% accurate as long as it 100% satisfies what it was designed to do.
* @export
* @enum {string}
*/
var ConsensusAlgorithmFamily;
(function (ConsensusAlgorithmFamily) {
ConsensusAlgorithmFamily["AUTHORITY"] = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY";
ConsensusAlgorithmFamily["STAKE"] = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE";
ConsensusAlgorithmFamily["WORK"] = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK";
})(ConsensusAlgorithmFamily = exports.ConsensusAlgorithmFamily || (exports.ConsensusAlgorithmFamily = {}));
/**
* Enumerates the different ledger vendors and their major versions encoded within the name of the LedgerType. For example \"BESU_1X\" involves all of the [1.0.0;2.0.0) where 1.0.0 is included and anything up until, but not 2.0.0. See: https://stackoverflow.com/a/4396303/698470 for further explanation.

@@ -34,2 +45,2 @@ * @export

})(LedgerType = exports.Led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QUMxRSw4RkFBa0UsQ0FBQTtJQUNsRSw0RkFBZ0UsQ0FBQTtBQUNwRSxDQUFDLEVBSlcsd0JBQXdCLEdBQXhCLGdDQUF3QixLQUF4QixnQ0FBd0IsUUFJbkM7QUFvS0Q7Ozs7R0FJRztBQUNILElBQVksVUFTWDtBQVRELFdBQVksVUFBVTtJQUNsQixnQ0FBa0IsQ0FBQTtJQUNsQixnQ0FBa0IsQ0FBQTtJQUNsQixvQ0FBc0IsQ0FBQTtJQUN0QixrQ0FBb0IsQ0FBQTtJQUNwQixzQ0FBd0IsQ0FBQTtJQUN4QixrQ0FBb0IsQ0FBQTtJQUNwQixvQ0FBc0IsQ0FBQTtJQUN0Qix3Q0FBMEIsQ0FBQTtBQUM5QixDQUFDLEVBVFcsVUFBVSxHQUFWLGtCQUFVLEtBQVYsa0JBQVUsUUFTckIifQ==

@@ -57,2 +57,131 @@ "use strict";

schemas: {
ConsensusAlgorithmFamily: {
type: "string",
description: "Enumerates a list of consensus algorithm families in " +
"existence. Does not intend to be an exhaustive list, just a " +
"practical one, meaning that we only include items here that are " +
"relevant to Hyperledger Cactus in fulfilling its own duties. " +
"This can be extended later as more sophisticated features " +
"of Cactus get implemented. " +
"This enum is meant to be first and foremest a useful abstraction " +
"for achieving practical tasks, not an encyclopedia and therefore " +
"we ask of everyone that this to be extended only in ways that " +
"serve a practical purpose for the runtime behavior of Cactus or " +
"Cactus plugins in general. The bottom line is that we can accept " +
"this enum being not 100% accurate as long as it 100% satisfies " +
"what it was designed to do.",
enum: [
"org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY",
"org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE",
"org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK",
],
},
PrimaryKey: {
type: "string",
minLength: 1,
maxLength: 128,
nullable: false,
},
ConsortiumMemberId: {
$ref: "#/components/schemas/PrimaryKey",
description: "ID of Consortium member who operates the ledger (if any). " +
"Defined as an optional property in case the ledger is a " +
"permissionless and/or public one such as the Bitcoin or " +
"Ethereum mainnets.",
},
CactusNodeId: {
$ref: "#/components/schemas/PrimaryKey",
description: "ID of a Cactus node that must uniquely distinguish it from all " +
"other Cactus nodes within a Consortium. Note that API server " +
"instances do not have their own identity the way a node does.",
},
ConsortiumId: {
$ref: "#/components/schemas/PrimaryKey",
},
LedgerId: {
description: "String that uniquely identifies a ledger within a" +
" Cactus consortium so that transactions can be routed to the" +
" correct ledger.",
$ref: "#/components/schemas/PrimaryKey",
},
PluginInstanceId: {
description: "String that uniquely identifies a plugin instance within a" +
" Cactus consortium so that requests can be addressed/routed " +
" directly to individual plugins when necessary.",
$ref: "#/components/schemas/PrimaryKey",
},
ConsortiumDatabase: {
required: [
"consortium",
"ledger",
"consortiumMember",
"cactusNode",
"pluginInstance",
],
properties: {
consortium: {
description: "A collection of Consortium entities. In practice " +
"this should only ever contain a single consortium, but we " +
"defined it as an array to keep the convention up with the" +
" rest of the collections defined in the Consortium data in " +
"general. Also, if we ever decide to somehow have some sort " +
"of consortium to consortium integration (which does not make " +
"much sense in the current frame of mind of the author in the " +
"year 2020) then having this as an array will have proven " +
"itself to be an excellent long term compatibility/" +
"extensibility decision indeed.",
type: "array",
items: {
$ref: "#/components/schemas/Consortium",
},
default: [],
minItems: 0,
maxItems: 2048,
},
ledger: {
description: "The complete collection of all ledger entities in" +
"existence within the consortium.",
type: "array",
items: {
$ref: "#/components/schemas/Ledger",
},
default: [],
minItems: 0,
maxItems: 2048,
},
consortiumMember: {
description: "The complete collection of all consortium member" +
" entities in existence within the consortium.",
type: "array",
items: {
$ref: "#/components/schemas/ConsortiumMember",
},
default: [],
minItems: 0,
maxItems: 2048,
},
cactusNode: {
description: "The complete collection of all cactus nodes" +
" entities in existence within the consortium.",
type: "array",
items: {
$ref: "#/components/schemas/CactusNode",
},
default: [],
minItems: 0,
maxItems: 2048,
},
pluginInstance: {
description: "The complete collection of all plugin instance" +
" entities in existence within the consortium.",
type: "array",
items: {
$ref: "#/components/schemas/PluginInstance",
},
default: [],
minItems: 0,
maxItems: 2048,
},
},
},
Ledger: {

@@ -63,9 +192,3 @@ type: "object",

id: {
description: "String that uniquely identifies a ledger within a" +
" Cactus consortium so that transactions can be routed to the" +
" correct ledger.",
type: "string",
nullable: false,
minLength: 1,
maxLength: 128,
$ref: "#/components/schemas/LedgerId",
},

@@ -76,7 +199,4 @@ ledgerType: {

},
operator: {
description: "The consortium member who is operating the ledger. " +
"Defined as an optional property in case the ledger is a " +
"permissionless one such as the Bitcoin or Ethereum mainnets.",
$ref: "#/components/schemas/ConsortiumMember",
consortiumMemberId: {
$ref: "#/components/schemas/ConsortiumMemberId",
},

@@ -105,6 +225,6 @@ },

type: "object",
required: ["id", "name", "mainApiHost", "members"],
required: ["id", "name", "mainApiHost", "memberIds"],
properties: {
id: {
type: "string",
$ref: "#/components/schemas/ConsortiumId",
},

@@ -117,7 +237,10 @@ name: {

},
members: {
memberIds: {
description: "The collection (array) of primary keys of" +
" consortium member entities that belong to this Consortium.",
type: "array",
items: {
$ref: "#/components/schemas/ConsortiumMember",
$ref: "#/components/schemas/ConsortiumMemberId",
},
default: [],
minItems: 1,

@@ -131,12 +254,12 @@ maxItems: 2048,

type: "object",
required: ["id", "name", "nodes"],
required: ["id", "name", "nodeIds"],
properties: {
id: {
type: "string",
minLength: 1,
maxLength: 2048,
nullable: false,
$ref: "#/components/schemas/ConsortiumMemberId",
},
name: {
type: "string",
description: "The human readable name a Consortium member can be " +
"referred to while making it easy for humans to distinguish " +
"this particular consortium member entity from any other ones.",
minLength: 1,

@@ -146,4 +269,5 @@ maxLength: 2048,

},
nodes: {
nodeIds: {
type: "array",
default: [],
nullable: false,

@@ -153,3 +277,3 @@ minItems: 1,

items: {
$ref: "#/components/schemas/CactusNode",
$ref: "#/components/schemas/CactusNodeId",
},

@@ -199,35 +323,21 @@ },

"publicKeyPem",
"plugins",
"ledgers",
"pluginInstanceIds",
"ledgerIds",
],
properties: {
id: {
type: "string",
description: "The unique identifier of a Cactus node. Recommended" +
" to assign a value to this that is guaranteed to be unique" +
" in the whole consortium or better yet, globally anywhere.",
$ref: "#/components/schemas/CactusNodeId",
example: "809a76ba-cfb8-4045-a5c6-ed70a7314c25",
minLength: 1,
maxLength: 1024,
nullable: false,
},
consortiumId: {
type: "string",
$ref: "#/components/schemas/ConsortiumId",
description: "ID of the Cactus Consortium this node is in.",
example: "3e2670d9-2d14-45bd-96f5-33e2c4b4e3fb",
minLength: 1,
maxLength: 1024,
nullable: false,
},
memberId: {
type: "string",
description: "ID of the Cactus Consortium member this " +
"node is operated by.",
$ref: "#/components/schemas/ConsortiumMemberId",
example: "b3674a28-e442-4feb-b1f3-8cbe46c20e5e",
minLength: 1,
maxLength: 1024,
nullable: false,
},
ledgers: {
description: "Stores an array of Ledger entities that are " +
ledgerIds: {
description: "Stores an array of Ledger entity IDs that are " +
"reachable (routable) via this Cactus Node. This " +

@@ -244,6 +354,6 @@ "information is used by the client side SDK API client to " +

items: {
$ref: "#/components/schemas/Ledger",
$ref: "#/components/schemas/LedgerId",
},
},
plugins: {
pluginInstanceIds: {
type: "array",

@@ -255,3 +365,3 @@ nullable: false,

items: {
$ref: "#/components/schemas/CactusPlugin",
$ref: "#/components/schemas/PluginInstanceId",
},

@@ -263,11 +373,8 @@ },

},
CactusPlugin: {
PluginInstance: {
type: "object",
required: ["id"],
required: ["id", "packageName"],
properties: {
id: {
type: "string",
minLength: 1,
maxLength: 1024,
nullable: false,
$ref: "PluginInstanceId",
},

@@ -300,5 +407,2 @@ packageName: {

},
// In the generated models this shows up as _protected because it is
// a reserved keyword in Typescript. Opened an issue here about this:
// https://github.com/OpenAPITools/openapi-generator/issues/7100
protected: {

@@ -349,2 +453,2 @@ type: "string",

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3BlbmFwaS1zcGVjLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNj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LENBQUMsQ0FBQztJQUN6RSxNQUFNLFdBQVcsR0FBRyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxJQUFJLFdBQVcsQ0FBQztJQUVuRCx1Q0FBdUM7SUFDdkMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEtBQUssZ0JBQWdCLFdBQVcsRUFBRSxDQUFDLENBQUM7SUFFbkQsRUFBRSxDQUFDLGFBQWEsQ0FBQyxXQUFXLEVBQUUsSUFBSSxDQUFDLFNBQVMsQ0FBQyw0QkFBb0IsRUFBRSxJQUFJLEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUMvRSxDQUFDO0FBWkQsNERBWUM7QUFFRCxJQUFJLE9BQU8sQ0FBQyxJQUFJLEtBQUssTUFBTSxFQUFFO0lBQzNCLHdCQUF3QixFQUFFLENBQUM7Q0FDNUIifQ==

@@ -11,4 +11,3 @@ "use strict";

PluginAspect["CONSORTIUM"] = "CONSORTIUM";
PluginAspect["VALIDATOR"] = "VALIDATOR";
})(PluginAspect = exports.PluginAspect || (exports.PluginAspect = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2luLWFzcGVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9tYWluL3R5cGVzY3JpcHQvcGx1Z2luL3BsdWdpbi1hc3BlY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsSUFBWSxZQU9YO0FBUEQsV0FBWSxZQUFZO0lBQ3RCLHFDQUFxQixDQUFBO0lBQ3JCLHFEQUFxQyxDQUFBO0lBQ3JDLHlDQUF5QixDQUFBO0lBQ3pCLDJDQUEyQixDQUFBO0lBQzNCLHlDQUF5QixDQUFBO0lBQ3pCLHVDQUF1QixDQUFBO0FBQ3pCLENBQUMsRUFQVyxZQUFZLEdBQVosb0JBQVksS0FBWixvQkFBWSxRQU92QiJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGx1Z2luLWFzcGVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9tYWluL3R5cGVzY3JpcHQvcGx1Z2luL3BsdWdpbi1hc3BlY3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsSUFBWSxZQU1YO0FBTkQsV0FBWSxZQUFZO0lBQ3RCLHFDQUFxQixDQUFBO0lBQ3JCLHFEQUFxQyxDQUFBO0lBQ3JDLHlDQUF5QixDQUFBO0lBQ3pCLDJDQUEyQixDQUFBO0lBQzNCLHlDQUF5QixDQUFBO0FBQzNCLENBQUMsRUFOVyxZQUFZLEdBQVosb0JBQVksS0FBWixvQkFBWSxRQU12QiJ9

@@ -13,3 +13,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.PluginRegistry = exports.PluginAspect = exports.isICactusPlugin = exports.PluginFactory = exports.isIPluginWebService = void 0;
exports.PluginAspect = exports.isICactusPlugin = exports.PluginFactory = exports.isIPluginWebService = void 0;
__exportStar(require("./generated/openapi/typescript-axios/index"), exports);

@@ -24,4 +24,2 @@ var i_plugin_web_service_1 = require("./plugin/web-service/i-plugin-web-service");

Object.defineProperty(exports, "PluginAspect", { enumerable: true, get: function () { return plugin_aspect_1.PluginAspect; } });
var plugin_registry_1 = require("./plugin/plugin-registry");
Object.defineProperty(exports, "PluginRegistry", { enumerable: true, get: function () { return plugin_registry_1.PluginRegistry; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tYWluL3R5cGVzY3JpcHQvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUEsNkVBQTJEO0FBSzNELGtGQUdtRDtBQURqRCwySEFBQSxtQkFBbUIsT0FBQTtBQUdyQiwwREFBd0Q7QUFBL0MsK0dBQUEsYUFBYSxPQUFBO0FBQ3RCLDREQUlrQztBQURoQyxrSEFBQSxlQUFlLE9BQUE7QUFFakIsd0RBQXNEO0FBQTdDLDZHQUFBLFlBQVksT0FBQTtBQUNyQiw0REFBMEQ7QUFBakQsaUhBQUEsY0FBYyxPQUFBIn0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tYWluL3R5cGVzY3JpcHQvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUEsNkVBQTJEO0FBSzNELGtGQUdtRDtBQURqRCwySEFBQSxtQkFBbUIsT0FBQTtBQUdyQiwwREFBd0Q7QUFBL0MsK0dBQUEsYUFBYSxPQUFBO0FBQ3RCLDREQUlrQztBQURoQyxrSEFBQSxlQUFlLE9BQUE7QUFFakIsd0RBQXNEO0FBQTdDLDZHQUFBLFlBQVksT0FBQSJ9

@@ -31,3 +31,3 @@ /**

/**
* The unique identifier of a Cactus node. Recommended to assign a value to this that is guaranteed to be unique in the whole consortium or better yet, globally anywhere.
*
* @type {string}

@@ -38,3 +38,3 @@ * @memberof CactusNode

/**
* ID of the Cactus Consortium this node is in.
*
* @type {string}

@@ -45,3 +45,3 @@ * @memberof CactusNode

/**
* ID of the Cactus Consortium member this node is operated by.
*
* @type {string}

@@ -52,13 +52,13 @@ * @memberof CactusNode

/**
* Stores an array of Ledger entities that are reachable (routable) via this Cactus Node. This information is used by the client side SDK API client to figure out at runtime where to send API requests that are specific to a certain ledger such as requests to execute transactions.
* @type {Array<Ledger>}
* Stores an array of Ledger entity IDs that are reachable (routable) via this Cactus Node. This information is used by the client side SDK API client to figure out at runtime where to send API requests that are specific to a certain ledger such as requests to execute transactions.
* @type {Array<string>}
* @memberof CactusNode
*/
ledgers: Array<Ledger>;
ledgerIds: Array<string>;
/**
*
* @type {Array<CactusPlugin>}
* @type {Array<string>}
* @memberof CactusNode
*/
plugins: Array<CactusPlugin>;
pluginInstanceIds: Array<string>;
}

@@ -72,3 +72,3 @@ /**

/**
* The unique identifier of a Cactus node. Recommended to assign a value to this that is guaranteed to be unique in the whole consortium or better yet, globally anywhere.
*
* @type {string}

@@ -79,3 +79,3 @@ * @memberof CactusNodeAllOf

/**
* ID of the Cactus Consortium this node is in.
*
* @type {string}

@@ -86,3 +86,3 @@ * @memberof CactusNodeAllOf

/**
* ID of the Cactus Consortium member this node is operated by.
*
* @type {string}

@@ -93,13 +93,13 @@ * @memberof CactusNodeAllOf

/**
* Stores an array of Ledger entities that are reachable (routable) via this Cactus Node. This information is used by the client side SDK API client to figure out at runtime where to send API requests that are specific to a certain ledger such as requests to execute transactions.
* @type {Array<Ledger>}
* Stores an array of Ledger entity IDs that are reachable (routable) via this Cactus Node. This information is used by the client side SDK API client to figure out at runtime where to send API requests that are specific to a certain ledger such as requests to execute transactions.
* @type {Array<string>}
* @memberof CactusNodeAllOf
*/
ledgers: Array<Ledger>;
ledgerIds: Array<string>;
/**
*
* @type {Array<CactusPlugin>}
* @type {Array<string>}
* @memberof CactusNodeAllOf
*/
plugins: Array<CactusPlugin>;
pluginInstanceIds: Array<string>;
}

@@ -126,19 +126,10 @@ /**

/**
*
* Enumerates a list of consensus algorithm families in existence. Does not intend to be an exhaustive list, just a practical one, meaning that we only include items here that are relevant to Hyperledger Cactus in fulfilling its own duties. This can be extended later as more sophisticated features of Cactus get implemented. This enum is meant to be first and foremest a useful abstraction for achieving practical tasks, not an encyclopedia and therefore we ask of everyone that this to be extended only in ways that serve a practical purpose for the runtime behavior of Cactus or Cactus plugins in general. The bottom line is that we can accept this enum being not 100% accurate as long as it 100% satisfies what it was designed to do.
* @export
* @interface CactusPlugin
* @enum {string}
*/
export interface CactusPlugin {
/**
*
* @type {string}
* @memberof CactusPlugin
*/
id: string;
/**
*
* @type {string}
* @memberof CactusPlugin
*/
packageName?: string;
export declare enum ConsensusAlgorithmFamily {
AUTHORITY = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY",
STAKE = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE",
WORK = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK"
}

@@ -170,7 +161,7 @@ /**

/**
*
* @type {Array<ConsortiumMember>}
* The collection (array) of primary keys of consortium member entities that belong to this Consortium.
* @type {Array<string>}
* @memberof Consortium
*/
members: Array<ConsortiumMember>;
memberIds: Array<string>;
}

@@ -180,2 +171,39 @@ /**

* @export
* @interface ConsortiumDatabase
*/
export interface ConsortiumDatabase {
/**
* A collection of Consortium entities. In practice this should only ever contain a single consortium, but we defined it as an array to keep the convention up with the rest of the collections defined in the Consortium data in general. Also, if we ever decide to somehow have some sort of consortium to consortium integration (which does not make much sense in the current frame of mind of the author in the year 2020) then having this as an array will have proven itself to be an excellent long term compatibility/extensibility decision indeed.
* @type {Array<Consortium>}
* @memberof ConsortiumDatabase
*/
consortium: Array<Consortium>;
/**
* The complete collection of all ledger entities inexistence within the consortium.
* @type {Array<Ledger>}
* @memberof ConsortiumDatabase
*/
ledger: Array<Ledger>;
/**
* The complete collection of all consortium member entities in existence within the consortium.
* @type {Array<ConsortiumMember>}
* @memberof ConsortiumDatabase
*/
consortiumMember: Array<ConsortiumMember>;
/**
* The complete collection of all cactus nodes entities in existence within the consortium.
* @type {Array<CactusNode>}
* @memberof ConsortiumDatabase
*/
cactusNode: Array<CactusNode>;
/**
* The complete collection of all plugin instance entities in existence within the consortium.
* @type {Array<PluginInstance>}
* @memberof ConsortiumDatabase
*/
pluginInstance: Array<PluginInstance>;
}
/**
*
* @export
* @interface ConsortiumMember

@@ -191,3 +219,3 @@ */

/**
*
* The human readable name a Consortium member can be referred to while making it easy for humans to distinguish this particular consortium member entity from any other ones.
* @type {string}

@@ -199,6 +227,6 @@ * @memberof ConsortiumMember

*
* @type {Array<CactusNode>}
* @type {Array<string>}
* @memberof ConsortiumMember
*/
nodes: Array<CactusNode>;
nodeIds: Array<string>;
}

@@ -241,3 +269,3 @@ /**

*/
_protected?: string;
protected?: string;
/**

@@ -259,3 +287,3 @@ *

/**
* String that uniquely identifies a ledger within a Cactus consortium so that transactions can be routed to the correct ledger.
*
* @type {string}

@@ -273,6 +301,6 @@ * @memberof Ledger

*
* @type {ConsortiumMember}
* @type {string}
* @memberof Ledger
*/
operator?: ConsortiumMember;
consortiumMemberId?: string;
}

@@ -294,1 +322,20 @@ /**

}
/**
*
* @export
* @interface PluginInstance
*/
export interface PluginInstance {
/**
*
* @type {string}
* @memberof PluginInstance
*/
id: string;
/**
*
* @type {string}
* @memberof PluginInstance
*/
packageName: string;
}
import { ICactusPlugin } from "../i-cactus-plugin";
import { ConsensusAlgorithmFamily } from "../../generated/openapi/typescript-axios/api";
/**

@@ -17,2 +18,9 @@ * Common interface to be implemented by plugins which are implementing the connection to ledgers.

transact(options?: TransactIn): Promise<TransactOut>;
/**
* Returns the family of algorithms in which the consensus algorithm used
* by the ledger (this connector is associated with) belongs in.
*
* @see {ConsensusAlgorithmFamily}
*/
getConsensusAlgorithmFamily(): Promise<ConsensusAlgorithmFamily>;
}

@@ -6,4 +6,3 @@ export declare enum PluginAspect {

WEB_SERVICE = "WEB_SERVICE",
CONSORTIUM = "CONSORTIUM",
VALIDATOR = "VALIDATOR"
CONSORTIUM = "CONSORTIUM"
}

@@ -11,2 +11,1 @@ export * from "./generated/openapi/typescript-axios/index";

export { PluginAspect } from "./plugin/plugin-aspect";
export { PluginRegistry } from "./plugin/plugin-registry";
{
"name": "@hyperledger/cactus-core-api",
"version": "0.2.0",
"version": "0.3.0",
"description": "Contains type definitions/interfaces for the kernel of the codebase. Kept separate from the implementation so that it is easier to use it as a dependency.",
"main": "dist/cactus-core-api.node.umd.js",
"main": "dist/lib/main/typescript/index.js",
"mainMinified": "dist/cactus-core-api.node.umd.min.js",

@@ -17,3 +17,3 @@ "browser": "dist/cactus-core-api.web.umd.js",

"pregenerate-sdk": "npm-run-all export-open-api-spec",
"generate-sdk": "openapi-generator generate --input-spec src/main/json/generated/openapi-spec.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/",
"generate-sdk": "openapi-generator generate --input-spec src/main/json/generated/openapi-spec.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected",
"pretsc": "npm run generate-sdk",

@@ -71,3 +71,3 @@ "tsc": "tsc --project ./tsconfig.json",

"dependencies": {
"axios": "0.20.0",
"axios": "0.21.1",
"joi": "14.3.1",

@@ -77,3 +77,3 @@ "openapi-types": "7.0.1",

},
"gitHead": "a2abbc0258c83be50def828e8e9ad9717ef89d72"
"gitHead": "10f19a20aa8b4479a13e363aaaeba2300aab6db0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc