@reproapp/node-sdk 0.0.2 → 0.0.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/dist/index.js CHANGED
@@ -849,7 +849,7 @@ async function post(cfg, sessionId, body) {
849
849
  try {
850
850
  const envBase = typeof process !== 'undefined' ? process?.env?.REPRO_API_BASE : undefined;
851
851
  const legacyBase = cfg?.apiBase;
852
- const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
852
+ const apiBase = String(envBase || legacyBase || 'https://repro-api-d7288.ondigitalocean.app/api').replace(/\/+$/, '');
853
853
  await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
854
854
  method: 'POST',
855
855
  headers: {
@@ -11,7 +11,7 @@ async function post(cfg, sessionId, body) {
11
11
  try {
12
12
  const envBase = typeof process !== 'undefined' ? process?.env?.REPRO_API_BASE : undefined;
13
13
  const legacyBase = cfg?.apiBase;
14
- const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
14
+ const apiBase = String(envBase || legacyBase || 'https://repro-api-d7288.ondigitalocean.app/api').replace(/\/+$/, '');
15
15
  await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
16
16
  method: 'POST',
17
17
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reproapp/node-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Repro Nest SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -44,4 +44,4 @@
44
44
  "shimmer": "^1.2.1",
45
45
  "testcontainers": "^11.8.1"
46
46
  }
47
- }
47
+ }
package/src/index.ts CHANGED
@@ -1130,7 +1130,7 @@ async function post(
1130
1130
  try {
1131
1131
  const envBase = typeof process !== 'undefined' ? (process as any)?.env?.REPRO_API_BASE : undefined;
1132
1132
  const legacyBase = (cfg as any)?.apiBase;
1133
- const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
1133
+ const apiBase = String(envBase || legacyBase || 'https://repro-api-d7288.ondigitalocean.app/api').replace(/\/+$/, '');
1134
1134
  await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
1135
1135
  method: 'POST',
1136
1136
  headers: {
@@ -15,7 +15,7 @@ async function post(
15
15
  try {
16
16
  const envBase = typeof process !== 'undefined' ? (process as any)?.env?.REPRO_API_BASE : undefined;
17
17
  const legacyBase = (cfg as any)?.apiBase;
18
- const apiBase = String(envBase || legacyBase || 'https://oozy-loreta-gully.ngrok-free.dev').replace(/\/+$/, '');
18
+ const apiBase = String(envBase || legacyBase || 'https://repro-api-d7288.ondigitalocean.app/api').replace(/\/+$/, '');
19
19
  await fetch(`${apiBase}/v1/sessions/${sessionId}/backend`, {
20
20
  method: 'POST',
21
21
  headers: {