ultimate-jekyll-manager 0.0.202 → 0.0.203

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.
@@ -203,6 +203,7 @@ async function sendUserSignupMetadata(user, webManager) {
203
203
  const response = await authorizedFetch(serverApiURL, {
204
204
  method: 'POST',
205
205
  response: 'json',
206
+ tries: 3,
206
207
  body: payload,
207
208
  });
208
209
 
@@ -25,7 +25,7 @@ export async function authorizedFetch(url, options = {}) {
25
25
  }
26
26
 
27
27
  // Get the ID token - let it throw if it fails
28
- const idToken = await user.getIdToken();
28
+ const idToken = await user.getIdToken(true);
29
29
 
30
30
  // Ensure headers object exists
31
31
  if (!requestOptions.headers) {
@@ -33,7 +33,7 @@ export async function authorizedFetch(url, options = {}) {
33
33
  }
34
34
 
35
35
  // Set the Authorization header with Bearer token
36
- requestOptions.headers['Authorization'] = 'Bearer ' + idToken;
36
+ requestOptions.headers['Authorization'] = `Bearer ${idToken}`;
37
37
 
38
38
  // Make the request using wonderful-fetch
39
39
  return fetch(url, requestOptions);
@@ -7,7 +7,7 @@ const path = require('path');
7
7
  const jetpack = require('fs-jetpack');
8
8
  const wp = require('webpack');
9
9
  const ReplacePlugin = require('../plugins/webpack/replace.js');
10
- const stripDevBlocksLoader = require.resolve('../loaders/webpack/strip-dev-blocks-loader.js');
10
+ const stripDevBlocksLoader = require.resolve('../loaders/webpack/strip-dev-blocks.js');
11
11
  const yaml = require('js-yaml');
12
12
  const version = require('wonderful-version');
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultimate-jekyll-manager",
3
- "version": "0.0.202",
3
+ "version": "0.0.203",
4
4
  "description": "Ultimate Jekyll dependency manager",
5
5
  "main": "dist/index.js",
6
6
  "exports": {