loyalty-protocol 1.4.1 → 1.4.3

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.js CHANGED
@@ -1 +1 @@
1
- var t=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var u=Object.prototype.hasOwnProperty;var a=(s,o)=>()=>(s&&(o=s(s=0)),o);var m=(s,o)=>{for(var i in o)t(s,i,{get:o[i],enumerable:!0})},C=(s,o,i,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let e of h(o))!u.call(s,e)&&e!==i&&t(s,e,{get:()=>o[e],enumerable:!(n=l(o,e))||n.enumerable});return s};var c=s=>C(t({},"__esModule",{value:!0}),s);var d={};m(d,{HT_CONFIG:()=>w});var w,g=a(()=>{"use strict";w={currency:{"K-Cash":{name:"Coins",logo:"https://images.hindustantimes.com/sso/prod/loyalty-reward-sdk/images/goCoinHT.svg",decimalPoints:0},"K-Points":{name:"T-Points",logo:"https://s2.coinmarketcap.com/static/img/coins/128x128/1958.png",decimalPoints:0},rKGeN:{name:"T Coin",logo:"https://s2.coinmarketcap.com/static/img/coins/128x128/32196.png",decimalPoints:2}},showHeader:!1,kStoreLogo:void 0,tenantId:void 0,fontLink:"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap"}});var p={};m(p,{TIME_NOW_CONFIG:()=>k});var k,r=a(()=>{"use strict";k={currency:{"K-Cash":{name:"Times Cash",logo:"https://s3.ap-south-1.amazonaws.com/pre-prod-admin-bucket.indi.gg/website-images/timesCash.png",decimalPoints:0},"K-Points":{name:"Coins",logo:"https://s3.ap-south-1.amazonaws.com/pre-prod-admin-bucket.indi.gg/website-images/timesCoin.png",decimalPoints:0},rKGeN:{name:"",logo:"",decimalPoints:2}},showHeader:!0,kStoreLogo:"https://s3.ap-south-1.amazonaws.com/pre-prod-admin-bucket.indi.gg/website-images/timesKstoreLogo.png",tenantId:"times",fontLink:void 0,assetMap:{times_point:"K-Points"}}});var{HT_CONFIG:P}=(g(),c(d)),{TIME_NOW_CONFIG:O}=(r(),c(p));window.LOYALTY_PROTOCOL_CONFIG={"ht-kstore-india":P,"times-now-kstore-india":O};
1
+ var t=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var a=(i,e)=>()=>(i&&(e=i(i=0)),e);var m=(i,e)=>{for(var s in e)t(i,s,{get:e[s],enumerable:!0})},k=(i,e,s,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of h(e))!C.call(i,o)&&o!==s&&t(i,o,{get:()=>e[o],enumerable:!(n=l(e,o))||n.enumerable});return i};var d=i=>k(t({},"__esModule",{value:!0}),i);var r={};m(r,{HT_CONFIG:()=>u});var u,g=a(()=>{"use strict";u={currency:{"K-Cash":{name:"Coins",logo:"https://images.hindustantimes.com/sso/prod/loyalty-reward-sdk/images/goCoinHT.svg",decimalPoints:0},"K-Points":{name:"T-Points",logo:"https://s2.coinmarketcap.com/static/img/coins/128x128/1958.png",decimalPoints:0},rKGeN:{name:"T Coin",logo:"https://s2.coinmarketcap.com/static/img/coins/128x128/32196.png",decimalPoints:2}},showHeader:!1,kStoreLogo:void 0,tenantId:void 0,fontLink:"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap"}});var c={};m(c,{TIME_NOW_CONFIG:()=>P});var P,p=a(()=>{"use strict";P={currency:{"K-Cash":{name:"Times Cash",logo:"https://pre-prod-admin-bucket.indi.gg/website-images/timesCash.png",decimalPoints:0},"K-Points":{name:"Coins",logo:"https://pre-prod-admin-bucket.indi.gg/website-images/timesCoin.png",decimalPoints:0},rKGeN:{name:"",logo:"",decimalPoints:2}},showHeader:!0,kStoreLogo:"https://pre-prod-admin-bucket.indi.gg/website-images/timesKstoreLogo.png",tenantId:"times",fontLink:void 0,assetMap:{times_point:"K-Points"},rkade:{spinWheel:{hideBgColor:!0}}}});var{HT_CONFIG:w}=(g(),d(r)),{TIME_NOW_CONFIG:O}=(p(),d(c));window.LOYALTY_PROTOCOL_CONFIG={"ht-kstore-india":w,"times-now-kstore-india":O};
package/dist/index.d.ts CHANGED
@@ -13,6 +13,11 @@ type Config = {
13
13
  assetMap?: {
14
14
  times_point?: string;
15
15
  };
16
+ rkade?: {
17
+ spinWheel?: {
18
+ hideBgColor?: boolean;
19
+ };
20
+ };
16
21
  };
17
22
  declare const LOYALTY_PROTOCOL_CONFIG: Record<string, Config>;
18
23
  export default LOYALTY_PROTOCOL_CONFIG;
@@ -23,4 +23,9 @@ export declare const TIME_NOW_CONFIG: {
23
23
  assetMap: {
24
24
  times_point: string;
25
25
  };
26
+ rkade: {
27
+ spinWheel: {
28
+ hideBgColor: boolean;
29
+ };
30
+ };
26
31
  };
@@ -2,12 +2,12 @@ export const TIME_NOW_CONFIG = {
2
2
  currency: {
3
3
  "K-Cash": {
4
4
  name: "Times Cash",
5
- logo: "https://s3.ap-south-1.amazonaws.com/pre-prod-admin-bucket.indi.gg/website-images/timesCash.png",
5
+ logo: "https://pre-prod-admin-bucket.indi.gg/website-images/timesCash.png",
6
6
  decimalPoints: 0,
7
7
  },
8
8
  "K-Points": {
9
9
  name: "Coins",
10
- logo: "https://s3.ap-south-1.amazonaws.com/pre-prod-admin-bucket.indi.gg/website-images/timesCoin.png",
10
+ logo: "https://pre-prod-admin-bucket.indi.gg/website-images/timesCoin.png",
11
11
  decimalPoints: 0,
12
12
  },
13
13
  rKGeN: {
@@ -17,10 +17,15 @@ export const TIME_NOW_CONFIG = {
17
17
  },
18
18
  },
19
19
  showHeader: true,
20
- kStoreLogo: "https://s3.ap-south-1.amazonaws.com/pre-prod-admin-bucket.indi.gg/website-images/timesKstoreLogo.png",
20
+ kStoreLogo: "https://pre-prod-admin-bucket.indi.gg/website-images/timesKstoreLogo.png",
21
21
  tenantId: "times",
22
22
  fontLink: undefined,
23
23
  assetMap: {
24
24
  times_point: "K-Points",
25
25
  },
26
+ rkade: {
27
+ spinWheel: {
28
+ hideBgColor: true,
29
+ },
30
+ },
26
31
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loyalty-protocol",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "exports": {