loyalty-protocol 1.3.13 → 1.3.15

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 s=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var P=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var a=(o,i)=>()=>(o&&(i=o(o=0)),i);var c=(o,i)=>{for(var n in i)s(o,n,{get:i[n],enumerable:!0})},C=(o,i,n,e)=>{if(i&&typeof i=="object"||typeof i=="function")for(let t of P(i))!h.call(o,t)&&t!==n&&s(o,t,{get:()=>i[t],enumerable:!(e=l(i,t))||e.enumerable});return o};var m=o=>C(s({},"__esModule",{value:!0}),o);var p={};c(p,{HT_CONFIG:()=>T});var T,d=a(()=>{"use strict";T={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,tenantId:void 0,fontLink:"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap"}});var g={};c(g,{TIME_NOW_CONFIG:()=>O});var O,r=a(()=>{"use strict";O={currency:{"K-Cash":{name:"TCoins",logo:"https://i.ibb.co/k25RsTDd/times-coin.png",decimalPoints:0},"K-Points":{name:"T-Points",logo:"https://i.ibb.co/3YhSKPPg/times-point.png",decimalPoints:0},rKGeN:{name:"T Coin",logo:"https://i.ibb.co/3YhSKPPg/times-point.png",decimalPoints:2}},showHeader:!0,tenantId:"times",fontLink:void 0,assetMap:{times_point:"K-Points"}}});var{HT_CONFIG:I}=(d(),m(p)),{TIME_NOW_CONFIG:K}=(r(),m(g));window.LOYALTY_PROTOCOL_CONFIG={"ht-kstore-india":I,"times-now-kstore-india":K};
1
+ var s=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var P=Object.prototype.hasOwnProperty;var a=(i,o)=>()=>(i&&(o=i(i=0)),o);var c=(i,o)=>{for(var n in o)s(i,n,{get:o[n],enumerable:!0})},C=(i,o,n,e)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of h(o))!P.call(i,t)&&t!==n&&s(i,t,{get:()=>o[t],enumerable:!(e=l(o,t))||e.enumerable});return i};var m=i=>C(s({},"__esModule",{value:!0}),i);var g={};c(g,{HT_CONFIG:()=>T});var T,p=a(()=>{"use strict";T={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 d={};c(d,{TIME_NOW_CONFIG:()=>k});var k,r=a(()=>{"use strict";k={currency:{"K-Cash":{name:"TN Cash",logo:"https://i.ibb.co/k25RsTDd/times-coin.png",decimalPoints:0},"K-Points":{name:"TN Coins",logo:"https://i.ibb.co/3YhSKPPg/times-point.png",decimalPoints:0},rKGeN:{name:"T Coin",logo:"https://i.ibb.co/3YhSKPPg/times-point.png",decimalPoints:2}},showHeader:!0,kStoreLogo:"https://i.ibb.co/Q7XQfk8n/image.png",tenantId:"times",fontLink:void 0,assetMap:{times_point:"K-Points"}}});var{HT_CONFIG:N}=(p(),m(g)),{TIME_NOW_CONFIG:O}=(r(),m(d));window.LOYALTY_PROTOCOL_CONFIG={"ht-kstore-india":N,"times-now-kstore-india":O};
@@ -17,6 +17,7 @@ export declare const HT_CONFIG: {
17
17
  };
18
18
  };
19
19
  showHeader: boolean;
20
+ kStoreLogo: undefined;
20
21
  tenantId: undefined;
21
22
  fontLink: string;
22
23
  };
@@ -17,6 +17,7 @@ export const HT_CONFIG = {
17
17
  },
18
18
  },
19
19
  showHeader: false,
20
+ kStoreLogo: undefined,
20
21
  tenantId: undefined,
21
22
  fontLink: "https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap",
22
23
  };
package/dist/index.d.ts CHANGED
@@ -9,6 +9,7 @@ type Config = {
9
9
  showHeader: boolean;
10
10
  tenantId: string | undefined;
11
11
  fontLink: string | undefined;
12
+ kStoreLogo: string | undefined;
12
13
  assetMap?: {
13
14
  times_point?: string;
14
15
  };
@@ -17,6 +17,7 @@ export declare const TIME_NOW_CONFIG: {
17
17
  };
18
18
  };
19
19
  showHeader: boolean;
20
+ kStoreLogo: string;
20
21
  tenantId: string;
21
22
  fontLink: undefined;
22
23
  assetMap: {
@@ -1,12 +1,12 @@
1
1
  export const TIME_NOW_CONFIG = {
2
2
  currency: {
3
3
  "K-Cash": {
4
- name: "TCoins",
4
+ name: "TN Cash",
5
5
  logo: "https://i.ibb.co/k25RsTDd/times-coin.png",
6
6
  decimalPoints: 0,
7
7
  },
8
8
  "K-Points": {
9
- name: "T-Points",
9
+ name: "TN Coins",
10
10
  logo: "https://i.ibb.co/3YhSKPPg/times-point.png",
11
11
  decimalPoints: 0,
12
12
  },
@@ -17,6 +17,7 @@ export const TIME_NOW_CONFIG = {
17
17
  },
18
18
  },
19
19
  showHeader: true,
20
+ kStoreLogo: "https://i.ibb.co/Q7XQfk8n/image.png",
20
21
  tenantId: "times",
21
22
  fontLink: undefined,
22
23
  assetMap: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loyalty-protocol",
3
- "version": "1.3.13",
3
+ "version": "1.3.15",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "exports": {