pairit 0.1.0 → 0.1.1

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -9935,7 +9935,7 @@ var CREDENTIALS_BACKEND = process.env.PAIRIT_CREDENTIALS_BACKEND || "keychain";
9935
9935
  var KEYCHAIN_SERVICE = "pairit-cli";
9936
9936
  var KEYCHAIN_ACCOUNT = "default";
9937
9937
  var KEYTAR_MODULE_SPECIFIER = "keytar";
9938
- var BASE_URL = process.env.PAIRIT_API_URL || "http://localhost:3002";
9938
+ var BASE_URL = process.env.PAIRIT_API_URL || "https://manager-432501290611.us-central1.run.app";
9939
9939
  async function exchangeCodeForToken(code) {
9940
9940
  const response = await fetch(`${BASE_URL}/api/cli/exchange`, {
9941
9941
  method: "POST",
@@ -10470,13 +10470,13 @@ function getFunctionsBaseUrl() {
10470
10470
  if (process9.env.PAIRIT_API_URL) {
10471
10471
  return process9.env.PAIRIT_API_URL;
10472
10472
  }
10473
- return "http://localhost:3002";
10473
+ return "https://manager-432501290611.us-central1.run.app";
10474
10474
  }
10475
10475
  function getLabUrl() {
10476
10476
  if (process9.env.PAIRIT_LAB_URL) {
10477
10477
  return process9.env.PAIRIT_LAB_URL;
10478
10478
  }
10479
- return "http://localhost:3000";
10479
+ return "https://lab-432501290611.us-central1.run.app";
10480
10480
  }
10481
10481
  function getInlineMediaLimit() {
10482
10482
  const fromEnv = Number(process9.env.PAIRIT_MAX_INLINE_MEDIA_BYTES);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pairit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "CLI for the Pairit behavioral science experiment platform",
5
5
  "type": "module",
6
6
  "bin": {