@convocraft/launcher 0.1.0 → 0.1.2
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/bubble.d.ts +1 -0
- package/dist/bubble.js +1 -0
- package/dist/init.d.ts +1 -0
- package/dist/init.js +1 -0
- package/dist/popup.d.ts +1 -0
- package/dist/popup.js +1 -0
- package/dist/utils-nsEt2YOh.js +1 -0
- package/package.json +10 -7
- package/dist/index.d.mts +0 -7
- package/dist/index.mjs +0 -1
package/dist/bubble.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/bubble.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./utils-nsEt2YOh.js";async function t(){console.log(`Bubble init running`),await e(3e3),console.log(`Bubble init finished`)}await t();
|
package/dist/init.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/init.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(e=>{let t=`https://cdn.jsdelivr.net/npm/@convocraft/launcher@0/dist/${e.type}.js`,n=document.querySelector(`script[src="${t}"]`);n&&n.remove();let r=document.getElementsByTagName(`body`)[0],i=document.createElement(`script`);return i.async=!0,i.src=t,r.appendChild(i),!0})({type:`___TYPE___`,id:`___ID___`});
|
package/dist/popup.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
package/dist/popup.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./utils-nsEt2YOh.js";async function t(){console.log(`Popup init running`),await e(3e3),console.log(`Popup init finished`)}await t();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=e=>new Promise(t=>setTimeout(t,e));export{e as t};
|
package/package.json
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@convocraft/launcher",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
7
7
|
],
|
|
8
|
-
"main": "./dist/index.
|
|
9
|
-
"module": "./dist/index.
|
|
10
|
-
"types": "./dist/index.d.
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"module": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
11
|
"exports": {
|
|
12
|
-
".": "./dist/index.
|
|
12
|
+
".": "./dist/index.js",
|
|
13
|
+
"./popup": "./dist/popup.js",
|
|
14
|
+
"./bubble": "./dist/bubble.js",
|
|
13
15
|
"./package.json": "./package.json"
|
|
14
16
|
},
|
|
15
17
|
"devDependencies": {
|
|
18
|
+
"@types/node": "^24.10.0",
|
|
16
19
|
"tsdown": "^0.16.0"
|
|
17
20
|
},
|
|
18
21
|
"publishConfig": {
|
|
@@ -22,7 +25,7 @@
|
|
|
22
25
|
"build": "tsdown",
|
|
23
26
|
"release": "pnpm publish",
|
|
24
27
|
"_dev": "tsdown --watch",
|
|
25
|
-
"popup": "node ./dist/popup.
|
|
26
|
-
"bubble": "node ./dist/bubble.
|
|
28
|
+
"popup": "node ./dist/popup.js",
|
|
29
|
+
"bubble": "node ./dist/bubble.js"
|
|
27
30
|
}
|
|
28
31
|
}
|
package/dist/index.d.mts
DELETED
package/dist/index.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=e=>new Promise(t=>setTimeout(t,e));async function t(){await e(3e3),console.log(`Hello ConvoCraft Chatbot Bubble Launcher`)}async function n(){await e(3e3),console.log(`Hello ConvoCraft Chatbot Popup Launcher`)}export{t as initBubble,n as initPopup};
|