Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@akinon/app-client

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akinon/app-client - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

27

dist/index.js

@@ -376,5 +376,5 @@ import { jsx as Y } from "react/jsx-runtime";

void 0
), [a, u] = C(!0), c = (E, ...x) => new Promise((l, h) => {
), [a, u] = C(!0), c = (E, ...x) => new Promise((h, l) => {
new v().emit("INVOKE_ACTION", { actionKey: E, args: x }, (b) => {
b.success ? l(b.result) : h(new Error(b.error));
b.success ? h(b.result) : l(new Error(b.error));
});

@@ -392,19 +392,18 @@ }), f = () => {

}
const x = new URL(window.location.href).searchParams.get("c");
let l;
return l = x ? new v({ channel: x }) : new v(), l.emit("REQUEST_DATA", { config: o }), l.on("DATA_RESPONSE", (h) => {
e(h), u(!1);
}), l.on("PARAMS_RESPONSE", (h) => {
s(h);
}), l.on("SET_APP_ID", (h) => {
const { appId: m } = h;
const x = new URL(window.location.href).searchParams.get("c"), h = x ? new v({ channel: x }) : new v();
return h.emit("REQUEST_DATA", { config: o }), h.on("DATA_RESPONSE", (l) => {
e(l), u(!1);
}), h.on("PARAMS_RESPONSE", (l) => {
s(l);
}), h.on("SET_APP_ID", (l) => {
const { appId: m } = l;
n(m);
}), f() && l.on("NAVIGATE_CHILD", (h) => {
const { path: m } = h, { navigation: b } = o;
}), f() && h.on("NAVIGATE_CHILD", (l) => {
const { path: m } = l, { navigation: b } = o;
if (b) {
const { navigate: X } = b;
X(m);
X({ path: m });
}
}), () => {
l.teardown();
h.teardown();
};

@@ -411,0 +410,0 @@ }, [o]);

{
"name": "@akinon/app-client",
"description": "Akinon UI App Client. This library is used to create a new plugin or an application which will reside in Akinon's applications.",
"version": "0.4.0",
"version": "0.4.1",
"private": false,

@@ -16,3 +16,3 @@ "type": "module",

"use-immer": "^0.9.0",
"@akinon/app-shared": "^0.3.0"
"@akinon/app-shared": "^0.3.1"
},

@@ -22,5 +22,5 @@ "devDependencies": {

"clean-package": "2.2.0",
"@akinon/vite-config": "^0.1.1",
"eslint-config-custom": "0.1.0",
"tsconfig": "0.0.0"
"tsconfig": "0.0.0",
"@akinon/vite-config": "^0.1.1"
},

@@ -27,0 +27,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc