@inweb/client 25.4.4 → 25.4.7
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/dist/client.js +8 -2
- package/dist/client.js.map +1 -1
- package/dist/client.min.js +1 -1
- package/dist/client.module.js +5 -2
- package/dist/client.module.js.map +1 -1
- package/lib/Api/User.d.ts +4 -30
- package/package.json +2 -2
- package/src/Api/User.ts +7 -37
package/dist/client.js
CHANGED
|
@@ -3482,6 +3482,12 @@
|
|
|
3482
3482
|
get initials() {
|
|
3483
3483
|
return this.data.initials;
|
|
3484
3484
|
}
|
|
3485
|
+
/**
|
|
3486
|
+
* `true` if user is has an administrator rights.
|
|
3487
|
+
*/
|
|
3488
|
+
get isAdmin() {
|
|
3489
|
+
return this.data.isAdmin;
|
|
3490
|
+
}
|
|
3485
3491
|
/**
|
|
3486
3492
|
* `false` if the user has not yet confirmed his email address.
|
|
3487
3493
|
*
|
|
@@ -3753,7 +3759,7 @@
|
|
|
3753
3759
|
.then((data) => ({
|
|
3754
3760
|
...data,
|
|
3755
3761
|
server: data.version,
|
|
3756
|
-
client: "25.4.
|
|
3762
|
+
client: "25.4.7",
|
|
3757
3763
|
}));
|
|
3758
3764
|
}
|
|
3759
3765
|
/**
|
|
@@ -4446,7 +4452,7 @@
|
|
|
4446
4452
|
}
|
|
4447
4453
|
|
|
4448
4454
|
///////////////////////////////////////////////////////////////////////////////
|
|
4449
|
-
const version = "25.4.
|
|
4455
|
+
const version = "25.4.7";
|
|
4450
4456
|
|
|
4451
4457
|
exports.Assembly = Assembly;
|
|
4452
4458
|
exports.ClashTest = ClashTest;
|