@appkit/dek-lib 0.15.0 → 0.16.0
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/dist/index.es.js +4 -4
- package/dist/index.umd.js +4 -4
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -58256,7 +58256,7 @@ function usePluginState(api2, key, defaultValue) {
|
|
|
58256
58256
|
const integrationKey = api2.integrationKey;
|
|
58257
58257
|
const state2 = useState(integrationKey);
|
|
58258
58258
|
let value;
|
|
58259
|
-
if (state2 && state2[key]) {
|
|
58259
|
+
if (state2 && state2[key] !== void 0) {
|
|
58260
58260
|
value = state2[key];
|
|
58261
58261
|
} else {
|
|
58262
58262
|
value = defaultValue;
|
|
@@ -58275,7 +58275,7 @@ function usePluginStateObject(api2, key, defaultValue = {}) {
|
|
|
58275
58275
|
const integrationKey = api2.integrationKey;
|
|
58276
58276
|
const state2 = useState(integrationKey);
|
|
58277
58277
|
let value;
|
|
58278
|
-
if (state2 && state2[key]) {
|
|
58278
|
+
if (state2 && state2[key] !== void 0) {
|
|
58279
58279
|
value = tryParseJson(state2[key], defaultValue);
|
|
58280
58280
|
} else {
|
|
58281
58281
|
value = defaultValue;
|
|
@@ -58327,7 +58327,7 @@ async function fetchUserPlugins(email, password) {
|
|
|
58327
58327
|
result.integrations.push({
|
|
58328
58328
|
key: "base",
|
|
58329
58329
|
pluginName: "base",
|
|
58330
|
-
pluginVersion: "0.
|
|
58330
|
+
pluginVersion: "0.16.0",
|
|
58331
58331
|
pluginConfig: []
|
|
58332
58332
|
});
|
|
58333
58333
|
return result;
|
|
@@ -58502,7 +58502,7 @@ const Header = ({ height = 70 }) => {
|
|
|
58502
58502
|
};
|
|
58503
58503
|
const About = () => {
|
|
58504
58504
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(x0, { padding: 20, direction: "vert", children: [
|
|
58505
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.
|
|
58505
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.16.0"}` }),
|
|
58506
58506
|
/* @__PURE__ */ jsxRuntimeExports.jsx(X4, { children: "From Appkit" })
|
|
58507
58507
|
] });
|
|
58508
58508
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -58273,7 +58273,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58273
58273
|
const integrationKey = api2.integrationKey;
|
|
58274
58274
|
const state2 = useState(integrationKey);
|
|
58275
58275
|
let value;
|
|
58276
|
-
if (state2 && state2[key]) {
|
|
58276
|
+
if (state2 && state2[key] !== void 0) {
|
|
58277
58277
|
value = state2[key];
|
|
58278
58278
|
} else {
|
|
58279
58279
|
value = defaultValue;
|
|
@@ -58292,7 +58292,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58292
58292
|
const integrationKey = api2.integrationKey;
|
|
58293
58293
|
const state2 = useState(integrationKey);
|
|
58294
58294
|
let value;
|
|
58295
|
-
if (state2 && state2[key]) {
|
|
58295
|
+
if (state2 && state2[key] !== void 0) {
|
|
58296
58296
|
value = tryParseJson(state2[key], defaultValue);
|
|
58297
58297
|
} else {
|
|
58298
58298
|
value = defaultValue;
|
|
@@ -58344,7 +58344,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58344
58344
|
result.integrations.push({
|
|
58345
58345
|
key: "base",
|
|
58346
58346
|
pluginName: "base",
|
|
58347
|
-
pluginVersion: "0.
|
|
58347
|
+
pluginVersion: "0.16.0",
|
|
58348
58348
|
pluginConfig: []
|
|
58349
58349
|
});
|
|
58350
58350
|
return result;
|
|
@@ -58519,7 +58519,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58519
58519
|
};
|
|
58520
58520
|
const About = () => {
|
|
58521
58521
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(x0, { padding: 20, direction: "vert", children: [
|
|
58522
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.
|
|
58522
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(hF1, { children: `Dek ${"0.16.0"}` }),
|
|
58523
58523
|
/* @__PURE__ */ jsxRuntimeExports.jsx(X4, { children: "From Appkit" })
|
|
58524
58524
|
] });
|
|
58525
58525
|
};
|