lib/jsdoc/transform-apijson-for-sdk.js
function getLibraryPromise(oChainObject) {
		return new Promise(function(oResolve) {
			fs.readFile(oChainObject.libraryFile, 'utf8', (oError, oData) => {
				oChainObject.libraryFileData = oData;
				oResolve(oChainObject);
			});
		});
	}
function getLibraryPromise(oChainObject) {
		return new Promise(function(oResolve) {
			fs.readFile(oChainObject.libraryFile, 'utf8', (oError, oData) => {
				oChainObject.libraryFileData = oData;
				oResolve(oChainObject);
			});
		});
	}
function getLibraryPromise ( oChainObject ) { return new Promise ( function ( oResolve ) { fs . readFile ( oChainObject . libraryFile , 'utf8' , ( oError , oData ) => { oChainObject . libraryFileData = oData ; oResolve ( oChainObject ) ; } ) ; } ) ; }
Load .library file
@param oChainObject chain return object
@returns {Promise} library file promise
Load . library file