@thestatic-tv/dcl-sdk 2.5.16 → 2.5.17
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
|
@@ -3826,7 +3826,7 @@ var StaticTVClient = class {
|
|
|
3826
3826
|
} else if (config.apiKey.startsWith("dcls_")) {
|
|
3827
3827
|
this._keyType = KEY_TYPE_SCENE;
|
|
3828
3828
|
} else {
|
|
3829
|
-
console.
|
|
3829
|
+
console.log("[TheStatic] Invalid API key format - get your key at thestatic.tv/dashboard");
|
|
3830
3830
|
this._disabled = true;
|
|
3831
3831
|
this._keyType = null;
|
|
3832
3832
|
this._resolveFeaturesReady("free");
|
|
@@ -3952,7 +3952,7 @@ var StaticTVClient = class {
|
|
|
3952
3952
|
* @internal
|
|
3953
3953
|
*/
|
|
3954
3954
|
warn(message) {
|
|
3955
|
-
console.
|
|
3955
|
+
console.log(`[TheStatic] WARN: ${message}`);
|
|
3956
3956
|
}
|
|
3957
3957
|
/**
|
|
3958
3958
|
* Log an error (always shown, user-friendly format)
|
package/dist/index.mjs
CHANGED
|
@@ -3781,7 +3781,7 @@ var StaticTVClient = class {
|
|
|
3781
3781
|
} else if (config.apiKey.startsWith("dcls_")) {
|
|
3782
3782
|
this._keyType = KEY_TYPE_SCENE;
|
|
3783
3783
|
} else {
|
|
3784
|
-
console.
|
|
3784
|
+
console.log("[TheStatic] Invalid API key format - get your key at thestatic.tv/dashboard");
|
|
3785
3785
|
this._disabled = true;
|
|
3786
3786
|
this._keyType = null;
|
|
3787
3787
|
this._resolveFeaturesReady("free");
|
|
@@ -3907,7 +3907,7 @@ var StaticTVClient = class {
|
|
|
3907
3907
|
* @internal
|
|
3908
3908
|
*/
|
|
3909
3909
|
warn(message) {
|
|
3910
|
-
console.
|
|
3910
|
+
console.log(`[TheStatic] WARN: ${message}`);
|
|
3911
3911
|
}
|
|
3912
3912
|
/**
|
|
3913
3913
|
* Log an error (always shown, user-friendly format)
|
package/package.json
CHANGED