Skip to content

Commit

Permalink
chore(release): Release 1.0.3 to Atmosphere, npm and Bower
Browse files Browse the repository at this point in the history
  • Loading branch information
Urigo committed May 1, 2016
1 parent e0292c0 commit 60361e6
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 74 deletions.
116 changes: 56 additions & 60 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,78 +1,74 @@
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
angular:[email protected]
angular:[email protected]
babel-compiler@6.6.1
[email protected].7
[email protected].7
babel-compiler@5.8.24_1
[email protected].4
[email protected].4
benjamine:[email protected]_1
[email protected].7
[email protected].6
[email protected].7
[email protected].7
[email protected].3
[email protected].7
[email protected].3
[email protected].16
[email protected].4
[email protected].3
[email protected].4
[email protected].4
[email protected].0
[email protected].4
[email protected].0
[email protected].11
dburles:[email protected]
[email protected].4
[email protected].4
[email protected].4
[email protected].3
[email protected].5
[email protected].11
[email protected].4
ecmascript@0.4.2
[email protected].9
[email protected].10
[email protected].7
[email protected].8
[email protected].8
[email protected].6
[email protected].7
[email protected].2
[email protected].1
[email protected].2
[email protected].0
[email protected].2
[email protected].9
[email protected].1
ecmascript@0.1.6
[email protected].6
[email protected].7
[email protected].4
[email protected].5
[email protected].5
[email protected].4
[email protected].4
lai:[email protected]
local-test:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]_1
[email protected]
[email protected]
[email protected]
practicalmeteor:[email protected]_1
practicalmeteor:[email protected]_2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
sanjo:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
sanjo:[email protected]
sanjo:[email protected]
sanjo:[email protected]
sanjo:[email protected]_7
sanjo:[email protected]
[email protected].8
[email protected].4
[email protected].10
[email protected].10
[email protected].12
[email protected].10
[email protected].7
[email protected].5
[email protected].1
[email protected].7
[email protected].7
[email protected].9
[email protected].8
[email protected].4
velocity:[email protected]_1
velocity:[email protected]
velocity:[email protected]_7
velocity:[email protected]
velocity:[email protected]
velocity:[email protected]_1
[email protected].7
[email protected].8
[email protected].3
[email protected].5
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-meteor-auth",
"main": "./dist/angular-meteor-auth.bundle.min.js",
"version": "1.0.2",
"version": "1.0.3",
"homepage": "https://github.com/Urigo/angular-meteor-auth",
"authors": [
"Uri Goldshtein <[email protected]>"
Expand Down
20 changes: 12 additions & 8 deletions dist/angular-meteor-auth.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! angular-meteor-auth v1.0.2 */
/*! angular-meteor-auth v1.0.3 */
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
Expand Down Expand Up @@ -64,14 +64,14 @@ return /******/ (function(modules) { // webpackBootstrap
exports.default = name;


angular.module(name, ['angular-meteor.mixer', 'angular-meteor.core', 'angular-meteor.view-model', 'angular-meteor.reactive'])
angular.module(name, ['angular-meteor.mixer', 'angular-meteor.scope', 'angular-meteor.core', 'angular-meteor.view-model', 'angular-meteor.reactive'])

/*
A mixin which provides us with authentication related methods and properties.
This mixin comes in a seperate package called `angular-meteor-auth`. Note that `accounts-base`
package needs to be installed in order for this module to work, otherwise an error will be thrown.
*/
.factory('$$Auth', ['$Mixer', function ($Mixer) {
.factory('$$Auth', ['$Mixer', '$log', function ($Mixer, $log) {
var Accounts = (Package['accounts-base'] || {}).Accounts;

if (!Accounts) {
Expand All @@ -86,11 +86,13 @@ return /******/ (function(modules) { // webpackBootstrap
function $$Auth() {
var vm = arguments.length <= 0 || arguments[0] === undefined ? this : arguments[0];

// reset auth properties
// Reset auth properties
this.autorun(function () {
vm.currentUser = Accounts.user();
vm.currentUserId = Accounts.userId();
vm.isLoggingIn = Accounts.loggingIn();
// Note that we use Meteor and not Accounts since the following methods are
// not available in older versions of `accounts-base` meteor package
vm.currentUser = Meteor.user();
vm.currentUserId = Meteor.userId();
vm.isLoggingIn = Meteor.loggingIn();
});
}

Expand Down Expand Up @@ -164,7 +166,9 @@ return /******/ (function(modules) { // webpackBootstrap
// Silent error
$$Auth.$waitForUser = function () {
// Silent error
return this.$awaitUser().catch();
return this.$awaitUser().catch(function (err) {
$log.debug('user login has failed (' + err + ')');
});
};

// No validation
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-meteor-auth.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 60361e6

Please sign in to comment.