@belocal/js-sdk 0.1.10 → 0.1.12

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.
Files changed (2) hide show
  1. package/README.md +0 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -31,16 +31,6 @@ const engine = new BelocalEngine({
31
31
  });
32
32
  ```
33
33
 
34
- ### Translation with Context
35
- ```javascript
36
- const translated = await engine.t(
37
- 'Hello {name}!',
38
- 'es',
39
- { name: 'María' }
40
- );
41
- console.log(translated); // "¡Hola María!"
42
- ```
43
-
44
34
  ## Automatic Environment Detection
45
35
 
46
36
  The SDK uses conditional exports to automatically load the optimal build:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@belocal/js-sdk",
3
- "version": "0.1.10",
3
+ "version": "0.1.12",
4
4
  "description": "BeLocal runtime JS SDK for on-demand translation (browser + node)",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",