From f14306ba722040264b1f8159ca08d96676e354ac Mon Sep 17 00:00:00 2001 From: Paul Ailincai Date: Thu, 1 Jul 2021 00:13:09 +0400 Subject: [PATCH] Compatibility with Meteor 2.3 --- .idea/.gitignore | 5 +++++ package.js | 10 +++------- 2 files changed, 8 insertions(+), 7 deletions(-) create mode 100644 .idea/.gitignore diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..b58b603 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,5 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/package.js b/package.js index f049b97..962e283 100755 --- a/package.js +++ b/package.js @@ -1,7 +1,7 @@ /* globals Package, Npm, Cordova */ Package.describe({ name: 'activitree:push', - version: '2.0.8', + version: '2.0.9', summary: 'Push Notifications for Cordova and Web/PWA with Firebase (FCM).', git: 'https://github.com/activitree/meteor-push.git' }) @@ -9,7 +9,7 @@ Package.describe({ Npm.depends({ 'firebase-admin': '8.13.0', firebase: '7.17.2', - events: '3.2.0' + events: '3.3.0' }) Cordova.depends({ @@ -18,9 +18,7 @@ Cordova.depends({ }) Package.onUse(api => { - api.versionsFrom('1.8') - api.use(['ecmascript']) - + api.versionsFrom(['1.8', '2.3']) api.use(['tracker'], ['web.browser', 'web.cordova']) api.use(['accounts-base'], ['web.browser', 'web.cordova', 'server'], { weak: true }) @@ -32,8 +30,6 @@ Package.onUse(api => { 'random' ], ['client', 'server']) - api.use('mongo', 'server') - // API's api.addFiles('lib/server/pushToDevice.js', 'server') api.addFiles('lib/server/internalMethods.js', 'server')