@discord/intl 0.0.3 → 0.0.5
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/message-loader.js +0 -1
- package/package.json +1 -1
- package/src/message-loader.ts +0 -3
package/dist/message-loader.js
CHANGED
|
@@ -128,7 +128,6 @@ var MessageLoader = /** @class */ (function () {
|
|
|
128
128
|
_a[_b] = (_c.sent()).default;
|
|
129
129
|
delete this._localeLoadingPromises[locale];
|
|
130
130
|
loadEnd = performance.now();
|
|
131
|
-
console.warn("[INTL] Took ".concat(loadEnd - loadStart, "ms to load ").concat(locale, " with ").concat(Object.keys(this.messages[locale]).length, " keys"));
|
|
132
131
|
this.emitChange();
|
|
133
132
|
return [2 /*return*/];
|
|
134
133
|
}
|
package/package.json
CHANGED
package/src/message-loader.ts
CHANGED
|
@@ -128,9 +128,6 @@ export class MessageLoader {
|
|
|
128
128
|
this.messages[locale] = (await loadingPromise).default;
|
|
129
129
|
delete this._localeLoadingPromises[locale];
|
|
130
130
|
const loadEnd = performance.now();
|
|
131
|
-
console.warn(
|
|
132
|
-
`[INTL] Took ${loadEnd - loadStart}ms to load ${locale} with ${Object.keys(this.messages[locale]).length} keys`,
|
|
133
|
-
);
|
|
134
131
|
this.emitChange();
|
|
135
132
|
}
|
|
136
133
|
|