loyalty-protocol 1.3.16 → 1.4.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.
package/dist/config.js CHANGED
@@ -1 +1 @@
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 d={};c(d,{HT_CONFIG:()=>k});var k,g=a(()=>{"use strict";k={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 r={};c(r,{TIME_NOW_CONFIG:()=>O});var O,p=a(()=>{"use strict";O={currency:{"K-Cash":{name:"Times Cash",logo:"https://i.ibb.co/k25RsTDd/times-coin.png",decimalPoints:0},"K-Points":{name:"Coins",logo:"https://i.ibb.co/3YhSKPPg/times-point.png",decimalPoints:0},rKGeN:{name:"",logo:"",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:T}=(g(),m(d)),{TIME_NOW_CONFIG:I}=(p(),m(r));window.LOYALTY_PROTOCOL_CONFIG={"ht-kstore-india":T,"times-now-kstore-india":I};
1
+ var e=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var h=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var a=(s,o)=>()=>(s&&(o=s(s=0)),o);var m=(s,o)=>{for(var t in o)e(s,t,{get:o[t],enumerable:!0})},u=(s,o,t,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of h(o))!C.call(s,i)&&i!==t&&e(s,i,{get:()=>o[i],enumerable:!(n=l(o,i))||n.enumerable});return s};var c=s=>u(e({},"__esModule",{value:!0}),s);var d={};m(d,{HT_CONFIG:()=>k});var k,g=a(()=>{"use strict";k={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:()=>w});var w,r=a(()=>{"use strict";w={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://i.ibb.co/Q7XQfk8n/image.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};
@@ -2,12 +2,12 @@ export const TIME_NOW_CONFIG = {
2
2
  currency: {
3
3
  "K-Cash": {
4
4
  name: "Times Cash",
5
- logo: "https://i.ibb.co/k25RsTDd/times-coin.png",
5
+ logo: "https://s3.ap-south-1.amazonaws.com/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://i.ibb.co/3YhSKPPg/times-point.png",
10
+ logo: "https://s3.ap-south-1.amazonaws.com/pre-prod-admin-bucket.indi.gg/website-images/timesCoin.png",
11
11
  decimalPoints: 0,
12
12
  },
13
13
  rKGeN: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loyalty-protocol",
3
- "version": "1.3.16",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "exports": {