File tree Expand file tree Collapse file tree 9 files changed +82
-10
lines changed Expand file tree Collapse file tree 9 files changed +82
-10
lines changed Original file line number Diff line number Diff line change @@ -23753,6 +23753,24 @@ Users.prototype.list = function () {
23753
23753
return usersList;
23754
23754
};
23755
23755
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
+
23756
23774
/**
23757
23775
* Returns the number of registered identities
23758
23776
* @return {number}
@@ -23934,7 +23952,7 @@ function Client(options) {
23934
23952
}
23935
23953
23936
23954
// 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 : "");
23938
23956
23939
23957
self.options = options;
23940
23958
Original file line number Diff line number Diff line change @@ -23753,6 +23753,24 @@ Users.prototype.list = function () {
23753
23753
return usersList;
23754
23754
};
23755
23755
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
+
23756
23774
/**
23757
23775
* Returns the number of registered identities
23758
23776
* @return {number}
@@ -23934,7 +23952,7 @@ function Client(options) {
23934
23952
}
23935
23953
23936
23954
// 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 : "");
23938
23956
23939
23957
self.options = options;
23940
23958
Original file line number Diff line number Diff line change @@ -23754,6 +23754,24 @@ Users.prototype.list = function () {
23754
23754
return usersList;
23755
23755
};
23756
23756
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
+
23757
23775
/**
23758
23776
* Returns the number of registered identities
23759
23777
* @return {number}
@@ -23935,7 +23953,7 @@ function Client(options) {
23935
23953
}
23936
23954
23937
23955
// 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 : "");
23939
23957
23940
23958
self.options = options;
23941
23959
Original file line number Diff line number Diff line change @@ -23754,6 +23754,24 @@ Users.prototype.list = function () {
23754
23754
return usersList;
23755
23755
};
23756
23756
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
+
23757
23775
/**
23758
23776
* Returns the number of registered identities
23759
23777
* @return {number}
@@ -23935,7 +23953,7 @@ function Client(options) {
23935
23953
}
23936
23954
23937
23955
// 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 : "");
23939
23957
23940
23958
self.options = options;
23941
23959
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @miracl/client-js" ,
3
- "version" : " 8.5 .0" ,
3
+ "version" : " 8.6 .0" ,
4
4
"description" : " MIRACL Trust client library" ,
5
5
"main" : " ./src/client.js" ,
6
6
"exports" : {
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export default function Client(options) {
56
56
}
57
57
58
58
// 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 : "" ) ;
60
60
61
61
self . options = options ;
62
62
You can’t perform that action at this time.
0 commit comments