@belocal/js-sdk 0.1.10 → 0.1.11

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 +2 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,9 +34,8 @@ const engine = new BelocalEngine({
34
34
  ### Translation with Context
35
35
  ```javascript
36
36
  const translated = await engine.t(
37
- 'Hello {name}!',
38
- 'es',
39
- { name: 'María' }
37
+ 'Hello María!',
38
+ 'es'
40
39
  );
41
40
  console.log(translated); // "¡Hola María!"
42
41
  ```
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.11",
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",