Skip to content

Commit

Permalink
So the build failed previously...
Browse files Browse the repository at this point in the history
  • Loading branch information
AleBles committed Jan 24, 2017
1 parent a6d335d commit d8ad84a
Show file tree
Hide file tree
Showing 4 changed files with 242 additions and 31 deletions.
240 changes: 238 additions & 2 deletions build/phaser-amazon-cognito.js

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

6 changes: 3 additions & 3 deletions build/phaser-amazon-cognito.min.js

Large diffs are not rendered by default.

25 changes: 0 additions & 25 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,6 @@

<!-- Game we want to track -->
<script type="text/javascript">
AWSCognito.config.region = 'eu-west-1';

var poolData = {
UserPoolId : '', // Your user pool id here
ClientId : '' // Your client id here
};
var userPool = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserPool(poolData);

var attributeList = [];

var dataEmail = {
Name : 'email',
Value : '[email protected]' // your email here
};
var dataPhoneNumber = {
Name : 'preferred_username',
Value : 'TestUserSomething' // your phone number here with +country code and no delimiters in front
};
var attributeEmail = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserAttribute(dataEmail);
var attributePhoneNumber = new AWSCognito.CognitoIdentityServiceProvider.CognitoUserAttribute(dataPhoneNumber);

attributeList.push(attributeEmail);
attributeList.push(attributePhoneNumber);


var game = new Phaser.Game(800, 600, Phaser.AUTO, 'game-container', { init: init, create: create, preload: preload});
Phaser.Device.whenReady(function () {
game.plugins.add(Fabrique.Plugins.Cognito);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@orange-games/phaser-amazon-cognito",
"author": "OrangeGames",
"version": "0.1.0",
"version": "0.1.1",
"description": "A Phaser plugin that adds User Login/Sync support trough Amazon Cognito Identity/Syn",
"contributors": [
{
Expand Down

0 comments on commit d8ad84a

Please sign in to comment.