@kirby-tools/licensing 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/dist/index.mjs +0 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -89,14 +89,12 @@ function useLicense({
89
89
  const { email, orderId } = event;
90
90
  if (!email || !orderId) {
91
91
  panel.notification.error("Email and order ID are required");
92
- resolve({});
93
92
  return;
94
93
  }
95
94
  try {
96
95
  await register(email, Number(orderId));
97
96
  } catch (error) {
98
97
  panel.notification.error(error.message);
99
- resolve({});
100
98
  return;
101
99
  }
102
100
  panel.dialog.close();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kirby-tools/licensing",
3
3
  "type": "module",
4
- "version": "0.1.5",
4
+ "version": "0.1.6",
5
5
  "packageManager": "pnpm@9.3.0",
6
6
  "description": "Shared tooling for licensing in the Panel",
7
7
  "author": "Johann Schopplich <hello@johannschopplich.com>",