@appkit/dek-lib 0.5.1 → 0.6.1
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 +6 -6
- package/dist/index.umd.js +6 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -28624,7 +28624,7 @@ g3.write = function(t10, r2, e3, h2, i2, l2) {
|
|
|
28624
28624
|
})(Z6);
|
|
28625
28625
|
async function Vj1(t10) {
|
|
28626
28626
|
const r2 = await gj1.get(
|
|
28627
|
-
`
|
|
28627
|
+
`https://dek.appkit.net/v1/images?src=${encodeURIComponent(t10)}`,
|
|
28628
28628
|
{
|
|
28629
28629
|
responseType: "arraybuffer",
|
|
28630
28630
|
mode: "no-cors"
|
|
@@ -52039,7 +52039,7 @@ async function fetchUserToken(email, password) {
|
|
|
52039
52039
|
body: graphql
|
|
52040
52040
|
};
|
|
52041
52041
|
const response = await fetch(
|
|
52042
|
-
"
|
|
52042
|
+
"https://dek.appkit.net/v1/graphql",
|
|
52043
52043
|
requestOptions
|
|
52044
52044
|
);
|
|
52045
52045
|
const result = await response.json();
|
|
@@ -52048,14 +52048,14 @@ async function fetchUserToken(email, password) {
|
|
|
52048
52048
|
async function getClient(email, password) {
|
|
52049
52049
|
const token2 = await fetchUserToken(email, password);
|
|
52050
52050
|
const httpLink = new HttpLink({
|
|
52051
|
-
uri: "
|
|
52051
|
+
uri: "https://dek.appkit.net/v1/graphql",
|
|
52052
52052
|
headers: {
|
|
52053
52053
|
authorization: `Bearer ${token2}`
|
|
52054
52054
|
}
|
|
52055
52055
|
});
|
|
52056
52056
|
const wsLink = new GraphQLWsLink(
|
|
52057
52057
|
createClient({
|
|
52058
|
-
url: "
|
|
52058
|
+
url: "wss://dek.appkit.net/v1/graphql",
|
|
52059
52059
|
connectionParams: {
|
|
52060
52060
|
token: token2
|
|
52061
52061
|
}
|
|
@@ -57845,7 +57845,7 @@ async function fetchUserPlugins(email, password) {
|
|
|
57845
57845
|
result.integrations.push({
|
|
57846
57846
|
key: "base",
|
|
57847
57847
|
pluginName: "base",
|
|
57848
|
-
pluginVersion: "0.
|
|
57848
|
+
pluginVersion: "0.6.0",
|
|
57849
57849
|
pluginConfig: []
|
|
57850
57850
|
});
|
|
57851
57851
|
return result;
|
|
@@ -58020,7 +58020,7 @@ const Header = ({ height = 70 }) => {
|
|
|
58020
58020
|
};
|
|
58021
58021
|
const About = () => {
|
|
58022
58022
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(y0, { padding: 20, direction: "vert", children: [
|
|
58023
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(xT1, { children: `Dek ${"0.
|
|
58023
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(xT1, { children: `Dek ${"0.6.0"}` }),
|
|
58024
58024
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Y4, { children: "From Appkit" })
|
|
58025
58025
|
] });
|
|
58026
58026
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -28641,7 +28641,7 @@ Check the top-level render call using <` + i1 + ">.");
|
|
|
28641
28641
|
})(Z6);
|
|
28642
28642
|
async function Vj1(t10) {
|
|
28643
28643
|
const r2 = await gj1.get(
|
|
28644
|
-
`
|
|
28644
|
+
`https://dek.appkit.net/v1/images?src=${encodeURIComponent(t10)}`,
|
|
28645
28645
|
{
|
|
28646
28646
|
responseType: "arraybuffer",
|
|
28647
28647
|
mode: "no-cors"
|
|
@@ -52056,7 +52056,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
52056
52056
|
body: graphql
|
|
52057
52057
|
};
|
|
52058
52058
|
const response = await fetch(
|
|
52059
|
-
"
|
|
52059
|
+
"https://dek.appkit.net/v1/graphql",
|
|
52060
52060
|
requestOptions
|
|
52061
52061
|
);
|
|
52062
52062
|
const result = await response.json();
|
|
@@ -52065,14 +52065,14 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
52065
52065
|
async function getClient(email, password) {
|
|
52066
52066
|
const token2 = await fetchUserToken(email, password);
|
|
52067
52067
|
const httpLink = new HttpLink({
|
|
52068
|
-
uri: "
|
|
52068
|
+
uri: "https://dek.appkit.net/v1/graphql",
|
|
52069
52069
|
headers: {
|
|
52070
52070
|
authorization: `Bearer ${token2}`
|
|
52071
52071
|
}
|
|
52072
52072
|
});
|
|
52073
52073
|
const wsLink = new GraphQLWsLink(
|
|
52074
52074
|
createClient({
|
|
52075
|
-
url: "
|
|
52075
|
+
url: "wss://dek.appkit.net/v1/graphql",
|
|
52076
52076
|
connectionParams: {
|
|
52077
52077
|
token: token2
|
|
52078
52078
|
}
|
|
@@ -57862,7 +57862,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
57862
57862
|
result.integrations.push({
|
|
57863
57863
|
key: "base",
|
|
57864
57864
|
pluginName: "base",
|
|
57865
|
-
pluginVersion: "0.
|
|
57865
|
+
pluginVersion: "0.6.0",
|
|
57866
57866
|
pluginConfig: []
|
|
57867
57867
|
});
|
|
57868
57868
|
return result;
|
|
@@ -58037,7 +58037,7 @@ Arguments: ` + Array.prototype.slice.call(h2).join("") + `
|
|
|
58037
58037
|
};
|
|
58038
58038
|
const About = () => {
|
|
58039
58039
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(y0, { padding: 20, direction: "vert", children: [
|
|
58040
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(xT1, { children: `Dek ${"0.
|
|
58040
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(xT1, { children: `Dek ${"0.6.0"}` }),
|
|
58041
58041
|
/* @__PURE__ */ jsxRuntimeExports.jsx(Y4, { children: "From Appkit" })
|
|
58042
58042
|
] });
|
|
58043
58043
|
};
|