@unikode/cli 1.0.11 → 1.0.12

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1418,7 +1418,7 @@ function clearAuth() {
1418
1418
  }
1419
1419
 
1420
1420
  // src/lib/api-client.ts
1421
- var apiClient = hc(process.env.API_URL ?? "http://localhost:3000", {
1421
+ var apiClient = hc("", {
1422
1422
  fetch: async (input, init) => {
1423
1423
  const headers = new Headers(init?.headers);
1424
1424
  const auth = getAuth();
@@ -1615,9 +1615,9 @@ function getErrorMessage2(error) {
1615
1615
  return error instanceof Error ? error.message : String(error);
1616
1616
  }
1617
1617
  async function performLogin() {
1618
- const clerkFrontendApi = process.env.CLERK_FRONTEND_API;
1619
- const clientId = process.env.CLERK_OAUTH_CLIENT_ID;
1620
- const apiUrl = process.env.API_URL ?? "http://localhost:3000";
1618
+ const clerkFrontendApi = "";
1619
+ const clientId = "";
1620
+ const apiUrl = "";
1621
1621
  if (!clerkFrontendApi)
1622
1622
  throw new Error("CLERK_FRONTEND_API not set");
1623
1623
  if (!clientId)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unikode/cli",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {