@localazy/strapi-plugin 1.0.1 → 1.0.3
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/README.md +2 -0
- package/dist/server/index.js +14 -12
- package/dist/server/index.mjs +14 -12
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/server/index.js
CHANGED
|
@@ -811,7 +811,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
811
811
|
baseMerge(object, source, srcIndex);
|
|
812
812
|
});
|
|
813
813
|
const name = "@localazy/strapi-plugin";
|
|
814
|
-
const version$1 = "1.0.
|
|
814
|
+
const version$1 = "1.0.3";
|
|
815
815
|
const description = "The official Strapi Plugin by Localazy.";
|
|
816
816
|
const keywords = [
|
|
817
817
|
"strapi",
|
|
@@ -885,7 +885,7 @@ const dependencies = {
|
|
|
885
885
|
const devDependencies = {
|
|
886
886
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
887
887
|
"@localazy/api-client": "^2.1.6",
|
|
888
|
-
"@localazy/conventional-changelog-preset": "^1.2.
|
|
888
|
+
"@localazy/conventional-changelog-preset": "^1.2.10",
|
|
889
889
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
890
890
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
891
891
|
"@strapi/icons": "^2.0.0-rc.14",
|
|
@@ -21684,17 +21684,19 @@ const bootstrap = ({ strapi: strapi2 }) => {
|
|
|
21684
21684
|
}
|
|
21685
21685
|
}
|
|
21686
21686
|
});
|
|
21687
|
-
|
|
21688
|
-
|
|
21689
|
-
|
|
21690
|
-
|
|
21691
|
-
|
|
21692
|
-
|
|
21693
|
-
|
|
21694
|
-
|
|
21687
|
+
if (strapi2.plugin(PLUGIN_NAME)?.config("enableSocketIO", true)) {
|
|
21688
|
+
process.nextTick(async () => {
|
|
21689
|
+
const io2 = new Server2(strapi2.server.httpServer, {
|
|
21690
|
+
cors: {
|
|
21691
|
+
origin: "*",
|
|
21692
|
+
methods: ["GET", "POST"]
|
|
21693
|
+
},
|
|
21694
|
+
// this must be a constructor
|
|
21695
|
+
wsEngine: require$$8.WebSocketServer
|
|
21696
|
+
});
|
|
21697
|
+
strapi2.StrapIO = io2;
|
|
21695
21698
|
});
|
|
21696
|
-
|
|
21697
|
-
});
|
|
21699
|
+
}
|
|
21698
21700
|
};
|
|
21699
21701
|
const destroy = ({ strapi: strapi2 }) => {
|
|
21700
21702
|
};
|
package/dist/server/index.mjs
CHANGED
|
@@ -798,7 +798,7 @@ var merge = createAssigner(function(object, source, srcIndex) {
|
|
|
798
798
|
baseMerge(object, source, srcIndex);
|
|
799
799
|
});
|
|
800
800
|
const name = "@localazy/strapi-plugin";
|
|
801
|
-
const version$1 = "1.0.
|
|
801
|
+
const version$1 = "1.0.3";
|
|
802
802
|
const description = "The official Strapi Plugin by Localazy.";
|
|
803
803
|
const keywords = [
|
|
804
804
|
"strapi",
|
|
@@ -872,7 +872,7 @@ const dependencies = {
|
|
|
872
872
|
const devDependencies = {
|
|
873
873
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
874
874
|
"@localazy/api-client": "^2.1.6",
|
|
875
|
-
"@localazy/conventional-changelog-preset": "^1.2.
|
|
875
|
+
"@localazy/conventional-changelog-preset": "^1.2.10",
|
|
876
876
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
877
877
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
878
878
|
"@strapi/icons": "^2.0.0-rc.14",
|
|
@@ -21671,17 +21671,19 @@ const bootstrap = ({ strapi: strapi2 }) => {
|
|
|
21671
21671
|
}
|
|
21672
21672
|
}
|
|
21673
21673
|
});
|
|
21674
|
-
|
|
21675
|
-
|
|
21676
|
-
|
|
21677
|
-
|
|
21678
|
-
|
|
21679
|
-
|
|
21680
|
-
|
|
21681
|
-
|
|
21674
|
+
if (strapi2.plugin(PLUGIN_NAME)?.config("enableSocketIO", true)) {
|
|
21675
|
+
process.nextTick(async () => {
|
|
21676
|
+
const io2 = new Server2(strapi2.server.httpServer, {
|
|
21677
|
+
cors: {
|
|
21678
|
+
origin: "*",
|
|
21679
|
+
methods: ["GET", "POST"]
|
|
21680
|
+
},
|
|
21681
|
+
// this must be a constructor
|
|
21682
|
+
wsEngine: WebSocketServer
|
|
21683
|
+
});
|
|
21684
|
+
strapi2.StrapIO = io2;
|
|
21682
21685
|
});
|
|
21683
|
-
|
|
21684
|
-
});
|
|
21686
|
+
}
|
|
21685
21687
|
};
|
|
21686
21688
|
const destroy = ({ strapi: strapi2 }) => {
|
|
21687
21689
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@localazy/strapi-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "The official Strapi Plugin by Localazy.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"strapi",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"devDependencies": {
|
|
81
81
|
"@david-vaclavek/deep-keys": "^0.5.0",
|
|
82
82
|
"@localazy/api-client": "^2.1.6",
|
|
83
|
-
"@localazy/conventional-changelog-preset": "^1.2.
|
|
83
|
+
"@localazy/conventional-changelog-preset": "^1.2.10",
|
|
84
84
|
"@localazy/generic-connector-client": "^0.3.0",
|
|
85
85
|
"@strapi/design-system": "^2.0.0-rc.14",
|
|
86
86
|
"@strapi/icons": "^2.0.0-rc.14",
|