ultimate-jekyll-manager 0.0.169 → 0.0.170

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.
@@ -194,6 +194,7 @@ async function sendUserSignupMetadata(user, webManager) {
194
194
  // Make API call to send signup metadata
195
195
  const response = await authorizedFetch(serverApiURL, {
196
196
  method: 'POST',
197
+ response: 'json',
197
198
  body: {
198
199
  command: 'user:sign-up',
199
200
  payload: payload
@@ -72,6 +72,9 @@ export default function (Manager) {
72
72
 
73
73
  const response = await authorizedFetch(serverApiURL, {
74
74
  method: 'POST',
75
+ timeout: 60000,
76
+ response: 'json',
77
+ tries: 2,
75
78
  body: {
76
79
  command: 'user:create-custom-token',
77
80
  payload: {},
@@ -79,7 +82,7 @@ export default function (Manager) {
79
82
  });
80
83
 
81
84
  // Extract token from response
82
- const token = response?.data?.token;
85
+ const token = response?.token;
83
86
 
84
87
  if (!token) {
85
88
  throw new Error('No token received from server');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-jekyll-manager",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "Ultimate Jekyll dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {