quickhunt-sdk 1.0.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.
@@ -0,0 +1,92 @@
1
+ 'use strict';
2
+
3
+ // quickhunt-sdk.js
4
+
5
+ function QuickhuntWidget({
6
+ widgetKey,
7
+ firstName,
8
+ lastName, // string or array of widget keys
9
+ name,
10
+ email,
11
+ uniqueId,
12
+ projectId,
13
+ inAppMessageKey, // string or array
14
+ env = "prod" // "dev", "prod"
15
+ }) {
16
+ if (typeof window === "undefined") return; // SSR safety
17
+
18
+ // Determine script URL
19
+ const scriptUrl =
20
+ env === "dev"
21
+ ? "https://devwidget.quickhunt.app/widgetScript.js"
22
+ : "https://widget.quickhunt.app/widgetScript.js";
23
+
24
+ // -----------------------------
25
+ // 1️⃣ Handle widgetKey(s)
26
+ // -----------------------------
27
+ if (widgetKey) {
28
+
29
+ window.Quickhunt_Config = window.Quickhunt_Config || [];
30
+ // Convert single or multiple keys into an array
31
+ const keys = Array.isArray(widgetKey) ? widgetKey : [widgetKey];
32
+ const widgetObjects = keys
33
+ .filter(key =>
34
+ !window.Quickhunt_Config.some(item => item.Quickhunt_Widget_Key === key)
35
+ )
36
+ .map(key => ({
37
+ firstName: firstName || "",
38
+ lastName: lastName || "",
39
+ email: email || "",
40
+ Quickhunt_Widget_Key: key
41
+ }));
42
+
43
+ if (widgetObjects.length > 0) {
44
+ window.Quickhunt_Config.push(...widgetObjects);
45
+ }
46
+ }
47
+
48
+ // -----------------------------
49
+ // 2️⃣ Handle quickhuntSettings
50
+ // -----------------------------
51
+ if (projectId || uniqueId || name || email) {
52
+ window.quickhuntSettings = {
53
+ ...window.quickhuntSettings,
54
+ name,
55
+ email,
56
+ uniqueId,
57
+ projectId
58
+ };
59
+ }
60
+
61
+ // -----------------------------
62
+ // 3️⃣ Handle In-App Message(s)
63
+ // -----------------------------
64
+ if (inAppMessageKey) {
65
+ window.Quickhunt_In_App_Message_Config = window.Quickhunt_In_App_Message_Config || [];
66
+ const keys = Array.isArray(inAppMessageKey) ? inAppMessageKey : [inAppMessageKey];
67
+
68
+ keys.forEach(key => {
69
+ if (!window.Quickhunt_In_App_Message_Config.some(item => item.Quickhunt_In_App_Message_Key === key)) {
70
+ window.Quickhunt_In_App_Message_Config.push({ Quickhunt_In_App_Message_Key: key });
71
+ }
72
+ });
73
+ }
74
+
75
+ // -----------------------------
76
+ // 4️⃣ Inject main widget script once
77
+ // -----------------------------
78
+ if (!document.getElementById("quickhunt-main-script")) {
79
+ const script = document.createElement("script");
80
+ script.id = "quickhunt-main-script";
81
+ script.src = scriptUrl;
82
+ script.async = true;
83
+
84
+ // script.onload = () => console.log("✅ Quickhunt script loaded!");
85
+ script.onerror = () => console.error("❌ Quickhunt script failed to load:", scriptUrl);
86
+
87
+ document.body.appendChild(script);
88
+ }
89
+ }
90
+
91
+ exports.QuickhuntWidget = QuickhuntWidget;
92
+ //# sourceMappingURL=index.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs.js","sources":["../src/index.js"],"sourcesContent":["// quickhunt-sdk.js\r\n\r\nexport function QuickhuntWidget({\r\n widgetKey,\r\n firstName,\r\n lastName, // string or array of widget keys\r\n name,\r\n email,\r\n uniqueId,\r\n projectId,\r\n inAppMessageKey, // string or array\r\n env = \"prod\" // \"dev\", \"prod\"\r\n}) {\r\n if (typeof window === \"undefined\") return; // SSR safety\r\n\r\n // Determine script URL\r\n const scriptUrl =\r\n env === \"dev\"\r\n ? \"https://devwidget.quickhunt.app/widgetScript.js\"\r\n : \"https://widget.quickhunt.app/widgetScript.js\";\r\n\r\n // -----------------------------\r\n // 1️⃣ Handle widgetKey(s)\r\n // -----------------------------\r\n if (widgetKey) {\r\n\r\n window.Quickhunt_Config = window.Quickhunt_Config || [];\r\n // Convert single or multiple keys into an array\r\n const keys = Array.isArray(widgetKey) ? widgetKey : [widgetKey];\r\n const widgetObjects = keys\r\n .filter(key =>\r\n !window.Quickhunt_Config.some(item => item.Quickhunt_Widget_Key === key)\r\n )\r\n .map(key => ({\r\n firstName: firstName || \"\",\r\n lastName: lastName || \"\",\r\n email: email || \"\",\r\n Quickhunt_Widget_Key: key\r\n }));\r\n\r\n if (widgetObjects.length > 0) {\r\n window.Quickhunt_Config.push(...widgetObjects);\r\n }\r\n }\r\n\r\n // -----------------------------\r\n // 2️⃣ Handle quickhuntSettings\r\n // -----------------------------\r\n if (projectId || uniqueId || name || email) {\r\n window.quickhuntSettings = {\r\n ...window.quickhuntSettings,\r\n name,\r\n email,\r\n uniqueId,\r\n projectId\r\n };\r\n }\r\n\r\n // -----------------------------\r\n // 3️⃣ Handle In-App Message(s)\r\n // -----------------------------\r\n if (inAppMessageKey) {\r\n window.Quickhunt_In_App_Message_Config = window.Quickhunt_In_App_Message_Config || [];\r\n const keys = Array.isArray(inAppMessageKey) ? inAppMessageKey : [inAppMessageKey];\r\n\r\n keys.forEach(key => {\r\n if (!window.Quickhunt_In_App_Message_Config.some(item => item.Quickhunt_In_App_Message_Key === key)) {\r\n window.Quickhunt_In_App_Message_Config.push({ Quickhunt_In_App_Message_Key: key });\r\n }\r\n });\r\n }\r\n\r\n // -----------------------------\r\n // 4️⃣ Inject main widget script once\r\n // -----------------------------\r\n if (!document.getElementById(\"quickhunt-main-script\")) {\r\n const script = document.createElement(\"script\");\r\n script.id = \"quickhunt-main-script\";\r\n script.src = scriptUrl;\r\n script.async = true;\r\n\r\n // script.onload = () => console.log(\"✅ Quickhunt script loaded!\");\r\n script.onerror = () => console.error(\"❌ Quickhunt script failed to load:\", scriptUrl);\r\n\r\n document.body.appendChild(script);\r\n } else {\r\n // console.log(\"⚠️ Quickhunt main script already loaded\");\r\n }\r\n}\r\n"],"names":[],"mappings":";;AAAA;AACA;AACO,SAAS,eAAe,CAAC;AAChC,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,QAAQ;AACV,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,QAAQ;AACV,EAAE,SAAS;AAC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
3
+ function QuickhuntWidget({
4
+ widgetKey,
5
+ firstName,
6
+ lastName, // string or array of widget keys
7
+ name,
8
+ email,
9
+ uniqueId,
10
+ projectId,
11
+ inAppMessageKey, // string or array
12
+ env = "prod" // "dev", "prod"
13
+ }) {
14
+ if (typeof window === "undefined") return; // SSR safety
15
+
16
+ // Determine script URL
17
+ const scriptUrl =
18
+ env === "dev"
19
+ ? "https://devwidget.quickhunt.app/widgetScript.js"
20
+ : "https://widget.quickhunt.app/widgetScript.js";
21
+
22
+ // -----------------------------
23
+ // 1️⃣ Handle widgetKey(s)
24
+ // -----------------------------
25
+ if (widgetKey) {
26
+
27
+ window.Quickhunt_Config = window.Quickhunt_Config || [];
28
+ // Convert single or multiple keys into an array
29
+ const keys = Array.isArray(widgetKey) ? widgetKey : [widgetKey];
30
+ const widgetObjects = keys
31
+ .filter(key =>
32
+ !window.Quickhunt_Config.some(item => item.Quickhunt_Widget_Key === key)
33
+ )
34
+ .map(key => ({
35
+ firstName: firstName || "",
36
+ lastName: lastName || "",
37
+ email: email || "",
38
+ Quickhunt_Widget_Key: key
39
+ }));
40
+
41
+ if (widgetObjects.length > 0) {
42
+ window.Quickhunt_Config.push(...widgetObjects);
43
+ }
44
+ }
45
+
46
+ // -----------------------------
47
+ // 2️⃣ Handle quickhuntSettings
48
+ // -----------------------------
49
+ if (projectId || uniqueId || name || email) {
50
+ window.quickhuntSettings = {
51
+ ...window.quickhuntSettings,
52
+ name,
53
+ email,
54
+ uniqueId,
55
+ projectId
56
+ };
57
+ }
58
+
59
+ // -----------------------------
60
+ // 3️⃣ Handle In-App Message(s)
61
+ // -----------------------------
62
+ if (inAppMessageKey) {
63
+ window.Quickhunt_In_App_Message_Config = window.Quickhunt_In_App_Message_Config || [];
64
+ const keys = Array.isArray(inAppMessageKey) ? inAppMessageKey : [inAppMessageKey];
65
+
66
+ keys.forEach(key => {
67
+ if (!window.Quickhunt_In_App_Message_Config.some(item => item.Quickhunt_In_App_Message_Key === key)) {
68
+ window.Quickhunt_In_App_Message_Config.push({ Quickhunt_In_App_Message_Key: key });
69
+ }
70
+ });
71
+ }
72
+
73
+ // -----------------------------
74
+ // 4️⃣ Inject main widget script once
75
+ // -----------------------------
76
+ if (!document.getElementById("quickhunt-main-script")) {
77
+ const script = document.createElement("script");
78
+ script.id = "quickhunt-main-script";
79
+ script.src = scriptUrl;
80
+ script.async = true;
81
+
82
+ // script.onload = () => console.log("✅ Quickhunt script loaded!");
83
+ script.onerror = () => console.error("❌ Quickhunt script failed to load:", scriptUrl);
84
+
85
+ document.body.appendChild(script);
86
+ }
87
+ }
88
+
89
+ export { QuickhuntWidget };
90
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.esm.js","sources":["../src/index.js"],"sourcesContent":["// quickhunt-sdk.js\r\n\r\nexport function QuickhuntWidget({\r\n widgetKey,\r\n firstName,\r\n lastName, // string or array of widget keys\r\n name,\r\n email,\r\n uniqueId,\r\n projectId,\r\n inAppMessageKey, // string or array\r\n env = \"prod\" // \"dev\", \"prod\"\r\n}) {\r\n if (typeof window === \"undefined\") return; // SSR safety\r\n\r\n // Determine script URL\r\n const scriptUrl =\r\n env === \"dev\"\r\n ? \"https://devwidget.quickhunt.app/widgetScript.js\"\r\n : \"https://widget.quickhunt.app/widgetScript.js\";\r\n\r\n // -----------------------------\r\n // 1️⃣ Handle widgetKey(s)\r\n // -----------------------------\r\n if (widgetKey) {\r\n\r\n window.Quickhunt_Config = window.Quickhunt_Config || [];\r\n // Convert single or multiple keys into an array\r\n const keys = Array.isArray(widgetKey) ? widgetKey : [widgetKey];\r\n const widgetObjects = keys\r\n .filter(key =>\r\n !window.Quickhunt_Config.some(item => item.Quickhunt_Widget_Key === key)\r\n )\r\n .map(key => ({\r\n firstName: firstName || \"\",\r\n lastName: lastName || \"\",\r\n email: email || \"\",\r\n Quickhunt_Widget_Key: key\r\n }));\r\n\r\n if (widgetObjects.length > 0) {\r\n window.Quickhunt_Config.push(...widgetObjects);\r\n }\r\n }\r\n\r\n // -----------------------------\r\n // 2️⃣ Handle quickhuntSettings\r\n // -----------------------------\r\n if (projectId || uniqueId || name || email) {\r\n window.quickhuntSettings = {\r\n ...window.quickhuntSettings,\r\n name,\r\n email,\r\n uniqueId,\r\n projectId\r\n };\r\n }\r\n\r\n // -----------------------------\r\n // 3️⃣ Handle In-App Message(s)\r\n // -----------------------------\r\n if (inAppMessageKey) {\r\n window.Quickhunt_In_App_Message_Config = window.Quickhunt_In_App_Message_Config || [];\r\n const keys = Array.isArray(inAppMessageKey) ? inAppMessageKey : [inAppMessageKey];\r\n\r\n keys.forEach(key => {\r\n if (!window.Quickhunt_In_App_Message_Config.some(item => item.Quickhunt_In_App_Message_Key === key)) {\r\n window.Quickhunt_In_App_Message_Config.push({ Quickhunt_In_App_Message_Key: key });\r\n }\r\n });\r\n }\r\n\r\n // -----------------------------\r\n // 4️⃣ Inject main widget script once\r\n // -----------------------------\r\n if (!document.getElementById(\"quickhunt-main-script\")) {\r\n const script = document.createElement(\"script\");\r\n script.id = \"quickhunt-main-script\";\r\n script.src = scriptUrl;\r\n script.async = true;\r\n\r\n // script.onload = () => console.log(\"✅ Quickhunt script loaded!\");\r\n script.onerror = () => console.error(\"❌ Quickhunt script failed to load:\", scriptUrl);\r\n\r\n document.body.appendChild(script);\r\n } else {\r\n // console.log(\"⚠️ Quickhunt main script already loaded\");\r\n }\r\n}\r\n"],"names":[],"mappings":"AAAA;AACA;AACO,SAAS,eAAe,CAAC;AAChC,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,QAAQ;AACV,EAAE,IAAI;AACN,EAAE,KAAK;AACP,EAAE,QAAQ;AACV,EAAE,SAAS;AACX,EAAE,eAAe;AACjB,EAAE,GAAG,GAAG,MAAM;AACd,CAAC,EAAE;AACH,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO;AAC5C;AACA;AACA,EAAE,MAAM,SAAS;AACjB,IAAI,GAAG,KAAK,KAAK;A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AG,MAAM,CAAC,+BAA+B,IAAI,EAAE,CAAC;AAC1F,IAAI,MAAM,IAAI,GAAG,KAAK,CAAC,OAAO,CAAC,eAAe,CAAC,GAAG,eAAe,GAAG,CAAC,eAAe,CAAC,CAAC;AACtF;AACA,IAAI,IAAI,CAAC,OAAO,CAAC,GAAG,IAAI;AACxB,MAAM,IAAI,CAAC,MAAM,CAAC,+BAA+B,CAAC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,4BAA4B,KAAK,GAAG,CAAC,EAAE;AAC3G,QAAQ,MAAM,CAAC,+BAA+B,CAAC,IAAI,CAAC,EAAE,4BAA4B,EAAE,GAAG,EAAE,CAAC,CAAC;AAC3F,MAAM,CAAC;AACP,IAAI,CAAC,CAAC,CAAC;AACP,EAAE,CAAC;AACH;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,uBAAuB,CAAC,EAAE;AACzD,IAAI,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;AACpD,IAAI,MAAM,CAAC,EAAE,GAAG,uBAAuB,CAAC;AACxC,IAAI,MAAM,CAAC,GAAG,GAAG,SAAS,CAAC;AAC3B,IAAI,MAAM,CAAC,KAAK,GAAG,IAAI,CAAC;AACxB;AACA;AACA,IAAI,MAAM,CAAC,OAAO,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,oCAAoC,EAAE,SAAS,CAAC,CAAC;AAC1F;AACA,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;AACtC,EAAE,CAEC;AACH;;;;"}
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "quickhunt-sdk",
3
+ "version": "1.0.0",
4
+ "description": "Quickhunt SDK for React",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.esm.js",
7
+ "files": [
8
+ "dist"
9
+ ],
10
+ "scripts": {
11
+ "build": "rollup -c",
12
+ "version:dev": "npm version prerelease --preid=dev --no-git-tag-version",
13
+ "publish:dev": "npm publish --tag dev",
14
+ "publish:prod": "npm publish"
15
+ },
16
+ "repository": {
17
+ "type": "git",
18
+ "url": "https://github.com/wcankesh/quickhunt-npm.git"
19
+ },
20
+ "keywords": [
21
+ "quickhunt",
22
+ "sdk",
23
+ "react"
24
+ ],
25
+ "author": "",
26
+ "license": "MIT",
27
+ "bugs": {
28
+ "url": "https://github.com/wcankesh/quickhunt-npm/issues"
29
+ },
30
+ "homepage": "https://github.com/wcankesh/quickhunt-npm#readme",
31
+ "peerDependencies": {
32
+ "react": "^16.8.0 || ^17 || ^18 || ^19"
33
+ },
34
+ "devDependencies": {
35
+ "@rollup/plugin-commonjs": "^29.0.0",
36
+ "@rollup/plugin-node-resolve": "^16.0.3",
37
+ "rollup": "^4.54.0",
38
+ "rollup-plugin-peer-deps-external": "^2.2.4"
39
+ }
40
+ }