Skip to content

Commit b9612d5

Browse files
committed
Update version to 8.6.0
1 parent dce8f01 commit b9612d5

File tree

9 files changed

+82
-10
lines changed

9 files changed

+82
-10
lines changed

cjs/client.cjs

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

23756+
/**
23757+
* Returns an array of all user objects
23758+
* @returns {Array}
23759+
*/
23760+
Users.prototype.all = function () {
23761+
var self = this,
23762+
users = [],
23763+
i;
23764+
23765+
for (i = 0; i < self.data.length; ++i) {
23766+
if (self.data[i].projectId === self.projectId || self.data[i].customerId === self.projectId) {
23767+
users.push(self.data[i]);
23768+
}
23769+
}
23770+
23771+
return users;
23772+
};
23773+
2375623774
/**
2375723775
* Returns the number of registered identities
2375823776
* @return {number}
@@ -23934,7 +23952,7 @@ function Client(options) {
2393423952
}
2393523953

2393623954
// Set the client name using the current lib version and provided application info
23937-
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23955+
options.clientName = "MIRACL Client.js/8.6.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2393823956

2393923957
self.options = options;
2394023958

cjs/promise.cjs

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

23756+
/**
23757+
* Returns an array of all user objects
23758+
* @returns {Array}
23759+
*/
23760+
Users.prototype.all = function () {
23761+
var self = this,
23762+
users = [],
23763+
i;
23764+
23765+
for (i = 0; i < self.data.length; ++i) {
23766+
if (self.data[i].projectId === self.projectId || self.data[i].customerId === self.projectId) {
23767+
users.push(self.data[i]);
23768+
}
23769+
}
23770+
23771+
return users;
23772+
};
23773+
2375623774
/**
2375723775
* Returns the number of registered identities
2375823776
* @return {number}
@@ -23934,7 +23952,7 @@ function Client(options) {
2393423952
}
2393523953

2393623954
// Set the client name using the current lib version and provided application info
23937-
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23955+
options.clientName = "MIRACL Client.js/8.6.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2393823956

2393923957
self.options = options;
2394023958

dist/client.js

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

23757+
/**
23758+
* Returns an array of all user objects
23759+
* @returns {Array}
23760+
*/
23761+
Users.prototype.all = function () {
23762+
var self = this,
23763+
users = [],
23764+
i;
23765+
23766+
for (i = 0; i < self.data.length; ++i) {
23767+
if (self.data[i].projectId === self.projectId || self.data[i].customerId === self.projectId) {
23768+
users.push(self.data[i]);
23769+
}
23770+
}
23771+
23772+
return users;
23773+
};
23774+
2375723775
/**
2375823776
* Returns the number of registered identities
2375923777
* @return {number}
@@ -23935,7 +23953,7 @@ function Client(options) {
2393523953
}
2393623954

2393723955
// Set the client name using the current lib version and provided application info
23938-
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23956+
options.clientName = "MIRACL Client.js/8.6.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2393923957

2394023958
self.options = options;
2394123959

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: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23754,6 +23754,24 @@ Users.prototype.list = function () {
2375423754
return usersList;
2375523755
};
2375623756

23757+
/**
23758+
* Returns an array of all user objects
23759+
* @returns {Array}
23760+
*/
23761+
Users.prototype.all = function () {
23762+
var self = this,
23763+
users = [],
23764+
i;
23765+
23766+
for (i = 0; i < self.data.length; ++i) {
23767+
if (self.data[i].projectId === self.projectId || self.data[i].customerId === self.projectId) {
23768+
users.push(self.data[i]);
23769+
}
23770+
}
23771+
23772+
return users;
23773+
};
23774+
2375723775
/**
2375823776
* Returns the number of registered identities
2375923777
* @return {number}
@@ -23935,7 +23953,7 @@ function Client(options) {
2393523953
}
2393623954

2393723955
// Set the client name using the current lib version and provided application info
23938-
options.clientName = "MIRACL Client.js/8.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
23956+
options.clientName = "MIRACL Client.js/8.6.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
2393923957

2394023958
self.options = options;
2394123959

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.5.0",
3+
"version": "8.6.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.5.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
59+
options.clientName = "MIRACL Client.js/8.6.0" + (options.applicationInfo ? " " + options.applicationInfo : "");
6060

6161
self.options = options;
6262

0 commit comments

Comments
 (0)