@thestatic-tv/dcl-sdk 2.0.2 → 2.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2132,7 +2132,7 @@ var StaticTVClient = class {
|
|
|
2132
2132
|
};
|
|
2133
2133
|
this.baseUrl = config.baseUrl || DEFAULT_BASE_URL;
|
|
2134
2134
|
if (!config.apiKey) {
|
|
2135
|
-
console.
|
|
2135
|
+
console.log("[StaticTV] No apiKey provided - tracking disabled. Scene will load normally.");
|
|
2136
2136
|
this._disabled = true;
|
|
2137
2137
|
this._keyType = null;
|
|
2138
2138
|
this.session = null;
|
|
@@ -2148,7 +2148,7 @@ var StaticTVClient = class {
|
|
|
2148
2148
|
} else if (config.apiKey.startsWith("dcls_")) {
|
|
2149
2149
|
this._keyType = KEY_TYPE_SCENE;
|
|
2150
2150
|
} else {
|
|
2151
|
-
console.
|
|
2151
|
+
console.log("[StaticTV] Invalid apiKey format (must start with dclk_ or dcls_) - tracking disabled. Scene will load normally.");
|
|
2152
2152
|
this._disabled = true;
|
|
2153
2153
|
this._keyType = null;
|
|
2154
2154
|
this.session = null;
|
package/dist/index.mjs
CHANGED
|
@@ -2092,7 +2092,7 @@ var StaticTVClient = class {
|
|
|
2092
2092
|
};
|
|
2093
2093
|
this.baseUrl = config.baseUrl || DEFAULT_BASE_URL;
|
|
2094
2094
|
if (!config.apiKey) {
|
|
2095
|
-
console.
|
|
2095
|
+
console.log("[StaticTV] No apiKey provided - tracking disabled. Scene will load normally.");
|
|
2096
2096
|
this._disabled = true;
|
|
2097
2097
|
this._keyType = null;
|
|
2098
2098
|
this.session = null;
|
|
@@ -2108,7 +2108,7 @@ var StaticTVClient = class {
|
|
|
2108
2108
|
} else if (config.apiKey.startsWith("dcls_")) {
|
|
2109
2109
|
this._keyType = KEY_TYPE_SCENE;
|
|
2110
2110
|
} else {
|
|
2111
|
-
console.
|
|
2111
|
+
console.log("[StaticTV] Invalid apiKey format (must start with dclk_ or dcls_) - tracking disabled. Scene will load normally.");
|
|
2112
2112
|
this._disabled = true;
|
|
2113
2113
|
this._keyType = null;
|
|
2114
2114
|
this.session = null;
|
package/package.json
CHANGED