UNPKG

@barchart/common-node-js

Version:

Common classes, utilities, and functions for building Node.js servers

24 lines (20 loc) 542 B
const CompressedAdHocSerializer = require('./CompressedAdHocSerializer'); module.exports = (() => { 'use strict'; /** * Converts an {@link AdHoc} instance into (and back from) the compressed * and encrypted representation used on a DynamoDB record. * * @public * @extends {CompressedAdHocSerializer} */ class EncryptedAdHocSerializer extends CompressedAdHocSerializer { constructor(attribute) { super(attribute); } toString() { return '[EncryptedAdHocSerializer]'; } } return EncryptedAdHocSerializer; })();