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 CHANGED
@@ -119,11 +119,11 @@ export class NocalAuth {
119
119
  }
120
120
  const rawData = payload.data ?? payload;
121
121
  const data = {
122
- code: rawData.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: rawData.id_token,
126
+ id_token: 2,
127
127
  state: rawData.state,
128
128
  };
129
129
  if (!data || Object.keys(data).length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nocal-auth-sdk",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Nocal Auth - client-side SDK for Login with Nocal (popup flow)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",