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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
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.
|
|
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.
|
|
767
|
+
assert(this.systemPrivateKeys.length, ErrorTypes_default.SYSTEM_PRIVATE_KEY_NOT_FOUND);
|
|
768
768
|
const payload = {
|
|
769
769
|
id,
|
|
770
770
|
type: "System",
|