UNPKG

@digitalasset/daml-ledger

Version:
19 lines 813 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.SubmitAndWaitForTransactionIdResponseCodec = void 0; const command_service_pb_1 = require("../generated/com/daml/ledger/api/v1/command_service_pb"); exports.SubmitAndWaitForTransactionIdResponseCodec = { deserialize(message) { return { transactionId: message.getTransactionId() }; }, serialize(object) { const result = new command_service_pb_1.SubmitAndWaitForTransactionIdResponse(); result.setTransactionId(object.transactionId); return result; } }; //# sourceMappingURL=SubmitAndWaitForTransactionIdResponseCodec.js.map