UNPKG

@ic-wallet-kit/hpl

Version:
20 lines (19 loc) 557 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TransferAccountReferenceProvider = void 0; class TransferAccountReferenceProvider { static toTransferAccountReference(model) { if (model.owner) { return { type: model.type, owner: model.owner, id: model.id, }; } return { type: model.type, id: model.id }; } } exports.TransferAccountReferenceProvider = TransferAccountReferenceProvider;