fabric-contract-api
Advanced tools
Comparing version 2.1.4 to 2.2.0
@@ -1,1 +0,1 @@ | ||
{"processes":{"812ba059-45a3-4869-ab0c-3af8bdd7e77f":{"parent":null,"children":[]},"ad76573a-cbbd-4060-a1b9-1cc5ea211731":{"parent":null,"children":[]}},"files":{"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/default.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/logger.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/info.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/object.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/utils.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/transaction.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/context.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/contract.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/index.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/index.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/jsontransactionserializer.js":["812ba059-45a3-4869-ab0c-3af8bdd7e77f","ad76573a-cbbd-4060-a1b9-1cc5ea211731"]},"externalIds":{}} | ||
{"processes":{"54c8cefa-e8ca-43e9-ac42-0b10beb97a32":{"parent":null,"children":[]},"b63f2b06-c938-4b29-8893-9146db144c6f":{"parent":null,"children":[]}},"files":{"/home/vsts/work/1/s/apis/fabric-contract-api/index.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/default.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/index.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/info.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/object.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/transaction.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/annotations/utils.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/context.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/contract.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/jsontransactionserializer.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"],"/home/vsts/work/1/s/apis/fabric-contract-api/lib/logger.js":["54c8cefa-e8ca-43e9-ac42-0b10beb97a32","b63f2b06-c938-4b29-8893-9146db144c6f"]},"externalIds":{}} |
@@ -5,3 +5,3 @@ { | ||
"apis/fabric-contract-api/LICENSE": "8f71f43fee3f78649d238238cbde51e6d7055c82", | ||
"apis/fabric-contract-api/README.md": "8368bf0afc022f2251bbba50c654b72e682ae70c", | ||
"apis/fabric-contract-api/README.md": "218f9fd9e91cd9b63674ec8e106a669598635fc7", | ||
"apis/fabric-contract-api/index.js": "9fb3008600448103fe7a4570ff354f571ddd2149", | ||
@@ -18,3 +18,3 @@ "apis/fabric-contract-api/lib/annotations/default.js": "d34755b6f25569cbe068d3ad3bd57f714964d9a3", | ||
"apis/fabric-contract-api/lib/logger.js": "8b92ac903d0529d809cadf14bcd5a000c5e41ca5", | ||
"apis/fabric-contract-api/package.json": "80c553995c875616009a483e14d01cbcd27ce50d", | ||
"apis/fabric-contract-api/package.json": "6625ece3fac8361cd22a114ca28a84e637d7d775", | ||
"apis/fabric-contract-api/schema/contract-schema.json": "e9109dc09122b63defe9ecbc9ec2076472ae1b16", | ||
@@ -38,8 +38,8 @@ "apis/fabric-contract-api/schema/data.json": "c8228d6ec022cc08f1d11234efa6b2af304b80e2", | ||
"apis/fabric-contract-api/test/unit/logger.js": "50a4a29705a1a5fd7082da49681fd64c68af52ac", | ||
"apis/fabric-contract-api/test/unit/metadata.json": "9eaff633a4b88226a9806338bbb35d6591b0bd6f", | ||
"apis/fabric-contract-api/test/unit/metadata.json": "dff2aa06e90e2761f5e8e44add729c269ebee00e", | ||
"apis/fabric-contract-api/types/index.d.ts": "6b51ce44908248df14c1a5c2a2dbfabb9c375571", | ||
"apis/fabric-contract-api/types/tsconfig.json": "8eabad9cba9295338da2c3ae8c391a5235638790", | ||
"apis/fabric-contract-api/.rush/temp/shrinkwrap-deps.json": "85cdc82239eea268d6fec9efcebeac22ef0c1e75" | ||
"apis/fabric-contract-api/.rush/temp/shrinkwrap-deps.json": "3a438fd3447df22ed1df6391fc83e6871ea21cce" | ||
}, | ||
"arguments": "npm run lint && npm run test:unit && npm run test:schema " | ||
} |
@@ -13,2 +13,3 @@ { | ||
"@babel/types@7.9.6": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", | ||
"@dabh/diagnostics@2.0.2": "sha512-+A1YivoVDNNVCdfozHSR8v/jyuuLTMXwjWuxPFlFlUapXoGc+Gj9mDlTDDfrwl7rXCl2tNZ0kE8sIBO6YOn96Q==", | ||
"@sinonjs/commons@1.7.2": "sha512-+DUO6pnp3udV/v2VfUWgaY5BIE1IfT7lLfeDzPVeMT1XKkaAp9LgSI9x5RtrFQoZ9Oi0PgXQQHPaoKu7dCjVxw==", | ||
@@ -25,3 +26,3 @@ "@sinonjs/formatio@3.2.2": "sha512-B8SEsgd8gArBLMD6zpRw3juQ2FVSsmdd7qlevyDqzS9WTCtvF55/gAL+h6gue8ZvPYcdiPdvueM/qm//9XzyTQ==", | ||
"acorn@7.2.0": "sha512-apwXVmYVpQ34m/i71vrApRrRKCWQnZZF1+npOD0WV5xZFfwWOmKGQ2RWlfdy9vWITsenisM8M0Qeq8agcFHNiQ==", | ||
"ajv-cli@3.1.0": "sha512-QSHstRjJin970EspY92Qr8lDGYE9C88AwW7LJYJ/MFhKDsE6I75H2b8WObCeF+2q/1fJiolm0xX7I/VyGmw/JQ==", | ||
"ajv-cli@3.2.1": "sha512-EZW2fqkQVMvp3oPfVrUZnh4nl/sENKpSG1q+R5wHqaM71EU7JAxzxYzvkjcgIRer6Y4HFkY1uCEHT/DMWE5apw==", | ||
"ajv-keywords@2.1.1_ajv@5.5.2": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", | ||
@@ -67,3 +68,3 @@ "ajv-pack@0.3.1": "sha1-tyxNQhnjko5ihC10Le2Tv1B5ZWA=", | ||
"async-settle@1.0.0": "sha1-HQqRS7Aldb7IqPOnTlCA9yssDGs=", | ||
"async@2.6.3": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", | ||
"async@3.2.0": "sha512-TR2mEZFVOj2pLStYxLht7TyfuRzaydfpxr3k9RpHIzMgw7A64dzsdqCxH1WJyQdoe8T10nDXd9wnEigmiuHIZw==", | ||
"atob@2.1.2": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", | ||
@@ -121,3 +122,2 @@ "babel-code-frame@6.26.0": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", | ||
"color@3.0.0": "sha512-jCpd5+s0s0t7p3pHQKpnJ0TpQKKdleP71LWcA0aqiljpiuAkOSUFN/dyH8ZwF0hRmFlrIuRhufds1QyEP9EB+w==", | ||
"colornames@1.1.1": "sha1-+IiQMGhcfE/54qVZ9Qd+t2qBb5Y=", | ||
"colors@1.4.0": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==", | ||
@@ -155,3 +155,2 @@ "colorspace@1.1.2": "sha512-vt+OoIP2d76xLhjwbBaucYlNSpPsrJWPlBTtwCpQKIu6/CSMutyzX93O/Do0qzpH3YoHEes8YEFXyZ797rEhzQ==", | ||
"detect-file@1.0.0": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", | ||
"diagnostics@1.1.1": "sha512-8wn1PmdunLJ9Tqbx+Fx/ZEuHfJf4NKSN2ZBj7SJC/OWRWha843+WsTjqMe1B5E3p28jqBlp+mJ2fPVxPyNgYKQ==", | ||
"diff@3.5.0": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", | ||
@@ -165,5 +164,4 @@ "doctrine@2.1.0": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", | ||
"emoji-regex@8.0.0": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", | ||
"enabled@1.0.2": "sha1-ll9lE9LC0cX0ZStkouM5ZGf8L5M=", | ||
"enabled@2.0.0": "sha512-AKrN98kuwOzMIdAizXGI86UFBoo26CL21UM763y1h/GMSJ4/OHU9k2YlsmBpyScFo/wbLzWQJBMCW4+IO3/+OQ==", | ||
"end-of-stream@1.4.4": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", | ||
"env-variable@0.0.6": "sha512-bHz59NlBbtS0NhftmR8+ExBEekE7br0e01jw+kk0NDro7TtZzBYZ5ScGPs3OmwnpyfHTHOtr1Y6uedCdrIldtg==", | ||
"error-ex@1.3.2": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", | ||
@@ -209,3 +207,3 @@ "es-abstract@1.17.5": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", | ||
"fast-safe-stringify@2.0.7": "sha512-Utm6CdzT+6xsDk2m8S6uL8VHxNwI6Jub+e9NYTcAms28T84pTa25GJQV9j0CY0N1rM8hK4x6grpF2BQf+2qwVA==", | ||
"fecha@2.3.3": "sha512-lUGBnIamTAwk4znq5BcqsDaxSmZ9nDVJaij6NvRt/Tg4R69gERA+otPKbS86ROw9nxVMw2/mp1fnaiWqbs6Sdg==", | ||
"fecha@4.2.0": "sha512-aN3pcx/DSmtyoovUudctc8+6Hl4T+hI9GBBHLjA76jdZl7+b1sgh5g4k+u/GL3dTy1/pnYzKp69FpJ0OicE3Wg==", | ||
"figures@2.0.0": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", | ||
@@ -229,2 +227,3 @@ "figures@3.2.0": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", | ||
"flush-write-stream@1.1.1": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", | ||
"fn.name@1.1.0": "sha512-GRnmB5gPyJpAhTQdSZTSp9uaPSvl09KoYcMQtsB9rQoOmzs9dH6ffeccH+Z+cv6P68Hu5bC6JjRh4Ah/mHSNRw==", | ||
"for-in@1.0.2": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", | ||
@@ -321,2 +320,3 @@ "for-own@1.0.0": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", | ||
"is-stream@1.1.0": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", | ||
"is-stream@2.0.0": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==", | ||
"is-symbol@1.0.3": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", | ||
@@ -348,2 +348,3 @@ "is-unc-path@1.0.0": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==", | ||
"json-stable-stringify-without-jsonify@1.0.1": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", | ||
"json5@2.1.3": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", | ||
"just-debounce@1.0.0": "sha1-h/zPrv/AtozRnVX2cilD+SnqNeo=", | ||
@@ -355,3 +356,3 @@ "just-extend@4.1.0": "sha512-ApcjaOdVTJ7y4r08xI5wIqpvwS48Q0PBG4DJROcEkH1f8MdAiNFyFxz3xoL0LWAVwjrwPYZdVHHxhRHcx/uGLA==", | ||
"kind-of@6.0.3": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", | ||
"kuler@1.0.1": "sha512-J9nVUucG1p/skKul6DU3PUZrhs0LPulNaeUOox0IyXDi8S4CztTHs1gQphhuZmzXG7VOQSf6NJfKuzteQLv9gQ==", | ||
"kuler@2.0.0": "sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==", | ||
"last-run@1.1.1": "sha1-RblpQsF7HHnHchmCWbqUO+v4yls=", | ||
@@ -369,3 +370,3 @@ "lazystream@1.0.0": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=", | ||
"log-symbols@2.2.0": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", | ||
"logform@2.1.2": "sha512-+lZh4OpERDBLqjiwDLpAWNQu6KMjnlXH2ByZwCuSqVPJletw0kTWJf5CgSNAUKn1KUkv3m2cUz/LK8zyEy7wzQ==", | ||
"logform@2.2.0": "sha512-N0qPlqfypFx7UHNn4B3lzS/b0uLqt2hmuoa+PpuXNYgozdJYAyauF5Ky0BWVjrxDlMWiT3qN4zPq3vVAfZy7Yg==", | ||
"lolex@4.2.0": "sha512-gKO5uExCXvSm6zbF562EvM+rd1kQDnB9AZBbiQVzf1ZmdDpxUSvpnAaVOP83N/31mRK8Ml8/VE8DMvsAZQ+7wg==", | ||
@@ -424,3 +425,3 @@ "lolex@5.1.2": "sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A==", | ||
"once@1.4.0": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", | ||
"one-time@0.0.4": "sha1-+M33eISCb+Tf+T46nMN7HkSAdC4=", | ||
"one-time@1.0.0": "sha512-5DXOiRKwuSEcQ/l0kGCF6Q3jcADFv5tSmRaJck/OqkVFcOzutB134KRSfF0xDrL39MNnqxbHBbUUcjZIhTgb2g==", | ||
"onetime@2.0.1": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", | ||
@@ -628,4 +629,4 @@ "onetime@5.1.0": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", | ||
"wide-align@1.1.3": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", | ||
"winston-transport@4.3.0": "sha512-B2wPuwUi3vhzn/51Uukcao4dIduEiPOcOt9HJ3QeaXgkJ5Z7UwpBzxS4ZGNHtrxrUvTwemsQiSys0ihOf8Mp1A==", | ||
"winston@3.2.1": "sha512-zU6vgnS9dAWCEKg/QYigd6cgMVVNwyTzKs81XZtTFuRwJOcDdBg7AU0mXVyNbs7O5RH2zdv+BdNZUlx7mXPuOw==", | ||
"winston-transport@4.4.0": "sha512-Lc7/p3GtqtqPBYYtS6KCN3c77/2QCev51DvcJKbkFPQNoj1sinkGwLGFDxkXY9J6p9+EPnYs+D90uwbnaiURTw==", | ||
"winston@3.3.2": "sha512-vTOrUZlyQPS8VpCcQ1JT8BumDAUe4awCHZ9nmGgO7LqkV4atj0dKa5suA7Trf7QKtBszE2yUs9d8744Kz9j4jQ==", | ||
"word-wrap@1.2.3": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", | ||
@@ -632,0 +633,0 @@ "wrap-ansi@2.1.0": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", |
{ | ||
"name": "fabric-contract-api", | ||
"version": "2.1.4", | ||
"version": "2.2.0", | ||
"tag": "latest", | ||
@@ -49,12 +49,12 @@ "description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other", | ||
"dependencies": { | ||
"fabric-shim-api": "2.1.4", | ||
"fabric-shim-api": "2.2.0", | ||
"class-transformer": "^0.2.2", | ||
"fast-safe-stringify": "~2.0.7", | ||
"fast-safe-stringify": "^2.0.7", | ||
"get-params": "^0.1.2", | ||
"reflect-metadata": "^0.1.12", | ||
"winston": "3.2.1" | ||
"reflect-metadata": "^0.1.13", | ||
"winston": "^3.3.2" | ||
}, | ||
"devDependencies": { | ||
"ajv": "^6.5.5", | ||
"ajv-cli": "^3.0.0", | ||
"ajv": "^6.12.2", | ||
"ajv-cli": "^3.2.1", | ||
"chai": "^4.1.1", | ||
@@ -61,0 +61,0 @@ "chai-as-promised": "^7.1.1", |
@@ -7,9 +7,9 @@ [![NPM](https://nodei.co/npm/fabric-contract-api.svg?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/fabric-contract-api/) | ||
The `fabric-contract-api` provides the *contract interface* a high level API for application developers to implement [Smart Contracts](https://hyperledger-fabric.readthedocs.io/en/latest/glossary.html#smart-contract). Working with this API provides a high level entry point to writing business logic. | ||
The `fabric-contract-api` provides the *contract interface* a high level API for application developers to implement [Smart Contracts](https://hyperledger-fabric.readthedocs.io/en/release-2.1/glossary.html#smart-contract). Working with this API provides a high level entry point to writing business logic. | ||
Within Hyperledger Fabric, Smart Contracts can also be referred to as [Chaincode](https://hyperledger-fabric.readthedocs.io/en/latest/glossary.html#chaincode). To be more specific, the term chaincode is preferred to be used to refer to the overall container that is hosting the contracts. | ||
Within Hyperledger Fabric, Smart Contracts can also be referred to as [Chaincode](https://hyperledger-fabric.readthedocs.io/en/release-2.1/glossary.html#chaincode). To be more specific, the term chaincode is preferred to be used to refer to the overall container that is hosting the contracts. | ||
The `fabric-shim` provides the *chaincode interface*, a lower level API for implementing "Smart Contracts". It also _currently_ provides the implementation to support communication with Hyperledger Fabric peers for Smart Contracts written using the `fabric-contract-api`. To confirm that this is the same as the `fabric-shim` in previous versions of Hyperledger Fabric. | ||
Detailed explanation on the concept and programming model can be found here: [http://hyperledger-fabric.readthedocs.io/en/latest/chaincode.html](http://hyperledger-fabric.readthedocs.io/en/latest/chaincode.html). | ||
Detailed explanation on the concept and programming model can be found here: [https://hyperledger-fabric.readthedocs.io/en/release-2.1/smartcontract/smartcontract.html](https://hyperledger-fabric.readthedocs.io/en/release-2.1/smartcontract/smartcontract.html). | ||
@@ -93,3 +93,3 @@ ## Contract Interface | ||
### Usage | ||
The [chaincode interface](https://fabric-shim.github.io/ChaincodeInterface.html) contains two methods to be implemented: | ||
The [chaincode interface](https://hyperledger.github.io/fabric-chaincode-node/release-2.1/api/fabric-shim.ChaincodeInterface.html) contains two methods to be implemented: | ||
```javascript | ||
@@ -129,3 +129,3 @@ const shim = require('fabric-shim'); | ||
### API Reference | ||
Visit [fabric-shim.github.io](https://fabric-shim.github.io/) 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/release-2.1/api/) and click on "Classes" link in the navigation bar on the top to view the list of class APIs. | ||
@@ -132,0 +132,0 @@ |
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
520634
2840
+ Added@dabh/diagnostics@2.0.3(transitive)
+ Addedasync@3.2.5(transitive)
+ Addedenabled@2.0.0(transitive)
+ Addedfabric-shim-api@2.2.0(transitive)
+ Addedfast-safe-stringify@2.1.1(transitive)
+ Addedfn.name@1.1.0(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedkuler@2.0.0(transitive)
+ Addedone-time@1.0.0(transitive)
+ Addedwinston@3.13.0(transitive)
- Removedasync@2.6.4(transitive)
- Removedcolornames@1.1.1(transitive)
- Removeddiagnostics@1.1.1(transitive)
- Removedenabled@1.0.2(transitive)
- Removedenv-variable@0.0.6(transitive)
- Removedfabric-shim-api@2.1.4(transitive)
- Removedfast-safe-stringify@2.0.8(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedkuler@1.0.1(transitive)
- Removedlodash@4.17.21(transitive)
- Removedone-time@0.0.4(transitive)
- Removedwinston@3.2.1(transitive)
Updatedfabric-shim-api@2.2.0
Updatedfast-safe-stringify@^2.0.7
Updatedreflect-metadata@^0.1.13
Updatedwinston@^3.3.2