@vacantthinker/firefox-addon-framework-easy 2026.603.1932 → 2026.603.2007
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/package.json +1 -1
- package/src/BaseORM.js +1 -4
- package/src/DomainORM.js +1 -1
package/package.json
CHANGED
package/src/BaseORM.js
CHANGED
|
@@ -25,11 +25,8 @@ export class BaseORM {
|
|
|
25
25
|
throw new Error('Both prefix and id must be specified.');
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
// Automatically normalize the prefix format to ensure a clean trailing space
|
|
29
|
-
const formattedPrefix = prefix.endsWith(' ') ? prefix : `${prefix} `;
|
|
30
|
-
|
|
31
28
|
// Lock down the final storage key during instance construction
|
|
32
|
-
this.#fullStorageKey = `${
|
|
29
|
+
this.#fullStorageKey = `${prefix}${id}`;
|
|
33
30
|
|
|
34
31
|
// Deep clone the default value to protect against object reference shared-state bugs
|
|
35
32
|
this.#defaultValue = JSON.parse(JSON.stringify(defaultValue));
|