@capgo/capacitor-social-login 0.1.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -189,15 +189,16 @@ public class AppleProvider implements SocialProvider {
189
189
  }
190
190
  }
191
191
 
192
- this.appleAuthURLFull = AUTHURL +
193
- "?client_id=" +
194
- this.clientId +
195
- "&redirect_uri=" +
196
- this.redirectUrl +
197
- "&response_type=code&scope=" +
198
- scopes +
199
- "&response_mode=form_post&state=" +
200
- state;
192
+ this.appleAuthURLFull =
193
+ AUTHURL +
194
+ "?client_id=" +
195
+ this.clientId +
196
+ "&redirect_uri=" +
197
+ this.redirectUrl +
198
+ "&response_type=code&scope=" +
199
+ scopes +
200
+ "&response_mode=form_post&state=" +
201
+ state;
201
202
 
202
203
  if (nonce != null) {
203
204
  this.appleAuthURLFull += "&nonce=" + nonce;
@@ -324,7 +324,7 @@ public class GoogleProvider implements SocialProvider {
324
324
 
325
325
  // Extract scopes from the config
326
326
  JSONArray scopesArray = config.optJSONArray("scopes");
327
-
327
+
328
328
  // Remove duplicates from scopes array
329
329
  if (scopesArray != null) {
330
330
  Set<String> uniqueScopes = new HashSet<>();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-social-login",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "All social logins in one plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",