@unchainedshop/core 4.8.22 → 4.8.24
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.
|
@@ -93,13 +93,15 @@ class PluginRegistry {
|
|
|
93
93
|
for (const plugin of this.plugins.values()) {
|
|
94
94
|
if (!plugin.adapters)
|
|
95
95
|
continue;
|
|
96
|
+
if (this.skippedPlugins.has(plugin.key))
|
|
97
|
+
continue;
|
|
96
98
|
for (const adapter of plugin.adapters) {
|
|
97
99
|
if (adapter.adapterType === adapterType) {
|
|
98
100
|
result.push(adapter);
|
|
99
101
|
}
|
|
100
102
|
}
|
|
101
103
|
}
|
|
102
|
-
return result;
|
|
104
|
+
return result.toSorted((left, right) => (left.orderIndex ?? 0) - (right.orderIndex ?? 0));
|
|
103
105
|
}
|
|
104
106
|
hasPlugin(key) {
|
|
105
107
|
return this.plugins.has(key);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unchainedshop/core",
|
|
3
3
|
"description": "Core orchestration package for the Unchained Engine with business services and directors",
|
|
4
|
-
"version": "4.8.
|
|
4
|
+
"version": "4.8.24",
|
|
5
5
|
"main": "lib/core-index.js",
|
|
6
6
|
"types": "lib/core-index.d.ts",
|
|
7
7
|
"type": "module",
|