amazon-cognito-auth-js
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -1,1 +0,3 @@ | ||
export var decode = str => global.atob(str); | ||
export var decode = function (str) { | ||
return global.atob(str); | ||
}; |
import { Buffer } from 'buffer'; | ||
export var decode = str => Buffer.from(str, 'base64').toString('utf8'); | ||
export var decode = function (str) { | ||
return Buffer.from(str, 'base64').toString('utf8'); | ||
}; |
var SELF = '_self'; | ||
export var launchUri = url => window.open(url, SELF); | ||
export var launchUri = function (url) { | ||
return window.open(url, SELF); | ||
}; |
import { Linking } from 'react-native'; | ||
export var launchUri = url => Linking.openURL(url); | ||
export var launchUri = function (url) { | ||
return Linking.openURL(url); | ||
}; |
{ | ||
"name": "amazon-cognito-auth-js", | ||
"description": "Amazon Cognito Auth JavaScript SDK", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Amazon Web Services", |
@@ -217,2 +217,10 @@ # Amazon Cognito Auth SDK for JavaScript | ||
**v1.3.2** | ||
* Add arrow function babel transform for ES build (#187) | ||
**v1.3.1** | ||
* Fix transpiling (#185) | ||
**v1.3.0** | ||
@@ -219,0 +227,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1330776
23436
314