Socket
Socket
Sign inDemoInstall

fabric-shim

Package Overview
Dependencies
Maintainers
2
Versions
303
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabric-shim - npm Package Compare versions

Comparing version 2.3.1-dev-20210318 to 2.3.1-dev-20210322

.nyc_output/71563b07-a6a6-409d-bcbc-e0df9c2ee0ed.json

2

.nyc_output/processinfo/index.json

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

{"processes":{"b36bb4d5-b253-4528-9abb-f6474482df35":{"parent":null,"children":[]},"d789bd0f-c265-4d2e-a2c7-0e82f544cbdb":{"parent":null,"children":[]}},"files":{"/home/vsts/work/1/s/libraries/fabric-shim/lib/logger.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/stub.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/startCommand.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/chaincode.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/utils/utils.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/handler.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/iterators.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/server.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/utils/statebased.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/bootstrap.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/chaincodefromcontract.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/datamarshall.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/serverCommand.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/metadata.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/metadata/lib/generate.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/metadata/generateCommand.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/systemcontract.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/index.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"],"/home/vsts/work/1/s/libraries/fabric-shim/cli.js":["b36bb4d5-b253-4528-9abb-f6474482df35","d789bd0f-c265-4d2e-a2c7-0e82f544cbdb"]},"externalIds":{}}
{"processes":{"71563b07-a6a6-409d-bcbc-e0df9c2ee0ed":{"parent":null,"children":[]},"a74ae4a5-17b8-40c1-9ce8-a65595fd48da":{"parent":null,"children":[]}},"files":{"/home/vsts/work/1/s/libraries/fabric-shim/cli.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/index.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/chaincode.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/metadata.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/metadata/generateCommand.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/metadata/lib/generate.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/serverCommand.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/cmds/startCommand.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/bootstrap.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/chaincodefromcontract.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/datamarshall.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/contract-spi/systemcontract.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/handler.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/iterators.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/logger.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/server.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/stub.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/utils/statebased.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"],"/home/vsts/work/1/s/libraries/fabric-shim/lib/utils/utils.js":["71563b07-a6a6-409d-bcbc-e0df9c2ee0ed","a74ae4a5-17b8-40c1-9ce8-a65595fd48da"]},"externalIds":{}}

@@ -5,3 +5,3 @@ {

"libraries/fabric-shim/LICENSE": "8f71f43fee3f78649d238238cbde51e6d7055c82",
"libraries/fabric-shim/README.md": "6e9d85b71e585ce6ef61b7a0f8f489bae9a32422",
"libraries/fabric-shim/README.md": "da4676b56a48f515976a64a39989da2857b05fcc",
"libraries/fabric-shim/bundle.d.ts": "a3acd5e1ae8252c0f52f5955cfb4be790cad8686",

@@ -20,3 +20,3 @@ "libraries/fabric-shim/bundle.js": "33a0cd531033d11a2f8ee4851e664dc6fd28c4aa",

"libraries/fabric-shim/lib/contract-spi/bootstrap.js": "0e1bf65d809d35498cc10de73c9c567c4d28adc6",
"libraries/fabric-shim/lib/contract-spi/chaincodefromcontract.js": "cdde65fd4be57d61a6a82247fdde7c60c1a5efbe",
"libraries/fabric-shim/lib/contract-spi/chaincodefromcontract.js": "c4ca0eaa0d50902f067367f010b6364112627153",
"libraries/fabric-shim/lib/contract-spi/datamarshall.js": "b38d83260b32645a70cad87fa5bac28c0f5b5fe5",

@@ -31,3 +31,3 @@ "libraries/fabric-shim/lib/contract-spi/systemcontract.js": "43fdcc31a79a5f505c1da39d8db03ab6a0de60b6",

"libraries/fabric-shim/lib/utils/utils.js": "31f1f222ce6faaa804b88a805372506117e2c232",
"libraries/fabric-shim/package.json": "8e726c9308f49a571d02facc2846b7eb80a99648",
"libraries/fabric-shim/package.json": "e956be978b9683d362538853ceaf5da5966d47e3",
"libraries/fabric-shim/protos/common/collection.proto": "a09e815f81e4e9f05cb55d9e7fa8562141090743",

@@ -83,3 +83,3 @@ "libraries/fabric-shim/protos/common/common.proto": "24cbe1a3865680a16aaad8a1224f5d4e0d895893",

"libraries/fabric-shim/test/unit/contract-spi/bootstrap.js": "fa2cf5e6b01a7d6c6aa662a05a13fcfd6e0dac51",
"libraries/fabric-shim/test/unit/contract-spi/chaincodefromcontract.js": "68a70eb08af0f7a7d88ba22d499d721142781203",
"libraries/fabric-shim/test/unit/contract-spi/chaincodefromcontract.js": "33bdb099e2dfbe6fc8c31c4f0c737410cf7b5d30",
"libraries/fabric-shim/test/unit/contract-spi/datamarshall.js": "2aa3284962d1caa1eda532d92bf04db3878f4077",

@@ -86,0 +86,0 @@ "libraries/fabric-shim/test/unit/contract-spi/systemcontract.js": "1453b14ec1549be752f1615156ffaa7ee7986966",

@@ -186,3 +186,3 @@ /*

if (!metadata.$schema) {
metadata.$schema = 'https://hyperledger.github.io/fabric-chaincode-node/master/api/contract-schema.json';
metadata.$schema = 'https://hyperledger.github.io/fabric-chaincode-node/main/api/contract-schema.json';
}

@@ -189,0 +189,0 @@

{
"name": "fabric-shim",
"version": "2.3.1-dev-20210318",
"version": "2.3.1-dev-20210322",
"tag": "unstable",

@@ -62,4 +62,4 @@ "description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other",

"ajv": "^6.12.2",
"fabric-contract-api": "2.3.1-dev-20210318",
"fabric-shim-api": "2.3.1-dev-20210318",
"fabric-contract-api": "2.3.1-dev-20210322",
"fabric-shim-api": "2.3.1-dev-20210322",
"fs-extra": "^9.0.1",

@@ -66,0 +66,0 @@ "reflect-metadata": "^0.1.13",

@@ -21,3 +21,3 @@ [![NPM](https://nodei.co/npm/fabric-shim.svg?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/fabric-contract-api/)

### Usage
The [chaincode interface](https://hyperledger.github.io/fabric-chaincode-node/master/api/fabric-shim.ChaincodeInterface.html) contains two methods to be implemented:
The [chaincode interface](https://hyperledger.github.io/fabric-chaincode-node/main/api/fabric-shim.ChaincodeInterface.html) contains two methods to be implemented:
```javascript

@@ -57,3 +57,3 @@ const shim = require('fabric-shim');

### API Reference
Visit [API Reference](https://hyperledger.github.io/fabric-chaincode-node/master/api/) and click on "Classes" link in the navigation bar on the top to view the list of class APIs.
Visit [API Reference](https://hyperledger.github.io/fabric-chaincode-node/main/api/) and click on "Classes" link in the navigation bar on the top to view the list of class APIs.

@@ -60,0 +60,0 @@ ## Support

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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