loyalty-protocol 1.0.34 → 1.0.35
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/config.cjs +1 -66
- package/dist/config.js +1 -65
- package/dist/theme.css +1 -64
- package/package.json +3 -2
package/dist/config.cjs
CHANGED
|
@@ -1,66 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __esm = (fn, res) => function __init() {
|
|
7
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
8
|
-
};
|
|
9
|
-
var __export = (target, all) => {
|
|
10
|
-
for (var name in all)
|
|
11
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from))
|
|
16
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
-
}
|
|
19
|
-
return to;
|
|
20
|
-
};
|
|
21
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
22
|
-
|
|
23
|
-
// config/ht-kstore-india/index.js
|
|
24
|
-
var ht_kstore_india_exports = {};
|
|
25
|
-
__export(ht_kstore_india_exports, {
|
|
26
|
-
HT_CONFIG: () => HT_CONFIG
|
|
27
|
-
});
|
|
28
|
-
var HT_CONFIG;
|
|
29
|
-
var init_ht_kstore_india = __esm({
|
|
30
|
-
"config/ht-kstore-india/index.js"() {
|
|
31
|
-
"use strict";
|
|
32
|
-
HT_CONFIG = {
|
|
33
|
-
currency: {
|
|
34
|
-
name: "GO Coin",
|
|
35
|
-
logo: "https://images.rawpixel.com/image_png_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIyLTA0L3YxMTYxLWItMDQ0LnBuZw.png"
|
|
36
|
-
},
|
|
37
|
-
showHeader: false
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
});
|
|
41
|
-
|
|
42
|
-
// config/indian-express/index.js
|
|
43
|
-
var indian_express_exports = {};
|
|
44
|
-
__export(indian_express_exports, {
|
|
45
|
-
INDIAN_EXPRESS: () => INDIAN_EXPRESS
|
|
46
|
-
});
|
|
47
|
-
var INDIAN_EXPRESS;
|
|
48
|
-
var init_indian_express = __esm({
|
|
49
|
-
"config/indian-express/index.js"() {
|
|
50
|
-
"use strict";
|
|
51
|
-
INDIAN_EXPRESS = {
|
|
52
|
-
currency: {
|
|
53
|
-
name: "Minecraft Coin",
|
|
54
|
-
logo: "https://p1.hiclipart.com/preview/896/990/447/minecraft-hd-icon-mac-pc-minecraft-icon-512-png-icon.jpg"
|
|
55
|
-
}
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
});
|
|
59
|
-
|
|
60
|
-
// config/config.js
|
|
61
|
-
var { HT_CONFIG: HT_CONFIG2 } = (init_ht_kstore_india(), __toCommonJS(ht_kstore_india_exports));
|
|
62
|
-
var { INDIAN_EXPRESS: INDIAN_EXPRESS2 } = (init_indian_express(), __toCommonJS(indian_express_exports));
|
|
63
|
-
window.LOYALTY_PROTOCOL_CONFIG = {
|
|
64
|
-
"ht-kstore-india": HT_CONFIG2,
|
|
65
|
-
"indian-express": INDIAN_EXPRESS2
|
|
66
|
-
};
|
|
1
|
+
"use strict";var o=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(e,n)=>()=>(e&&(n=e(e=0)),n);var p=(e,n)=>{for(var c in n)o(e,c,{get:n[c],enumerable:!0})},L=(e,n,c,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of _(n))!d.call(e,i)&&i!==c&&o(e,i,{get:()=>n[i],enumerable:!(r=O(n,i))||r.enumerable});return e};var a=e=>L(o({},"__esModule",{value:!0}),e);var s={};p(s,{HT_CONFIG:()=>N});var N,m=t(()=>{"use strict";N={currency:{name:"GO Coin",logo:"https://images.rawpixel.com/image_png_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIyLTA0L3YxMTYxLWItMDQ0LnBuZw.png"},showHeader:!1}});var I={};p(I,{INDIAN_EXPRESS:()=>h});var h,g=t(()=>{"use strict";h={currency:{name:"Minecraft Coin",logo:"https://p1.hiclipart.com/preview/896/990/447/minecraft-hd-icon-mac-pc-minecraft-icon-512-png-icon.jpg"}}});var{HT_CONFIG:l}=(m(),a(s)),{INDIAN_EXPRESS:w}=(g(),a(I));window.LOYALTY_PROTOCOL_CONFIG={"ht-kstore-india":l,"indian-express":w};
|
package/dist/config.js
CHANGED
|
@@ -1,65 +1 @@
|
|
|
1
|
-
var
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __esm = (fn, res) => function __init() {
|
|
6
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
7
|
-
};
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
var __copyProps = (to, from, except, desc) => {
|
|
13
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
-
for (let key of __getOwnPropNames(from))
|
|
15
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
|
-
|
|
22
|
-
// config/ht-kstore-india/index.js
|
|
23
|
-
var ht_kstore_india_exports = {};
|
|
24
|
-
__export(ht_kstore_india_exports, {
|
|
25
|
-
HT_CONFIG: () => HT_CONFIG
|
|
26
|
-
});
|
|
27
|
-
var HT_CONFIG;
|
|
28
|
-
var init_ht_kstore_india = __esm({
|
|
29
|
-
"config/ht-kstore-india/index.js"() {
|
|
30
|
-
"use strict";
|
|
31
|
-
HT_CONFIG = {
|
|
32
|
-
currency: {
|
|
33
|
-
name: "GO Coin",
|
|
34
|
-
logo: "https://images.rawpixel.com/image_png_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIyLTA0L3YxMTYxLWItMDQ0LnBuZw.png"
|
|
35
|
-
},
|
|
36
|
-
showHeader: false
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
// config/indian-express/index.js
|
|
42
|
-
var indian_express_exports = {};
|
|
43
|
-
__export(indian_express_exports, {
|
|
44
|
-
INDIAN_EXPRESS: () => INDIAN_EXPRESS
|
|
45
|
-
});
|
|
46
|
-
var INDIAN_EXPRESS;
|
|
47
|
-
var init_indian_express = __esm({
|
|
48
|
-
"config/indian-express/index.js"() {
|
|
49
|
-
"use strict";
|
|
50
|
-
INDIAN_EXPRESS = {
|
|
51
|
-
currency: {
|
|
52
|
-
name: "Minecraft Coin",
|
|
53
|
-
logo: "https://p1.hiclipart.com/preview/896/990/447/minecraft-hd-icon-mac-pc-minecraft-icon-512-png-icon.jpg"
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
// config/config.js
|
|
60
|
-
var { HT_CONFIG: HT_CONFIG2 } = (init_ht_kstore_india(), __toCommonJS(ht_kstore_india_exports));
|
|
61
|
-
var { INDIAN_EXPRESS: INDIAN_EXPRESS2 } = (init_indian_express(), __toCommonJS(indian_express_exports));
|
|
62
|
-
window.LOYALTY_PROTOCOL_CONFIG = {
|
|
63
|
-
"ht-kstore-india": HT_CONFIG2,
|
|
64
|
-
"indian-express": INDIAN_EXPRESS2
|
|
65
|
-
};
|
|
1
|
+
var o=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var _=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(e,n)=>()=>(e&&(n=e(e=0)),n);var p=(e,n)=>{for(var c in n)o(e,c,{get:n[c],enumerable:!0})},L=(e,n,c,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let i of _(n))!d.call(e,i)&&i!==c&&o(e,i,{get:()=>n[i],enumerable:!(r=O(n,i))||r.enumerable});return e};var a=e=>L(o({},"__esModule",{value:!0}),e);var s={};p(s,{HT_CONFIG:()=>N});var N,m=t(()=>{"use strict";N={currency:{name:"GO Coin",logo:"https://images.rawpixel.com/image_png_800/cHJpdmF0ZS9sci9pbWFnZXMvd2Vic2l0ZS8yMDIyLTA0L3YxMTYxLWItMDQ0LnBuZw.png"},showHeader:!1}});var I={};p(I,{INDIAN_EXPRESS:()=>h});var h,g=t(()=>{"use strict";h={currency:{name:"Minecraft Coin",logo:"https://p1.hiclipart.com/preview/896/990/447/minecraft-hd-icon-mac-pc-minecraft-icon-512-png-icon.jpg"}}});var{HT_CONFIG:l}=(m(),a(s)),{INDIAN_EXPRESS:w}=(g(),a(I));window.LOYALTY_PROTOCOL_CONFIG={"ht-kstore-india":l,"indian-express":w};
|
package/dist/theme.css
CHANGED
|
@@ -1,64 +1 @@
|
|
|
1
|
-
[data-theme=
|
|
2
|
-
--primary-color-base: 140, 255, 5; /* #8cff05 */
|
|
3
|
-
--secondary-color-base: 31, 51, 56 /* #1f3338 */;
|
|
4
|
-
--background-color-base: 65, 95, 102 /* #415f66 */;
|
|
5
|
-
--tertiary-color-base: 134, 166, 166 /* #86a6a6 */;
|
|
6
|
-
--text-color-base: 219, 237, 241; /* #dbedf1 */
|
|
7
|
-
--accent-text-color-base: 190, 220, 218; /* #bedcda */
|
|
8
|
-
|
|
9
|
-
--error-color-base: 255, 115, 115; /* #ff7373 */
|
|
10
|
-
--white-base: 255, 255, 255; /* #ffffff */
|
|
11
|
-
--black-base: 0, 0, 0; /* #000000 */
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
[data-theme="dark"] {
|
|
15
|
-
--primary-color-base: 140, 255, 5; /* #8cff05 */
|
|
16
|
-
--secondary-color-base: 31, 51, 56; /* #1f3338 */
|
|
17
|
-
--background-color-base: 65, 95, 102; /* #415f66 */
|
|
18
|
-
--tertiary-color-base: 134, 166, 166; /* #86a6a6 */
|
|
19
|
-
--text-color-base: 219, 237, 241; /* #dbedf1 */
|
|
20
|
-
--accent-text-color-base: 190, 220, 218; /* #bedcda */
|
|
21
|
-
|
|
22
|
-
--error-color-base: 255, 115, 115; /* #ff7373 */
|
|
23
|
-
--white-base: 255, 255, 255; /* #ffffff */
|
|
24
|
-
--black-base: 0, 0, 0; /* #000000 */
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
[data-theme="kgen"] {
|
|
28
|
-
--primary-color-base: 140, 255, 5; /* #8cff05 */
|
|
29
|
-
--secondary-color-base: 31, 51, 56; /* #1f3338 */
|
|
30
|
-
--background-color-base: 65, 95, 102; /* #415f66 */
|
|
31
|
-
--tertiary-color-base: 134, 166, 166; /* #86a6a6 */
|
|
32
|
-
--text-color-base: 219, 237, 241; /* #dbedf1 */
|
|
33
|
-
--accent-text-color-base: 190, 220, 218; /* #bedcda */
|
|
34
|
-
|
|
35
|
-
--error-color-base: 255, 115, 115; /* #ff7373 */
|
|
36
|
-
--white-base: 255, 255, 255; /* #ffffff */
|
|
37
|
-
--black-base: 0, 0, 0; /* #000000 */
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
[data-theme="ht-kstore-india"] {
|
|
41
|
-
--primary-color-base: 0, 157, 182; /* #009db6 */
|
|
42
|
-
--secondary-color-base: 255, 255, 255; /* #ffffff */
|
|
43
|
-
--background-color-base: 31, 51, 56; /* #1f3338 */
|
|
44
|
-
--tertiary-color-base: 220, 218, 218; /* #dcdada */
|
|
45
|
-
--text-color-base: 0, 0, 0; /* #000000 */
|
|
46
|
-
--accent-text-color-base: 68, 68, 68; /* #444444 */
|
|
47
|
-
|
|
48
|
-
--error-color-base: 255, 115, 115; /* #ff7373 */
|
|
49
|
-
--white-base: 255, 255, 255; /* #ffffff */
|
|
50
|
-
--black-base: 0, 0, 0; /* #000000 */
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
[data-theme="indian-express"] {
|
|
54
|
-
--primary-color-base: 255, 157, 182; /* #ff9db6 */
|
|
55
|
-
--secondary-color-base: 255, 255, 255; /* #ffffff */
|
|
56
|
-
--background-color-base: 31, 51, 56; /* #1f3338 */
|
|
57
|
-
--tertiary-color-base: 220, 218, 218; /* #dcdada */
|
|
58
|
-
--text-color-base: 0, 0, 0; /* #000000 */
|
|
59
|
-
--accent-text-color-base: 68, 68, 68; /* #444444 */
|
|
60
|
-
|
|
61
|
-
--error-color-base: 255, 115, 115; /* #ff7373 */
|
|
62
|
-
--white-base: 255, 255, 255; /* #ffffff */
|
|
63
|
-
--black-base: 0, 0, 0; /* #000000 */
|
|
64
|
-
}
|
|
1
|
+
[data-theme=dark],[data-theme=kgen],[data-theme=light]{--primary-color-base:140, 255, 5;--secondary-color-base:31, 51, 56;--background-color-base:65, 95, 102;--tertiary-color-base:134, 166, 166;--text-color-base:219, 237, 241;--accent-text-color-base:190, 220, 218;--error-color-base:255, 115, 115;--white-base:255, 255, 255;--black-base:0, 0, 0}[data-theme=ht-kstore-india],[data-theme=indian-express]{--secondary-color-base:255, 255, 255;--background-color-base:31, 51, 56;--tertiary-color-base:220, 218, 218;--text-color-base:0, 0, 0;--accent-text-color-base:68, 68, 68;--error-color-base:255, 115, 115;--white-base:255, 255, 255;--black-base:0, 0, 0}[data-theme=ht-kstore-india]{--primary-color-base:0, 157, 182}[data-theme=indian-express]{--primary-color-base:255, 157, 182}:root{--primary-color:rgba(var(--primary-color-base));--primary-color-10:rgba(var(--primary-color-base), 0.1);--primary-color-20:rgba(var(--primary-color-base), 0.2);--primary-color-30:rgba(var(--primary-color-base), 0.3);--primary-color-40:rgba(var(--primary-color-base), 0.4);--primary-color-50:rgba(var(--primary-color-base), 0.5);--primary-color-60:rgba(var(--primary-color-base), 0.6);--primary-color-70:rgba(var(--primary-color-base), 0.7);--primary-color-80:rgba(var(--primary-color-base), 0.8);--primary-color-90:rgba(var(--primary-color-base), 0.9);--secondary-color:rgba(var(--secondary-color-base));--secondary-color-10:rgba(var(--secondary-color-base), 0.1);--secondary-color-20:rgba(var(--secondary-color-base), 0.2);--secondary-color-30:rgba(var(--secondary-color-base), 0.3);--secondary-color-40:rgba(var(--secondary-color-base), 0.4);--secondary-color-50:rgba(var(--secondary-color-base), 0.5);--secondary-color-60:rgba(var(--secondary-color-base), 0.6);--secondary-color-70:rgba(var(--secondary-color-base), 0.7);--secondary-color-80:rgba(var(--secondary-color-base), 0.8);--secondary-color-90:rgba(var(--secondary-color-base), 0.9);--background-color:rgba(var(--background-color-base));--background-color-10:rgba(var(--background-color-base), 0.1);--background-color-20:rgba(var(--background-color-base), 0.2);--background-color-30:rgba(var(--background-color-base), 0.3);--background-color-40:rgba(var(--background-color-base), 0.4);--background-color-50:rgba(var(--background-color-base), 0.5);--background-color-60:rgba(var(--background-color-base), 0.6);--background-color-70:rgba(var(--background-color-base), 0.7);--background-color-80:rgba(var(--background-color-base), 0.8);--background-color-90:rgba(var(--background-color-base), 0.9);--tertiary-color:rgba(var(--tertiary-color-base));--tertiary-color-10:rgba(var(--tertiary-color-base), 0.1);--tertiary-color-20:rgba(var(--tertiary-color-base), 0.2);--tertiary-color-30:rgba(var(--tertiary-color-base), 0.3);--tertiary-color-40:rgba(var(--tertiary-color-base), 0.4);--tertiary-color-50:rgba(var(--tertiary-color-base), 0.5);--tertiary-color-60:rgba(var(--tertiary-color-base), 0.6);--tertiary-color-70:rgba(var(--tertiary-color-base), 0.7);--tertiary-color-80:rgba(var(--tertiary-color-base), 0.8);--tertiary-color-90:rgba(var(--tertiary-color-base), 0.9);--text-color:rgba(var(--text-color-base));--text-color-10:rgba(var(--text-color-base), 0.1);--text-color-20:rgba(var(--text-color-base), 0.2);--text-color-30:rgba(var(--text-color-base), 0.3);--text-color-40:rgba(var(--text-color-base), 0.4);--text-color-50:rgba(var(--text-color-base), 0.5);--text-color-60:rgba(var(--text-color-base), 0.6);--text-color-70:rgba(var(--text-color-base), 0.7);--text-color-80:rgba(var(--text-color-base), 0.8);--text-color-90:rgba(var(--text-color-base), 0.9);--accent-text-color:rgba(var(--accent-text-color-base));--accent-text-color-10:rgba(var(--accent-text-color-base), 0.1);--accent-text-color-20:rgba(var(--accent-text-color-base), 0.2);--accent-text-color-30:rgba(var(--accent-text-color-base), 0.3);--accent-text-color-40:rgba(var(--accent-text-color-base), 0.4);--accent-text-color-50:rgba(var(--accent-text-color-base), 0.5);--accent-text-color-60:rgba(var(--accent-text-color-base), 0.6);--accent-text-color-70:rgba(var(--accent-text-color-base), 0.7);--accent-text-color-80:rgba(var(--accent-text-color-base), 0.8);--accent-text-color-90:rgba(var(--accent-text-color-base), 0.9);--black:rgba(var(--black-base));--white:rgba(var(--white-base))}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "loyalty-protocol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
11
|
-
"build": "tsup config/config.js --format esm,cjs --out-dir dist &&
|
|
11
|
+
"build": "tsup config/config.js --format esm,cjs --out-dir dist --minify && csso theme/theme.css --output dist/theme.css"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"author": "",
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
"type": "module",
|
|
17
17
|
"private": false,
|
|
18
18
|
"devDependencies": {
|
|
19
|
+
"csso-cli": "^4.0.2",
|
|
19
20
|
"tsup": "^8.5.0",
|
|
20
21
|
"typescript": "^5.9.2"
|
|
21
22
|
},
|