@hyperledger/fabric-protos
Advanced tools
Comparing version 0.3.4-dev.10516101610.1 to 0.3.4-dev.10993850648.1
@@ -155,3 +155,3 @@ // source: common/collection.proto | ||
var f, obj = { | ||
configList: jspb.Message.toObjectList(msg.getConfigList(), | ||
configList: jspb.Message.toObjectList(msg.getConfigList(), | ||
proto.common.CollectionConfig.toObject, includeInstance) | ||
@@ -334,3 +334,3 @@ }; | ||
var f, obj = { | ||
staticCollectionConfig: (f = msg.getStaticCollectionConfig()) && proto.common.StaticCollectionConfig.toObject(includeInstance, f) | ||
staticCollectionConfig: (f = msg.getStaticCollectionConfig()) && proto.common.StaticCollectionConfig.toObject(includeInstance, f) | ||
}; | ||
@@ -486,10 +486,10 @@ | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
memberOrgsPolicy: (f = msg.getMemberOrgsPolicy()) && proto.common.CollectionPolicyConfig.toObject(includeInstance, f), | ||
requiredPeerCount: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
maximumPeerCount: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
blockToLive: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
memberOnlyRead: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), | ||
memberOnlyWrite: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), | ||
endorsementPolicy: (f = msg.getEndorsementPolicy()) && common_policies_pb.ApplicationPolicy.toObject(includeInstance, f) | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
memberOrgsPolicy: (f = msg.getMemberOrgsPolicy()) && proto.common.CollectionPolicyConfig.toObject(includeInstance, f), | ||
requiredPeerCount: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
maximumPeerCount: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
blockToLive: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
memberOnlyRead: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), | ||
memberOnlyWrite: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), | ||
endorsementPolicy: (f = msg.getEndorsementPolicy()) && common_policies_pb.ApplicationPolicy.toObject(includeInstance, f) | ||
}; | ||
@@ -894,3 +894,3 @@ | ||
var f, obj = { | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f) | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f) | ||
}; | ||
@@ -897,0 +897,0 @@ |
@@ -236,4 +236,4 @@ // source: common/configtx.proto | ||
var f, obj = { | ||
config: (f = msg.getConfig()) && proto.common.Config.toObject(includeInstance, f), | ||
lastUpdate: (f = msg.getLastUpdate()) && common_common_pb.Envelope.toObject(includeInstance, f) | ||
config: (f = msg.getConfig()) && proto.common.Config.toObject(includeInstance, f), | ||
lastUpdate: (f = msg.getLastUpdate()) && common_common_pb.Envelope.toObject(includeInstance, f) | ||
}; | ||
@@ -439,4 +439,4 @@ | ||
var f, obj = { | ||
sequence: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
channelGroup: (f = msg.getChannelGroup()) && proto.common.ConfigGroup.toObject(includeInstance, f) | ||
sequence: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
channelGroup: (f = msg.getChannelGroup()) && proto.common.ConfigGroup.toObject(includeInstance, f) | ||
}; | ||
@@ -628,4 +628,4 @@ | ||
var f, obj = { | ||
configUpdate: msg.getConfigUpdate_asB64(), | ||
signaturesList: jspb.Message.toObjectList(msg.getSignaturesList(), | ||
configUpdate: msg.getConfigUpdate_asB64(), | ||
signaturesList: jspb.Message.toObjectList(msg.getSignaturesList(), | ||
proto.common.ConfigSignature.toObject, includeInstance) | ||
@@ -836,6 +836,6 @@ }; | ||
var f, obj = { | ||
channelId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
readSet: (f = msg.getReadSet()) && proto.common.ConfigGroup.toObject(includeInstance, f), | ||
writeSet: (f = msg.getWriteSet()) && proto.common.ConfigGroup.toObject(includeInstance, f), | ||
isolatedDataMap: (f = msg.getIsolatedDataMap()) ? f.toObject(includeInstance, undefined) : [] | ||
channelId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
readSet: (f = msg.getReadSet()) && proto.common.ConfigGroup.toObject(includeInstance, f), | ||
writeSet: (f = msg.getWriteSet()) && proto.common.ConfigGroup.toObject(includeInstance, f), | ||
isolatedDataMap: (f = msg.getIsolatedDataMap()) ? f.toObject(includeInstance, undefined) : [] | ||
}; | ||
@@ -1103,7 +1103,7 @@ | ||
var f, obj = { | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
groupsMap: (f = msg.getGroupsMap()) ? f.toObject(includeInstance, proto.common.ConfigGroup.toObject) : [], | ||
valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, proto.common.ConfigValue.toObject) : [], | ||
policiesMap: (f = msg.getPoliciesMap()) ? f.toObject(includeInstance, proto.common.ConfigPolicy.toObject) : [], | ||
modPolicy: jspb.Message.getFieldWithDefault(msg, 5, "") | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
groupsMap: (f = msg.getGroupsMap()) ? f.toObject(includeInstance, proto.common.ConfigGroup.toObject) : [], | ||
valuesMap: (f = msg.getValuesMap()) ? f.toObject(includeInstance, proto.common.ConfigValue.toObject) : [], | ||
policiesMap: (f = msg.getPoliciesMap()) ? f.toObject(includeInstance, proto.common.ConfigPolicy.toObject) : [], | ||
modPolicy: jspb.Message.getFieldWithDefault(msg, 5, "") | ||
}; | ||
@@ -1366,5 +1366,5 @@ | ||
var f, obj = { | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
value: msg.getValue_asB64(), | ||
modPolicy: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
value: msg.getValue_asB64(), | ||
modPolicy: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
}; | ||
@@ -1581,5 +1581,5 @@ | ||
var f, obj = { | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
policy: (f = msg.getPolicy()) && common_policies_pb.Policy.toObject(includeInstance, f), | ||
modPolicy: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
policy: (f = msg.getPolicy()) && common_policies_pb.Policy.toObject(includeInstance, f), | ||
modPolicy: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
}; | ||
@@ -1793,4 +1793,4 @@ | ||
var f, obj = { | ||
signatureHeader: msg.getSignatureHeader_asB64(), | ||
signature: msg.getSignature_asB64() | ||
signatureHeader: msg.getSignatureHeader_asB64(), | ||
signature: msg.getSignature_asB64() | ||
}; | ||
@@ -1797,0 +1797,0 @@ |
@@ -232,3 +232,3 @@ // source: common/configuration.proto | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
name: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -363,3 +363,3 @@ | ||
var f, obj = { | ||
width: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
width: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
}; | ||
@@ -501,3 +501,3 @@ | ||
var f, obj = { | ||
addressesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
addressesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
}; | ||
@@ -651,9 +651,9 @@ | ||
var f, obj = { | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
host: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
port: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
mspId: jspb.Message.getFieldWithDefault(msg, 4, ""), | ||
identity: msg.getIdentity_asB64(), | ||
clientTlsCert: msg.getClientTlsCert_asB64(), | ||
serverTlsCert: msg.getServerTlsCert_asB64() | ||
id: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
host: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
port: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
mspId: jspb.Message.getFieldWithDefault(msg, 4, ""), | ||
identity: msg.getIdentity_asB64(), | ||
clientTlsCert: msg.getClientTlsCert_asB64(), | ||
serverTlsCert: msg.getServerTlsCert_asB64() | ||
}; | ||
@@ -1041,3 +1041,3 @@ | ||
var f, obj = { | ||
consenterMappingList: jspb.Message.toObjectList(msg.getConsenterMappingList(), | ||
consenterMappingList: jspb.Message.toObjectList(msg.getConsenterMappingList(), | ||
proto.common.Consenter.toObject, includeInstance) | ||
@@ -1195,3 +1195,3 @@ }; | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
name: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -1326,3 +1326,3 @@ | ||
var f, obj = { | ||
capabilitiesMap: (f = msg.getCapabilitiesMap()) ? f.toObject(includeInstance, proto.common.Capability.toObject) : [] | ||
capabilitiesMap: (f = msg.getCapabilitiesMap()) ? f.toObject(includeInstance, proto.common.Capability.toObject) : [] | ||
}; | ||
@@ -1329,0 +1329,0 @@ |
@@ -1,7 +0,7 @@ | ||
export * from './ledger_pb'; | ||
export * from './common_pb'; | ||
export * from './configtx_pb'; | ||
export * from './collection_pb'; | ||
export * from './configuration_pb'; | ||
export * from './common_pb'; | ||
export * from './configtx_pb'; | ||
export * from './policies_pb'; | ||
export * from './ledger_pb'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,8 +17,8 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./ledger_pb"), exports); | ||
__exportStar(require("./common_pb"), exports); | ||
__exportStar(require("./configtx_pb"), exports); | ||
__exportStar(require("./collection_pb"), exports); | ||
__exportStar(require("./configuration_pb"), exports); | ||
__exportStar(require("./common_pb"), exports); | ||
__exportStar(require("./configtx_pb"), exports); | ||
__exportStar(require("./policies_pb"), exports); | ||
__exportStar(require("./ledger_pb"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -100,6 +100,6 @@ // source: common/ledger.proto | ||
var f, obj = { | ||
height: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
currentblockhash: msg.getCurrentblockhash_asB64(), | ||
previousblockhash: msg.getPreviousblockhash_asB64(), | ||
bootstrappingsnapshotinfo: (f = msg.getBootstrappingsnapshotinfo()) && proto.common.BootstrappingSnapshotInfo.toObject(includeInstance, f) | ||
height: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
currentblockhash: msg.getCurrentblockhash_asB64(), | ||
previousblockhash: msg.getPreviousblockhash_asB64(), | ||
bootstrappingsnapshotinfo: (f = msg.getBootstrappingsnapshotinfo()) && proto.common.BootstrappingSnapshotInfo.toObject(includeInstance, f) | ||
}; | ||
@@ -390,3 +390,3 @@ | ||
var f, obj = { | ||
lastblockinsnapshot: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
lastblockinsnapshot: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
}; | ||
@@ -393,0 +393,0 @@ |
@@ -194,4 +194,4 @@ // source: common/policies.proto | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
value: msg.getValue_asB64() | ||
type: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
value: msg.getValue_asB64() | ||
}; | ||
@@ -396,5 +396,5 @@ | ||
var f, obj = { | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
rule: (f = msg.getRule()) && proto.common.SignaturePolicy.toObject(includeInstance, f), | ||
identitiesList: jspb.Message.toObjectList(msg.getIdentitiesList(), | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
rule: (f = msg.getRule()) && proto.common.SignaturePolicy.toObject(includeInstance, f), | ||
identitiesList: jspb.Message.toObjectList(msg.getIdentitiesList(), | ||
msp_msp_principal_pb.MSPPrincipal.toObject, includeInstance) | ||
@@ -657,4 +657,4 @@ }; | ||
var f, obj = { | ||
signedBy: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
nOutOf: (f = msg.getNOutOf()) && proto.common.SignaturePolicy.NOutOf.toObject(includeInstance, f) | ||
signedBy: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, | ||
nOutOf: (f = msg.getNOutOf()) && proto.common.SignaturePolicy.NOutOf.toObject(includeInstance, f) | ||
}; | ||
@@ -791,4 +791,4 @@ | ||
var f, obj = { | ||
n: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
rulesList: jspb.Message.toObjectList(msg.getRulesList(), | ||
n: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
rulesList: jspb.Message.toObjectList(msg.getRulesList(), | ||
proto.common.SignaturePolicy.toObject, includeInstance) | ||
@@ -1048,4 +1048,4 @@ }; | ||
var f, obj = { | ||
subPolicy: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
rule: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
subPolicy: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
rule: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -1244,4 +1244,4 @@ | ||
var f, obj = { | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && proto.common.SignaturePolicyEnvelope.toObject(includeInstance, f), | ||
channelConfigPolicyReference: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && proto.common.SignaturePolicyEnvelope.toObject(includeInstance, f), | ||
channelConfigPolicyReference: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f | ||
}; | ||
@@ -1248,0 +1248,0 @@ |
@@ -0,3 +1,3 @@ | ||
export * from './protocol_grpc_pb'; | ||
export * from './protocol_pb'; | ||
export * from './protocol_grpc_pb'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./protocol_grpc_pb"), exports); | ||
__exportStar(require("./protocol_pb"), exports); | ||
__exportStar(require("./protocol_grpc_pb"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -87,5 +87,5 @@ // source: google/rpc/status.proto | ||
var f, obj = { | ||
code: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
message: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
detailsList: jspb.Message.toObjectList(msg.getDetailsList(), | ||
code: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
message: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
detailsList: jspb.Message.toObjectList(msg.getDetailsList(), | ||
google_protobuf_any_pb.Any.toObject, includeInstance) | ||
@@ -92,0 +92,0 @@ }; |
@@ -0,3 +1,3 @@ | ||
export * from './message_pb'; | ||
export * from './message_grpc_pb'; | ||
export * from './message_pb'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./message_pb"), exports); | ||
__exportStar(require("./message_grpc_pb"), exports); | ||
__exportStar(require("./message_pb"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -0,11 +1,11 @@ | ||
export * as discovery from './discovery'; | ||
export * as msp from './msp'; | ||
export * as google from './google'; | ||
export * as orderer from './orderer'; | ||
export * as common from './common'; | ||
export * as peer from './peer'; | ||
export * as google from './google'; | ||
export * as gateway from './gateway'; | ||
export * as gossip from './gossip'; | ||
export * as ledger from './ledger'; | ||
export * as msp from './msp'; | ||
export * as gossip from './gossip'; | ||
export * as discovery from './discovery'; | ||
export * as transientstore from './transientstore'; | ||
export * as gateway from './gateway'; | ||
export * as common from './common'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -26,13 +26,13 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.transientstore = exports.discovery = exports.gossip = exports.msp = exports.ledger = exports.gateway = exports.google = exports.peer = exports.common = exports.orderer = void 0; | ||
exports.common = exports.gateway = exports.transientstore = exports.ledger = exports.gossip = exports.peer = exports.orderer = exports.google = exports.msp = exports.discovery = void 0; | ||
exports.discovery = __importStar(require("./discovery")); | ||
exports.msp = __importStar(require("./msp")); | ||
exports.google = __importStar(require("./google")); | ||
exports.orderer = __importStar(require("./orderer")); | ||
exports.common = __importStar(require("./common")); | ||
exports.peer = __importStar(require("./peer")); | ||
exports.google = __importStar(require("./google")); | ||
exports.gateway = __importStar(require("./gateway")); | ||
exports.gossip = __importStar(require("./gossip")); | ||
exports.ledger = __importStar(require("./ledger")); | ||
exports.msp = __importStar(require("./msp")); | ||
exports.gossip = __importStar(require("./gossip")); | ||
exports.discovery = __importStar(require("./discovery")); | ||
exports.transientstore = __importStar(require("./transientstore")); | ||
exports.gateway = __importStar(require("./gateway")); | ||
exports.common = __importStar(require("./common")); | ||
//# sourceMappingURL=index.js.map |
@@ -0,3 +1,3 @@ | ||
export * as queryresult from './queryresult'; | ||
export * as rwset from './rwset'; | ||
export * as queryresult from './queryresult'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -26,5 +26,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.queryresult = exports.rwset = void 0; | ||
exports.rwset = exports.queryresult = void 0; | ||
exports.queryresult = __importStar(require("./queryresult")); | ||
exports.rwset = __importStar(require("./rwset")); | ||
exports.queryresult = __importStar(require("./queryresult")); | ||
//# sourceMappingURL=index.js.map |
@@ -102,5 +102,5 @@ // source: ledger/queryresult/kv_query_result.proto | ||
var f, obj = { | ||
namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
key: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
value: msg.getValue_asB64() | ||
namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
key: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
value: msg.getValue_asB64() | ||
}; | ||
@@ -317,6 +317,6 @@ | ||
var f, obj = { | ||
txId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
value: msg.getValue_asB64(), | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), | ||
isDelete: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) | ||
txId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
value: msg.getValue_asB64(), | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), | ||
isDelete: jspb.Message.getBooleanFieldWithDefault(msg, 4, false) | ||
}; | ||
@@ -323,0 +323,0 @@ |
@@ -196,4 +196,4 @@ // source: ledger/rwset/rwset.proto | ||
var f, obj = { | ||
dataModel: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
nsRwsetList: jspb.Message.toObjectList(msg.getNsRwsetList(), | ||
dataModel: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
nsRwsetList: jspb.Message.toObjectList(msg.getNsRwsetList(), | ||
proto.rwset.NsReadWriteSet.toObject, includeInstance) | ||
@@ -394,5 +394,5 @@ }; | ||
var f, obj = { | ||
namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
rwset: msg.getRwset_asB64(), | ||
collectionHashedRwsetList: jspb.Message.toObjectList(msg.getCollectionHashedRwsetList(), | ||
namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
rwset: msg.getRwset_asB64(), | ||
collectionHashedRwsetList: jspb.Message.toObjectList(msg.getCollectionHashedRwsetList(), | ||
proto.rwset.CollectionHashedReadWriteSet.toObject, includeInstance) | ||
@@ -632,5 +632,5 @@ }; | ||
var f, obj = { | ||
collectionName: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
hashedRwset: msg.getHashedRwset_asB64(), | ||
pvtRwsetHash: msg.getPvtRwsetHash_asB64() | ||
collectionName: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
hashedRwset: msg.getHashedRwset_asB64(), | ||
pvtRwsetHash: msg.getPvtRwsetHash_asB64() | ||
}; | ||
@@ -878,4 +878,4 @@ | ||
var f, obj = { | ||
dataModel: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
nsPvtRwsetList: jspb.Message.toObjectList(msg.getNsPvtRwsetList(), | ||
dataModel: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
nsPvtRwsetList: jspb.Message.toObjectList(msg.getNsPvtRwsetList(), | ||
proto.rwset.NsPvtReadWriteSet.toObject, includeInstance) | ||
@@ -1069,4 +1069,4 @@ }; | ||
var f, obj = { | ||
namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
collectionPvtRwsetList: jspb.Message.toObjectList(msg.getCollectionPvtRwsetList(), | ||
namespace: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
collectionPvtRwsetList: jspb.Message.toObjectList(msg.getCollectionPvtRwsetList(), | ||
proto.rwset.CollectionPvtReadWriteSet.toObject, includeInstance) | ||
@@ -1253,4 +1253,4 @@ }; | ||
var f, obj = { | ||
collectionName: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
rwset: msg.getRwset_asB64() | ||
collectionName: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
rwset: msg.getRwset_asB64() | ||
}; | ||
@@ -1257,0 +1257,0 @@ |
@@ -100,4 +100,4 @@ // source: msp/identities.proto | ||
var f, obj = { | ||
mspid: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
idBytes: msg.getIdBytes_asB64() | ||
mspid: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
idBytes: msg.getIdBytes_asB64() | ||
}; | ||
@@ -285,7 +285,7 @@ | ||
var f, obj = { | ||
nymX: msg.getNymX_asB64(), | ||
nymY: msg.getNymY_asB64(), | ||
ou: msg.getOu_asB64(), | ||
role: msg.getRole_asB64(), | ||
proof: msg.getProof_asB64() | ||
nymX: msg.getNymX_asB64(), | ||
nymY: msg.getNymY_asB64(), | ||
ou: msg.getOu_asB64(), | ||
role: msg.getRole_asB64(), | ||
proof: msg.getProof_asB64() | ||
}; | ||
@@ -292,0 +292,0 @@ |
@@ -0,4 +1,4 @@ | ||
export * from './msp_principal_pb'; | ||
export * from './identities_pb'; | ||
export * from './msp_config_pb'; | ||
export * from './msp_principal_pb'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,5 +17,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./msp_principal_pb"), exports); | ||
__exportStar(require("./identities_pb"), exports); | ||
__exportStar(require("./msp_config_pb"), exports); | ||
__exportStar(require("./msp_principal_pb"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -169,4 +169,4 @@ // source: msp/msp_principal.proto | ||
var f, obj = { | ||
principalClassification: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
principal: msg.getPrincipal_asB64() | ||
principalClassification: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
principal: msg.getPrincipal_asB64() | ||
}; | ||
@@ -365,5 +365,5 @@ | ||
var f, obj = { | ||
mspIdentifier: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
organizationalUnitIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
certifiersIdentifier: msg.getCertifiersIdentifier_asB64() | ||
mspIdentifier: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
organizationalUnitIdentifier: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
certifiersIdentifier: msg.getCertifiersIdentifier_asB64() | ||
}; | ||
@@ -580,4 +580,4 @@ | ||
var f, obj = { | ||
mspIdentifier: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
role: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
mspIdentifier: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
role: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -752,3 +752,3 @@ | ||
var f, obj = { | ||
anonymityType: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
anonymityType: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
}; | ||
@@ -898,3 +898,3 @@ | ||
var f, obj = { | ||
principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(), | ||
principalsList: jspb.Message.toObjectList(msg.getPrincipalsList(), | ||
proto.common.MSPPrincipal.toObject, includeInstance) | ||
@@ -901,0 +901,0 @@ }; |
@@ -239,4 +239,4 @@ // source: orderer/ab.proto | ||
var f, obj = { | ||
status: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
info: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
status: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
info: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -602,3 +602,3 @@ | ||
var f, obj = { | ||
number: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
number: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
}; | ||
@@ -862,6 +862,6 @@ | ||
var f, obj = { | ||
newest: (f = msg.getNewest()) && proto.orderer.SeekNewest.toObject(includeInstance, f), | ||
oldest: (f = msg.getOldest()) && proto.orderer.SeekOldest.toObject(includeInstance, f), | ||
specified: (f = msg.getSpecified()) && proto.orderer.SeekSpecified.toObject(includeInstance, f), | ||
nextCommit: (f = msg.getNextCommit()) && proto.orderer.SeekNextCommit.toObject(includeInstance, f) | ||
newest: (f = msg.getNewest()) && proto.orderer.SeekNewest.toObject(includeInstance, f), | ||
oldest: (f = msg.getOldest()) && proto.orderer.SeekOldest.toObject(includeInstance, f), | ||
specified: (f = msg.getSpecified()) && proto.orderer.SeekSpecified.toObject(includeInstance, f), | ||
nextCommit: (f = msg.getNextCommit()) && proto.orderer.SeekNextCommit.toObject(includeInstance, f) | ||
}; | ||
@@ -1167,7 +1167,7 @@ | ||
var f, obj = { | ||
start: (f = msg.getStart()) && proto.orderer.SeekPosition.toObject(includeInstance, f), | ||
stop: (f = msg.getStop()) && proto.orderer.SeekPosition.toObject(includeInstance, f), | ||
behavior: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
errorResponse: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
contentType: jspb.Message.getFieldWithDefault(msg, 5, 0) | ||
start: (f = msg.getStart()) && proto.orderer.SeekPosition.toObject(includeInstance, f), | ||
stop: (f = msg.getStop()) && proto.orderer.SeekPosition.toObject(includeInstance, f), | ||
behavior: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
errorResponse: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
contentType: jspb.Message.getFieldWithDefault(msg, 5, 0) | ||
}; | ||
@@ -1510,4 +1510,4 @@ | ||
var f, obj = { | ||
status: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
block: (f = msg.getBlock()) && common_common_pb.Block.toObject(includeInstance, f) | ||
status: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, | ||
block: (f = msg.getBlock()) && common_common_pb.Block.toObject(includeInstance, f) | ||
}; | ||
@@ -1514,0 +1514,0 @@ |
@@ -103,4 +103,4 @@ // source: orderer/blockattestation.proto | ||
var f, obj = { | ||
header: (f = msg.getHeader()) && common_common_pb.BlockHeader.toObject(includeInstance, f), | ||
metadata: (f = msg.getMetadata()) && common_common_pb.BlockMetadata.toObject(includeInstance, f) | ||
header: (f = msg.getHeader()) && common_common_pb.BlockHeader.toObject(includeInstance, f), | ||
metadata: (f = msg.getMetadata()) && common_common_pb.BlockMetadata.toObject(includeInstance, f) | ||
}; | ||
@@ -332,4 +332,4 @@ | ||
var f, obj = { | ||
status: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
blockAttestation: (f = msg.getBlockAttestation()) && proto.orderer.BlockAttestation.toObject(includeInstance, f) | ||
status: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, | ||
blockAttestation: (f = msg.getBlockAttestation()) && proto.orderer.BlockAttestation.toObject(includeInstance, f) | ||
}; | ||
@@ -336,0 +336,0 @@ |
@@ -196,4 +196,4 @@ // source: orderer/cluster.proto | ||
var f, obj = { | ||
consensusRequest: (f = msg.getConsensusRequest()) && proto.orderer.ConsensusRequest.toObject(includeInstance, f), | ||
submitRequest: (f = msg.getSubmitRequest()) && proto.orderer.SubmitRequest.toObject(includeInstance, f) | ||
consensusRequest: (f = msg.getConsensusRequest()) && proto.orderer.ConsensusRequest.toObject(includeInstance, f), | ||
submitRequest: (f = msg.getSubmitRequest()) && proto.orderer.SubmitRequest.toObject(includeInstance, f) | ||
}; | ||
@@ -424,3 +424,3 @@ | ||
var f, obj = { | ||
submitRes: (f = msg.getSubmitRes()) && proto.orderer.SubmitResponse.toObject(includeInstance, f) | ||
submitRes: (f = msg.getSubmitRes()) && proto.orderer.SubmitResponse.toObject(includeInstance, f) | ||
}; | ||
@@ -576,5 +576,5 @@ | ||
var f, obj = { | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
payload: msg.getPayload_asB64(), | ||
metadata: msg.getMetadata_asB64() | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
payload: msg.getPayload_asB64(), | ||
metadata: msg.getMetadata_asB64() | ||
}; | ||
@@ -815,5 +815,5 @@ | ||
var f, obj = { | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
lastValidationSeq: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
payload: (f = msg.getPayload()) && common_common_pb.Envelope.toObject(includeInstance, f) | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
lastValidationSeq: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
payload: (f = msg.getPayload()) && common_common_pb.Envelope.toObject(includeInstance, f) | ||
}; | ||
@@ -1027,5 +1027,5 @@ | ||
var f, obj = { | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
status: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
info: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
status: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
info: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
}; | ||
@@ -1032,0 +1032,0 @@ |
@@ -221,5 +221,5 @@ // source: orderer/clusterserver.proto | ||
var f, obj = { | ||
nodeConrequest: (f = msg.getNodeConrequest()) && proto.orderer.NodeConsensusRequest.toObject(includeInstance, f), | ||
nodeTranrequest: (f = msg.getNodeTranrequest()) && proto.orderer.NodeTransactionOrderRequest.toObject(includeInstance, f), | ||
nodeAuthrequest: (f = msg.getNodeAuthrequest()) && proto.orderer.NodeAuthRequest.toObject(includeInstance, f) | ||
nodeConrequest: (f = msg.getNodeConrequest()) && proto.orderer.NodeConsensusRequest.toObject(includeInstance, f), | ||
nodeTranrequest: (f = msg.getNodeTranrequest()) && proto.orderer.NodeTransactionOrderRequest.toObject(includeInstance, f), | ||
nodeAuthrequest: (f = msg.getNodeAuthrequest()) && proto.orderer.NodeAuthRequest.toObject(includeInstance, f) | ||
}; | ||
@@ -500,3 +500,3 @@ | ||
var f, obj = { | ||
tranorderRes: (f = msg.getTranorderRes()) && proto.orderer.TransactionOrderResponse.toObject(includeInstance, f) | ||
tranorderRes: (f = msg.getTranorderRes()) && proto.orderer.TransactionOrderResponse.toObject(includeInstance, f) | ||
}; | ||
@@ -652,4 +652,4 @@ | ||
var f, obj = { | ||
payload: msg.getPayload_asB64(), | ||
metadata: msg.getMetadata_asB64() | ||
payload: msg.getPayload_asB64(), | ||
metadata: msg.getMetadata_asB64() | ||
}; | ||
@@ -861,4 +861,4 @@ | ||
var f, obj = { | ||
lastValidationSeq: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
payload: (f = msg.getPayload()) && common_common_pb.Envelope.toObject(includeInstance, f) | ||
lastValidationSeq: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
payload: (f = msg.getPayload()) && common_common_pb.Envelope.toObject(includeInstance, f) | ||
}; | ||
@@ -1043,6 +1043,6 @@ | ||
var f, obj = { | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
txId: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
status: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
info: jspb.Message.getFieldWithDefault(msg, 4, "") | ||
channel: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
txId: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
status: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
info: jspb.Message.getFieldWithDefault(msg, 4, "") | ||
}; | ||
@@ -1264,9 +1264,9 @@ | ||
var f, obj = { | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
signature: msg.getSignature_asB64(), | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), | ||
fromId: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
toId: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
sessionBinding: msg.getSessionBinding_asB64(), | ||
channel: jspb.Message.getFieldWithDefault(msg, 7, "") | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
signature: msg.getSignature_asB64(), | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), | ||
fromId: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
toId: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
sessionBinding: msg.getSessionBinding_asB64(), | ||
channel: jspb.Message.getFieldWithDefault(msg, 7, "") | ||
}; | ||
@@ -1273,0 +1273,0 @@ |
@@ -167,5 +167,5 @@ // source: orderer/configuration.proto | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
metadata: msg.getMetadata_asB64(), | ||
state: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
type: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
metadata: msg.getMetadata_asB64(), | ||
state: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
}; | ||
@@ -390,5 +390,5 @@ | ||
var f, obj = { | ||
maxMessageCount: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
absoluteMaxBytes: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
preferredMaxBytes: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
maxMessageCount: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
absoluteMaxBytes: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
preferredMaxBytes: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
}; | ||
@@ -581,3 +581,3 @@ | ||
var f, obj = { | ||
timeout: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
timeout: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -719,3 +719,3 @@ | ||
var f, obj = { | ||
brokersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
brokersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
}; | ||
@@ -869,3 +869,3 @@ | ||
var f, obj = { | ||
maxCount: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
maxCount: jspb.Message.getFieldWithDefault(msg, 1, 0) | ||
}; | ||
@@ -872,0 +872,0 @@ |
@@ -129,5 +129,5 @@ // source: orderer/etcdraft/configuration.proto | ||
var f, obj = { | ||
consentersList: jspb.Message.toObjectList(msg.getConsentersList(), | ||
consentersList: jspb.Message.toObjectList(msg.getConsentersList(), | ||
proto.etcdraft.Consenter.toObject, includeInstance), | ||
options: (f = msg.getOptions()) && proto.etcdraft.Options.toObject(includeInstance, f) | ||
options: (f = msg.getOptions()) && proto.etcdraft.Options.toObject(includeInstance, f) | ||
}; | ||
@@ -334,6 +334,6 @@ | ||
var f, obj = { | ||
host: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
port: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
clientTlsCert: msg.getClientTlsCert_asB64(), | ||
serverTlsCert: msg.getServerTlsCert_asB64() | ||
host: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
port: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
clientTlsCert: msg.getClientTlsCert_asB64(), | ||
serverTlsCert: msg.getServerTlsCert_asB64() | ||
}; | ||
@@ -603,7 +603,7 @@ | ||
var f, obj = { | ||
tickInterval: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
electionTick: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
heartbeatTick: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
maxInflightBlocks: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
snapshotIntervalSize: jspb.Message.getFieldWithDefault(msg, 5, 0) | ||
tickInterval: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
electionTick: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
heartbeatTick: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
maxInflightBlocks: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
snapshotIntervalSize: jspb.Message.getFieldWithDefault(msg, 5, 0) | ||
}; | ||
@@ -610,0 +610,0 @@ |
@@ -0,3 +1,3 @@ | ||
export * from './configuration_pb'; | ||
export * from './metadata_pb'; | ||
export * from './configuration_pb'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -17,4 +17,4 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
__exportStar(require("./configuration_pb"), exports); | ||
__exportStar(require("./metadata_pb"), exports); | ||
__exportStar(require("./configuration_pb"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -107,5 +107,5 @@ // source: orderer/etcdraft/metadata.proto | ||
var f, obj = { | ||
consenterIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, | ||
nextConsenterId: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
raftIndex: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
consenterIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, | ||
nextConsenterId: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
raftIndex: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
}; | ||
@@ -326,3 +326,3 @@ | ||
var f, obj = { | ||
activeNodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
activeNodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
}; | ||
@@ -329,0 +329,0 @@ |
@@ -1,12 +0,12 @@ | ||
export * from './clusterserver_pb'; | ||
export * from './blockattestation_grpc_pb'; | ||
export * from './cluster_grpc_pb'; | ||
export * from './clusterserver_grpc_pb'; | ||
export * from './configuration_pb'; | ||
export * from './blockattestation_pb'; | ||
export * from './ab_grpc_pb'; | ||
export * from './ab_pb'; | ||
export * from './clusterserver_grpc_pb'; | ||
export * from './blockattestation_grpc_pb'; | ||
export * from './cluster_pb'; | ||
export * from './ab_grpc_pb'; | ||
export * from './blockattestation_pb'; | ||
export * from './clusterserver_pb'; | ||
export * as etcdraft from './etcdraft'; | ||
export * as smartbft from './smartbft'; | ||
export * as etcdraft from './etcdraft'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -29,14 +29,14 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.etcdraft = exports.smartbft = void 0; | ||
__exportStar(require("./clusterserver_pb"), exports); | ||
exports.smartbft = exports.etcdraft = void 0; | ||
__exportStar(require("./blockattestation_grpc_pb"), exports); | ||
__exportStar(require("./cluster_grpc_pb"), exports); | ||
__exportStar(require("./clusterserver_grpc_pb"), exports); | ||
__exportStar(require("./configuration_pb"), exports); | ||
__exportStar(require("./blockattestation_pb"), exports); | ||
__exportStar(require("./ab_grpc_pb"), exports); | ||
__exportStar(require("./ab_pb"), exports); | ||
__exportStar(require("./clusterserver_grpc_pb"), exports); | ||
__exportStar(require("./blockattestation_grpc_pb"), exports); | ||
__exportStar(require("./cluster_pb"), exports); | ||
__exportStar(require("./ab_grpc_pb"), exports); | ||
__exportStar(require("./blockattestation_pb"), exports); | ||
__exportStar(require("./clusterserver_pb"), exports); | ||
exports.etcdraft = __importStar(require("./etcdraft")); | ||
exports.smartbft = __importStar(require("./smartbft")); | ||
exports.etcdraft = __importStar(require("./etcdraft")); | ||
//# sourceMappingURL=index.js.map |
@@ -79,20 +79,20 @@ // source: orderer/smartbft/configuration.proto | ||
var f, obj = { | ||
requestBatchMaxCount: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
requestBatchMaxBytes: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
requestBatchMaxInterval: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
incomingMessageBufferSize: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
requestPoolSize: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
requestForwardTimeout: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
requestComplainTimeout: jspb.Message.getFieldWithDefault(msg, 7, ""), | ||
requestAutoRemoveTimeout: jspb.Message.getFieldWithDefault(msg, 8, ""), | ||
requestMaxBytes: jspb.Message.getFieldWithDefault(msg, 9, 0), | ||
viewChangeResendInterval: jspb.Message.getFieldWithDefault(msg, 10, ""), | ||
viewChangeTimeout: jspb.Message.getFieldWithDefault(msg, 11, ""), | ||
leaderHeartbeatTimeout: jspb.Message.getFieldWithDefault(msg, 12, ""), | ||
leaderHeartbeatCount: jspb.Message.getFieldWithDefault(msg, 13, 0), | ||
collectTimeout: jspb.Message.getFieldWithDefault(msg, 14, ""), | ||
syncOnStart: jspb.Message.getBooleanFieldWithDefault(msg, 15, false), | ||
speedUpViewChange: jspb.Message.getBooleanFieldWithDefault(msg, 16, false), | ||
leaderRotation: jspb.Message.getFieldWithDefault(msg, 17, 0), | ||
decisionsPerLeader: jspb.Message.getFieldWithDefault(msg, 18, 0) | ||
requestBatchMaxCount: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
requestBatchMaxBytes: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
requestBatchMaxInterval: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
incomingMessageBufferSize: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
requestPoolSize: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
requestForwardTimeout: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
requestComplainTimeout: jspb.Message.getFieldWithDefault(msg, 7, ""), | ||
requestAutoRemoveTimeout: jspb.Message.getFieldWithDefault(msg, 8, ""), | ||
requestMaxBytes: jspb.Message.getFieldWithDefault(msg, 9, 0), | ||
viewChangeResendInterval: jspb.Message.getFieldWithDefault(msg, 10, ""), | ||
viewChangeTimeout: jspb.Message.getFieldWithDefault(msg, 11, ""), | ||
leaderHeartbeatTimeout: jspb.Message.getFieldWithDefault(msg, 12, ""), | ||
leaderHeartbeatCount: jspb.Message.getFieldWithDefault(msg, 13, 0), | ||
collectTimeout: jspb.Message.getFieldWithDefault(msg, 14, ""), | ||
syncOnStart: jspb.Message.getBooleanFieldWithDefault(msg, 15, false), | ||
speedUpViewChange: jspb.Message.getBooleanFieldWithDefault(msg, 16, false), | ||
leaderRotation: jspb.Message.getFieldWithDefault(msg, 17, 0), | ||
decisionsPerLeader: jspb.Message.getFieldWithDefault(msg, 18, 0) | ||
}; | ||
@@ -99,0 +99,0 @@ |
@@ -78,6 +78,6 @@ // source: peer/chaincode_event.proto | ||
var f, obj = { | ||
chaincodeId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
txId: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
eventName: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
payload: msg.getPayload_asB64() | ||
chaincodeId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
txId: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
eventName: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
payload: msg.getPayload_asB64() | ||
}; | ||
@@ -84,0 +84,0 @@ |
@@ -235,5 +235,5 @@ // source: peer/chaincode.proto | ||
var f, obj = { | ||
path: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
name: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
version: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
path: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
name: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
version: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
}; | ||
@@ -433,5 +433,5 @@ | ||
var f, obj = { | ||
argsList: msg.getArgsList_asB64(), | ||
decorationsMap: (f = msg.getDecorationsMap()) ? f.toObject(includeInstance, undefined) : [], | ||
isInit: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) | ||
argsList: msg.getArgsList_asB64(), | ||
decorationsMap: (f = msg.getDecorationsMap()) ? f.toObject(includeInstance, undefined) : [], | ||
isInit: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) | ||
}; | ||
@@ -671,6 +671,6 @@ | ||
var f, obj = { | ||
type: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
chaincodeId: (f = msg.getChaincodeId()) && proto.protos.ChaincodeID.toObject(includeInstance, f), | ||
input: (f = msg.getInput()) && proto.protos.ChaincodeInput.toObject(includeInstance, f), | ||
timeout: jspb.Message.getFieldWithDefault(msg, 4, 0) | ||
type: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
chaincodeId: (f = msg.getChaincodeId()) && proto.protos.ChaincodeID.toObject(includeInstance, f), | ||
input: (f = msg.getInput()) && proto.protos.ChaincodeInput.toObject(includeInstance, f), | ||
timeout: jspb.Message.getFieldWithDefault(msg, 4, 0) | ||
}; | ||
@@ -945,4 +945,4 @@ | ||
var f, obj = { | ||
chaincodeSpec: (f = msg.getChaincodeSpec()) && proto.protos.ChaincodeSpec.toObject(includeInstance, f), | ||
codePackage: msg.getCodePackage_asB64() | ||
chaincodeSpec: (f = msg.getChaincodeSpec()) && proto.protos.ChaincodeSpec.toObject(includeInstance, f), | ||
codePackage: msg.getCodePackage_asB64() | ||
}; | ||
@@ -1151,3 +1151,3 @@ | ||
var f, obj = { | ||
chaincodeSpec: (f = msg.getChaincodeSpec()) && proto.protos.ChaincodeSpec.toObject(includeInstance, f) | ||
chaincodeSpec: (f = msg.getChaincodeSpec()) && proto.protos.ChaincodeSpec.toObject(includeInstance, f) | ||
}; | ||
@@ -1303,3 +1303,3 @@ | ||
var f, obj = { | ||
chaincodeName: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
chaincodeName: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -1434,4 +1434,4 @@ | ||
var f, obj = { | ||
hash: msg.getHash_asB64(), | ||
metadatahash: msg.getMetadatahash_asB64() | ||
hash: msg.getHash_asB64(), | ||
metadatahash: msg.getMetadatahash_asB64() | ||
}; | ||
@@ -1643,10 +1643,10 @@ | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
version: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
escc: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
vscc: jspb.Message.getFieldWithDefault(msg, 4, ""), | ||
policy: (f = msg.getPolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f), | ||
data: msg.getData_asB64(), | ||
id: msg.getId_asB64(), | ||
instantiationPolicy: (f = msg.getInstantiationPolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f) | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
version: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
escc: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
vscc: jspb.Message.getFieldWithDefault(msg, 4, ""), | ||
policy: (f = msg.getPolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f), | ||
data: msg.getData_asB64(), | ||
id: msg.getId_asB64(), | ||
instantiationPolicy: (f = msg.getInstantiationPolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f) | ||
}; | ||
@@ -1653,0 +1653,0 @@ |
@@ -157,3 +157,3 @@ // source: peer/collection.proto | ||
var f, obj = { | ||
configList: jspb.Message.toObjectList(msg.getConfigList(), | ||
configList: jspb.Message.toObjectList(msg.getConfigList(), | ||
proto.protos.CollectionConfig.toObject, includeInstance) | ||
@@ -336,3 +336,3 @@ }; | ||
var f, obj = { | ||
staticCollectionConfig: (f = msg.getStaticCollectionConfig()) && proto.protos.StaticCollectionConfig.toObject(includeInstance, f) | ||
staticCollectionConfig: (f = msg.getStaticCollectionConfig()) && proto.protos.StaticCollectionConfig.toObject(includeInstance, f) | ||
}; | ||
@@ -488,10 +488,10 @@ | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
memberOrgsPolicy: (f = msg.getMemberOrgsPolicy()) && proto.protos.CollectionPolicyConfig.toObject(includeInstance, f), | ||
requiredPeerCount: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
maximumPeerCount: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
blockToLive: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
memberOnlyRead: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), | ||
memberOnlyWrite: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), | ||
endorsementPolicy: (f = msg.getEndorsementPolicy()) && peer_policy_pb.ApplicationPolicy.toObject(includeInstance, f) | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
memberOrgsPolicy: (f = msg.getMemberOrgsPolicy()) && proto.protos.CollectionPolicyConfig.toObject(includeInstance, f), | ||
requiredPeerCount: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
maximumPeerCount: jspb.Message.getFieldWithDefault(msg, 4, 0), | ||
blockToLive: jspb.Message.getFieldWithDefault(msg, 5, 0), | ||
memberOnlyRead: jspb.Message.getBooleanFieldWithDefault(msg, 6, false), | ||
memberOnlyWrite: jspb.Message.getBooleanFieldWithDefault(msg, 7, false), | ||
endorsementPolicy: (f = msg.getEndorsementPolicy()) && peer_policy_pb.ApplicationPolicy.toObject(includeInstance, f) | ||
}; | ||
@@ -896,3 +896,3 @@ | ||
var f, obj = { | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f) | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f) | ||
}; | ||
@@ -899,0 +899,0 @@ |
@@ -151,3 +151,3 @@ // source: peer/configuration.proto | ||
var f, obj = { | ||
anchorPeersList: jspb.Message.toObjectList(msg.getAnchorPeersList(), | ||
anchorPeersList: jspb.Message.toObjectList(msg.getAnchorPeersList(), | ||
proto.protos.AnchorPeer.toObject, includeInstance) | ||
@@ -305,4 +305,4 @@ }; | ||
var f, obj = { | ||
host: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
port: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
host: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
port: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -466,3 +466,3 @@ | ||
var f, obj = { | ||
policyRef: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
policyRef: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -597,3 +597,3 @@ | ||
var f, obj = { | ||
aclsMap: (f = msg.getAclsMap()) ? f.toObject(includeInstance, proto.protos.APIResource.toObject) : [] | ||
aclsMap: (f = msg.getAclsMap()) ? f.toObject(includeInstance, proto.protos.APIResource.toObject) : [] | ||
}; | ||
@@ -600,0 +600,0 @@ |
@@ -205,5 +205,5 @@ // source: peer/events.proto | ||
var f, obj = { | ||
channelId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
number: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
filteredTransactionsList: jspb.Message.toObjectList(msg.getFilteredTransactionsList(), | ||
channelId: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
number: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
filteredTransactionsList: jspb.Message.toObjectList(msg.getFilteredTransactionsList(), | ||
proto.protos.FilteredTransaction.toObject, includeInstance) | ||
@@ -444,6 +444,6 @@ }; | ||
var f, obj = { | ||
txid: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
type: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
txValidationCode: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
transactionActions: (f = msg.getTransactionActions()) && proto.protos.FilteredTransactionActions.toObject(includeInstance, f) | ||
txid: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
type: jspb.Message.getFieldWithDefault(msg, 2, 0), | ||
txValidationCode: jspb.Message.getFieldWithDefault(msg, 3, 0), | ||
transactionActions: (f = msg.getTransactionActions()) && proto.protos.FilteredTransactionActions.toObject(includeInstance, f) | ||
}; | ||
@@ -693,3 +693,3 @@ | ||
var f, obj = { | ||
chaincodeActionsList: jspb.Message.toObjectList(msg.getChaincodeActionsList(), | ||
chaincodeActionsList: jspb.Message.toObjectList(msg.getChaincodeActionsList(), | ||
proto.protos.FilteredChaincodeAction.toObject, includeInstance) | ||
@@ -847,3 +847,3 @@ }; | ||
var f, obj = { | ||
chaincodeEvent: (f = msg.getChaincodeEvent()) && peer_chaincode_event_pb.ChaincodeEvent.toObject(includeInstance, f) | ||
chaincodeEvent: (f = msg.getChaincodeEvent()) && peer_chaincode_event_pb.ChaincodeEvent.toObject(includeInstance, f) | ||
}; | ||
@@ -999,4 +999,4 @@ | ||
var f, obj = { | ||
block: (f = msg.getBlock()) && common_common_pb.Block.toObject(includeInstance, f), | ||
privateDataMapMap: (f = msg.getPrivateDataMapMap()) ? f.toObject(includeInstance, proto.rwset.TxPvtReadWriteSet.toObject) : [] | ||
block: (f = msg.getBlock()) && common_common_pb.Block.toObject(includeInstance, f), | ||
privateDataMapMap: (f = msg.getPrivateDataMapMap()) ? f.toObject(includeInstance, proto.rwset.TxPvtReadWriteSet.toObject) : [] | ||
}; | ||
@@ -1213,6 +1213,6 @@ | ||
var f, obj = { | ||
status: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
block: (f = msg.getBlock()) && common_common_pb.Block.toObject(includeInstance, f), | ||
filteredBlock: (f = msg.getFilteredBlock()) && proto.protos.FilteredBlock.toObject(includeInstance, f), | ||
blockAndPrivateData: (f = msg.getBlockAndPrivateData()) && proto.protos.BlockAndPrivateData.toObject(includeInstance, f) | ||
status: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, | ||
block: (f = msg.getBlock()) && common_common_pb.Block.toObject(includeInstance, f), | ||
filteredBlock: (f = msg.getFilteredBlock()) && proto.protos.FilteredBlock.toObject(includeInstance, f), | ||
blockAndPrivateData: (f = msg.getBlockAndPrivateData()) && proto.protos.BlockAndPrivateData.toObject(includeInstance, f) | ||
}; | ||
@@ -1219,0 +1219,0 @@ |
@@ -1,21 +0,21 @@ | ||
export * from './events_grpc_pb'; | ||
export * from './events_pb'; | ||
export * from './chaincode_event_pb'; | ||
export * from './peer_grpc_pb'; | ||
export * from './transaction_pb'; | ||
export * from './snapshot_grpc_pb'; | ||
export * from './proposal_pb'; | ||
export * from './proposal_response_pb'; | ||
export * from './collection_pb'; | ||
export * from './policy_pb'; | ||
export * from './configuration_pb'; | ||
export * from './signed_cc_dep_spec_pb'; | ||
export * from './resources_pb'; | ||
export * from './transaction_pb'; | ||
export * from './chaincode_shim_pb'; | ||
export * from './proposal_pb'; | ||
export * from './proposal_response_pb'; | ||
export * from './chaincode_shim_grpc_pb'; | ||
export * from './chaincode_pb'; | ||
export * from './policy_pb'; | ||
export * from './peer_pb'; | ||
export * from './snapshot_pb'; | ||
export * from './events_grpc_pb'; | ||
export * from './signed_cc_dep_spec_pb'; | ||
export * from './chaincode_shim_grpc_pb'; | ||
export * from './chaincode_shim_pb'; | ||
export * from './events_pb'; | ||
export * from './query_pb'; | ||
export * from './chaincode_event_pb'; | ||
export * from './peer_grpc_pb'; | ||
export * from './peer_pb'; | ||
export * from './snapshot_grpc_pb'; | ||
export * as lifecycle from './lifecycle'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -30,22 +30,22 @@ "use strict"; | ||
exports.lifecycle = void 0; | ||
__exportStar(require("./events_grpc_pb"), exports); | ||
__exportStar(require("./events_pb"), exports); | ||
__exportStar(require("./chaincode_event_pb"), exports); | ||
__exportStar(require("./peer_grpc_pb"), exports); | ||
__exportStar(require("./transaction_pb"), exports); | ||
__exportStar(require("./snapshot_grpc_pb"), exports); | ||
__exportStar(require("./proposal_pb"), exports); | ||
__exportStar(require("./proposal_response_pb"), exports); | ||
__exportStar(require("./collection_pb"), exports); | ||
__exportStar(require("./policy_pb"), exports); | ||
__exportStar(require("./configuration_pb"), exports); | ||
__exportStar(require("./signed_cc_dep_spec_pb"), exports); | ||
__exportStar(require("./resources_pb"), exports); | ||
__exportStar(require("./transaction_pb"), exports); | ||
__exportStar(require("./chaincode_shim_pb"), exports); | ||
__exportStar(require("./proposal_pb"), exports); | ||
__exportStar(require("./proposal_response_pb"), exports); | ||
__exportStar(require("./chaincode_shim_grpc_pb"), exports); | ||
__exportStar(require("./chaincode_pb"), exports); | ||
__exportStar(require("./policy_pb"), exports); | ||
__exportStar(require("./peer_pb"), exports); | ||
__exportStar(require("./snapshot_pb"), exports); | ||
__exportStar(require("./events_grpc_pb"), exports); | ||
__exportStar(require("./signed_cc_dep_spec_pb"), exports); | ||
__exportStar(require("./chaincode_shim_grpc_pb"), exports); | ||
__exportStar(require("./chaincode_shim_pb"), exports); | ||
__exportStar(require("./events_pb"), exports); | ||
__exportStar(require("./query_pb"), exports); | ||
__exportStar(require("./chaincode_event_pb"), exports); | ||
__exportStar(require("./peer_grpc_pb"), exports); | ||
__exportStar(require("./peer_pb"), exports); | ||
__exportStar(require("./snapshot_grpc_pb"), exports); | ||
exports.lifecycle = __importStar(require("./lifecycle")); | ||
//# sourceMappingURL=index.js.map |
@@ -100,5 +100,5 @@ // source: peer/lifecycle/chaincode_definition.proto | ||
var f, obj = { | ||
version: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
initRequired: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), | ||
endorsementPlugin: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
version: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
initRequired: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), | ||
endorsementPlugin: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
}; | ||
@@ -291,4 +291,4 @@ | ||
var f, obj = { | ||
validationPlugin: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
validationParameter: msg.getValidationParameter_asB64() | ||
validationPlugin: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
validationParameter: msg.getValidationParameter_asB64() | ||
}; | ||
@@ -295,0 +295,0 @@ |
@@ -108,4 +108,4 @@ // source: peer/lifecycle/db.proto | ||
var f, obj = { | ||
datatype: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
fieldsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f | ||
datatype: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
fieldsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f | ||
}; | ||
@@ -315,5 +315,5 @@ | ||
var f, obj = { | ||
int64: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
bytes: msg.getBytes_asB64(), | ||
string: jspb.Message.getFieldWithDefault(msg, 3, "") | ||
int64: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, | ||
bytes: msg.getBytes_asB64(), | ||
string: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f | ||
}; | ||
@@ -320,0 +320,0 @@ |
export * from './db_pb'; | ||
export * from './chaincode_definition_pb'; | ||
export * from './lifecycle_pb'; | ||
export * from './chaincode_definition_pb'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,4 +18,4 @@ "use strict"; | ||
__exportStar(require("./db_pb"), exports); | ||
__exportStar(require("./chaincode_definition_pb"), exports); | ||
__exportStar(require("./lifecycle_pb"), exports); | ||
__exportStar(require("./chaincode_definition_pb"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -107,4 +107,4 @@ // source: peer/policy.proto | ||
var f, obj = { | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f), | ||
channelConfigPolicyReference: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
signaturePolicy: (f = msg.getSignaturePolicy()) && common_policies_pb.SignaturePolicyEnvelope.toObject(includeInstance, f), | ||
channelConfigPolicyReference: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f | ||
}; | ||
@@ -111,0 +111,0 @@ |
@@ -170,4 +170,4 @@ // source: peer/proposal.proto | ||
var f, obj = { | ||
proposalBytes: msg.getProposalBytes_asB64(), | ||
signature: msg.getSignature_asB64() | ||
proposalBytes: msg.getProposalBytes_asB64(), | ||
signature: msg.getSignature_asB64() | ||
}; | ||
@@ -379,5 +379,5 @@ | ||
var f, obj = { | ||
header: msg.getHeader_asB64(), | ||
payload: msg.getPayload_asB64(), | ||
extension: msg.getExtension_asB64() | ||
header: msg.getHeader_asB64(), | ||
payload: msg.getPayload_asB64(), | ||
extension: msg.getExtension_asB64() | ||
}; | ||
@@ -642,3 +642,3 @@ | ||
var f, obj = { | ||
chaincodeId: (f = msg.getChaincodeId()) && peer_chaincode_pb.ChaincodeID.toObject(includeInstance, f) | ||
chaincodeId: (f = msg.getChaincodeId()) && peer_chaincode_pb.ChaincodeID.toObject(includeInstance, f) | ||
}; | ||
@@ -794,4 +794,4 @@ | ||
var f, obj = { | ||
input: msg.getInput_asB64(), | ||
transientmapMap: (f = msg.getTransientmapMap()) ? f.toObject(includeInstance, undefined) : [] | ||
input: msg.getInput_asB64(), | ||
transientmapMap: (f = msg.getTransientmapMap()) ? f.toObject(includeInstance, undefined) : [] | ||
}; | ||
@@ -983,6 +983,6 @@ | ||
var f, obj = { | ||
results: msg.getResults_asB64(), | ||
events: msg.getEvents_asB64(), | ||
response: (f = msg.getResponse()) && peer_proposal_response_pb.Response.toObject(includeInstance, f), | ||
chaincodeId: (f = msg.getChaincodeId()) && peer_chaincode_pb.ChaincodeID.toObject(includeInstance, f) | ||
results: msg.getResults_asB64(), | ||
events: msg.getEvents_asB64(), | ||
response: (f = msg.getResponse()) && peer_proposal_response_pb.Response.toObject(includeInstance, f), | ||
chaincodeId: (f = msg.getChaincodeId()) && peer_chaincode_pb.ChaincodeID.toObject(includeInstance, f) | ||
}; | ||
@@ -989,0 +989,0 @@ |
@@ -192,8 +192,8 @@ // source: peer/proposal_response.proto | ||
var f, obj = { | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), | ||
response: (f = msg.getResponse()) && proto.protos.Response.toObject(includeInstance, f), | ||
payload: msg.getPayload_asB64(), | ||
endorsement: (f = msg.getEndorsement()) && proto.protos.Endorsement.toObject(includeInstance, f), | ||
interest: (f = msg.getInterest()) && proto.protos.ChaincodeInterest.toObject(includeInstance, f) | ||
version: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
timestamp: (f = msg.getTimestamp()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), | ||
response: (f = msg.getResponse()) && proto.protos.Response.toObject(includeInstance, f), | ||
payload: msg.getPayload_asB64(), | ||
endorsement: (f = msg.getEndorsement()) && proto.protos.Endorsement.toObject(includeInstance, f), | ||
interest: (f = msg.getInterest()) && proto.protos.ChaincodeInterest.toObject(includeInstance, f) | ||
}; | ||
@@ -581,5 +581,5 @@ | ||
var f, obj = { | ||
status: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
message: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
payload: msg.getPayload_asB64() | ||
status: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
message: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
payload: msg.getPayload_asB64() | ||
}; | ||
@@ -796,4 +796,4 @@ | ||
var f, obj = { | ||
proposalHash: msg.getProposalHash_asB64(), | ||
extension: msg.getExtension_asB64() | ||
proposalHash: msg.getProposalHash_asB64(), | ||
extension: msg.getExtension_asB64() | ||
}; | ||
@@ -1005,4 +1005,4 @@ | ||
var f, obj = { | ||
endorser: msg.getEndorser_asB64(), | ||
signature: msg.getSignature_asB64() | ||
endorser: msg.getEndorser_asB64(), | ||
signature: msg.getSignature_asB64() | ||
}; | ||
@@ -1221,3 +1221,3 @@ | ||
var f, obj = { | ||
chaincodesList: jspb.Message.toObjectList(msg.getChaincodesList(), | ||
chaincodesList: jspb.Message.toObjectList(msg.getChaincodesList(), | ||
proto.protos.ChaincodeCall.toObject, includeInstance) | ||
@@ -1382,9 +1382,9 @@ }; | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
collectionNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, | ||
noPrivateReads: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), | ||
noPublicWrites: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), | ||
keyPoliciesList: jspb.Message.toObjectList(msg.getKeyPoliciesList(), | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
collectionNamesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, | ||
noPrivateReads: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), | ||
noPublicWrites: jspb.Message.getBooleanFieldWithDefault(msg, 4, false), | ||
keyPoliciesList: jspb.Message.toObjectList(msg.getKeyPoliciesList(), | ||
common_policies_pb.SignaturePolicyEnvelope.toObject, includeInstance), | ||
disregardNamespacePolicy: jspb.Message.getBooleanFieldWithDefault(msg, 6, false) | ||
disregardNamespacePolicy: jspb.Message.getBooleanFieldWithDefault(msg, 6, false) | ||
}; | ||
@@ -1391,0 +1391,0 @@ |
@@ -173,3 +173,3 @@ // source: peer/query.proto | ||
var f, obj = { | ||
chaincodesList: jspb.Message.toObjectList(msg.getChaincodesList(), | ||
chaincodesList: jspb.Message.toObjectList(msg.getChaincodesList(), | ||
proto.protos.ChaincodeInfo.toObject, includeInstance) | ||
@@ -327,9 +327,9 @@ }; | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
version: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
path: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
input: jspb.Message.getFieldWithDefault(msg, 4, ""), | ||
escc: jspb.Message.getFieldWithDefault(msg, 5, ""), | ||
vscc: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
id: msg.getId_asB64() | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
version: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
path: jspb.Message.getFieldWithDefault(msg, 3, ""), | ||
input: jspb.Message.getFieldWithDefault(msg, 4, ""), | ||
escc: jspb.Message.getFieldWithDefault(msg, 5, ""), | ||
vscc: jspb.Message.getFieldWithDefault(msg, 6, ""), | ||
id: msg.getId_asB64() | ||
}; | ||
@@ -669,3 +669,3 @@ | ||
var f, obj = { | ||
channelsList: jspb.Message.toObjectList(msg.getChannelsList(), | ||
channelsList: jspb.Message.toObjectList(msg.getChannelsList(), | ||
proto.protos.ChannelInfo.toObject, includeInstance) | ||
@@ -823,3 +823,3 @@ }; | ||
var f, obj = { | ||
channelId: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
channelId: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -954,4 +954,4 @@ | ||
var f, obj = { | ||
inProgress: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), | ||
bootstrappingSnapshotDir: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
inProgress: jspb.Message.getBooleanFieldWithDefault(msg, 1, false), | ||
bootstrappingSnapshotDir: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -958,0 +958,0 @@ |
@@ -168,4 +168,4 @@ // source: peer/resources.proto | ||
var f, obj = { | ||
hash: msg.getHash_asB64(), | ||
version: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
hash: msg.getHash_asB64(), | ||
version: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -353,4 +353,4 @@ | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
argument: msg.getArgument_asB64() | ||
name: jspb.Message.getFieldWithDefault(msg, 1, ""), | ||
argument: msg.getArgument_asB64() | ||
}; | ||
@@ -538,3 +538,3 @@ | ||
var f, obj = { | ||
endorsementPolicyRef: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
endorsementPolicyRef: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -669,3 +669,3 @@ | ||
var f, obj = { | ||
name: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
name: jspb.Message.getFieldWithDefault(msg, 1, "") | ||
}; | ||
@@ -800,4 +800,4 @@ | ||
var f, obj = { | ||
channelConfig: (f = msg.getChannelConfig()) && common_configtx_pb.Config.toObject(includeInstance, f), | ||
resourcesConfig: (f = msg.getResourcesConfig()) && common_configtx_pb.Config.toObject(includeInstance, f) | ||
channelConfig: (f = msg.getChannelConfig()) && common_configtx_pb.Config.toObject(includeInstance, f), | ||
resourcesConfig: (f = msg.getResourcesConfig()) && common_configtx_pb.Config.toObject(includeInstance, f) | ||
}; | ||
@@ -804,0 +804,0 @@ |
@@ -87,5 +87,5 @@ // source: peer/signed_cc_dep_spec.proto | ||
var f, obj = { | ||
chaincodeDeploymentSpec: msg.getChaincodeDeploymentSpec_asB64(), | ||
instantiationPolicy: msg.getInstantiationPolicy_asB64(), | ||
ownerEndorsementsList: jspb.Message.toObjectList(msg.getOwnerEndorsementsList(), | ||
chaincodeDeploymentSpec: msg.getChaincodeDeploymentSpec_asB64(), | ||
instantiationPolicy: msg.getInstantiationPolicy_asB64(), | ||
ownerEndorsementsList: jspb.Message.toObjectList(msg.getOwnerEndorsementsList(), | ||
peer_proposal_response_pb.Endorsement.toObject, includeInstance) | ||
@@ -92,0 +92,0 @@ }; |
@@ -148,5 +148,5 @@ // source: peer/snapshot.proto | ||
var f, obj = { | ||
signatureHeader: (f = msg.getSignatureHeader()) && common_common_pb.SignatureHeader.toObject(includeInstance, f), | ||
channelId: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
blockNumber: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
signatureHeader: (f = msg.getSignatureHeader()) && common_common_pb.SignatureHeader.toObject(includeInstance, f), | ||
channelId: jspb.Message.getFieldWithDefault(msg, 2, ""), | ||
blockNumber: jspb.Message.getFieldWithDefault(msg, 3, 0) | ||
}; | ||
@@ -360,4 +360,4 @@ | ||
var f, obj = { | ||
signatureHeader: (f = msg.getSignatureHeader()) && common_common_pb.SignatureHeader.toObject(includeInstance, f), | ||
channelId: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
signatureHeader: (f = msg.getSignatureHeader()) && common_common_pb.SignatureHeader.toObject(includeInstance, f), | ||
channelId: jspb.Message.getFieldWithDefault(msg, 2, "") | ||
}; | ||
@@ -542,4 +542,4 @@ | ||
var f, obj = { | ||
request: msg.getRequest_asB64(), | ||
signature: msg.getSignature_asB64() | ||
request: msg.getRequest_asB64(), | ||
signature: msg.getSignature_asB64() | ||
}; | ||
@@ -758,3 +758,3 @@ | ||
var f, obj = { | ||
blockNumbersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
blockNumbersList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f | ||
}; | ||
@@ -761,0 +761,0 @@ |
@@ -172,4 +172,4 @@ // source: peer/transaction.proto | ||
var f, obj = { | ||
transactionenvelope: (f = msg.getTransactionenvelope()) && common_common_pb.Envelope.toObject(includeInstance, f), | ||
validationcode: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
transactionenvelope: (f = msg.getTransactionenvelope()) && common_common_pb.Envelope.toObject(includeInstance, f), | ||
validationcode: jspb.Message.getFieldWithDefault(msg, 2, 0) | ||
}; | ||
@@ -361,3 +361,3 @@ | ||
var f, obj = { | ||
actionsList: jspb.Message.toObjectList(msg.getActionsList(), | ||
actionsList: jspb.Message.toObjectList(msg.getActionsList(), | ||
proto.protos.TransactionAction.toObject, includeInstance) | ||
@@ -515,4 +515,4 @@ }; | ||
var f, obj = { | ||
header: msg.getHeader_asB64(), | ||
payload: msg.getPayload_asB64() | ||
header: msg.getHeader_asB64(), | ||
payload: msg.getPayload_asB64() | ||
}; | ||
@@ -724,4 +724,4 @@ | ||
var f, obj = { | ||
chaincodeProposalPayload: msg.getChaincodeProposalPayload_asB64(), | ||
action: (f = msg.getAction()) && proto.protos.ChaincodeEndorsedAction.toObject(includeInstance, f) | ||
chaincodeProposalPayload: msg.getChaincodeProposalPayload_asB64(), | ||
action: (f = msg.getAction()) && proto.protos.ChaincodeEndorsedAction.toObject(includeInstance, f) | ||
}; | ||
@@ -937,4 +937,4 @@ | ||
var f, obj = { | ||
proposalResponsePayload: msg.getProposalResponsePayload_asB64(), | ||
endorsementsList: jspb.Message.toObjectList(msg.getEndorsementsList(), | ||
proposalResponsePayload: msg.getProposalResponsePayload_asB64(), | ||
endorsementsList: jspb.Message.toObjectList(msg.getEndorsementsList(), | ||
peer_proposal_response_pb.Endorsement.toObject, includeInstance) | ||
@@ -941,0 +941,0 @@ }; |
@@ -82,5 +82,5 @@ // source: transientstore/transientstore.proto | ||
var f, obj = { | ||
endorsedAt: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
pvtRwset: (f = msg.getPvtRwset()) && ledger_rwset_rwset_pb.TxPvtReadWriteSet.toObject(includeInstance, f), | ||
collectionConfigsMap: (f = msg.getCollectionConfigsMap()) ? f.toObject(includeInstance, proto.protos.CollectionConfigPackage.toObject) : [] | ||
endorsedAt: jspb.Message.getFieldWithDefault(msg, 1, 0), | ||
pvtRwset: (f = msg.getPvtRwset()) && ledger_rwset_rwset_pb.TxPvtReadWriteSet.toObject(includeInstance, f), | ||
collectionConfigsMap: (f = msg.getCollectionConfigsMap()) ? f.toObject(includeInstance, proto.protos.CollectionConfigPackage.toObject) : [] | ||
}; | ||
@@ -87,0 +87,0 @@ |
{ | ||
"name": "@hyperledger/fabric-protos", | ||
"version": "0.3.4-dev.10516101610.1", | ||
"version": "0.3.4-dev.10993850648.1", | ||
"description": "Node bindings for Hyperledger Fabric protocol buffers", | ||
@@ -35,11 +35,11 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@tsconfig/node16": "^16.1.3", | ||
"@tsconfig/node18": "^18.2.4", | ||
"@types/google-protobuf": "^3.15.12", | ||
"cpy-cli": "^5.0.0", | ||
"typescript": "~5.4.5" | ||
"typescript": "~5.6.0" | ||
}, | ||
"dependencies": { | ||
"@grpc/grpc-js": "^1.10.6", | ||
"@grpc/grpc-js": "^1.11.0", | ||
"google-protobuf": "^3.21.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 too big to display
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 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 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 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 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 too big to display
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
2555124
Updated@grpc/grpc-js@^1.11.0