seyfert 3.1.1 → 3.1.2-dev-14695814562.0
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.
|
@@ -50,7 +50,11 @@ class LimitedMemoryAdapter {
|
|
|
50
50
|
return null;
|
|
51
51
|
}
|
|
52
52
|
__set(key, data) {
|
|
53
|
-
const
|
|
53
|
+
const isArray = Array.isArray(data);
|
|
54
|
+
if (isArray && data.length === 0) {
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
const __guildId = isArray ? data[0].guild_id : data.guild_id;
|
|
54
58
|
const namespace = `${key.split('.')[0]}${__guildId ? `.${__guildId}` : ''}`;
|
|
55
59
|
const self = this;
|
|
56
60
|
if (!this.storage.has(namespace)) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "seyfert",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2-dev-14695814562.0",
|
|
4
4
|
"description": "The most advanced framework for discord bots",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@biomejs/biome": "1.9.4",
|
|
25
|
-
"@changesets/cli": "^2.
|
|
25
|
+
"@changesets/cli": "^2.29.2",
|
|
26
26
|
"@commitlint/cli": "^19.8.0",
|
|
27
27
|
"@commitlint/config-conventional": "^19.8.0",
|
|
28
|
-
"@types/node": "^22.
|
|
28
|
+
"@types/node": "^22.15.2",
|
|
29
29
|
"husky": "^9.1.7",
|
|
30
|
-
"lint-staged": "^15.5.
|
|
31
|
-
"typescript": "^5.8.
|
|
32
|
-
"vitest": "^3.1.
|
|
30
|
+
"lint-staged": "^15.5.1",
|
|
31
|
+
"typescript": "^5.8.3",
|
|
32
|
+
"vitest": "^3.1.2"
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://seyfert.dev",
|
|
35
35
|
"repository": {
|
|
@@ -76,4 +76,4 @@
|
|
|
76
76
|
"esbuild"
|
|
77
77
|
]
|
|
78
78
|
}
|
|
79
|
-
}
|
|
79
|
+
}
|