Socket
Socket
Sign inDemoInstall

@hyperledger/cactus-core-api

Package Overview
Dependencies
Maintainers
7
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.5.0 to 0.5.1-feat-1122.01a4d64d.130

dist/lib/main/typescript/generated/openapi/typescript-axios/common.js

47

dist/lib/main/typescript/generated/openapi/typescript-axios/api.js

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

* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -17,3 +17,3 @@ * The version of the OpenAPI document: 0.2.0

Object.defineProperty(exports, "__esModule", { value: true });
exports.PluginImportType = exports.LedgerType = exports.ConsensusAlgorithmFamily = exports.ConsensusAlgorithmFamiliesWithTxFinality = exports.ConsensusAlgorithmFamiliesWithOutTxFinality = void 0;
exports.PluginImportType = exports.LedgerType = exports.Constants = exports.ConsensusAlgorithmFamily = exports.ConsensusAlgorithmFamiliesWithTxFinality = exports.ConsensusAlgorithmFamiliesWithOutTxFinality = void 0;
/**

@@ -35,7 +35,7 @@ * Enumerates a list of consensus algorithm families that do not provide immediate finality

(function (ConsensusAlgorithmFamiliesWithTxFinality) {
ConsensusAlgorithmFamiliesWithTxFinality["AUTHORITY"] = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY";
ConsensusAlgorithmFamiliesWithTxFinality["STAKE"] = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE";
ConsensusAlgorithmFamiliesWithTxFinality["Authority"] = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY";
ConsensusAlgorithmFamiliesWithTxFinality["Stake"] = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE";
})(ConsensusAlgorithmFamiliesWithTxFinality = exports.ConsensusAlgorithmFamiliesWithTxFinality || (exports.ConsensusAlgorithmFamiliesWithTxFinality = {}));
/**
* 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.
* 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 foremost 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

@@ -46,7 +46,16 @@ * @enum {string}

(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["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 = {}));
/**
*
* @export
* @enum {string}
*/
var Constants;
(function (Constants) {
Constants["SocketIoConnectionPathV1"] = "/api/v1/async/socket-io/connect";
})(Constants = exports.Constants || (exports.Constants = {}));
/**
* 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.

@@ -58,10 +67,10 @@ * @export

(function (LedgerType) {
LedgerType["BESU1X"] = "BESU_1X";
LedgerType["BESU2X"] = "BESU_2X";
LedgerType["BURROW0X"] = "BURROW_0X";
LedgerType["CORDA4X"] = "CORDA_4X";
LedgerType["FABRIC14X"] = "FABRIC_14X";
LedgerType["FABRIC2"] = "FABRIC_2";
LedgerType["QUORUM2X"] = "QUORUM_2X";
LedgerType["SAWTOOTH1X"] = "SAWTOOTH_1X";
LedgerType["Besu1X"] = "BESU_1X";
LedgerType["Besu2X"] = "BESU_2X";
LedgerType["Burrow0X"] = "BURROW_0X";
LedgerType["Corda4X"] = "CORDA_4X";
LedgerType["Fabric14X"] = "FABRIC_14X";
LedgerType["Fabric2"] = "FABRIC_2";
LedgerType["Quorum2X"] = "QUORUM_2X";
LedgerType["Sawtooth1X"] = "SAWTOOTH_1X";
})(LedgerType = exports.LedgerType || (exports.LedgerType = {}));

@@ -75,5 +84,5 @@ /**

(function (PluginImportType) {
PluginImportType["LOCAL"] = "org.hyperledger.cactus.plugin_import_type.LOCAL";
PluginImportType["REMOTE"] = "org.hyperledger.cactus.plugin_import_type.REMOTE";
PluginImportType["Local"] = "org.hyperledger.cactus.plugin_import_type.LOCAL";
PluginImportType["Remote"] = "org.hyperledger.cactus.plugin_import_type.REMOTE";
})(PluginImportType = exports.PluginImportType || (exports.PluginImportType = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxl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ZBQWdFLENBQUE7QUFDcEUsQ0FBQyxFQUpXLHdCQUF3QixHQUF4QixnQ0FBd0IsS0FBeEIsZ0NBQXdCLFFBSW5DO0FBK0ZEOzs7O0dBSUc7QUFDSCxJQUFZLFNBRVg7QUFGRCxXQUFZLFNBQVM7SUFDakIseUVBQTRELENBQUE7QUFDaEUsQ0FBQyxFQUZXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBRXBCO0FBNktEOzs7O0dBSUc7QUFDSCxJQUFZLFVBU1g7QUFURCxXQUFZLFVBQVU7SUFDbEIsZ0NBQWtCLENBQUE7SUFDbEIsZ0NBQWtCLENBQUE7SUFDbEIsb0NBQXNCLENBQUE7SUFDdEIsa0NBQW9CLENBQUE7SUFDcEIsc0NBQXdCLENBQUE7SUFDeEIsa0NBQW9CLENBQUE7SUFDcEIsb0NBQXNCLENBQUE7SUFDdEIsd0NBQTBCLENBQUE7QUFDOUIsQ0FBQyxFQVRXLFVBQVUsR0FBVixrQkFBVSxLQUFWLGtCQUFVLFFBU3JCO0FBMkJEOzs7O0dBSUc7QUFDSCxJQUFZLGdCQUdYO0FBSEQsV0FBWSxnQkFBZ0I7SUFDeEIsNkVBQXlELENBQUE7SUFDekQsK0VBQTJELENBQUE7QUFDL0QsQ0FBQyxFQUhXLGdCQUFnQixHQUFoQix3QkFBZ0IsS0FBaEIsd0JBQWdCLFFBRzNCIn0=

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

* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -9,0 +9,0 @@ * The version of the OpenAPI document: 0.2.0

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

* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -26,5 +26,20 @@ * The version of the OpenAPI document: 0.2.0

this.baseOptions = param.baseOptions;
this.formDataCtor = param.formDataCtor;
}
/**
* Check if the given MIME is a JSON MIME.
* JSON MIME examples:
* application/json
* application/json; charset=UTF8
* APPLICATION/JSON
* application/vnd.company+json
* @param mime - MIME (Multipurpose Internet Mail Extensions)
* @return True if the given MIME is JSON, false otherwise.
*/
isJsonMime(mime) {
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
}
}
exports.Configuration = Configuration;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlndXJhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tYWluL3R5cGVzY3JpcHQvZ2VuZXJhdGVkL29wZW5hcGkvdHlwZXNjcmlwdC1heGlvcy9jb25maWd1cmF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxvQkFBb0I7QUFDcEIsb0JBQW9CO0FBQ3BCOzs7Ozs7Ozs7O0dBVUc7OztBQVlILE1BQWEsYUFBYTtJQTJDdEIsWUFBWSxRQUFpQyxFQUFFO1FBQzNDLElBQUksQ0FBQyxNQUFNLEdBQUcsS0FBSyxDQUFDLE1BQU0sQ0FBQztRQUMzQixJQUFJLENBQUMsUUFBUSxHQUF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FLLENBQUMsV0FBVyxDQUFDO1FBQ3JDLElBQUksQ0FBQyxZQUFZLEdBQUcsS0FBSyxDQUFDLFlBQVksQ0FBQztJQUMzQyxDQUFDO0lBRUQ7Ozs7Ozs7OztPQVNHO0lBQ0ksVUFBVSxDQUFDLElBQVk7UUFDMUIsTUFBTSxRQUFRLEdBQVcsSUFBSSxNQUFNLENBQUMsK0RBQStELEVBQUUsR0FBRyxDQUFDLENBQUM7UUFDMUcsT0FBTyxJQUFJLEtBQUssSUFBSSxJQUFJLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxJQUFJLENBQUMsV0FBVyxFQUFFLEtBQUssNkJBQTZCLENBQUMsQ0FBQztJQUMxRyxDQUFDO0NBQ0o7QUEzRUQsc0NBMkVDIn0=

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

* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -9,0 +9,0 @@ * The version of the OpenAPI document: 0.2.0

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isICactusPlugin = void 0;
function isICactusPlugin(pluginInstance) {
return typeof (pluginInstance === null || pluginInstance === void 0 ? void 0 : pluginInstance.getPackageName) === "function";
function isICactusPlugin(x) {
return (!!x &&
typeof x.getPackageName === "function" &&
typeof x.getInstanceId === "function");
}
exports.isICactusPlugin = isICactusPlugin;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYWN0dXMtcGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNjcmlwdC9wbHVnaW4vaS1jYWN0dXMtcGx1Z2luLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQWlGQSxTQUFnQixlQUFlLENBQzdCLGNBQW1CO0lBRW5CLE9BQU8sUUFBTyxjQUFjLGFBQWQsY0FBYyx1QkFBZCxjQUFjLENBQUUsY0FBYyxDQUFBLEtBQUssVUFBVSxDQUFDO0FBQzlELENBQUM7QUFKRCwwQ0FJQyJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYWN0dXMtcGx1Z2luLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNjcmlwdC9wbHVnaW4vaS1jYWN0dXMtcGx1Z2luLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQTBFQSxTQUFnQixlQUFlLENBQUMsQ0FBVTtJQUN4QyxPQUFPLENBQ0wsQ0FBQyxDQUFDLENBQUM7UUFDSCxPQUFRLENBQW1CLENBQUMsY0FBYyxLQUFLLFVBQVU7UUFDekQsT0FBUSxDQUFtQixDQUFDLGFBQWEsS0FBSyxVQUFVLENBQ3pELENBQUM7QUFDSixDQUFDO0FBTkQsMENBTUMifQ==

@@ -12,2 +12,2 @@ "use strict";

exports.isIEndpointAuthzOptions = isIEndpointAuthzOptions;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1lbmRwb2ludC1hdXRoei1vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNjcmlwdC9wbHVnaW4vd2ViLXNlcnZpY2UvaS1lbmRwb2ludC1hdXRoei1vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDhEQUFtRDtBQTZCbkQsU0FBZ0IsdUJBQXVCLENBQ3JDLENBQVU7O0lBRVYsT0FBTyxDQUNMLENBQUMsQ0FBQyxDQUFDO1FBQ0gsS0FBSyxDQUFDLE9BQU8sT0FBRSxDQUEyQiwwQ0FBRSxhQUFhLENBQUM7UUFDMUQscUJBQUssQ0FBQyxlQUFlLE9BQUUsQ0FBMkIsMENBQUUsV0FBVyxDQUFDLENBQ2pFLENBQUM7QUFDSixDQUFDO0FBUkQsMERBUUMifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1lbmRwb2ludC1hdXRoei1vcHRpb25zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21haW4vdHlwZXNjcmlwdC9wbHVnaW4vd2ViLXNlcnZpY2UvaS1lbmRwb2ludC1hdXRoei1vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDhEQUFtRDtBQTZCbkQsU0FBZ0IsdUJBQXVCLENBQ3JDLENBQVU7O0lBRVYsT0FBTyxDQUNMLENBQUMsQ0FBQyxDQUFDO1FBQ0gsS0FBSyxDQUFDLE9BQU8sQ0FBQyxNQUFDLENBQTJCLDBDQUFFLGFBQWEsQ0FBQztRQUMxRCxxQkFBSyxDQUFDLGVBQWUsQ0FBQyxNQUFDLENBQTJCLDBDQUFFLFdBQVcsQ0FBQyxDQUNqRSxDQUFDO0FBQ0osQ0FBQztBQVJELDBEQVFDIn0=
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isIPluginWebService = void 0;
function isIPluginWebService(pluginInstance) {
return (pluginInstance &&
typeof pluginInstance.registerWebServices ===
"function" &&
typeof pluginInstance.getOrCreateWebServices ===
"function" &&
typeof pluginInstance.getHttpServer === "function" &&
typeof pluginInstance.getPackageName ===
"function" &&
typeof pluginInstance.getAspect === "function" &&
typeof pluginInstance.shutdown === "function");
function isIPluginWebService(x) {
return (!!x &&
typeof x.registerWebServices === "function" &&
typeof x.getOrCreateWebServices === "function" &&
typeof x.getHttpServer === "function" &&
typeof x.getPackageName === "function" &&
typeof x.getInstanceId === "function" &&
typeof x.shutdown === "function");
}
exports.isIPluginWebService = isIPluginWebService;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wbHVnaW4td2ViLXNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWFpbi90eXBlc2NyaXB0L3BsdWdpbi93ZWItc2VydmljZS9pLXBsdWdpbi13ZWItc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFjQSxTQUFnQixtQkFBbUIsQ0FDakMsY0FBbUI7SUFFbkIsT0FBTyxDQUNMLGNBQWM7UUFDZCxPQUFRLGNBQW9DLENBQUMsbUJBQW1CO1lBQzlELFVBQVU7UUFDWixPQUFRLGNBQW9DLENBQUMsc0JBQXNCO1lBQ2pFLFVBQVU7UUFDWixPQUFRLGNBQW9DLENBQUMsYUFBYSxLQUFLLFVBQVU7UUFDekUsT0FBUSxjQUFvQyxDQUFDLGNBQWM7WUFDekQsVUFBVTtRQUNaLE9BQVEsY0FBb0MsQ0FBQyxTQUFTLEtBQUssVUFBVTtRQUNyRSxPQUFRLGNBQW9DLENBQUMsUUFBUSxLQUFLLFVBQVUsQ0FDckUsQ0FBQztBQUNKLENBQUM7QUFmRCxrREFlQyJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wbHVnaW4td2ViLXNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWFpbi90eXBlc2NyaXB0L3BsdWdpbi93ZWItc2VydmljZS9pLXBsdWdpbi13ZWItc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFvQkEsU0FBZ0IsbUJBQW1CLENBQUMsQ0FBVTtJQUM1QyxPQUFPLENBQ0wsQ0FBQyxDQUFDLENBQUM7UUFDSCxPQUFRLENBQXVCLENBQUMsbUJBQW1CLEtBQUssVUFBVTtRQUNsRSxPQUFRLENBQXVCLENBQUMsc0JBQXNCLEtBQUssVUFBVTtRQUNyRSxPQUFRLENBQXVCLENBQUMsYUFBYSxLQUFLLFVBQVU7UUFDNUQsT0FBUSxDQUF1QixDQUFDLGNBQWMsS0FBSyxVQUFVO1FBQzdELE9BQVEsQ0FBdUIsQ0FBQyxhQUFhLEtBQUssVUFBVTtRQUM1RCxPQUFRLENBQXVCLENBQUMsUUFBUSxLQUFLLFVBQVUsQ0FDeEQsQ0FBQztBQUNKLENBQUM7QUFWRCxrREFVQyJ9

@@ -13,5 +13,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.isIEndpointAuthzOptions = exports.PluginAspect = exports.isICactusPlugin = exports.PluginFactory = exports.isIPluginWebService = void 0;
exports.isIPluginObjectStore = exports.isIEndpointAuthzOptions = exports.isICactusPlugin = exports.PluginFactory = exports.isIPluginWebService = exports.isIPluginKeychain = void 0;
__exportStar(require("./generated/openapi/typescript-axios/index"), exports);
__exportStar(require("./generated/openapi/typescript-axios/base"), exports);
var is_i_plugin_keychain_1 = require("./plugin/keychain/is-i-plugin-keychain");
Object.defineProperty(exports, "isIPluginKeychain", { enumerable: true, get: function () { return is_i_plugin_keychain_1.isIPluginKeychain; } });
var i_plugin_web_service_1 = require("./plugin/web-service/i-plugin-web-service");

@@ -23,6 +25,6 @@ Object.defineProperty(exports, "isIPluginWebService", { enumerable: true, get: function () { return i_plugin_web_service_1.isIPluginWebService; } });

Object.defineProperty(exports, "isICactusPlugin", { enumerable: true, get: function () { return i_cactus_plugin_1.isICactusPlugin; } });
var plugin_aspect_1 = require("./plugin/plugin-aspect");
Object.defineProperty(exports, "PluginAspect", { enumerable: true, get: function () { return plugin_aspect_1.PluginAspect; } });
var i_endpoint_authz_options_1 = require("./plugin/web-service/i-endpoint-authz-options");
Object.defineProperty(exports, "isIEndpointAuthzOptions", { enumerable: true, get: function () { return i_endpoint_authz_options_1.isIEndpointAuthzOptions; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tYWluL3R5cGVzY3JpcHQvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUEsNkVBQTJEO0FBQzNELDRFQUEwRDtBQU8xRCxrRkFHbUQ7QUFEakQsMkhBQUEsbUJBQW1CLE9BQUE7QUFJckIsMERBQXdEO0FBQS9DLCtHQUFBLGFBQWEsT0FBQTtBQUV0Qiw0REFJa0M7QUFEaEMsa0hBQUEsZUFBZSxPQUFBO0FBR2pCLHdEQUFzRDtBQUE3Qyw2R0FBQSxZQUFZLE9BQUE7QUFNckIsMEZBR3VEO0FBRHJELG1JQUFBLHVCQUF1QixPQUFBIn0=
var is_i_plugin_object_store_1 = require("./plugin/object-store/is-i-plugin-object-store");
Object.defineProperty(exports, "isIPluginObjectStore", { enumerable: true, get: function () { return is_i_plugin_object_store_1.isIPluginObjectStore; } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tYWluL3R5cGVzY3JpcHQvcHVibGljLWFwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUEsNkVBQTJEO0FBQzNELDRFQUEwRDtBQUsxRCwrRUFBMkU7QUFBbEUseUhBQUEsaUJBQWlCLE9BQUE7QUFHMUIsa0ZBR21EO0FBRGpELDJIQUFBLG1CQUFtQixPQUFBO0FBSXJCLDBEQUF3RDtBQUEvQywrR0FBQSxhQUFhLE9BQUE7QUFFdEIsNERBSWtDO0FBRGhDLGtIQUFBLGVBQWUsT0FBQTtBQU9qQiwwRkFHdUQ7QUFEckQsbUlBQUEsdUJBQXVCLE9BQUE7QUFJekIsMkZBQXNGO0FBQTdFLGdJQUFBLG9CQUFvQixPQUFBIn0=
/**
* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -13,3 +13,3 @@ * The version of the OpenAPI document: 0.2.0

/**
* A Cactus node can be a single server, or a set of servers behind a loand balancer acting as one.
* A Cactus node can be a single server, or a set of servers behind a load balancer acting as one.
* @export

@@ -132,7 +132,7 @@ * @interface CactusNode

export declare enum ConsensusAlgorithmFamiliesWithTxFinality {
AUTHORITY = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY",
STAKE = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE"
Authority = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY",
Stake = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE"
}
/**
* 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.
* 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 foremost 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

@@ -142,5 +142,5 @@ * @enum {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"
Authority = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_AUTHORITY",
Stake = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_STAKE",
Work = "org.hyperledger.cactus.consensusalgorithm.PROOF_OF_WORK"
}

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

/**
* The complete collection of all ledger entities inexistence within the consortium.
* The complete collection of all ledger entities in existence within the consortium.
* @type {Array<Ledger>}

@@ -244,2 +244,10 @@ * @memberof ConsortiumDatabase

* @export
* @enum {string}
*/
export declare enum Constants {
SocketIoConnectionPathV1 = "/api/v1/async/socket-io/connect"
}
/**
*
* @export
* @interface GetKeychainEntryRequest

@@ -277,2 +285,72 @@ */

* @export
* @interface GetObjectRequestV1
*/
export interface GetObjectRequestV1 {
/**
* The key for the entry to get from the object store.
* @type {string}
* @memberof GetObjectRequestV1
*/
key: string;
}
/**
*
* @export
* @interface GetObjectResponseV1
*/
export interface GetObjectResponseV1 {
/**
* The key that was used to retrieve the value from the object store.
* @type {string}
* @memberof GetObjectResponseV1
*/
key: string;
/**
* The value associated with the requested key in the object store as a string.
* @type {string}
* @memberof GetObjectResponseV1
*/
value: string;
}
/**
*
* @export
* @interface HasObjectRequestV1
*/
export interface HasObjectRequestV1 {
/**
* The key to check for presence in the object store.
* @type {string}
* @memberof HasObjectRequestV1
*/
key: string;
}
/**
*
* @export
* @interface HasObjectResponseV1
*/
export interface HasObjectResponseV1 {
/**
* The key that was used to check the presence of the value in the object store.
* @type {string}
* @memberof HasObjectResponseV1
*/
key: string;
/**
* Date and time encoded as JSON when the presence check was performed by the plugin backend.
* @type {string}
* @memberof HasObjectResponseV1
*/
checkedAt: string;
/**
* The boolean true or false indicating the presence or absence of an object under \'key\'.
* @type {boolean}
* @memberof HasObjectResponseV1
*/
isPresent: boolean;
}
/**
*
* @export
* @interface JWSGeneral

@@ -352,10 +430,10 @@ */

export declare enum LedgerType {
BESU1X = "BESU_1X",
BESU2X = "BESU_2X",
BURROW0X = "BURROW_0X",
CORDA4X = "CORDA_4X",
FABRIC14X = "FABRIC_14X",
FABRIC2 = "FABRIC_2",
QUORUM2X = "QUORUM_2X",
SAWTOOTH1X = "SAWTOOTH_1X"
Besu1X = "BESU_1X",
Besu2X = "BESU_2X",
Burrow0X = "BURROW_0X",
Corda4X = "CORDA_4X",
Fabric14X = "FABRIC_14X",
Fabric2 = "FABRIC_2",
Quorum2X = "QUORUM_2X",
Sawtooth1X = "SAWTOOTH_1X"
}

@@ -393,4 +471,4 @@ /**

export declare enum PluginImportType {
LOCAL = "org.hyperledger.cactus.plugin_import_type.LOCAL",
REMOTE = "org.hyperledger.cactus.plugin_import_type.REMOTE"
Local = "org.hyperledger.cactus.plugin_import_type.LOCAL",
Remote = "org.hyperledger.cactus.plugin_import_type.REMOTE"
}

@@ -448,1 +526,33 @@ /**

}
/**
*
* @export
* @interface SetObjectRequestV1
*/
export interface SetObjectRequestV1 {
/**
* The key for the entry to set in the object store.
* @type {string}
* @memberof SetObjectRequestV1
*/
key: string;
/**
* The value that will be associated with the key in the object store.
* @type {string}
* @memberof SetObjectRequestV1
*/
value: string;
}
/**
*
* @export
* @interface SetObjectResponseV1
*/
export interface SetObjectResponseV1 {
/**
* The key that was used to set the value in the object store.
* @type {string}
* @memberof SetObjectResponseV1
*/
key: string;
}
/**
* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -5,0 +5,0 @@ * The version of the OpenAPI document: 0.2.0

/**
* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -19,2 +19,3 @@ * The version of the OpenAPI document: 0.2.0

baseOptions?: any;
formDataCtor?: new () => any;
}

@@ -63,3 +64,22 @@ export declare class Configuration {

baseOptions?: any;
/**
* The FormData constructor that will be used to create multipart form data
* requests. You can inject this here so that execution environments that
* do not support the FormData class can still run the generated client.
*
* @type {new () => FormData}
*/
formDataCtor?: new () => any;
constructor(param?: ConfigurationParameters);
/**
* Check if the given MIME is a JSON MIME.
* JSON MIME examples:
* application/json
* application/json; charset=UTF8
* APPLICATION/JSON
* application/vnd.company+json
* @param mime - MIME (Multipurpose Internet Mail Extensions)
* @return True if the given MIME is JSON, false otherwise.
*/
isJsonMime(mime: string): boolean;
}
/**
* Hyperledger Core API
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonLy needed type definitions from this specification. One example of said commonly used type definitons would be the types related to consortium management, cactus nodes, ledgers, etc..
* Contains/describes the core API types for Cactus. Does not describe actual endpoints on its own as this is left to the implementing plugins who can import and re-use commonly needed type definitions from this specification. One example of said commonly used type definitions would be the types related to consortium management, cactus nodes, ledgers, etc..
*

@@ -5,0 +5,0 @@ * The version of the OpenAPI document: 0.2.0

@@ -24,3 +24,3 @@ import { PluginImportType } from "./generated/openapi/typescript-axios/index";

* plugin is deployed that was implemented in your preferred programming
* langugage rather than Typescript/Javascript for example.)
* language rather than Typescript/Javascript for example.)
*

@@ -27,0 +27,0 @@ * Important note:

@@ -1,4 +0,3 @@

import { PluginAspect } from "./plugin-aspect";
/**
* The common interface definiton that plugin classes can use to inherit from
* The common interface definition that plugin classes can use to inherit from
* when defining their own options interface for their constructors.

@@ -57,3 +56,3 @@ *

*
* Important: This is not just uniqely identifying the plugin aspect, but the
* Important: This is not just uniquely identifying the plugin aspect, but the
* implementation as well.

@@ -71,9 +70,4 @@ * For example a plugin aspect would we `ledger-connector` or `storage` and

getPackageName(): string;
/**
* Returns the aspect of which this plugin implementation belongs to such as the aspect of `ledger-connector` or
* `storage` for example.
* There can be any number of plugin implementations for each aspect.
*/
getAspect(): PluginAspect;
onPluginInit(): Promise<unknown>;
}
export declare function isICactusPlugin(pluginInstance: any): pluginInstance is ICactusPlugin;
export declare function isICactusPlugin(x: unknown): x is ICactusPlugin;

@@ -10,3 +10,3 @@ import { ICactusPlugin } from "../i-cactus-plugin";

* this `IPluginKeychain` instance.
* This therefore does not uniqely identify the plugin instance itself, but
* This therefore does not uniquely identify the plugin instance itself, but
* its backend instead.

@@ -13,0 +13,0 @@ * Useful for being able to reference keychains by their IDs in deployment

@@ -15,3 +15,3 @@ import { ICactusPlugin } from "../i-cactus-plugin";

* @param options The options that is specific to the transaction and the
* type of ledger this connectir is targeted at.
* type of ledger this connection is targeted at.
*/

@@ -18,0 +18,0 @@ transact(options?: TransactIn): Promise<TransactOut>;

/// <reference types="node" />
import { Server } from "http";
import { Server as SecureServer } from "https";
import { Optional } from "typescript-optional";
import { Application } from "express";
import type { Server } from "http";
import type { Server as SecureServer } from "https";
import type { Optional } from "typescript-optional";
import type { Application } from "express";
import { IWebServiceEndpoint } from "./i-web-service-endpoint";
import { ICactusPlugin } from "../i-cactus-plugin";
import type { Server as SocketIoServer } from "socket.io";
export interface IPluginWebService extends ICactusPlugin {
getOrCreateWebServices(): Promise<IWebServiceEndpoint[]>;
registerWebServices(expressApp: Application): Promise<IWebServiceEndpoint[]>;
registerWebServices(expressApp: Application, wsApi: SocketIoServer): Promise<IWebServiceEndpoint[]>;
getHttpServer(): Optional<Server | SecureServer>;
shutdown(): Promise<void>;
}
export declare function isIPluginWebService(pluginInstance: any): pluginInstance is IPluginWebService;
export declare function isIPluginWebService(x: unknown): x is IPluginWebService;

@@ -18,3 +18,3 @@ import { Express } from "express";

* Internally this method uses the other methods of the `IWebServiceEndpoint`
* instnce to obtain the verb, path and handler which are the necessary
* instance to obtain the verb, path and handler which are the necessary
* input for being able to create any HTTP request handler in ExpressJS.

@@ -21,0 +21,0 @@ */

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

export { IPluginKeychain } from "./plugin/keychain/i-plugin-keychain";
export { isIPluginKeychain } from "./plugin/keychain/is-i-plugin-keychain";
export { IExpressRequestHandler } from "./plugin/web-service/i-express-request-handler";

@@ -12,5 +13,6 @@ export { IPluginWebService, isIPluginWebService, } from "./plugin/web-service/i-plugin-web-service";

export { ICactusPlugin, ICactusPluginOptions, isICactusPlugin, } from "./plugin/i-cactus-plugin";
export { PluginAspect } from "./plugin/plugin-aspect";
export { IPluginFactoryOptions } from "./i-plugin-factory-options";
export { PluginFactoryFactory } from "./plugin-factory-factory";
export { IEndpointAuthzOptions, isIEndpointAuthzOptions, } from "./plugin/web-service/i-endpoint-authz-options";
export { IPluginObjectStore } from "./plugin/object-store/i-plugin-object-store";
export { isIPluginObjectStore } from "./plugin/object-store/is-i-plugin-object-store";
{
"name": "@hyperledger/cactus-core-api",
"version": "0.5.0",
"version": "0.5.1-feat-1122.01a4d64d.130+01a4d64d",
"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.",

@@ -15,3 +15,3 @@ "main": "dist/lib/main/typescript/index.js",

"scripts": {
"generate-sdk": "openapi-generator generate --input-spec src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected",
"generate-sdk": "openapi-generator-cli generate -i ./src/main/json/openapi.json -g typescript-axios -o ./src/main/typescript/generated/openapi/typescript-axios/ --reserved-words-mappings protected=protected",
"pretsc": "npm run generate-sdk",

@@ -87,11 +87,11 @@ "tsc": "tsc --project ./tsconfig.json",

"devDependencies": {
"@types/express": "4.17.8"
"@types/express": "4.17.8",
"socket.io": "4.0.1",
"typescript-optional": "2.0.1"
},
"dependencies": {
"@hyperledger/cactus-common": "0.5.0",
"axios": "0.21.1",
"express": "4.17.1",
"typescript-optional": "2.0.1"
"@hyperledger/cactus-common": "^0.5.1-feat-1122.01a4d64d.130+01a4d64d",
"axios": "0.21.1"
},
"gitHead": "e53558dbcb64d0f408957fd7cbb1cf5d7255b560"
"gitHead": "01a4d64df747c43ac6857578c3f20bdcba4f2c26"
}

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 too big to display

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

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