Skip to content

Commit 11f7604

Browse files
committed
Update version to 8.5.0
1 parent d660496 commit 11f7604

File tree

9 files changed

+58
-10
lines changed

9 files changed

+58
-10
lines changed

cjs/client.cjs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23753,6 +23753,14 @@ Users.prototype.list = function () {
2375323753
return usersList;
2375423754
};
2375523755

23756+
/**
23757+
* Returns the number of registered identities
23758+
* @return {number}
23759+
*/
23760+
Users.prototype.count = function () {
23761+
return Object.keys(this.list()).length;
23762+
};
23763+
2375623764
/**
2375723765
* Remove an identity
2375823766
* @param {string} userId - The ID of the user
@@ -23921,8 +23929,12 @@ function Client(options) {
2392123929
options.requestTimeout = 4000;
2392223930
}
2392323931

23932+
if (!options.oidc) {
23933+
options.oidc = {};
23934+
}
23935+
2392423936
// Set the client name using the current lib version and provided application info
23925-
options.clientName = "MIRACL Client.js/8.2.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23937+
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2392623938

2392723939
self.options = options;
2392823940

cjs/promise.cjs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23753,6 +23753,14 @@ Users.prototype.list = function () {
2375323753
return usersList;
2375423754
};
2375523755

23756+
/**
23757+
* Returns the number of registered identities
23758+
* @return {number}
23759+
*/
23760+
Users.prototype.count = function () {
23761+
return Object.keys(this.list()).length;
23762+
};
23763+
2375623764
/**
2375723765
* Remove an identity
2375823766
* @param {string} userId - The ID of the user
@@ -23921,8 +23929,12 @@ function Client(options) {
2392123929
options.requestTimeout = 4000;
2392223930
}
2392323931

23932+
if (!options.oidc) {
23933+
options.oidc = {};
23934+
}
23935+
2392423936
// Set the client name using the current lib version and provided application info
23925-
options.clientName = "MIRACL Client.js/8.2.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23937+
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2392623938

2392723939
self.options = options;
2392823940

dist/client.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23754,6 +23754,14 @@ Users.prototype.list = function () {
2375423754
return usersList;
2375523755
};
2375623756

23757+
/**
23758+
* Returns the number of registered identities
23759+
* @return {number}
23760+
*/
23761+
Users.prototype.count = function () {
23762+
return Object.keys(this.list()).length;
23763+
};
23764+
2375723765
/**
2375823766
* Remove an identity
2375923767
* @param {string} userId - The ID of the user
@@ -23922,8 +23930,12 @@ function Client(options) {
2392223930
options.requestTimeout = 4000;
2392323931
}
2392423932

23933+
if (!options.oidc) {
23934+
options.oidc = {};
23935+
}
23936+
2392523937
// Set the client name using the current lib version and provided application info
23926-
options.clientName = "MIRACL Client.js/8.2.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23938+
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2392723939

2392823940
self.options = options;
2392923941

dist/client.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/client.promise.js

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23754,6 +23754,14 @@ Users.prototype.list = function () {
2375423754
return usersList;
2375523755
};
2375623756

23757+
/**
23758+
* Returns the number of registered identities
23759+
* @return {number}
23760+
*/
23761+
Users.prototype.count = function () {
23762+
return Object.keys(this.list()).length;
23763+
};
23764+
2375723765
/**
2375823766
* Remove an identity
2375923767
* @param {string} userId - The ID of the user
@@ -23922,8 +23930,12 @@ function Client(options) {
2392223930
options.requestTimeout = 4000;
2392323931
}
2392423932

23933+
if (!options.oidc) {
23934+
options.oidc = {};
23935+
}
23936+
2392523937
// Set the client name using the current lib version and provided application info
23926-
options.clientName = "MIRACL Client.js/8.2.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23938+
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2392723939

2392823940
self.options = options;
2392923941

dist/client.promise.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@miracl/client-js",
3-
"version": "8.4.0",
3+
"version": "8.5.0",
44
"description": "MIRACL Trust client library",
55
"main": "./src/client.js",
66
"exports": {

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default function Client(options) {
5656
}
5757

5858
// Set the client name using the current lib version and provided application info
59-
options.clientName = "MIRACL Client.js/8.4.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
59+
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
6060

6161
self.options = options;
6262

0 commit comments

Comments
 (0)