@kirby-tools/licensing 0.1.7 → 0.1.8

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 +2 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -56,7 +56,7 @@ function useLicense({
56
56
  return true;
57
57
  };
58
58
  const openLicenseModal = () => {
59
- const isRegistered = false;
59
+ let isRegistered = false;
60
60
  return new Promise((resolve) => {
61
61
  panel.dialog.open({
62
62
  component: "k-form-dialog",
@@ -99,6 +99,7 @@ function useLicense({
99
99
  panel.notification.error(error.message);
100
100
  return;
101
101
  }
102
+ isRegistered = true;
102
103
  panel.dialog.close();
103
104
  panel.notification.success(t("activated"), { label });
104
105
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kirby-tools/licensing",
3
3
  "type": "module",
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
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>",