@embeddable.com/sdk-core 4.1.9-next.2 → 4.1.9-next.3

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/lib/index.esm.js CHANGED
@@ -21817,7 +21817,7 @@ async function getWorkspaces(ctx, token, workspaceSpinner) {
21817
21817
  throw e;
21818
21818
  }
21819
21819
  if (((_c = e.response) === null || _c === void 0 ? void 0 : _c.status) === 401) {
21820
- workspaceSpinner.fail('Unauthorized. Please login using "embeddable login" command.');
21820
+ workspaceSpinner.fail('Unauthorized. Please login using "npm run embeddable:login"');
21821
21821
  }
21822
21822
  else {
21823
21823
  workspaceSpinner.fail("Failed to fetch workspaces");
@@ -21962,7 +21962,7 @@ async function verify(ctx) {
21962
21962
  // TODO: initiate login if no/invalid token.
21963
21963
  const token = await getToken();
21964
21964
  if (!token) {
21965
- console.error("Expired token. Please login again.");
21965
+ console.error('Unauthorized. Please login using "npm run embeddable:login"');
21966
21966
  process.exit(1);
21967
21967
  }
21968
21968
  return token;