b23-lib 1.2.11 → 1.2.12

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/index.js CHANGED
@@ -793,7 +793,7 @@ var AuthUtility = class {
793
793
  return payload;
794
794
  }
795
795
  async createSystemToken(id, additionalData) {
796
- (0, import_assert.default)(this.userPrivateKeys.length, ErrorTypes_default.USER_PRIVATE_KEY_NOT_FOUND);
796
+ (0, import_assert.default)(this.systemPrivateKeys.length, ErrorTypes_default.SYSTEM_PRIVATE_KEY_NOT_FOUND);
797
797
  const payload = {
798
798
  id,
799
799
  type: "System",
package/dist/index.mjs CHANGED
@@ -764,7 +764,7 @@ var AuthUtility = class {
764
764
  return payload;
765
765
  }
766
766
  async createSystemToken(id, additionalData) {
767
- assert(this.userPrivateKeys.length, ErrorTypes_default.USER_PRIVATE_KEY_NOT_FOUND);
767
+ assert(this.systemPrivateKeys.length, ErrorTypes_default.SYSTEM_PRIVATE_KEY_NOT_FOUND);
768
768
  const payload = {
769
769
  id,
770
770
  type: "System",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "b23-lib",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "This repo hold common classes, type and util functiona",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",