@cascayd/experiment 0.1.0 → 0.2.0
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 +1 -2
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { getOrCreateSession, readVariantChoice } from './cookies';
|
|
2
2
|
let API_KEY = '';
|
|
3
|
-
let BASE_URL = '
|
|
3
|
+
let BASE_URL = 'https://ab-mvp-backend.onrender.com';
|
|
4
4
|
const SDK_VERSION = '0.1.0-dev';
|
|
5
5
|
export function initCascayd(opts) {
|
|
6
6
|
API_KEY = opts.apiKey;
|
|
7
|
-
BASE_URL = opts.baseUrl ?? BASE_URL;
|
|
8
7
|
const masked = API_KEY ? API_KEY.slice(0, 3) + '***' + API_KEY.slice(-3) : '(empty)';
|
|
9
8
|
// Visible init log to confirm updated SDK loaded
|
|
10
9
|
// eslint-disable-next-line no-console
|
package/dist/types.d.ts
CHANGED