capacitor-sso-webview 0.0.2 → 0.0.3

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.
@@ -33,10 +33,10 @@ public class SSOWebViewPlugin extends Plugin {
33
33
  title,
34
34
  new SSOWebView.Listener() {
35
35
  @Override
36
- public void onRedirectIntercepted(String u, String code, String state) {
36
+ public void onRedirectIntercepted(String u, String code, String state, String body) {
37
37
  JSObject ret = new JSObject();
38
- ret.put("url", u);
39
- ret.put("code", code);
38
+ ret.put("url", u);
39
+ ret.put("code", code);
40
40
  ret.put("state", state);
41
41
  ret.put("body", body);
42
42
  notifyListeners("ssoRedirect", ret);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "capacitor-sso-webview",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "SSO WebView with URL intercept",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",