@camstack/addon-provider-rtsp 1.0.6 → 1.0.7
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/addon.js +4 -4
- package/dist/addon.mjs +4 -4
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -4642,7 +4642,7 @@ function preprocess(fn, schema) {
|
|
|
4642
4642
|
});
|
|
4643
4643
|
}
|
|
4644
4644
|
//#endregion
|
|
4645
|
-
//#region ../types/dist/sleep-
|
|
4645
|
+
//#region ../types/dist/sleep-B1dKJAMJ.mjs
|
|
4646
4646
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4647
4647
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4648
4648
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -5616,7 +5616,7 @@ var BaseAddon = class {
|
|
|
5616
5616
|
deviceSettingsSchema() {
|
|
5617
5617
|
return null;
|
|
5618
5618
|
}
|
|
5619
|
-
async getGlobalSettings(overlay, cap) {
|
|
5619
|
+
async getGlobalSettings(overlay, cap, _nodeId) {
|
|
5620
5620
|
const schema = this.globalSettingsSchema(cap);
|
|
5621
5621
|
if (!schema) return { sections: [] };
|
|
5622
5622
|
const raw = await this._ctx?.settings?.readAddonStore() ?? {};
|
|
@@ -5625,7 +5625,7 @@ var BaseAddon = class {
|
|
|
5625
5625
|
...overlay
|
|
5626
5626
|
} : raw);
|
|
5627
5627
|
}
|
|
5628
|
-
async updateGlobalSettings(patch) {
|
|
5628
|
+
async updateGlobalSettings(patch, _nodeId) {
|
|
5629
5629
|
await this._ctx?.settings?.writeAddonStore(patch);
|
|
5630
5630
|
await this.resolveConfig();
|
|
5631
5631
|
await this.onConfigChanged();
|
|
@@ -23724,7 +23724,7 @@ function maskUrlCredentials(rawUrl) {
|
|
|
23724
23724
|
u.password = "";
|
|
23725
23725
|
touched = true;
|
|
23726
23726
|
}
|
|
23727
|
-
for (const key of
|
|
23727
|
+
for (const key of Array.from(u.searchParams.keys())) if (isCredentialParam(key)) {
|
|
23728
23728
|
u.searchParams.set(key, "***");
|
|
23729
23729
|
touched = true;
|
|
23730
23730
|
}
|
package/dist/addon.mjs
CHANGED
|
@@ -4641,7 +4641,7 @@ function preprocess(fn, schema) {
|
|
|
4641
4641
|
});
|
|
4642
4642
|
}
|
|
4643
4643
|
//#endregion
|
|
4644
|
-
//#region ../types/dist/sleep-
|
|
4644
|
+
//#region ../types/dist/sleep-B1dKJAMJ.mjs
|
|
4645
4645
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4646
4646
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4647
4647
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -5615,7 +5615,7 @@ var BaseAddon = class {
|
|
|
5615
5615
|
deviceSettingsSchema() {
|
|
5616
5616
|
return null;
|
|
5617
5617
|
}
|
|
5618
|
-
async getGlobalSettings(overlay, cap) {
|
|
5618
|
+
async getGlobalSettings(overlay, cap, _nodeId) {
|
|
5619
5619
|
const schema = this.globalSettingsSchema(cap);
|
|
5620
5620
|
if (!schema) return { sections: [] };
|
|
5621
5621
|
const raw = await this._ctx?.settings?.readAddonStore() ?? {};
|
|
@@ -5624,7 +5624,7 @@ var BaseAddon = class {
|
|
|
5624
5624
|
...overlay
|
|
5625
5625
|
} : raw);
|
|
5626
5626
|
}
|
|
5627
|
-
async updateGlobalSettings(patch) {
|
|
5627
|
+
async updateGlobalSettings(patch, _nodeId) {
|
|
5628
5628
|
await this._ctx?.settings?.writeAddonStore(patch);
|
|
5629
5629
|
await this.resolveConfig();
|
|
5630
5630
|
await this.onConfigChanged();
|
|
@@ -23723,7 +23723,7 @@ function maskUrlCredentials(rawUrl) {
|
|
|
23723
23723
|
u.password = "";
|
|
23724
23724
|
touched = true;
|
|
23725
23725
|
}
|
|
23726
|
-
for (const key of
|
|
23726
|
+
for (const key of Array.from(u.searchParams.keys())) if (isCredentialParam(key)) {
|
|
23727
23727
|
u.searchParams.set(key, "***");
|
|
23728
23728
|
touched = true;
|
|
23729
23729
|
}
|