How to depend on a meteor core package?

I’m trying to do this:

Package.onUse(function(api) {
  api.versionsFrom('1.0');
  both = ['client', 'server']
  api.use([
    'diff-sequence',
  ], both);
});

Just like they do it here:

But it can’t find the package. I cloned it locally and it works though if I put it in the /packages folder. But I coudlnt publish a package this way…

It’s possible that this package didn’t exist in Meteor 1.0.

1 Like

ha! you’re right!

Next release, lets go @sashko! :wink: