UNPKG

@digitalasset/daml-ledger

Version:
20 lines 828 B
"use strict"; // Copyright (c) 2021 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. // SPDX-License-Identifier: Apache-2.0 Object.defineProperty(exports, "__esModule", { value: true }); exports.GetParticipantIdResponseCodec = void 0; const party_management_service_pb_1 = require("../generated/com/daml/ledger/api/v1/admin/party_management_service_pb"); exports.GetParticipantIdResponseCodec = { deserialize(message) { const object = { participantId: message.getParticipantId() }; return object; }, serialize(object) { const message = new party_management_service_pb_1.GetParticipantIdResponse(); message.setParticipantId(object.participantId); return message; } }; //# sourceMappingURL=GetParticipantIdResponseCodec.js.map