{"_id":"@apex-org/convector-core-chaincode","name":"@apex-org/convector-core-chaincode","dist-tags":{"canary":"1.3.10-0-alpha.2486f88c","latest":"1.3.10-0-alpha.2486f88c"},"versions":{"1.3.10-0-alpha.2486f88c":{"name":"@apex-org/convector-core-chaincode","version":"1.3.10-0-alpha.2486f88c","description":"Convector base chaincode to use in conjunction with controllers and models","license":"Apache-2.0","repository":{"type":"git","url":"https://github.com/hyperledger-labs/convector/tree/develop/%40worldsibu/convector-core-chaincode"},"keywords":["typescript","chaincode","blockchain","hyperledger","solutions","environment","hyperledger fabric","smart contract","run","hurley","composer"],"homepage":"https://worldsibu.tech/convector/convector-smart-contracts/","main":"./dist/src/index.js","typings":"./dist/src/index.d.ts","publishConfig":{"access":"public"},"scripts":{"start":"node ./start.js","start:debug":"nodemon --inspect=$DEBUG_PORT ./start.js","------------ STANDARD TASKS ------------":"","clean":"rimraf dist tests/dist","clean:docs":"rimraf docs","build":"npm run clean && tsc && tsc -p ./tests/tsconfig.json","lint":"tslint --fix -c '../../tslint.json' -p './tsconfig.json'","test":"mocha -r ts-node/register tests/**/*.spec.ts --reporter spec","prepare":"npm run build","predocs:generate":"npm run clean:docs","docs:generate":"typedoc src --mode file --out docs --target ES6 --excludePrivate","docs:serve":"http-server docs"},"dependencies":{"@theledger/fabric-chaincode-utils":"^4.0.1","@worldsibu/convector-core":"^1.3.9","@worldsibu/convector-storage-stub":"^1.3.9","reflect-metadata":"^0.1.12","semver":"^7.3.4","tslib":"^1.9.0"},"chaincodeDevDependencies":{"nodemon":"^1.18.10"},"devDependencies":{"http-server":"^0.11.1","mocha":"^5.0.3","npm-scripts-watcher":"^1.0.2","rimraf":"^2.6.2","ts-node":"^6.0.3","tslint":"^5.9.1","typedoc":"^0.11.1","typescript":"2.8.3"},"_id":"@apex-org/convector-core-chaincode@1.3.10-0-alpha.2486f88c","_nodeVersion":"10.18.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-IJ1WoOU3kWcPTYtIh6Sb5gCjG5nGsTpFlmVN5BAwl1MJAajKx9d+wau0GaQ+2v7HOkPzc/mzC9czLjve2gw++A==","shasum":"7323b750c830304b5604ef37298d523fb03e6197","tarball":"https://registry.npmjs.org/@apex-org/convector-core-chaincode/-/convector-core-chaincode-1.3.10-0-alpha.2486f88c.tgz","fileCount":21,"unpackedSize":38733,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRIY01T7U9JYAEiJwAiVsUqGldtK2M3x5OC5MrRAh2tAiAy0y8f0G4Ntbv3cGRcOAxNDRJTwfN0x/iwgzjGEnmQaA=="}]},"_npmUser":{"name":"akshaysood112","email":"akshay.sood@live.com"},"directories":{},"maintainers":[{"name":"akshaysood112","email":"akshay.sood@live.com"},{"name":"rodolfoleal","email":"rodolfo.pk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/convector-core-chaincode_1.3.10-0-alpha.2486f88c_1686238623433_0.30157394977885477"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-08T15:37:03.367Z","1.3.10-0-alpha.2486f88c":"2023-06-08T15:37:03.663Z","modified":"2023-06-08T15:37:03.838Z"},"maintainers":[{"name":"akshaysood112","email":"akshay.sood@live.com"},{"name":"rodolfoleal","email":"rodolfo.pk@gmail.com"}],"description":"Convector base chaincode to use in conjunction with controllers and models","homepage":"https://worldsibu.tech/convector/convector-smart-contracts/","keywords":["typescript","chaincode","blockchain","hyperledger","solutions","environment","hyperledger fabric","smart contract","run","hurley","composer"],"repository":{"type":"git","url":"https://github.com/hyperledger-labs/convector/tree/develop/%40worldsibu/convector-core-chaincode"},"license":"Apache-2.0","readme":"# Convector Base Chaincode\n\nThis module contains the code to build chaincodes using a model/controller system, where the models describe the different objects and controllers handle the business logic in a separate layer.\n\nThis is meant to be used with Hyperledger Fabric, and thus rely on the [chaincode stub](https://fabric-shim.github.io/ChaincodeStub.html) to access and persist data.\n\nAll the controllers' methods are registered using the convention `controller_function`, this way, if you want to invoke a function called `create` in a controller called `person`, you need to invoke the method `person_create`.\n\nIt's necessary to invoke the method `initControllers` after instantiate or upgrade the chaincode in order to initialize the controller mapping.\n","readmeFilename":"README.md"}