sumba 2.1.3 → 2.1.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.
@@ -1,4 +1,5 @@
1
1
  {
2
+ "sumba": "Site Manager",
2
3
  "invalidKey": "Invalid api key provided",
3
4
  "userInactive": "User is inactive or temporarily disabled",
4
5
  "invalidToken": "Invalid token or token is expired",
@@ -1,4 +1,5 @@
1
1
  {
2
+ "sumba": "Manajemen Situs",
2
3
  "invalidKey": "Kunci API yang diberikan tidak valud",
3
4
  "userInactive": "Pengguna sedang tidak aktif atau sedang ditangguhkan secara temporer",
4
5
  "invalidToken": "Token tidak valid atau token telah kadaluarsa",
@@ -6,7 +6,7 @@ async function siteId (opts = {}) {
6
6
  maxLength: 50,
7
7
  ref: {
8
8
  site: {
9
- model: 'SumbaUser',
9
+ model: 'SumbaSite',
10
10
  propName: 'id',
11
11
  type: '1:1'
12
12
  }
@@ -6,16 +6,10 @@ async function userId (opts = {}) {
6
6
  type: 'string',
7
7
  maxLength: 50,
8
8
  ref: {
9
- site: {
10
- model: 'SumbaSite',
11
- propName: 'id',
12
- type: '1:1'
13
- },
14
9
  user: {
15
10
  model: 'SumbaUser',
16
11
  propName: 'id',
17
- type: '1:1',
18
- fields: ['id', 'username', 'email', 'firstName', 'lastName']
12
+ type: '1:1'
19
13
  }
20
14
  },
21
15
  index: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sumba",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "description": "Biz Suite for Bajo Framework",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/wiki/CHANGES.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changes
2
2
 
3
+ ## 2026-01-26
4
+
5
+ - [2.1.5] Bug fix on feature ```siteId```
6
+ - [2.1.5] Bug fix on feature ```userId```
7
+
8
+ ## 2026-01-21
9
+
10
+ - [2.1.4] Update translations
11
+
3
12
  ## 2026-01-18
4
13
 
5
14
  - [2.1.3] Drop some less necessary dependencies