fabric-shim
Advanced tools
Comparing version 2.5.4 to 2.5.5
@@ -1,1 +0,1 @@ | ||
{"processes":{"22720406-8b90-45c7-899b-9a67cf17aee5":{"parent":null,"children":[]},"3a5bf8e3-9a5a-4336-9f80-89b93d8f0238":{"parent":null,"children":[]}},"files":{"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/logger.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/stub.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/startCommand.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/chaincode.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/utils/utils.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/handler.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/iterators.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/server.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/utils/statebased.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/bootstrap.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/chaincodefromcontract.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/datamarshall.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/serverCommand.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/metadata.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/metadata/lib/generate.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/metadata/generateCommand.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/systemcontract.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/index.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/cli.js":["22720406-8b90-45c7-899b-9a67cf17aee5","3a5bf8e3-9a5a-4336-9f80-89b93d8f0238"]},"externalIds":{}} | ||
{"processes":{"581ad667-917d-4519-b203-93468b0e72e8":{"parent":null,"children":[]},"ac0f28c8-99ec-44fb-bfb8-d415113de9a1":{"parent":null,"children":[]}},"files":{"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/cli.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/index.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/chaincode.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/metadata.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/metadata/generateCommand.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/metadata/lib/generate.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/serverCommand.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/cmds/startCommand.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/bootstrap.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/chaincodefromcontract.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/datamarshall.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/contract-spi/systemcontract.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/handler.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/iterators.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/logger.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/server.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/stub.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/utils/statebased.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"],"/home/runner/work/fabric-chaincode-node/fabric-chaincode-node/libraries/fabric-shim/lib/utils/utils.js":["581ad667-917d-4519-b203-93468b0e72e8","ac0f28c8-99ec-44fb-bfb8-d415113de9a1"]},"externalIds":{}} |
{ | ||
"files": { | ||
"libraries/fabric-shim/.rush/temp/shrinkwrap-deps.json": "56675c611c0171cb1bee2bfd4c8c0a73b3e684b9", | ||
"libraries/fabric-shim/.npmignore": "dc2045f25a0bd5dc7b80476bbb2f651323ef99a5", | ||
"libraries/fabric-shim/LICENSE": "8f71f43fee3f78649d238238cbde51e6d7055c82", | ||
"libraries/fabric-shim/README.md": "da4676b56a48f515976a64a39989da2857b05fcc", | ||
"libraries/fabric-shim/cli.js": "3e3624b3f94aad2a107870a3a17e6a41c00c1330", | ||
"libraries/fabric-shim/cli.js": "4f439471ee50bae2c374d357865efe7efee1043d", | ||
"libraries/fabric-shim/index.js": "eba64698d0a41ece8360afab76da78dc8ffd24c5", | ||
@@ -12,6 +11,6 @@ "libraries/fabric-shim/lib/chaincode.js": "65c1fc78f3187f67f9adae410d704fd27fcde3f9", | ||
"libraries/fabric-shim/lib/cmds/metadata/generateCommand.js": "ea6667afdee00ebc34323991a20ab6a4ba7e4af7", | ||
"libraries/fabric-shim/lib/cmds/metadata/lib/generate.js": "d1a7b134d88e0e5c4001c039934101d496faeaa4", | ||
"libraries/fabric-shim/lib/cmds/metadata/lib/generate.js": "60762df10b127cf9e9907a2973244a9bc9b8def0", | ||
"libraries/fabric-shim/lib/cmds/serverCommand.js": "338db28bbdc993ed55b9d2ae447d3bcd8f6b871c", | ||
"libraries/fabric-shim/lib/cmds/startCommand.js": "d84c31d8d3557dde67cc96b379750d21b1bea613", | ||
"libraries/fabric-shim/lib/contract-spi/bootstrap.js": "fdd2939d2ea9461c45760cf5c52e7f8c2765bb76", | ||
"libraries/fabric-shim/lib/contract-spi/bootstrap.js": "04388d770fd80cc587b1e5f041750d889a60501b", | ||
"libraries/fabric-shim/lib/contract-spi/chaincodefromcontract.js": "d3142a99543b84758a740331bfe4f0d8878af009", | ||
@@ -21,3 +20,3 @@ "libraries/fabric-shim/lib/contract-spi/datamarshall.js": "b38d83260b32645a70cad87fa5bac28c0f5b5fe5", | ||
"libraries/fabric-shim/lib/handler.js": "628ff68a4eefeaa9608bd81acbc976bd3ae9120a", | ||
"libraries/fabric-shim/lib/iterators.js": "9016c8abb253dce02a2984ad2fded76bb3997ff8", | ||
"libraries/fabric-shim/lib/iterators.js": "9ca8e9cfdfc5c7122640a94270674ddcad0d4ddb", | ||
"libraries/fabric-shim/lib/logger.js": "930242e6c90270cf91378a4b167a4d5b3ba28d7e", | ||
@@ -28,6 +27,5 @@ "libraries/fabric-shim/lib/server.js": "9d6336b6d5b1a3f29b76588559b967d87b90ea51", | ||
"libraries/fabric-shim/lib/utils/utils.js": "64a2a327844f7a3309beb0010f8389f8d038cf73", | ||
"libraries/fabric-shim/package.json": "e16993a38a12f1d5d6972ed476e41416d2c82e25", | ||
"libraries/fabric-shim/package.json": "a4d6db8fdfce40b34a952ecb9d23e00f4c3195b8", | ||
"libraries/fabric-shim/startup.sh": "b0f86946114cd70f0462ef99b8c2d14248c034cc", | ||
"libraries/fabric-shim/test/typescript/chaincode.ts": "7bcd8bd2cec46f62baeb039661b7a1e064cedadc", | ||
"libraries/fabric-shim/test/typescript/tsconfig.json": "02a31c3aa79d1b3ad801d5c15f1a094d257119d8", | ||
"libraries/fabric-shim/test/typescript/chaincode.ts": "73ec0410fa520b79712666965f4ac25aaf359087", | ||
"libraries/fabric-shim/test/unit/chaincode.js": "da976fc126b7e68bd1138528c18112094b8ac70e", | ||
@@ -39,5 +37,5 @@ "libraries/fabric-shim/test/unit/cli.js": "fc528d426dacf79dd0b378b090343ec25a4a9871", | ||
"libraries/fabric-shim/test/unit/cmds/metadata/generateCommand.js": "686c44b1af976dd545ed30b5da02530f562bf93a", | ||
"libraries/fabric-shim/test/unit/cmds/metadata/lib/generate.js": "fc7a9c7dd2e9c370689dd0dda762c6bd7d568a5b", | ||
"libraries/fabric-shim/test/unit/cmds/metadata/lib/generate.js": "5171350d251c2270820412ef8f9ff1503f809b94", | ||
"libraries/fabric-shim/test/unit/cmds/serverCommand.js": "14426b2f6189cad41dfc69e847e57c06af17cd63", | ||
"libraries/fabric-shim/test/unit/contract-spi/bootstrap.js": "920cb99de48dda64033fe2df15654174d79d7c0f", | ||
"libraries/fabric-shim/test/unit/contract-spi/bootstrap.js": "a9c551638f5f9cd899075c62abe79dc7da7e0a35", | ||
"libraries/fabric-shim/test/unit/contract-spi/chaincodefromcontract.js": "46671cefee022d860d4f3f68ea23aa46a50395bc", | ||
@@ -60,6 +58,7 @@ "libraries/fabric-shim/test/unit/contract-spi/datamarshall.js": "076d71725521998610ff76d3153139efbdef613a", | ||
"libraries/fabric-shim/test/unit/utils/utils.js": "dca365f20fac9afe63f749dd6dce2b2a203876da", | ||
"libraries/fabric-shim/types/index.d.ts": "2e948ceffbeaa1f46b1fe5e6c54b334bde2da1c6", | ||
"libraries/fabric-shim/types/tsconfig.json": "ed09ed38db1792491a70a0300a3790c5ad4ae7cc" | ||
"libraries/fabric-shim/tsconfig.json": "59a3ec302e3072b2e4ef400664e329af1f662821", | ||
"libraries/fabric-shim/types/index.d.ts": "bafe7dd4eb7c4e9b2fc42a0d6da9cfaba1a56f4f", | ||
"libraries/fabric-shim/.rush/temp/shrinkwrap-deps.json": "1459a8cf692183cc3705bee89e6d08fe26a5e7eb" | ||
}, | ||
"arguments": "npm run lint & npm test 2>&1 " | ||
} |
@@ -33,3 +33,3 @@ #!/usr/bin/env node | ||
console.error(e); | ||
process.exit(1); | ||
process.exitCode = 1; | ||
}); |
@@ -7,4 +7,4 @@ /* | ||
'use strict'; | ||
const path = require('path'); | ||
const fs = require('fs-extra'); | ||
const path = require('node:path'); | ||
const {promises: fs} = require('node:fs'); | ||
const ChaincodeFromContract = require('../../../contract-spi/chaincodefromcontract.js'); | ||
@@ -11,0 +11,0 @@ const Bootstrap = require('../../../contract-spi/bootstrap.js'); |
@@ -8,6 +8,6 @@ /* | ||
const path = require('path'); | ||
const path = require('node:path'); | ||
const yargs = require('yargs'); | ||
const Ajv = require('ajv'); | ||
const fs = require('fs-extra'); | ||
const fs = require('node:fs'); | ||
@@ -113,7 +113,7 @@ const shim = require('../chaincode'); | ||
let metadataPath = path.resolve(modPath, 'META-INF', 'metadata.json'); | ||
let pathCheck = await fs.pathExists(metadataPath); | ||
let pathCheck = await fs.promises.access(metadataPath).then(() => true, () => false); | ||
if (!pathCheck) { | ||
metadataPath = path.resolve(modPath, 'contract-metadata', 'metadata.json'); | ||
pathCheck = await fs.pathExists(metadataPath); | ||
pathCheck = await fs.promises.access(metadataPath).then(() => true, () => false); | ||
} | ||
@@ -120,0 +120,0 @@ |
@@ -11,3 +11,3 @@ /* | ||
const { ledger } = require('@hyperledger/fabric-protos'); | ||
const {ledger} = require('@hyperledger/fabric-protos'); | ||
@@ -115,3 +115,3 @@ /** | ||
} | ||
return { done: true }; | ||
return {done: true}; | ||
} | ||
@@ -118,0 +118,0 @@ |
{ | ||
"name": "fabric-shim", | ||
"version": "2.5.4", | ||
"version": "2.5.5", | ||
"tag": "latest", | ||
@@ -20,3 +20,3 @@ "description": "A node.js implementation of Hyperledger Fabric chaincode shim, to allow endorsing peers and user-provided chaincodes to communicate with each other", | ||
"engines": { | ||
"node": "^18.0.0" | ||
"node": ">=18" | ||
}, | ||
@@ -51,6 +51,5 @@ "types": "./types/index.d.ts", | ||
"ajv": "^6.12.2", | ||
"fabric-contract-api": "2.5.4", | ||
"fabric-shim-api": "2.5.4", | ||
"fabric-contract-api": "2.5.5", | ||
"fabric-shim-api": "2.5.5", | ||
"fast-safe-stringify": "^2.1.1", | ||
"fs-extra": "^10.0.1", | ||
"long": "^5.2.3", | ||
@@ -86,6 +85,5 @@ "reflect-metadata": "^0.1.13", | ||
"update": "npm run update:clean && npm run update:copy && npm run update:pbjs && npm run update:pbts", | ||
"lint": "eslint ./lib", | ||
"lint": "eslint ./lib ./types ./test/typescript/*.ts --ext .js --ext .ts", | ||
"build": "npm run lint & npm test 2>&1" | ||
}, | ||
"readme": "[![NPM](https://nodei.co/npm/fabric-shim.svg?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/fabric-contract-api/)\n\n\n\n[![Version](https://badge.fury.io/js/fabric-shim.svg)](http://badge.fury.io/js/fabric-shim)\n\n\nThe `fabric-shim` provides the *chaincode interface*, a lower level API for implementing \"Smart Contracts\". To confirm that this is the same as the `fabric-shim` in previous versions of Hyperledger Fabric.\n\nDetailed explanation on the concept and programming model can be found here: [https://hyperledger-fabric.readthedocs.io/en/latest/smartcontract/smartcontract.html](https://hyperledger-fabric.readthedocs.io/en/latest/smartcontract/smartcontract.html).\n\n\n## Chaincode Interface\n\n### Installation\n```sh\nnpm install --save fabric-shim\n```\n\n### Usage\nThe [chaincode interface](https://hyperledger.github.io/fabric-chaincode-node/main/api/fabric-shim.ChaincodeInterface.html) contains two methods to be implemented:\n```javascript\nconst shim = require('fabric-shim');\n\nconst Chaincode = class {\n\tasync Init(stub) {\n\t\t// use the instantiate input arguments to decide initial chaincode state values\n\n\t\t// save the initial states\n\t\tawait stub.putState(key, Buffer.from(aStringValue));\n\n\t\treturn shim.success(Buffer.from('Initialized Successfully!'));\n\t}\n\n\tasync Invoke(stub) {\n\t\t// use the invoke input arguments to decide intended changes\n\n\t\t// retrieve existing chaincode states\n\t\tlet oldValue = await stub.getState(key);\n\n\t\t// calculate new state values and saves them\n\t\tlet newValue = oldValue + delta;\n\t\tawait stub.putState(key, Buffer.from(newValue));\n\n\t\treturn shim.success(Buffer.from(newValue.toString()));\n\t}\n};\n```\n\nStart the chaincode process and listen for incoming endorsement requests:\n```javascript\nshim.start(new Chaincode());\n```\n\n### API Reference\nVisit [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.\n\n## Support\nTested with node.js 8.9.0 (LTS).\n\n## License\n\nThis package is distributed under the\n[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0),\nsee LICENSE.txt for more information.\n" | ||
} | ||
} |
@@ -9,4 +9,4 @@ /* | ||
import { Logger } from 'winston'; | ||
import { ChannelOptions } from '@grpc/grpc-js' | ||
import {Logger} from 'winston'; | ||
import {ChannelOptions} from '@grpc/grpc-js'; | ||
@@ -16,2 +16,4 @@ import { | ||
ChaincodeProposal, | ||
ErrorResponse, | ||
SuccessResponse, | ||
ChaincodeResponse, | ||
@@ -31,2 +33,4 @@ ChaincodeStub as IChaincodeStub, | ||
ChaincodeProposal, | ||
ErrorResponse, | ||
SuccessResponse, | ||
ChaincodeResponse, | ||
@@ -39,14 +43,14 @@ Iterators, | ||
Timestamp | ||
} | ||
}; | ||
export function error(msg: Uint8Array): ChaincodeResponse; | ||
export function error(msg: string): ErrorResponse; | ||
export function newLogger(name: string): Logger; | ||
export function start(chaincode: ChaincodeInterface): any; | ||
export function success(payload?: Uint8Array): ChaincodeResponse; | ||
export function success(payload?: Uint8Array): SuccessResponse; | ||
export class Shim { | ||
static error(msg: Uint8Array): ChaincodeResponse; | ||
static error(msg: string): ErrorResponse; | ||
static newLogger(name: string): Logger; | ||
static start(chaincode: ChaincodeInterface): any; | ||
static success(payload?: Uint8Array): ChaincodeResponse; | ||
static success(payload?: Uint8Array): SuccessResponse; | ||
static server(chaincode: ChaincodeInterface, serverOpts: ChaincodeServerOpts): ChaincodeServer; | ||
@@ -98,2 +102,4 @@ } | ||
export class ChaincodeStub implements IChaincodeStub { | ||
static RESPONSE_CODE: ResponseCode; | ||
getArgs(): string[]; | ||
@@ -144,4 +150,2 @@ getStringArgs(): string[]; | ||
getPrivateDataQueryResult(collection: string, query: string): Promise<Iterators.StateQueryIterator> & AsyncIterable<Iterators.KV>; | ||
static RESPONSE_CODE: ResponseCode; | ||
} | ||
@@ -148,0 +152,0 @@ |
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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
1681864
14
15
4958
+ Addedfabric-contract-api@2.5.5(transitive)
+ Addedfabric-shim-api@2.5.5(transitive)
- Removedfs-extra@^10.0.1
- Removedfabric-contract-api@2.5.4(transitive)
- Removedfabric-shim-api@2.5.4(transitive)
- Removedfs-extra@10.1.0(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedjsonfile@6.1.0(transitive)
- Removeduniversalify@2.0.1(transitive)
Updatedfabric-contract-api@2.5.5
Updatedfabric-shim-api@2.5.5