text: Package.describe({
    summary: "Code shared beween ddp-client and ddp-server",
    version: '1.2.5',
    documentation: null
  });
  
  Package.onUse(function (api) {
    api.use(['check', 'random', 'ejson', 'underscore', 'tracker',
             'retry'],
            ['client', 'server']);
  
    api.addFiles('namespace.js');
  
    api.addFiles('heartbeat.js', ['client', 'server']);
    api.addFiles('utils.js', ['client', 'server']);
    api.addFiles('method_invocation.js', ['client', 'server']);
    api.addFiles('random_stream.js', ['client', 'server']);
  
    api.export('DDPCommon');
  });
  
  Package.onTest(function (api) {
    // XXX we should write unit tests for heartbeat
  });
  