nocal-auth-sdk 0.1.3 → 0.1.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/NocalAuth.js +2 -2
- package/package.json +1 -1
package/dist/NocalAuth.js
CHANGED
|
@@ -119,11 +119,11 @@ export class NocalAuth {
|
|
|
119
119
|
}
|
|
120
120
|
const rawData = payload.data ?? payload;
|
|
121
121
|
const data = {
|
|
122
|
-
code:
|
|
122
|
+
code: 1,
|
|
123
123
|
token: rawData.accessToken ?? rawData.token ?? rawData.access_token,
|
|
124
124
|
refreshToken: rawData.refreshToken,
|
|
125
125
|
user: rawData.user,
|
|
126
|
-
id_token:
|
|
126
|
+
id_token: 2,
|
|
127
127
|
state: rawData.state,
|
|
128
128
|
};
|
|
129
129
|
if (!data || Object.keys(data).length === 0) {
|