@localazy/strapi-plugin 0.2.12 → 0.2.13

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.2.13 (2025-03-03)
2
+ ### 🔀 Pull Requests
3
+
4
+ - [Fix webhook secret fetch 2 #76](https://github.com/localazy/strapi-plugin/pull/76)
5
+
6
+ ### 🐛 Bug Fixes
7
+
8
+ - **webhook:** simplify secret retrieval from Localazy API ([97f1fe6](https://github.com/localazy/strapi-plugin/commit/97f1fe6)) ([#76](https://github.com/localazy/strapi-plugin/pull/76))
9
+
1
10
  ## 0.2.12 (2024-11-14)
2
11
  ### 🔀 Pull Requests
3
12
 
@@ -57,4 +66,3 @@
57
66
  * LOC-1096 - Fix Analytics User Identification Within Integrations (#51) ([6000259](https://github.com/localazy/strapi-plugin/commit/6000259)), closes [#51](https://github.com/localazy/strapi-plugin/issues/51)
58
67
 
59
68
 
60
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@localazy/strapi-plugin",
3
- "version": "0.2.12",
3
+ "version": "0.2.13",
4
4
  "description": "The official Strapi Plugin by Localazy.",
5
5
  "strapi": {
6
6
  "name": "localazy",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@babel/plugin-transform-modules-commonjs": "^7.20.11",
63
- "@localazy/conventional-changelog-preset": "^1.2.8",
63
+ "@localazy/conventional-changelog-preset": "^1.2.9",
64
64
  "@strapi/eslint-config": "^0.2.1",
65
65
  "conventional-changelog": "^5.1.0",
66
66
  "conventional-changelog-cli": "^4.1.0",
@@ -24,9 +24,8 @@ module.exports = (config, { strapi }) => {
24
24
  .service("localazyUserService");
25
25
  const user = await LocalazyUserService.getUser();
26
26
 
27
- const result = await LocalazyPubApiService.getWebhooksSecret(user.project.id);
27
+ const secret = await LocalazyPubApiService.getWebhooksSecret(user.project.id);
28
28
 
29
- const { secret } = result;
30
29
  const xLocalazyHmac = ctx.request.header["x-localazy-hmac"];
31
30
  const xLocalazyTimestamp = ctx.request.header["x-localazy-timestamp"];
32
31