@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alaikis/translation-sdk",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Laker Translation Service SDK for TypeScript/JavaScript",
5
5
  "main": "translation-client.js",
6
6
  "types": "translation-client.d.ts",
@@ -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
  });