Skip to content

Commit

Permalink
Merge pull request #4 from orange-games/dev
Browse files Browse the repository at this point in the history
Added custom build of cognito sdk as per: https://github.com/aws/amaz…
  • Loading branch information
AleBles authored Jan 24, 2017
2 parents 594ffea + dc2a665 commit f1d4f13
Show file tree
Hide file tree
Showing 12 changed files with 18,831 additions and 17 deletions.
5 changes: 3 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ module.exports = function (grunt) {
dist: {
files: {
'build/<%= pkg.config.name %>.min.js': [
'node_modules/amazon-cognito-identity-js/dist/aws-cognito-sdk.min.js',
'node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js',
'node_modules/jsbn/index.js',
'vendor/aws-cognito-sdk.js',
'vendor/amazon-cognito-identity.min.js',
'build/<%= pkg.config.name %>.js'
]
}
Expand Down
2 changes: 1 addition & 1 deletion build/phaser-amazon-cognito.js

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

26 changes: 15 additions & 11 deletions build/phaser-amazon-cognito.min.js

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
<!-- Include Phaser and Amazon SDK -->
<!--<script type="text/javascript" src="../node_modules/amazon-cognito-identity-js/dist/aws-cognito-sdk.min.js"></script>-->
<!--<script type="text/javascript" src="../node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js"></script>-->
<!--<script type="text/javascript" src="../node_modules/jsbn/index.js"></script>-->
<!--<script type="text/javascript" src="../vendor/aws-cognito-sdk.min.js"></script>-->
<!--<script type="text/javascript" src="../vendor/amazon-cognito-identity.min.js"></script>-->
<script type="text/javascript" src="../node_modules/phaser/build/phaser.js"></script>
<script type="text/javascript" src="../build/phaser-amazon-cognito.min.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions 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.1",
"version": "0.1.2",
"description": "A Phaser plugin that adds User Login/Sync support trough Amazon Cognito Identity/Syn",
"contributors": [
{
Expand Down Expand Up @@ -45,6 +45,6 @@
"node": "5.x.x"
},
"dependencies": {
"amazon-cognito-identity-js": "^1.12.0"
"jsbn": "^0.1.0"
}
}
2 changes: 1 addition & 1 deletion ts/definitions.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/// <reference path='../node_modules/phaser/typescript/pixi.d.ts'/>
/// <reference path='../node_modules/phaser/typescript/phaser.d.ts'/>
/// <reference path='./amazon-cognito-identify.d.ts'/>
/// <reference path='../vendor/amazon-cognito-identity.d.ts'/>
File renamed without changes.
38 changes: 38 additions & 0 deletions vendor/amazon-cognito-identity.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions vendor/amazon-cognito-identity.min.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit f1d4f13

Please sign in to comment.