@gbozee/ultimate 0.0.2-137 → 0.0.2-138
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.cjs +4 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -1
- package/dist/mcp-server.cjs +4 -1
- package/dist/mcp-server.js +4 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -51576,7 +51576,9 @@ class AppDatabase {
|
|
|
51576
51576
|
password: encrypted
|
|
51577
51577
|
}
|
|
51578
51578
|
});
|
|
51579
|
+
return true;
|
|
51579
51580
|
}
|
|
51581
|
+
return false;
|
|
51580
51582
|
}
|
|
51581
51583
|
async getUserCredentials() {
|
|
51582
51584
|
const record = await this.getUserByEmail();
|
|
@@ -51646,7 +51648,8 @@ class AppDatabase {
|
|
|
51646
51648
|
}
|
|
51647
51649
|
return false;
|
|
51648
51650
|
}
|
|
51649
|
-
async verifyAdminPassword(
|
|
51651
|
+
async verifyAdminPassword(payload) {
|
|
51652
|
+
const { password } = payload;
|
|
51650
51653
|
if (!this.email) {
|
|
51651
51654
|
const instance = await this.pb.collection("_superusers").getOne(this.pb.authStore.record.id);
|
|
51652
51655
|
if (instance) {
|
package/dist/index.d.ts
CHANGED
|
@@ -548,7 +548,7 @@ export declare class AppDatabase {
|
|
|
548
548
|
});
|
|
549
549
|
getUserByEmail(): Promise<import("pocketbase").RecordModel>;
|
|
550
550
|
verifyUserPassword(password: string): Promise<boolean>;
|
|
551
|
-
generateUserPassword(): Promise<
|
|
551
|
+
generateUserPassword(): Promise<boolean>;
|
|
552
552
|
getUserCredentials(): Promise<any>;
|
|
553
553
|
getCredentials(payload: {
|
|
554
554
|
password?: string;
|
|
@@ -560,7 +560,9 @@ export declare class AppDatabase {
|
|
|
560
560
|
changeUserPassword(payload: {
|
|
561
561
|
password: string;
|
|
562
562
|
}): Promise<boolean>;
|
|
563
|
-
verifyAdminPassword(
|
|
563
|
+
verifyAdminPassword(payload: {
|
|
564
|
+
password: string;
|
|
565
|
+
}): Promise<boolean>;
|
|
564
566
|
setAdminPassword(payload: {
|
|
565
567
|
password: string;
|
|
566
568
|
salt: string;
|
package/dist/index.js
CHANGED
|
@@ -51524,7 +51524,9 @@ class AppDatabase {
|
|
|
51524
51524
|
password: encrypted
|
|
51525
51525
|
}
|
|
51526
51526
|
});
|
|
51527
|
+
return true;
|
|
51527
51528
|
}
|
|
51529
|
+
return false;
|
|
51528
51530
|
}
|
|
51529
51531
|
async getUserCredentials() {
|
|
51530
51532
|
const record = await this.getUserByEmail();
|
|
@@ -51594,7 +51596,8 @@ class AppDatabase {
|
|
|
51594
51596
|
}
|
|
51595
51597
|
return false;
|
|
51596
51598
|
}
|
|
51597
|
-
async verifyAdminPassword(
|
|
51599
|
+
async verifyAdminPassword(payload) {
|
|
51600
|
+
const { password } = payload;
|
|
51598
51601
|
if (!this.email) {
|
|
51599
51602
|
const instance = await this.pb.collection("_superusers").getOne(this.pb.authStore.record.id);
|
|
51600
51603
|
if (instance) {
|
package/dist/mcp-server.cjs
CHANGED
|
@@ -58278,7 +58278,9 @@ class AppDatabase {
|
|
|
58278
58278
|
password: encrypted
|
|
58279
58279
|
}
|
|
58280
58280
|
});
|
|
58281
|
+
return true;
|
|
58281
58282
|
}
|
|
58283
|
+
return false;
|
|
58282
58284
|
}
|
|
58283
58285
|
async getUserCredentials() {
|
|
58284
58286
|
const record2 = await this.getUserByEmail();
|
|
@@ -58348,7 +58350,8 @@ class AppDatabase {
|
|
|
58348
58350
|
}
|
|
58349
58351
|
return false;
|
|
58350
58352
|
}
|
|
58351
|
-
async verifyAdminPassword(
|
|
58353
|
+
async verifyAdminPassword(payload) {
|
|
58354
|
+
const { password } = payload;
|
|
58352
58355
|
if (!this.email) {
|
|
58353
58356
|
const instance = await this.pb.collection("_superusers").getOne(this.pb.authStore.record.id);
|
|
58354
58357
|
if (instance) {
|
package/dist/mcp-server.js
CHANGED
|
@@ -58255,7 +58255,9 @@ class AppDatabase {
|
|
|
58255
58255
|
password: encrypted
|
|
58256
58256
|
}
|
|
58257
58257
|
});
|
|
58258
|
+
return true;
|
|
58258
58259
|
}
|
|
58260
|
+
return false;
|
|
58259
58261
|
}
|
|
58260
58262
|
async getUserCredentials() {
|
|
58261
58263
|
const record2 = await this.getUserByEmail();
|
|
@@ -58325,7 +58327,8 @@ class AppDatabase {
|
|
|
58325
58327
|
}
|
|
58326
58328
|
return false;
|
|
58327
58329
|
}
|
|
58328
|
-
async verifyAdminPassword(
|
|
58330
|
+
async verifyAdminPassword(payload) {
|
|
58331
|
+
const { password } = payload;
|
|
58329
58332
|
if (!this.email) {
|
|
58330
58333
|
const instance = await this.pb.collection("_superusers").getOne(this.pb.authStore.record.id);
|
|
58331
58334
|
if (instance) {
|