@mybe/sdk 1.0.5 → 1.0.6
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/client.js +2 -2
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -12,13 +12,13 @@ export class MybeSDK {
|
|
|
12
12
|
}
|
|
13
13
|
else {
|
|
14
14
|
const isDevelopment = typeof process !== 'undefined' &&
|
|
15
|
-
process.env.
|
|
15
|
+
process.env.CONTENSA_SDK_ENV === 'development';
|
|
16
16
|
// Use custom domain for SDK endpoints
|
|
17
17
|
// TODO: Update production URL when production custom domain is ready
|
|
18
18
|
// Production: https://fizsdck7l0.execute-api.us-east-1.amazonaws.com/dev/api/v1
|
|
19
19
|
this.baseUrl = isDevelopment
|
|
20
20
|
? 'https://sdk-dev.contensa.ai/dev/api/v1'
|
|
21
|
-
: 'https://sdk
|
|
21
|
+
: 'https://sdk.contensa.ai/dev/api/v1'; // Using dev URL for both temporarily
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
/**
|