@bigso/auth-sdk 0.4.3 → 0.4.4
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.
- package/dist/index.cjs +6 -2
- package/dist/index.js +6 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -183,8 +183,12 @@ var BigsoAuth = class extends EventEmitter {
|
|
|
183
183
|
this.debug("JWS v\xE1lido, payload:", decoded);
|
|
184
184
|
this.closeUI();
|
|
185
185
|
cleanup();
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
const result = {
|
|
187
|
+
...decoded,
|
|
188
|
+
signed_payload: payload.signed_payload
|
|
189
|
+
};
|
|
190
|
+
this.emit("success", result);
|
|
191
|
+
resolve(result);
|
|
188
192
|
} catch (err) {
|
|
189
193
|
this.debug("Error en sso-success:", err);
|
|
190
194
|
this.closeUI();
|
package/dist/index.js
CHANGED
|
@@ -157,8 +157,12 @@ var BigsoAuth = class extends EventEmitter {
|
|
|
157
157
|
this.debug("JWS v\xE1lido, payload:", decoded);
|
|
158
158
|
this.closeUI();
|
|
159
159
|
cleanup();
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
const result = {
|
|
161
|
+
...decoded,
|
|
162
|
+
signed_payload: payload.signed_payload
|
|
163
|
+
};
|
|
164
|
+
this.emit("success", result);
|
|
165
|
+
resolve(result);
|
|
162
166
|
} catch (err) {
|
|
163
167
|
this.debug("Error en sso-success:", err);
|
|
164
168
|
this.closeUI();
|