Skip to content

Commit

Permalink
Add author to manifest field
Browse files Browse the repository at this point in the history
  • Loading branch information
lkostrowski committed Aug 30, 2023
1 parent 6813ccc commit 98f12f5
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/happy-colts-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-app-search": patch
---

Refactor: Migrated private metadata of the app (used for settings) - previously each setting was saved in a dedicated metadata key. Now entire config is kept as JSON in a single field. This is non-breaking change - app will fallback to old config if needed.
5 changes: 5 additions & 0 deletions .changeset/kind-wombats-beg.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-app-search": patch
---

Refactor: Extracted shared webhook logic, like clients creation and settings fetching to a shared function that creates entire context. Webhook handlers LoC decreased by half
5 changes: 5 additions & 0 deletions .changeset/metal-worms-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-app-search": minor
---

Added "Saleor Commerce" as an author in the Manifest
1 change: 1 addition & 0 deletions apps/search/src/pages/api/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export default createManifestHandler({
tokenTargetUrl: `${apiBaseURL}/api/register`,
version: packageJson.version,
webhooks: appWebhooks.map((w) => w.getWebhookManifest(apiBaseURL)),
author: "Saleor Commerce",
};

return manifest;
Expand Down

0 comments on commit 98f12f5

Please sign in to comment.