@alaikis/translation-sdk 1.2.0 → 1.2.1
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/package.json +1 -1
- package/translation-client.js +8 -0
package/package.json
CHANGED
package/translation-client.js
CHANGED
|
@@ -1240,4 +1240,12 @@ define("translation-client", ["require", "exports"], function (require, exports)
|
|
|
1240
1240
|
}
|
|
1241
1241
|
exports.createTranslation = createTranslation;
|
|
1242
1242
|
exports.default = createTranslation;
|
|
1243
|
+
// Auto-export to global for browser usage
|
|
1244
|
+
if (typeof window !== 'undefined') {
|
|
1245
|
+
window.LakerTranslation = {
|
|
1246
|
+
TranslationClient,
|
|
1247
|
+
createTranslation,
|
|
1248
|
+
default: createTranslation
|
|
1249
|
+
};
|
|
1250
|
+
}
|
|
1243
1251
|
});
|