@inploi/plugin-kin 2.1.1 → 2.3.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/cdn/index.js +59 -59
- package/dist/{code-block-37QAKDTI-74945cd2.cjs → code-block-37QAKDTI-5bc53a03.cjs} +1 -1
- package/dist/{code-block-37QAKDTI-14890bbd.js → code-block-37QAKDTI-a0785760.js} +1 -1
- package/dist/{index-4554e20b.js → index-a95e3739.js} +1293 -1276
- package/dist/{index-2a5ad253.cjs → index-d5d8654c.cjs} +39 -39
- package/dist/kin.d.ts +4 -5
- package/dist/{mermaid-4DMBBIKO-db642aeb.cjs → mermaid-4DMBBIKO-91e602c7.cjs} +1 -1
- package/dist/{mermaid-4DMBBIKO-7f2453c1.js → mermaid-4DMBBIKO-b2b58e08.js} +1 -1
- package/dist/plugin-kin.cjs +1 -1
- package/dist/plugin-kin.js +1 -1
- package/package.json +3 -3
package/dist/kin.d.ts
CHANGED
|
@@ -10,10 +10,8 @@ export type StarterPrompt = {
|
|
|
10
10
|
message: string;
|
|
11
11
|
};
|
|
12
12
|
export type KinPluginParams = {
|
|
13
|
-
/**
|
|
14
|
-
serviceUrl
|
|
15
|
-
/** Publishable key for authentication */
|
|
16
|
-
publishableKey: string;
|
|
13
|
+
/** Override the agents service URL. Defaults to production (wss://agents.inploi.com). Only needed for local development. */
|
|
14
|
+
serviceUrl?: string;
|
|
17
15
|
/** Theme configuration */
|
|
18
16
|
theme?: KinTheme;
|
|
19
17
|
/** Starter prompts shown in empty state to help users begin */
|
|
@@ -35,11 +33,12 @@ export type Kin = ReturnType<ReturnType<KinPlugin>>;
|
|
|
35
33
|
/**
|
|
36
34
|
* Creates the Kin plugin
|
|
37
35
|
*/
|
|
38
|
-
export declare const kinPlugin: ({ serviceUrl,
|
|
36
|
+
export declare const kinPlugin: ({ serviceUrl, theme, starterPrompts, mode, container: containerOption, }: KinPluginParams) => ({ logger, publishableKey }: {
|
|
39
37
|
apiClient: import('@inploi/sdk').ApiClient;
|
|
40
38
|
rpcClient: import('@inploi/sdk').InploiRpcClient;
|
|
41
39
|
logger: import('@inploi/sdk').Logger;
|
|
42
40
|
analytics: import('@inploi/sdk').AnalyticsService;
|
|
41
|
+
publishableKey?: string;
|
|
43
42
|
}) => {
|
|
44
43
|
prepare: () => void;
|
|
45
44
|
open: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d5d8654c.cjs");require("@inploi/sdk");exports.Mermaid=e.tt;
|
package/dist/plugin-kin.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-d5d8654c.cjs");require("@inploi/sdk");exports.BRAND_THEMES=e.BRAND_THEMES;exports.kinPlugin=e.kinPlugin;
|
package/dist/plugin-kin.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inploi/plugin-kin",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Kin - A unified Talent Agent interface for hiring. One system, many roles.",
|
|
6
6
|
"main": "dist/plugin-kin.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@inploi/sdk": ">=1.
|
|
23
|
+
"@inploi/sdk": ">=1.17.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@preact/preset-vite": "2.5.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"vite": "^4.4.5",
|
|
32
32
|
"vite-plugin-dts": "^3.7.0",
|
|
33
33
|
"vite-tsconfig-paths": "^4.2.1",
|
|
34
|
-
"@inploi/sdk": "1.
|
|
34
|
+
"@inploi/sdk": "1.17.0",
|
|
35
35
|
"tsconfig": "0.1.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|