diff --git a/lib/graphql/mutations/applyCoupon.handler.js b/lib/graphql/mutations/applyCoupon.handler.js index 5b9b6a9..b629cfd 100644 --- a/lib/graphql/mutations/applyCoupon.handler.js +++ b/lib/graphql/mutations/applyCoupon.handler.js @@ -1,4 +1,4 @@ -import { setapplyCoupon } from "../../store/slices/cart"; +import { setapplyCoupon, } from "../../store/slices/cart"; export function applyCouponHandler(applyCoupon, dispatch) { if (applyCoupon) { dispatch(setapplyCoupon(applyCoupon)); diff --git a/lib/graphql/mutations/applyCoupon.handler.js.map b/lib/graphql/mutations/applyCoupon.handler.js.map index 566ed65..249e295 100644 --- a/lib/graphql/mutations/applyCoupon.handler.js.map +++ b/lib/graphql/mutations/applyCoupon.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"applyCoupon.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/applyCoupon.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,cAAc,EAAuB,MAAM,yBAAyB,CAAC;AAGjG,MAAM,UAAU,kBAAkB,CAAC,WAA+B,EAAE,QAAkC;IACpG,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;KACvC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"applyCoupon.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/applyCoupon.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,cAAc,GAEf,MAAM,yBAAyB,CAAC;AAajC,MAAM,UAAU,kBAAkB,CAChC,WAA+B,EAC/B,QAAkC;IAElC,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;KACvC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/applyRewardPoints.handler.js b/lib/graphql/mutations/applyRewardPoints.handler.js index e8aed08..1916387 100644 --- a/lib/graphql/mutations/applyRewardPoints.handler.js +++ b/lib/graphql/mutations/applyRewardPoints.handler.js @@ -1,4 +1,4 @@ -import { setrewardPoints } from "../../store/slices/cart"; +import { setrewardPoints, } from "../../store/slices/cart"; export function applyRewardPointsHandler(applyRewardPoints, dispatch) { if (applyRewardPoints) { dispatch(setrewardPoints(applyRewardPoints)); diff --git a/lib/graphql/mutations/applyRewardPoints.handler.js.map b/lib/graphql/mutations/applyRewardPoints.handler.js.map index f8dd2cf..7c094b0 100644 --- a/lib/graphql/mutations/applyRewardPoints.handler.js.map +++ b/lib/graphql/mutations/applyRewardPoints.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"applyRewardPoints.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/applyRewardPoints.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0D,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAGlH,MAAM,UAAU,wBAAwB,CAAC,iBAAqC,EAAE,QAAkC;IAChH,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC9C;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"applyRewardPoints.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/applyRewardPoints.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAajC,MAAM,UAAU,wBAAwB,CACtC,iBAAqC,EACrC,QAAkC;IAElC,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,eAAe,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC9C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/getCartShareLink.handler.js.map b/lib/graphql/mutations/getCartShareLink.handler.js.map index 96fa5c9..da0b73f 100644 --- a/lib/graphql/mutations/getCartShareLink.handler.js.map +++ b/lib/graphql/mutations/getCartShareLink.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"getCartShareLink.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/getCartShareLink.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAG9D,MAAM,UAAU,uBAAuB,CAAC,gBAA0C,EAAE,QAAkC;IACpH,IAAI,gBAAgB,EAAE;QACpB,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;KACjD;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"getCartShareLink.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/getCartShareLink.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAW9D,MAAM,UAAU,uBAAuB,CACrC,gBAA0C,EAC1C,QAAkC;IAElC,IAAI,gBAAgB,EAAE;QACpB,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;KACjD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/index.js b/lib/graphql/mutations/index.js index 2fd649e..3a4b04f 100644 --- a/lib/graphql/mutations/index.js +++ b/lib/graphql/mutations/index.js @@ -38,14 +38,14 @@ const handlerMap = { followById: followByIdHandler, unfollowById: unfollowByIdHandler, selectAddress: selectAddressHandler, - selectPaymentMode: selectPaymentModehandler + selectPaymentMode: selectPaymentModehandler, }; export function mutationResponseHandler(responseData, dispatch, params) { console.log({ responseData }); if (!responseData) { return; } - Object.keys(handlerMap).forEach(key => { + Object.keys(handlerMap).forEach((key) => { if (responseData.hasOwnProperty(key)) { handlerMap[key](responseData[key], dispatch, params); } diff --git a/lib/graphql/mutations/index.js.map b/lib/graphql/mutations/index.js.map index 6161467..4b20677 100644 --- a/lib/graphql/mutations/index.js.map +++ b/lib/graphql/mutations/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/mutations/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC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;IACnC,gBAAgB,EAAE,uBAAuB;IACzC,cAAc,EAAE,qBAAqB;IACrC,UAAU,EAAE,iBAAiB;IAC7B,cAAc,EAAE,qBAAqB;IACrC,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;IACjC,iBAAiB,EAAE,wBAAwB;IAC3C,UAAU,EAAE,iBAAiB;IAC7B,YAAY,EAAE,mBAAmB;IACjC,aAAa,EAAE,oBAAoB;IACnC,iBAAiB,EAAC,wBAAwB;CAE3C,CAAA;AAGD,MAAM,UAAU,uBAAuB,CAAC,YAAiB,EAAE,QAAkC,EAAE,MAAU;IACvG,OAAO,CAAC,GAAG,CAAC,EAAC,YAAY,EAAC,CAAC,CAAC;IAE1B,IAAI,CAAC,YAAY,EAAE;QACf,OAAO;KACV;IACD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QACpC,IAAI,YAAY,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YACpC,UAAU,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;AACP,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/mutations/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,gCAAgC,EAAE,MAAM,qCAAqC,CAAC;AACvF,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,sBA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AAiB,EAAE,wBAAwB;CAC5C,CAAC;AAEF,MAAM,UAAU,uBAAuB,CACrC,YAAiB,EACjB,QAAkC,EAClC,MAAW;IAEX,OAAO,CAAC,GAAG,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;IAE9B,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO;KACR;IACD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QACtC,IAAI,YAAY,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YACpC,UAAU,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/loginWithAppleIOS.handler.js.map b/lib/graphql/mutations/loginWithAppleIOS.handler.js.map index 34b38f8..c0955bb 100644 --- a/lib/graphql/mutations/loginWithAppleIOS.handler.js.map +++ b/lib/graphql/mutations/loginWithAppleIOS.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"loginWithAppleIOS.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithAppleIOS.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,wBAAwB,CAAC,iBAA8B,EAAE,QAAkC;IACzG,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC1C;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"loginWithAppleIOS.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithAppleIOS.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAStD,MAAM,UAAU,wBAAwB,CACtC,iBAA8B,EAC9B,QAAkC;IAElC,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC1C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map b/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map index be39afd..5b0b92f 100644 --- a/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map +++ b/lib/graphql/mutations/loginWithEmailAndPassword.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"loginWithEmailAndPassword.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithEmailAndPassword.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,gCAAgC,CAAC,yBAAuC,EAAE,QAAkC;IAC1H,IAAI,yBAAyB,EAAE;QAC7B,QAAQ,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAC;KAClD;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"loginWithEmailAndPassword.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithEmailAndPassword.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAUtD,MAAM,UAAU,gCAAgC,CAC9C,yBAAuC,EACvC,QAAkC;IAElC,IAAI,yBAAyB,EAAE;QAC7B,QAAQ,CAAC,WAAW,CAAC,yBAAyB,CAAC,CAAC,CAAC;KAClD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/loginWithFacebook.handler.js.map b/lib/graphql/mutations/loginWithFacebook.handler.js.map index dd4f05b..dcfe5c4 100644 --- a/lib/graphql/mutations/loginWithFacebook.handler.js.map +++ b/lib/graphql/mutations/loginWithFacebook.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"loginWithFacebook.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithFacebook.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,wBAAwB,CAAC,iBAA8B,EAAE,QAAkC;IACzG,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC1C;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"loginWithFacebook.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithFacebook.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAStD,MAAM,UAAU,wBAAwB,CACtC,iBAA8B,EAC9B,QAAkC;IAElC,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAC1C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/loginWithGoogle.handler.js.map b/lib/graphql/mutations/loginWithGoogle.handler.js.map index 7004760..e9c68af 100644 --- a/lib/graphql/mutations/loginWithGoogle.handler.js.map +++ b/lib/graphql/mutations/loginWithGoogle.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"loginWithGoogle.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithGoogle.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,sBAAsB,CAAC,eAA4B,EAAE,QAAkC;IACrG,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;KACxC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"loginWithGoogle.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithGoogle.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAWtD,MAAM,UAAU,sBAAsB,CACpC,eAA4B,EAC5B,QAAkC;IAElC,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;KACxC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/loginWithOTP.handler.d.ts b/lib/graphql/mutations/loginWithOTP.handler.d.ts index 7361c32..27a4581 100644 --- a/lib/graphql/mutations/loginWithOTP.handler.d.ts +++ b/lib/graphql/mutations/loginWithOTP.handler.d.ts @@ -1,3 +1,5 @@ import type { ThunkActionDispatch } from "redux-thunk"; import { SendOtpResponse } from "../../types/graphql"; -export declare function loginWithOTPHandler(loginWithOTP: SendOtpResponse, dispatch: ThunkActionDispatch): void; +export declare function loginWithOTPHandler(loginWithOTP: SendOtpResponse & { + isUserLogin: boolean | null; +}, dispatch: ThunkActionDispatch): void; diff --git a/lib/graphql/mutations/loginWithOTP.handler.js b/lib/graphql/mutations/loginWithOTP.handler.js index 4f7caae..dbe2b73 100644 --- a/lib/graphql/mutations/loginWithOTP.handler.js +++ b/lib/graphql/mutations/loginWithOTP.handler.js @@ -1,7 +1,7 @@ import { setUserData } from "../../store/slices/auth"; export function loginWithOTPHandler(loginWithOTP, dispatch) { if (loginWithOTP) { - dispatch(setUserData(loginWithOTP)); + dispatch(setUserData(Object.assign(Object.assign({}, loginWithOTP), { isUserLogin: null }))); } } //# sourceMappingURL=loginWithOTP.handler.js.map \ No newline at end of file diff --git a/lib/graphql/mutations/loginWithOTP.handler.js.map b/lib/graphql/mutations/loginWithOTP.handler.js.map index d0f7e7d..3d423ed 100644 --- a/lib/graphql/mutations/loginWithOTP.handler.js.map +++ b/lib/graphql/mutations/loginWithOTP.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"loginWithOTP.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithOTP.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,mBAAmB,CAAC,YAA6B,EAAE,QAAkC;IACnG,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC,CAAC;KACrC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"loginWithOTP.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/loginWithOTP.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,mBAAmB,CACjC,YAEC,EACD,QAAkC;IAElC,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,WAAW,iCAAM,YAAY,KAAE,WAAW,EAAE,IAAI,IAAG,CAAC,CAAC;KAC/D;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/removeCoupon.handler.js b/lib/graphql/mutations/removeCoupon.handler.js index 57155ee..cf6d1a1 100644 --- a/lib/graphql/mutations/removeCoupon.handler.js +++ b/lib/graphql/mutations/removeCoupon.handler.js @@ -1,4 +1,4 @@ -import { setremoveCoupon } from "../../store/slices/cart"; +import { setremoveCoupon, } from "../../store/slices/cart"; export function removeCouponHandler(removeCoupon, dispatch) { if (removeCoupon) { dispatch(setremoveCoupon(removeCoupon)); diff --git a/lib/graphql/mutations/removeCoupon.handler.js.map b/lib/graphql/mutations/removeCoupon.handler.js.map index 6f55068..51e8ad5 100644 --- a/lib/graphql/mutations/removeCoupon.handler.js.map +++ b/lib/graphql/mutations/removeCoupon.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"removeCoupon.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/removeCoupon.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAA0D,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAGlH,MAAM,UAAU,mBAAmB,CAAC,YAAgC,EAAE,QAAkC;IACtG,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC;KACzC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"removeCoupon.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/removeCoupon.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,eAAe,GAChB,MAAM,yBAAyB,CAAC;AAajC,MAAM,UAAU,mBAAmB,CACjC,YAAgC,EAChC,QAAkC;IAElC,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC;KACzC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/updateAddress.handler.js.map b/lib/graphql/mutations/updateAddress.handler.js.map index 936741b..3a17f57 100644 --- a/lib/graphql/mutations/updateAddress.handler.js.map +++ b/lib/graphql/mutations/updateAddress.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"updateAddress.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateAddress.handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAG9D,MAAM,UAAU,oBAAoB,CAAC,aAAoC,EAAE,QAAkC;IACzG,IAAI,aAAa,EAAE;QACf,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAA;KAC5C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"updateAddress.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateAddress.handler.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,UAAU,oBAAoB,CAClC,aAAoC,EACpC,QAAkC;IAElC,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;KAC3C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/updateCartMeta.handler.js.map b/lib/graphql/mutations/updateCartMeta.handler.js.map index 391a713..7210482 100644 --- a/lib/graphql/mutations/updateCartMeta.handler.js.map +++ b/lib/graphql/mutations/updateCartMeta.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"updateCartMeta.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateCartMeta.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,UAAU,qBAAqB,CAAC,cAAgC,EAAE,QAAkC;IACtG,IAAI,cAAc,EAAE;QAChB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAA;KAC9C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"updateCartMeta.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateCartMeta.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,UAAU,qBAAqB,CACnC,cAAgC,EAChC,QAAkC;IAElC,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;KAC7C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/updateProfile.handler.js.map b/lib/graphql/mutations/updateProfile.handler.js.map index 1b9049b..e3d216f 100644 --- a/lib/graphql/mutations/updateProfile.handler.js.map +++ b/lib/graphql/mutations/updateProfile.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"updateProfile.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateProfile.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,oBAAoB,CAAC,aAAiC,EAAE,QAAkC,EAAI,MAAe,EAC3H,QAAiB;IACjB,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC;QACrC,YAAY,CACV,UAAU,CAAC,cAAc,EACzB,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,CACT,CAAA;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"updateProfile.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateProfile.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,oBAAoB,CAClC,aAAiC,EACjC,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC,CAAC;QACrC,YAAY,CACV,UAAU,CAAC,cAAc,EACzB,MAAM,EACN,aAAa,EACb,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/verifyEmailOtp.handler.js.map b/lib/graphql/mutations/verifyEmailOtp.handler.js.map index d8e541b..618a292 100644 --- a/lib/graphql/mutations/verifyEmailOtp.handler.js.map +++ b/lib/graphql/mutations/verifyEmailOtp.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"verifyEmailOtp.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyEmailOtp.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,qBAAqB,CAAC,cAAgC,EAAE,QAAkC;IACxG,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC;KACvC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"verifyEmailOtp.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyEmailOtp.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAYtD,MAAM,UAAU,qBAAqB,CACnC,cAAgC,EAChC,QAAkC;IAElC,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,CAAC;KACvC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/verifyMobileOTP.handler.js.map b/lib/graphql/mutations/verifyMobileOTP.handler.js.map index 9438ec7..2870353 100644 --- a/lib/graphql/mutations/verifyMobileOTP.handler.js.map +++ b/lib/graphql/mutations/verifyMobileOTP.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"verifyMobileOTP.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyMobileOTP.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,UAAU,sBAAsB,CAAC,eAAiC,EAAE,QAAkC;IAC1G,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;KACxC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"verifyMobileOTP.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyMobileOTP.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAYtD,MAAM,UAAU,sBAAsB,CACpC,eAAiC,EACjC,QAAkC;IAElC,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,CAAC;KACxC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/address.handler.js.map b/lib/graphql/query/address.handler.js.map index e08e274..15b60ff 100644 --- a/lib/graphql/query/address.handler.js.map +++ b/lib/graphql/query/address.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"address.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/address.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAI5D,MAAM,UAAU,cAAc,CAAC,OAAgB,EAAE,QAAkC;IACjF,IAAI,OAAO,CAAC,EAAE,EAAE;QACd,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAA;KAClC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"address.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/address.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAI5D,MAAM,UAAU,cAAc,CAC5B,OAAgB,EAChB,QAAkC;IAElC,IAAI,OAAO,CAAC,EAAE,EAAE;QACd,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;KACnC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/addresses.handler.js.map b/lib/graphql/query/addresses.handler.js.map index 3b36709..dcd3ee4 100644 --- a/lib/graphql/query/addresses.handler.js.map +++ b/lib/graphql/query/addresses.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"addresses.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/addresses.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,MAAM,UAAU,gBAAgB,CAAC,SAAoB,EAAE,QAAkC;IACvF,IAAI,SAAS,EAAE;QACb,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAA;KACpC;AACD,CAAC"} \ No newline at end of file +{"version":3,"file":"addresses.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/addresses.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAI1D,MAAM,UAAU,gBAAgB,CAC9B,SAAoB,EACpB,QAAkC;IAElC,IAAI,SAAS,EAAE;QACb,QAAQ,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC,CAAC;KACnC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/aggregatorsConfig.handler.js.map b/lib/graphql/query/aggregatorsConfig.handler.js.map index d582122..f2023eb 100644 --- a/lib/graphql/query/aggregatorsConfig.handler.js.map +++ b/lib/graphql/query/aggregatorsConfig.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"aggregatorsConfig.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/aggregatorsConfig.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,UAAU,wBAAwB,CAAC,iBAA0C,EAAE,QAAkC;IACnH,IAAI,iBAAiB,EAAE;QACnB,QAAQ,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAA;KACpD;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"aggregatorsConfig.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/aggregatorsConfig.handler.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,UAAU,wBAAwB,CACtC,iBAA0C,EAC1C,QAAkC;IAElC,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KACnD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/allCountries.handler.js.map b/lib/graphql/query/allCountries.handler.js.map index a252a5a..d7a8565 100644 --- a/lib/graphql/query/allCountries.handler.js.map +++ b/lib/graphql/query/allCountries.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"allCountries.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/allCountries.handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,mBAAmB,CAAC,YAAyB,EAAE,QAAkC;IAC7F,IAAI,YAAY,EAAE;QACd,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAA;KAC1C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"allCountries.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/allCountries.handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB,MAAM,UAAU,mBAAmB,CACjC,YAAyB,EACzB,QAAkC;IAElC,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,CAAC;KACzC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/applicationConfiguration.handler.js b/lib/graphql/query/applicationConfiguration.handler.js index b008fcb..cf276d7 100644 --- a/lib/graphql/query/applicationConfiguration.handler.js +++ b/lib/graphql/query/applicationConfiguration.handler.js @@ -1,4 +1,4 @@ -import { setappDetails, setContactInfo, setFeatures, setintegrationTokens, setdeploymentStore, setcurrency } from "../../store/slices/configuration"; +import { setappDetails, setContactInfo, setFeatures, setintegrationTokens, setdeploymentStore, setcurrency, } from "../../store/slices/configuration"; export function applicationConfigurationHandler(appconfiguration, dispatch) { const { app_details = null, contact_info = null, features = null, integration_tokens = null, } = appconfiguration; const commonFeatures = (features === null || features === void 0 ? void 0 : features.common) || {}; diff --git a/lib/graphql/query/applicationConfiguration.handler.js.map b/lib/graphql/query/applicationConfiguration.handler.js.map index df9d1b7..6b505ce 100644 --- a/lib/graphql/query/applicationConfiguration.handler.js.map +++ b/lib/graphql/query/applicationConfiguration.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationConfiguration.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationConfiguration.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,WAAW,EACZ,MAAM,kCAAkC,CAAC;AAG1C,MAAM,UAAU,+BAA+B,CAC7C,gBAA0C,EAC1C,QAAkC;IAGlC,MAAM,EACJ,WAAW,GAAG,IAAI,EAClB,YAAY,GAAG,IAAI,EACnB,QAAQ,GAAG,IAAI,EACf,kBAAkB,GAAG,IAAI,GAC1B,GAAG,gBAAgB,CAAC;IAErB,MAAM,cAAc,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,KAAI,EAAE,CAAC;IAE9C,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;KACtC;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;IACD,IAAI,QAAQ,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjC;IACD,IAAI,kBAAkB,EAAE;QACtB,QAAQ,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,CAAC,CAAC;KACpD;IACD,IAAI,cAAc,CAAC,0BAA0B,EAAE;QAC7C,QAAQ,CAAC,kBAAkB,CAAC,cAAc,CAAC,0BAA0B,CAAC,CAAC,CAAC;KACzE;IACD,IAAI,cAAc,CAAC,QAAQ,EAAE;QAC3B,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"applicationConfiguration.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationConfiguration.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,aAAa,EACb,cAAc,EACd,WAAW,EACX,oBAAoB,EACpB,kBAAkB,EAClB,WAAW,GACZ,MAAM,kCAAkC,CAAC;AAG1C,MAAM,UAAU,+BAA+B,CAC7C,gBAA0C,EAC1C,QAAkC;IAElC,MAAM,EACJ,WAAW,GAAG,IAAI,EAClB,YAAY,GAAG,IAAI,EACnB,QAAQ,GAAG,IAAI,EACf,kBAAkB,GAAG,IAAI,GAC1B,GAAG,gBAAgB,CAAC;IAErB,MAAM,cAAc,GAAG,CAAA,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,MAAM,KAAI,EAAE,CAAC;IAE9C,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC;KACtC;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;IACD,IAAI,QAAQ,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;KACjC;IACD,IAAI,kBAAkB,EAAE;QACtB,QAAQ,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,CAAC,CAAC;KACpD;IACD,IAAI,cAAc,CAAC,0BAA0B,EAAE;QAC7C,QAAQ,CAAC,kBAAkB,CAAC,cAAc,CAAC,0BAA0B,CAAC,CAAC,CAAC;KACzE;IACD,IAAI,cAAc,CAAC,QAAQ,EAAE;QAC3B,QAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/applicationContent.handler.js b/lib/graphql/query/applicationContent.handler.js index 7e6c20a..b83ba5c 100644 --- a/lib/graphql/query/applicationContent.handler.js +++ b/lib/graphql/query/applicationContent.handler.js @@ -1,6 +1,6 @@ -import { setnavigations, setseoConfiguration, setblogs, setdataLoaders, setannouncements, setsupportInformation, settags, setlandingPage, setlegalInformation, setfaqCategories, setfaqs } from "../../store/slices/content"; +import { setnavigations, setseoConfiguration, setblogs, setdataLoaders, setannouncements, setsupportInformation, settags, setlandingPage, setlegalInformation, setfaqCategories, setfaqs, } from "../../store/slices/content"; export function applicationContenthandler(applicationContent, dispatch) { - const { announcements, blogs, seo_configuration, custom_fields, data_loaders, faq_categories, faqs, landing_page, navigations, pages, slideshows, legal_information, support_information, tags } = applicationContent; + const { announcements, blogs, seo_configuration, custom_fields, data_loaders, faq_categories, faqs, landing_page, navigations, pages, slideshows, legal_information, support_information, tags, } = applicationContent; if (navigations) { dispatch(setnavigations(navigations)); } diff --git a/lib/graphql/query/applicationContent.handler.js.map b/lib/graphql/query/applicationContent.handler.js.map index 60da659..dcbb6e8 100644 --- a/lib/graphql/query/applicationContent.handler.js.map +++ b/lib/graphql/query/applicationContent.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationContent.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationContent.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAC,QAAQ,EAAE,cAAc,EAAE,gBAAgB,EAAE,qBAAqB,EAAE,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAG5N,MAAM,UAAU,yBAAyB,CACvC,kBAAsC,EACtC,QAAkC;IAGlC,MAAM,EACJ,aAAa,EACb,KAAK,EACL,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,EACL,GAAG,kBAAkB,CAAC;IAEvB,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;KACvC;IACD,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC;KAC5C;IACD,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;KACzB;IACD,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAClD;IACD,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAClD;IACD,IAAI,KAAK,EAAE;QACT,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;KAC3B;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;IACD,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;KAC3C;IACD,IAAI,mBAAmB,EAAE;QACvB,QAAQ,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC;KACtD;IACD,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KAC7B;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"applicationContent.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationContent.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACR,cAAc,EACd,gBAAgB,EAChB,qBAAqB,EACrB,OAAO,EACP,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,OAAO,GACR,MAAM,4BAA4B,CAAC;AAGpC,MAAM,UAAU,yBAAyB,CACvC,kBAAsC,EACtC,QAAkC;IAElC,MAAM,EACJ,aAAa,EACb,KAAK,EACL,iBAAiB,EACjB,aAAa,EACb,YAAY,EACZ,cAAc,EACd,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,KAAK,EACL,UAAU,EACV,iBAAiB,EACjB,mBAAmB,EACnB,IAAI,GACL,GAAG,kBAAkB,CAAC;IAEvB,IAAI,WAAW,EAAE;QACf,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;KACvC;IACD,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC;KAC5C;IACD,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;KACzB;IACD,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAClD;IACD,IAAI,iBAAiB,EAAE;QACrB,QAAQ,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC;KAClD;IACD,IAAI,KAAK,EAAE;QACT,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;KAC3B;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;IACD,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;KAC3C;IACD,IAAI,mBAAmB,EAAE;QACvB,QAAQ,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,CAAC,CAAC;KACtD;IACD,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;KAC7B;IACD,IAAI,YAAY,EAAE;QAChB,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC,CAAC;KACxC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/applicationStaff.handler.js b/lib/graphql/query/applicationStaff.handler.js index 78a6ffd..cc192be 100644 --- a/lib/graphql/query/applicationStaff.handler.js +++ b/lib/graphql/query/applicationStaff.handler.js @@ -1,4 +1,4 @@ -import { setapplicationStaff } from "../../store/slices/configuration"; +import { setapplicationStaff, } from "../../store/slices/configuration"; export function applicationStaffHandler(applicationStaff, dispatch) { if (applicationStaff) { dispatch(setapplicationStaff(applicationStaff)); diff --git a/lib/graphql/query/applicationStaff.handler.js.map b/lib/graphql/query/applicationStaff.handler.js.map index 27c0ee9..9dae496 100644 --- a/lib/graphql/query/applicationStaff.handler.js.map +++ b/lib/graphql/query/applicationStaff.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"applicationStaff.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationStaff.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,EAOpB,MAAM,kCAAkC,CAAC;AAG1C,MAAM,UAAU,uBAAuB,CACrC,gBAAqB,EACrB,QAAkC;IAGlC,IAAI,gBAAgB,EAAE;QACpB,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;KACjD;AAEH,CAAC"} \ No newline at end of file +{"version":3,"file":"applicationStaff.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/applicationStaff.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,mBAAmB,GAOpB,MAAM,kCAAkC,CAAC;AAG1C,MAAM,UAAU,uBAAuB,CACrC,gBAAqB,EACrB,QAAkC;IAElC,IAAI,gBAAgB,EAAE;QACpB,QAAQ,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,CAAC;KACjD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/blog.handler.js b/lib/graphql/query/blog.handler.js index f71b86b..e77004d 100644 --- a/lib/graphql/query/blog.handler.js +++ b/lib/graphql/query/blog.handler.js @@ -1,4 +1,4 @@ -import { setblog } from "../../store/slices/content"; +import { setblog, } from "../../store/slices/content"; export function bloghandler(blog, dispatch) { if (blog) { dispatch(setblog(blog)); diff --git a/lib/graphql/query/blog.handler.js.map b/lib/graphql/query/blog.handler.js.map index 56ba95d..5bbb062 100644 --- a/lib/graphql/query/blog.handler.js.map +++ b/lib/graphql/query/blog.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"blog.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/blog.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAkI,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAGrL,MAAM,UAAU,WAAW,CACzB,IAAU,EACV,QAAkC;IAElC,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;KACzB;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"blog.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/blog.handler.ts"],"names":[],"mappings":"AACA,OAAO,EASL,OAAO,GACR,MAAM,4BAA4B,CAAC;AAGpC,MAAM,UAAU,WAAW,CAAC,IAAU,EAAE,QAAkC;IACxE,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;KACzB;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/brands.handler.js.map b/lib/graphql/query/brands.handler.js.map index 6ffe80f..1d280ba 100644 --- a/lib/graphql/query/brands.handler.js.map +++ b/lib/graphql/query/brands.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"brands.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/brands.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,aAAa,CAAC,MAAuB,EAAE,QAAkC;IACrF,IAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,EAAE;QACf,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;KAC9B;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"brands.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/brands.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAEtD,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB,MAAM,UAAU,aAAa,CAC3B,MAAuB,EACvB,QAAkC;IAElC,IAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,KAAK,EAAE;QACjB,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;KAC7B;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/bulkDiscountOffers.handler.js.map b/lib/graphql/query/bulkDiscountOffers.handler.js.map index 9a98b8d..aa0e289 100644 --- a/lib/graphql/query/bulkDiscountOffers.handler.js.map +++ b/lib/graphql/query/bulkDiscountOffers.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"bulkDiscountOffers.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/bulkDiscountOffers.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,UAAU,yBAAyB,CAAC,kBAAsC,EAAE,QAAkC;IAChH,IAAI,kBAAkB,EAAE;QACpB,QAAQ,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAA;KACtD;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"bulkDiscountOffers.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/bulkDiscountOffers.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,MAAM,UAAU,yBAAyB,CACvC,kBAAsC,EACtC,QAAkC;IAElC,IAAI,kBAAkB,EAAE;QACtB,QAAQ,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,CAAC,CAAC;KACrD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/cartShipmentDetails.handler.js.map b/lib/graphql/query/cartShipmentDetails.handler.js.map index f947953..b8e48a5 100644 --- a/lib/graphql/query/cartShipmentDetails.handler.js.map +++ b/lib/graphql/query/cartShipmentDetails.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"cartShipmentDetails.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/cartShipmentDetails.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,UAAU,0BAA0B,CAAC,mBAA0C,EAAE,QAAkC;IACvH,IAAI,mBAAmB,EAAE;QACvB,QAAQ,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,CAAA;KACxD;AACD,CAAC"} \ No newline at end of file +{"version":3,"file":"cartShipmentDetails.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/cartShipmentDetails.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEjE,MAAM,UAAU,0BAA0B,CACxC,mBAA0C,EAC1C,QAAkC;IAElC,IAAI,mBAAmB,EAAE;QACvB,QAAQ,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,CAAC;KACvD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/categories.handler.js.map b/lib/graphql/query/categories.handler.js.map index bb48923..61384ed 100644 --- a/lib/graphql/query/categories.handler.js.map +++ b/lib/graphql/query/categories.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"categories.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/categories.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,iBAAiB,CAAC,UAAsB,EAAE,QAAkC;IACxF,IAAI,UAAU,EAAE;QACZ,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;KACtC;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"categories.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/categories.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB,MAAM,UAAU,iBAAiB,CAC/B,UAAsB,EACtB,QAAkC;IAElC,IAAI,UAAU,EAAE;QACd,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;KACrC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/collectionItems.handler.js.map b/lib/graphql/query/collectionItems.handler.js.map index fe49f0a..0c840b6 100644 --- a/lib/graphql/query/collectionItems.handler.js.map +++ b/lib/graphql/query/collectionItems.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"collectionItems.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collectionItems.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAGnE,MAAM,UAAU,sBAAsB,CAAC,eAAgC,EAAE,QAAkC;IACvG,IAAI,eAAe,EAAE;QACjB,QAAQ,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAA;KAChD;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"collectionItems.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collectionItems.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAEnE,MAAM,UAAU,sBAAsB,CACpC,eAAgC,EAChC,QAAkC;IAElC,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC,CAAC;KAC/C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/coupons.handler.js.map b/lib/graphql/query/coupons.handler.js.map index dde40f2..06ac02c 100644 --- a/lib/graphql/query/coupons.handler.js.map +++ b/lib/graphql/query/coupons.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"coupons.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/coupons.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,UAAU,cAAc,CAAC,OAAgB,EAAE,QAAkC;IAC/E,IAAI,OAAO,EAAE;QACT,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAA;KAChC;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"coupons.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/coupons.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAErD,MAAM,UAAU,cAAc,CAC5B,OAAgB,EAChB,QAAkC;IAElC,IAAI,OAAO,EAAE;QACX,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;KAC/B;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/customPage.hadler.js.map b/lib/graphql/query/customPage.hadler.js.map index 05f5b90..b559449 100644 --- a/lib/graphql/query/customPage.hadler.js.map +++ b/lib/graphql/query/customPage.hadler.js.map @@ -1 +1 @@ -{"version":3,"file":"customPage.hadler.js","sourceRoot":"","sources":["../../../src/graphql/query/customPage.hadler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,UAAU,iBAAiB,CAAC,UAAe,EAAE,QAAkC;IACjF,IAAI,UAAU,EAAE;QACZ,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAA;KACtC;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"customPage.hadler.js","sourceRoot":"","sources":["../../../src/graphql/query/customPage.hadler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAE3D,MAAM,UAAU,iBAAiB,CAC/B,UAAe,EACf,QAAkC;IAElC,IAAI,UAAU,EAAE;QACd,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;KACrC;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/faqsByCategory.handler.js.map b/lib/graphql/query/faqsByCategory.handler.js.map index 4d4f79c..ed2b864 100644 --- a/lib/graphql/query/faqsByCategory.handler.js.map +++ b/lib/graphql/query/faqsByCategory.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"faqsByCategory.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/faqsByCategory.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAG/D,MAAM,UAAU,qBAAqB,CAAC,cAAoB,EAAE,QAAkC;IAC1F,IAAI,cAAc,EAAE;QAChB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAA;KAC9C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"faqsByCategory.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/faqsByCategory.handler.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAE/D,MAAM,UAAU,qBAAqB,CACnC,cAAoB,EACpB,QAAkC;IAElC,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;KAC7C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/followedListing.handler.js.map b/lib/graphql/query/followedListing.handler.js.map index 5d5ce07..f4edb98 100644 --- a/lib/graphql/query/followedListing.handler.js.map +++ b/lib/graphql/query/followedListing.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"followedListing.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/followedListing.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,UAAU,sBAAsB,CAAC,eAA8B,EAAE,QAAkC;IACrG,IAAI,eAAe,EAAE;QACjB,QAAQ,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC,CAAA;KAC9C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"followedListing.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/followedListing.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,MAAM,UAAU,sBAAsB,CACpC,eAA8B,EAC9B,QAAkC;IAElC,IAAI,eAAe,EAAE;QACnB,QAAQ,CAAC,gBAAgB,CAAC,eAAe,CAAC,CAAC,CAAC;KAC7C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/followerCount.handler.js.map b/lib/graphql/query/followerCount.handler.js.map index e119852..4eb4e91 100644 --- a/lib/graphql/query/followerCount.handler.js.map +++ b/lib/graphql/query/followerCount.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"followerCount.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/followerCount.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,4BAA4B,CAAC;AAEhF,MAAM,UAAU,oBAAoB,CAAC,aAA4B,EAAE,QAAkC;IACjG,IAAI,aAAa,EAAE;QACf,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAA;KAC5C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"followerCount.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/followerCount.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAoB,MAAM,4BAA4B,CAAC;AAEhF,MAAM,UAAU,oBAAoB,CAClC,aAA4B,EAC5B,QAAkC;IAElC,IAAI,aAAa,EAAE;QACjB,QAAQ,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC,CAAC;KAC3C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/index.js b/lib/graphql/query/index.js index 1b5a0ea..225450c 100644 --- a/lib/graphql/query/index.js +++ b/lib/graphql/query/index.js @@ -68,13 +68,13 @@ const handlerMap = { productSellers: productSellersHandler, followedListing: followedListingHandler, followerCount: followerCountHandler, - order: orderHandler + order: orderHandler, }; export function queryResponseHandler(responseData, dispatch, params) { if (!responseData) { return; } - Object.keys(handlerMap).forEach(key => { + Object.keys(handlerMap).forEach((key) => { if (responseData.hasOwnProperty(key)) { handlerMap[key](responseData[key], dispatch, params); } diff --git a/lib/graphql/query/index.js.map b/lib/graphql/query/index.js.map index 97c6169..10e46d0 100644 --- a/lib/graphql/query/index.js.map +++ b/lib/graphql/query/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/query/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE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EAAE,eAAe;IACzB,iBAAiB,EAAE,wBAAwB;IAC3C,kBAAkB,EAAE,yBAAyB;IAC7C,YAAY,EAAE,mBAAmB;IACjC,cAAc,EAAE,qBAAqB;IACrC,eAAe,EAAE,sBAAsB;IACvC,aAAa,EAAE,oBAAoB;IACnC,KAAK,EAAC,YAAY;CACnB,CAAA;AAGD,MAAM,UAAU,oBAAoB,CAAC,YAAiB,EAAE,QAAkC,EAAE,MAAW;IAEnG,IAAI,CAAC,YAAY,EAAE;QACf,OAAO;KACV;IACD,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;QACpC,IAAI,YAAY,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YACpC,UAAU,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;AACP,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/graphql/query/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,cAAc,EAAE,MAAM,mBA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,CAAC,GAAG,CAAC,EAAE;YACpC,UAAU,CAAC,GAAG,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,EAAE,QAAQ,EAAE,MAAM,CAAC,CAAC;SACtD;IACH,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/localityHandler.js.map b/lib/graphql/query/localityHandler.js.map index f594724..d180124 100644 --- a/lib/graphql/query/localityHandler.js.map +++ b/lib/graphql/query/localityHandler.js.map @@ -1 +1 @@ -{"version":3,"file":"localityHandler.js","sourceRoot":"","sources":["../../../src/graphql/query/localityHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAI1D,MAAM,UAAU,eAAe,CAAC,QAAkB,EAAE,QAAkC,EAAC,MAAa;IAChG,IAAI,QAAQ,EAAE;QACV,QAAQ,CAAC,WAAW,iCAAK,QAAQ,GAAI,MAAM,EAAE,CAAC,CAAA;KACjD;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"localityHandler.js","sourceRoot":"","sources":["../../../src/graphql/query/localityHandler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAG1D,MAAM,UAAU,eAAe,CAC7B,QAAkB,EAClB,QAAkC,EAClC,MAAc;IAEd,IAAI,QAAQ,EAAE;QACZ,QAAQ,CAAC,WAAW,iCAAM,QAAQ,GAAK,MAAM,EAAG,CAAC,CAAC;KACnD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/page.handler.js b/lib/graphql/query/page.handler.js index 5fcc4ed..94f922e 100644 --- a/lib/graphql/query/page.handler.js +++ b/lib/graphql/query/page.handler.js @@ -1,3 +1,2 @@ -export function pageHandler(user, dispatch) { -} +export function pageHandler(user, dispatch) { } //# sourceMappingURL=page.handler.js.map \ No newline at end of file diff --git a/lib/graphql/query/page.handler.js.map b/lib/graphql/query/page.handler.js.map index 45df3f6..aa45caf 100644 --- a/lib/graphql/query/page.handler.js.map +++ b/lib/graphql/query/page.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"page.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/page.handler.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CAAC,IAAU,EAAE,QAAkC;AAE1E,CAAC"} \ No newline at end of file +{"version":3,"file":"page.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/page.handler.ts"],"names":[],"mappings":"AAIA,MAAM,UAAU,WAAW,CAAC,IAAU,EAAE,QAAkC,IAAG,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/paymentModeRoutes.handler.js.map b/lib/graphql/query/paymentModeRoutes.handler.js.map index 6c9ef37..bb27524 100644 --- a/lib/graphql/query/paymentModeRoutes.handler.js.map +++ b/lib/graphql/query/paymentModeRoutes.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"paymentModeRoutes.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/paymentModeRoutes.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,QAAQ,GAAG,EAEhB,CAAA;AAED,MAAM,UAAU,wBAAwB,CAAC,iBAAyC,EAAE,QAAkC;IAClH,IAAI,iBAAiB,CAAC,eAAe,EAAE;QACnC,QAAQ,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAA;KACpE;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"paymentModeRoutes.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/paymentModeRoutes.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE,MAAM,QAAQ,GAAG,EAAE,CAAC;AAEpB,MAAM,UAAU,wBAAwB,CACtC,iBAAyC,EACzC,QAAkC;IAElC,IAAI,iBAAiB,CAAC,eAAe,EAAE;QACrC,QAAQ,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,eAAe,CAAC,CAAC,CAAC;KACnE;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/pincodeDetails.handler.js.map b/lib/graphql/query/pincodeDetails.handler.js.map index 8a0f1b6..a620df8 100644 --- a/lib/graphql/query/pincodeDetails.handler.js.map +++ b/lib/graphql/query/pincodeDetails.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"pincodeDetails.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/pincodeDetails.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,UAAU,qBAAqB,CAAC,cAAmB,EAAE,QAAkC,EAAC,MAAa;IACvG,IAAI,cAAc,EAAE;QAChB,QAAQ,CAAC,iBAAiB,iCAAK,cAAc,GAAI,MAAM,EAAE,CAAC,CAAA;KAC7D;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"pincodeDetails.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/pincodeDetails.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,UAAU,qBAAqB,CACnC,cAAmB,EACnB,QAAkC,EAClC,MAAc;IAEd,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,iCAAM,cAAc,GAAK,MAAM,EAAG,CAAC,CAAC;KAC/D;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/platformConfig.handler.js.map b/lib/graphql/query/platformConfig.handler.js.map index e0311ba..efcc74a 100644 --- a/lib/graphql/query/platformConfig.handler.js.map +++ b/lib/graphql/query/platformConfig.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"platformConfig.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/platformConfig.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,UAAU,qBAAqB,CAAC,cAA8B,EAAE,QAAkC;IACpG,IAAI,cAAc,EAAE;QAChB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAA;KAC9C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"platformConfig.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/platformConfig.handler.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,MAAM,UAAU,qBAAqB,CACnC,cAA8B,EAC9B,QAAkC;IAElC,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;KAC7C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/product.handler.js.map b/lib/graphql/query/product.handler.js.map index 5bd40da..8129170 100644 --- a/lib/graphql/query/product.handler.js.map +++ b/lib/graphql/query/product.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"product.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/product.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,cAAc,CAC5B,OAAgB,EAChB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,OAAO,EAAE;QACX,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;QAC9B,YAAY,CACV,UAAU,CAAC,wBAAwB,EACnC,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,CACT,CAAA;KACF;IACD,IAAI,OAAO,CAAC,QAAQ,EAAE;QACpB,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"product.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/product.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,cAAc,CAC5B,OAAgB,EAChB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,OAAO,EAAE;QACX,QAAQ,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,CAAC;QAC9B,YAAY,CACV,UAAU,CAAC,wBAAwB,EACnC,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;IACD,IAAI,OAAO,CAAC,QAAQ,EAAE;QACpB,QAAQ,CAAC,kBAAkB,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;KAChD;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/productPrice.handler.js.map b/lib/graphql/query/productPrice.handler.js.map index bce88ad..fa1f68b 100644 --- a/lib/graphql/query/productPrice.handler.js.map +++ b/lib/graphql/query/productPrice.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"productPrice.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productPrice.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,UAAU,mBAAmB,CACjC,YAA8B,EAC9B,QAAkC,EAClC,MAAW;IAET,QAAQ,CAAC,eAAe,iCAAK,YAAY,GAAK,MAAM,EAAE,CAAC,CAAC;AAC5D,CAAC"} \ No newline at end of file +{"version":3,"file":"productPrice.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/productPrice.handler.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAE7D,MAAM,UAAU,mBAAmB,CACjC,YAA8B,EAC9B,QAAkC,EAClC,MAAW;IAEX,QAAQ,CAAC,eAAe,iCAAM,YAAY,GAAK,MAAM,EAAG,CAAC,CAAC;AAC5D,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/products.handler.js.map b/lib/graphql/query/products.handler.js.map index 9ad896c..d1b7f63 100644 --- a/lib/graphql/query/products.handler.js.map +++ b/lib/graphql/query/products.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"products.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/products.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,eAAe,CAC7B,QAA2B,EAC3B,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,QAAQ,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChC,YAAY,CACV,UAAU,CAAC,iBAAiB,EAC5B,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,CACT,CAAA;KACF;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"products.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/products.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,eAAe,CAC7B,QAA2B,EAC3B,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,QAAQ,EAAE;QACZ,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC;QAChC,YAAY,CACV,UAAU,CAAC,iBAAiB,EAC5B,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/store.handler.js.map b/lib/graphql/query/store.handler.js.map index 70ab71d..d8b9ea5 100644 --- a/lib/graphql/query/store.handler.js.map +++ b/lib/graphql/query/store.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"store.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/store.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAE5D,MAAM,UAAU,YAAY,CAC1B,KAAY,EACZ,QAAkC;IAElC,IAAI,KAAK,EAAE;QACT,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;KAC3B;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"store.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/store.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAE5D,MAAM,UAAU,YAAY,CAAC,KAAY,EAAE,QAAkC;IAC3E,IAAI,KAAK,EAAE;QACT,QAAQ,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;KAC3B;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/theme.handler.js b/lib/graphql/query/theme.handler.js index 5c70dca..59f256c 100644 --- a/lib/graphql/query/theme.handler.js +++ b/lib/graphql/query/theme.handler.js @@ -1,4 +1,4 @@ -import { setPreviewTheme, setthemePageDetail, setthemePages } from "../../store/slices/theme"; +import { setPreviewTheme, setthemePageDetail, setthemePages, } from "../../store/slices/theme"; export function themeHandler(theme, dispatch) { if (theme === null || theme === void 0 ? void 0 : theme.preview_theme) { dispatch(setPreviewTheme(theme.preview_theme)); diff --git a/lib/graphql/query/theme.handler.js.map b/lib/graphql/query/theme.handler.js.map index 9971b58..9ea4e41 100644 --- a/lib/graphql/query/theme.handler.js.map +++ b/lib/graphql/query/theme.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"theme.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/theme.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,eAAe,EAAE,kBAAkB,EAAE,aAAa,EAAC,MAAM,0BAA0B,CAAC;AAI9G,MAAM,UAAU,YAAY,CAAC,KAAY,EAAE,QAAkC;IAEzE,IAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,EAAE;QACtB,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAA;KACjD;IACD,IAAI,KAAK,CAAC,iBAAiB,EAAE;QACzB,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAA;KACxD;IACD,IAAI,KAAK,CAAC,WAAW,EAAE;QACnB,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAA;KAC7C;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"theme.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/theme.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,eAAe,EACf,kBAAkB,EAClB,aAAa,GACd,MAAM,0BAA0B,CAAC;AAGlC,MAAM,UAAU,YAAY,CAAC,KAAY,EAAE,QAAkC;IAC3E,IAAI,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,aAAa,EAAE;QACxB,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;KAChD;IACD,IAAI,KAAK,CAAC,iBAAiB,EAAE;QAC3B,QAAQ,CAAC,kBAAkB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;KACvD;IACD,IAAI,KAAK,CAAC,WAAW,EAAE;QACrB,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;KAC5C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/helpers/FPI-events.js b/lib/helpers/FPI-events.js index 9eaec81..5f8c933 100644 --- a/lib/helpers/FPI-events.js +++ b/lib/helpers/FPI-events.js @@ -2,19 +2,19 @@ import { setValue } from "../store/slices/custom"; import { isRunningOnClient } from "./utils"; export const FPI_EVENTS = { LOG_IN: { - eventName: 'user.login', + eventName: "user.login", payloadCreator: (result, param, store) => { let user = result; return { user_id: (user === null || user === void 0 ? void 0 : user.user_id) || (user === null || user === void 0 ? void 0 : user._id), gender: user === null || user === void 0 ? void 0 : user.gender, email: user === null || user === void 0 ? void 0 : user.emails, - phone_number: user === null || user === void 0 ? void 0 : user.phone_numbers + phone_number: user === null || user === void 0 ? void 0 : user.phone_numbers, }; - } + }, }, LOG_OUT: { - eventName: 'user.logout', + eventName: "user.logout", payloadCreator: (result, param, store) => { let user = store.auth.user_data; return { @@ -22,55 +22,55 @@ export const FPI_EVENTS = { phone: user === null || user === void 0 ? void 0 : user.phone_numbers, email: user === null || user === void 0 ? void 0 : user.emails, }; - } + }, }, PROFILE_UPDATE: { - eventName: 'user.update', + eventName: "user.update", payloadCreator: (result, param, store, oldStore) => { var _a, _b, _c; return { gender: (_a = result === null || result === void 0 ? void 0 : result.user) === null || _a === void 0 ? void 0 : _a.gender, email: result === null || result === void 0 ? void 0 : result.email, phone_number: (result === null || result === void 0 ? void 0 : result.mobile) || ((_b = result === null || result === void 0 ? void 0 : result.user) === null || _b === void 0 ? void 0 : _b.phone_numbers), - user_id: (_c = result === null || result === void 0 ? void 0 : result.user) === null || _c === void 0 ? void 0 : _c._id + user_id: (_c = result === null || result === void 0 ? void 0 : result.user) === null || _c === void 0 ? void 0 : _c._id, }; - } + }, }, PRODUCT_LIST_VIEW: { - eventName: 'product_list.view', + eventName: "product_list.view", payloadCreator: (result, param, store) => { return { items: result === null || result === void 0 ? void 0 : result.items }; - } + }, }, COLLECTION_LIST_VIEW: { - eventName: 'collection_list.view', + eventName: "collection_list.view", payloadCreator: (result, param, store, oldStore) => { return { name: result === null || result === void 0 ? void 0 : result.name, - slug: result === null || result === void 0 ? void 0 : result.slug + slug: result === null || result === void 0 ? void 0 : result.slug, }; - } + }, }, PRODUCT_LIST_CLICK: { - eventName: 'product_list.click', + eventName: "product_list.click", payloadCreator: (store) => { return store; - } + }, }, PRODUCT_FILTER: { - eventName: 'product_list.filter', + eventName: "product_list.filter", payloadCreator: (store) => { return store; - } + }, }, PRODUCT_SORT: { - eventName: 'product_list.sort', + eventName: "product_list.sort", payloadCreator: (store) => { return store; - } + }, }, PRODUCT_DETAIL_PAGE_VIEW: { - eventName: 'product.view', + eventName: "product.view", payloadCreator: (result, param, store) => { var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s; return { @@ -87,34 +87,36 @@ export const FPI_EVENTS = { name: (_f = (_e = result === null || result === void 0 ? void 0 : result.categories) === null || _e === void 0 ? void 0 : _e[0]) === null || _f === void 0 ? void 0 : _f.name, }, price: (_j = (_h = (_g = store.product) === null || _g === void 0 ? void 0 : _g.product_meta) === null || _h === void 0 ? void 0 : _h.sizes) === null || _j === void 0 ? void 0 : _j.price.effective, - sizes: (((_l = (_k = store.product.product_meta) === null || _k === void 0 ? void 0 : _k.sizes) === null || _l === void 0 ? void 0 : _l.sizes) || ((_o = (_m = store.product.product_meta) === null || _m === void 0 ? void 0 : _m.sizes) === null || _o === void 0 ? void 0 : _o.size_details) || []).map((s) => ({ + sizes: (((_l = (_k = store.product.product_meta) === null || _k === void 0 ? void 0 : _k.sizes) === null || _l === void 0 ? void 0 : _l.sizes) || + ((_o = (_m = store.product.product_meta) === null || _m === void 0 ? void 0 : _m.sizes) === null || _o === void 0 ? void 0 : _o.size_details) || + []).map((s) => ({ value: s === null || s === void 0 ? void 0 : s.value, is_available: s === null || s === void 0 ? void 0 : s.is_available, quantity: s === null || s === void 0 ? void 0 : s.quantity, })), l1_category: (_q = (_p = result === null || result === void 0 ? void 0 : result.category_map) === null || _p === void 0 ? void 0 : _p.l1) === null || _q === void 0 ? void 0 : _q.name, l3_category: (_s = (_r = result === null || result === void 0 ? void 0 : result.category_map) === null || _r === void 0 ? void 0 : _r.l3) === null || _s === void 0 ? void 0 : _s.name, - } + }, }; - } + }, }, NOTIFY_PRODUCT: { - eventName: 'notify.product', + eventName: "notify.product", payloadCreator: (store) => { return store; - } + }, }, ADD_TO_COMPARE: { - eventName: 'compare.add', + eventName: "compare.add", payloadCreator: (store) => { return store; - } + }, }, REMOVE_FROM_COMPARE: { - eventName: 'compare.remove', + eventName: "compare.remove", payloadCreator: (store) => { return store; - } + }, }, ADD_TO_WISHLIST: { eventName: "wishlist.add", @@ -135,8 +137,8 @@ export const FPI_EVENTS = { return { item: Object.assign(Object.assign(Object.assign({}, item), item.product), { price: { effective: { - max: (_q = (_p = item === null || item === void 0 ? void 0 : item.price) === null || _p === void 0 ? void 0 : _p.converted) === null || _q === void 0 ? void 0 : _q.effective - } + max: (_q = (_p = item === null || item === void 0 ? void 0 : item.price) === null || _p === void 0 ? void 0 : _p.converted) === null || _q === void 0 ? void 0 : _q.effective, + }, } }), }; } @@ -162,8 +164,8 @@ export const FPI_EVENTS = { return { item: Object.assign(Object.assign(Object.assign({}, item), item.product), { price: { effective: { - max: (_q = (_p = item === null || item === void 0 ? void 0 : item.price) === null || _p === void 0 ? void 0 : _p.converted) === null || _q === void 0 ? void 0 : _q.effective - } + max: (_q = (_p = item === null || item === void 0 ? void 0 : item.price) === null || _p === void 0 ? void 0 : _p.converted) === null || _q === void 0 ? void 0 : _q.effective, + }, } }), }; } @@ -171,7 +173,7 @@ export const FPI_EVENTS = { }, }, VIEW_CART: { - eventName: 'cart.view', + eventName: "cart.view", payloadCreator: (result, param, store, oldStore) => { const items = result === null || result === void 0 ? void 0 : result.items; let allProducts = items === null || items === void 0 ? void 0 : items.map((item) => { @@ -187,8 +189,7 @@ export const FPI_EVENTS = { }, brand: { uid: (_e = product === null || product === void 0 ? void 0 : product.brand) === null || _e === void 0 ? void 0 : _e.uid, - name: ((_f = product === null || product === void 0 ? void 0 : product.brand) === null || _f === void 0 ? void 0 : _f.name) || - ((_g = product === null || product === void 0 ? void 0 : product.attributes) === null || _g === void 0 ? void 0 : _g.brand_name), + name: ((_f = product === null || product === void 0 ? void 0 : product.brand) === null || _f === void 0 ? void 0 : _f.name) || ((_g = product === null || product === void 0 ? void 0 : product.attributes) === null || _g === void 0 ? void 0 : _g.brand_name), }, name: product === null || product === void 0 ? void 0 : product.name, item_code: product === null || product === void 0 ? void 0 : product.item_code, @@ -212,19 +213,19 @@ export const FPI_EVENTS = { return { cart_id: result === null || result === void 0 ? void 0 : result.id, products: allProducts, - breakup_values_raw: result === null || result === void 0 ? void 0 : result.breakup_values + breakup_values_raw: result === null || result === void 0 ? void 0 : result.breakup_values, }; - } + }, }, ADD_TO_CART: { - eventName: 'cart.newProduct', + eventName: "cart.newProduct", payloadCreator: (result, param, store, oldStore) => { var _a, _b, _c, _d; const allProducts = (_a = result === null || result === void 0 ? void 0 : result.cart) === null || _a === void 0 ? void 0 : _a.items; let productdata = (_c = param === null || param === void 0 ? void 0 : (_b = param.addCartRequestInput.items).map) === null || _c === void 0 ? void 0 : _c.call(_b, (pro) => { var _a, _b, _c, _d, _e, _f, _g; const item = (allProducts === null || allProducts === void 0 ? void 0 : allProducts.find((i) => { var _a; return ((_a = i === null || i === void 0 ? void 0 : i.product) === null || _a === void 0 ? void 0 : _a.uid) == pro.item_id; })) || {}; - const { article, availability, product, price, discount, quantity, } = item; + const { article, availability, product, price, discount, quantity } = item; return { article: { uid: article === null || article === void 0 ? void 0 : article.uid, @@ -235,8 +236,7 @@ export const FPI_EVENTS = { }, brand: { uid: (_e = product === null || product === void 0 ? void 0 : product.brand) === null || _e === void 0 ? void 0 : _e.uid, - name: ((_f = product === null || product === void 0 ? void 0 : product.brand) === null || _f === void 0 ? void 0 : _f.name) || - ((_g = product === null || product === void 0 ? void 0 : product.attributes) === null || _g === void 0 ? void 0 : _g.brand_name), + name: ((_f = product === null || product === void 0 ? void 0 : product.brand) === null || _f === void 0 ? void 0 : _f.name) || ((_g = product === null || product === void 0 ? void 0 : product.attributes) === null || _g === void 0 ? void 0 : _g.brand_name), }, name: product === null || product === void 0 ? void 0 : product.name, item_code: product === null || product === void 0 ? void 0 : product.item_code, @@ -259,12 +259,12 @@ export const FPI_EVENTS = { }); return { cart_id: (_d = result === null || result === void 0 ? void 0 : result.cart) === null || _d === void 0 ? void 0 : _d.id, - products: productdata + products: productdata, }; - } + }, }, REMOVE_FROM_CART: { - eventName: 'cart.remove', + eventName: "cart.remove", payloadCreator: (result, param, store, oldStore) => { var _a, _b, _c, _d, _e; const allItems = (_b = (_a = store === null || store === void 0 ? void 0 : store.cart) === null || _a === void 0 ? void 0 : _a.cart_items) === null || _b === void 0 ? void 0 : _b.items; @@ -309,9 +309,9 @@ export const FPI_EVENTS = { })) === null || _d === void 0 ? void 0 : _d.filter(Boolean); return { cart_id: (_e = result === null || result === void 0 ? void 0 : result.cart) === null || _e === void 0 ? void 0 : _e.id, - products: data + products: data, }; - } + }, }, UPDATE_CART: { eventName: "cart.update", @@ -362,12 +362,17 @@ export const FPI_EVENTS = { return { cart_id: (_e = result === null || result === void 0 ? void 0 : result.cart) === null || _e === void 0 ? void 0 : _e.id, products: data, - operation: (data === null || data === void 0 ? void 0 : data.length) ? data[0].quantity.current > ((_f = storeItems === null || storeItems === void 0 ? void 0 : storeItems.find((i) => { var _a; return ((_a = i === null || i === void 0 ? void 0 : i.product) === null || _a === void 0 ? void 0 : _a.uid) === data[0].uid; })) === null || _f === void 0 ? void 0 : _f.quantity) ? "increment_quantity" : "decrement_quantity" : undefined, + operation: (data === null || data === void 0 ? void 0 : data.length) + ? data[0].quantity.current > + ((_f = storeItems === null || storeItems === void 0 ? void 0 : storeItems.find((i) => { var _a; return ((_a = i === null || i === void 0 ? void 0 : i.product) === null || _a === void 0 ? void 0 : _a.uid) === data[0].uid; })) === null || _f === void 0 ? void 0 : _f.quantity) + ? "increment_quantity" + : "decrement_quantity" + : undefined, }; - } + }, }, ORDER_CHECKOUT: { - eventName: 'order.checkout', + eventName: "order.checkout", payloadCreator: (result, param, store, oldStore) => { var _a, _b, _c, _d, _e, _f; const allProducts = (_b = (_a = store.cart) === null || _a === void 0 ? void 0 : _a.cart_items) === null || _b === void 0 ? void 0 : _b.items; @@ -402,24 +407,26 @@ export const FPI_EVENTS = { return { cart_id: (_d = (_c = store.cart) === null || _c === void 0 ? void 0 : _c.cart_items) === null || _d === void 0 ? void 0 : _d.cart_id, products: data, - breakup_values: (_f = (_e = store.cart) === null || _e === void 0 ? void 0 : _e.cart_items) === null || _f === void 0 ? void 0 : _f.breakup_values + breakup_values: (_f = (_e = store.cart) === null || _e === void 0 ? void 0 : _e.cart_items) === null || _f === void 0 ? void 0 : _f.breakup_values, }; - } + }, }, ADD_PAYMENT_INFORMATION: { - eventName: 'order.payment_information', + eventName: "order.payment_information", payloadCreator: (result, param, store) => { var _a, _b, _c, _d; return { - value: (_a = result === null || result === void 0 ? void 0 : result.breakup_values) === null || _a === void 0 ? void 0 : _a.display.filter((value) => value.display === 'Total')[0].value, + value: (_a = result === null || result === void 0 ? void 0 : result.breakup_values) === null || _a === void 0 ? void 0 : _a.display.filter((value) => value.display === "Total")[0].value, coupon: { coupon_code: (_c = (_b = result === null || result === void 0 ? void 0 : result.breakup_values) === null || _b === void 0 ? void 0 : _b.coupon) === null || _c === void 0 ? void 0 : _c.code, }, - payment: { payment_type: (_d = param === null || param === void 0 ? void 0 : param.updateCartPaymentRequestInput) === null || _d === void 0 ? void 0 : _d.payment_mode }, + payment: { + payment_type: (_d = param === null || param === void 0 ? void 0 : param.updateCartPaymentRequestInput) === null || _d === void 0 ? void 0 : _d.payment_mode, + }, delivery_charges: result === null || result === void 0 ? void 0 : result.delivery_charge_info, cart: { cart_id: result === null || result === void 0 ? void 0 : result.id }, }; - } + }, }, // { // value: res?.breakup_values?.raw?.total, @@ -431,7 +438,7 @@ export const FPI_EVENTS = { // address_id: address_id, // } ADD_ADDRESS_INFORMATION: { - eventName: 'order.address_information', + eventName: "order.address_information", payloadCreator: (result, param, store) => { var _a, _b, _c, _d, _e, _f, _g, _h; let selectAddress = store.address.address.address.find((item) => item.id == param.selectCartAddressRequestInput.billing_address_id); @@ -441,13 +448,15 @@ export const FPI_EVENTS = { coupon_code: (_h = (_g = (_f = (_e = store === null || store === void 0 ? void 0 : store.cart) === null || _e === void 0 ? void 0 : _e.cart_items) === null || _f === void 0 ? void 0 : _f.breakup_values) === null || _g === void 0 ? void 0 : _g.coupon) === null || _h === void 0 ? void 0 : _h.code, }, address_id: param.selectCartAddressRequestInput.billing_address_id, - cart: { cart_id: param.selectCartAddressRequestInput.billing_address_id }, - pincode: selectAddress.area_code + cart: { + cart_id: param.selectCartAddressRequestInput.billing_address_id, + }, + pincode: selectAddress.area_code, }; - } + }, }, ORDER_PROCESSED: { - eventName: 'order.processed', + eventName: "order.processed", payloadCreator: (result, param, store, oldStore) => { let orderData = result; const breakup = {}; @@ -461,7 +470,7 @@ export const FPI_EVENTS = { const extractItems = (data) => { const allItems = []; data.forEach((order) => { - order.bags.forEach(bag => { + order.bags.forEach((bag) => { const itemWithDetails = Object.assign(Object.assign({}, bag.item), { quantity: bag === null || bag === void 0 ? void 0 : bag.quantity, price: bag === null || bag === void 0 ? void 0 : bag.prices }); allItems.push(itemWithDetails); }); @@ -471,44 +480,44 @@ export const FPI_EVENTS = { const items = extractItems(orderData.shipments); orderData.items = items; return orderData; - } + }, }, ORDER_TRACKING_VIEW: { - eventName: 'order_tracking.view', + eventName: "order_tracking.view", payloadCreator: (store) => { return store; - } + }, }, ORDER_INITIALCHECKOUT: { - eventName: 'order.initialCheckout', + eventName: "order.initialCheckout", payloadCreator: (store) => { return store; - } + }, }, REFUND_SUCCESS: { - eventName: 'refund.success', + eventName: "refund.success", payloadCreator: (store) => { return store; - } + }, }, SEARCH_PRODUCTS: { - eventName: 'search.products', + eventName: "search.products", payloadCreator: (store) => { return store; - } + }, }, PINCODE_SERVICEABILITY: { - eventName: 'pincode.serviceablility', + eventName: "pincode.serviceablility", payloadCreator: (store) => { return store; - } + }, }, NAVIGATION: { - eventName: 'root.navigation', + eventName: "root.navigation", payloadCreator: (store) => { return store; - } - } + }, + }, }; function handleDynamicEventName(event, eventPayload, params) { var _a, _b, _c; @@ -516,7 +525,6 @@ function handleDynamicEventName(event, eventPayload, params) { return event.eventName; } const operation = ((_b = (_a = params === null || params === void 0 ? void 0 : params[0]) === null || _a === void 0 ? void 0 : _a.body) === null || _b === void 0 ? void 0 : _b.operation) || ((_c = params === null || params === void 0 ? void 0 : params.updateCartRequestInput) === null || _c === void 0 ? void 0 : _c.operation); - ; if (!operation) { return event.eventName; } @@ -534,16 +542,18 @@ export function emitFPIEvent(event, params, result, oldStore, dispatch, eventEmi if (isRunningOnClient()) { let { eventName, payloadCreator } = event; const storeSnapshot = (_d = (_c = (_b = (_a = window.fpi) === null || _a === void 0 ? void 0 : _a.store) === null || _b === void 0 ? void 0 : _b.getState) === null || _c === void 0 ? void 0 : _c.call(_b)) !== null && _d !== void 0 ? _d : {}; - const eventPayload = typeof payloadCreator === 'function' ? payloadCreator(result, params, storeSnapshot, oldStore) : payloadCreator; + const eventPayload = typeof payloadCreator === "function" + ? payloadCreator(result, params, storeSnapshot, oldStore) + : payloadCreator; eventName = handleDynamicEventName(event, eventPayload, params); try { - if (typeof eventEmitter === 'function') { + if (typeof eventEmitter === "function") { eventEmitter(eventName, eventPayload); } defaultFPIEmit(eventName, eventPayload); } catch (error) { - console.error('Error Occured in Event : ', error); + console.error("Error Occured in Event : ", error); } finally { return true; @@ -555,8 +565,8 @@ export function emitFPIEvent(event, params, result, oldStore, dispatch, eventEmi value: { key: event.eventName, params, - result - } + result, + }, })); } } @@ -567,14 +577,14 @@ export function defaultFPIEmit(eventName, payload) { (_b = (_a = window.FPI.event) === null || _a === void 0 ? void 0 : _a.emit) === null || _b === void 0 ? void 0 : _b.call(_a, eventName, payload); } catch (error) { - console.error('Error Occured in Event : ', error); + console.error("Error Occured in Event : ", error); } } } export function collectUnemittedEvents(customData) { const events = []; for (let key in customData) { - if (customData.hasOwnProperty(key) && key.startsWith('fpiEvent')) { + if (customData.hasOwnProperty(key) && key.startsWith("fpiEvent")) { events.push(customData[key]); } } @@ -585,7 +595,8 @@ export function emitAllEvents(events, FPI_EVENTS, storeInitialData) { const { key, params, result } = event; let matchingEvent; for (let lkey in FPI_EVENTS) { - if (FPI_EVENTS.hasOwnProperty(lkey) && FPI_EVENTS[lkey].eventName === key) { + if (FPI_EVENTS.hasOwnProperty(lkey) && + FPI_EVENTS[lkey].eventName === key) { matchingEvent = FPI_EVENTS[lkey]; break; } diff --git a/lib/helpers/FPI-events.js.map b/lib/helpers/FPI-events.js.map index cf9c622..1bc4572 100644 --- a/lib/helpers/FPI-events.js.map +++ b/lib/helpers/FPI-events.js.map @@ -1 +1 @@ -{"version":3,"file":"FPI-events.js","sourceRoot":"","sources":["../../src/helpers/FPI-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAElD,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA4B5C,MAAM,CAAC,MAAM,UAAU,GAAe;IACrC,MAAM,EAAE;QACP,SAAS,EAAE,YAAY;QACvB,cAAc,EAAE,CAAC,MAAW,EAAE,KAAU,EAAE,KAAU,EAAE,EAAE;YACvD,IAAI,IAAI,GAAG,MAAM,CAAC;YAClB,OAAO;gBACN,OAAO,EAAE,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO,MAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,GAAG,CAAA;gBACnC,MAAM,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM;gBACpB,KAAK,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM;gBACnB,YAAY,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,aAAa;aACjC,CAAA;QACF,CAAC;KACD;IACD,OAAO,EAAE;QACR,SAAS,EAAE,aAAa;QACxB,cAAc,EAAE,CAAC,MAAW,EAAE,KAAU,EAAE,KAAU,EAAE,EAAE;YACvD,IAAI,IAAI,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAA;YAC/B,OAAO;gBACN,OAAO,EAAE,IAAI,aAAJ,IAAI,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AC,IAAI,GAAG,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE;YAChE,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC;SAC9B;KACF;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,aAAa,CAC3B,MAAW,EACX,UAAsD,EACtD,gBAAyB;IAEzB,MAAM,CAAC,OAAO,CAAC,CAAC,KAA6C,EAAE,EAAE;QAC/D,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QACtC,IAAI,aAAa,CAAC;QAElB,KAAK,IAAI,IAAI,IAAI,UAAU,EAAE;YAC3B,IACE,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC;gBAC/B,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,KAAK,GAAG,EAClC;gBACA,aAAa,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC;gBACjC,MAAM;aACP;SACF;QAED,IAAI,aAAa,EAAE;YACjB,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,GAAG,aAAa,CAAC;YACpD,MAAM,OAAO,GAAG,cAAc,CAC5B,MAAM,EACN,MAAM,EACN,gBAAgB,EAChB,gBAAgB,CACjB,CAAC;YACF,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;SACpC;IACH,CAAC,CAAC,CAAC;AACL,CAAC"} \ No newline at end of file diff --git a/lib/helpers/utils.js b/lib/helpers/utils.js index 4b350f3..84473a6 100644 --- a/lib/helpers/utils.js +++ b/lib/helpers/utils.js @@ -1,67 +1,66 @@ -import Base64 from 'crypto-js/enc-base64'; -import Utf8 from 'crypto-js/enc-utf8'; -import HmacSHA256 from 'crypto-js/hmac-sha256'; +import Base64 from "crypto-js/enc-base64"; +import Utf8 from "crypto-js/enc-utf8"; +import HmacSHA256 from "crypto-js/hmac-sha256"; export function parseFilters(obj) { return Object.entries(obj).reduce((str, [key, value]) => { - if (key.startsWith('__')) { + if (key.startsWith("__")) { return str; } if (str.length != 0) { - str += ':::'; + str += ":::"; } if (Array.isArray(value)) { - str += `${key}:${value.join('||')}`; + str += `${key}:${value.join("||")}`; } else if (value) { str += `${key}:${value.toString()}`; } return str; - }, ''); + }, ""); } -; export function createJWTToken(jsonObj, secret) { // Defining our token parts let header = { - alg: 'HS256', - typ: 'JWT', + alg: "HS256", + typ: "JWT", }; function base64url(source) { // Encode in classical base64 let encodedSource = Base64.stringify(source); // Remove padding equal characters - encodedSource = encodedSource.replace(/=+$/, ''); + encodedSource = encodedSource.replace(/=+$/, ""); // Replace characters according to base64url specifications - encodedSource = encodedSource.replace(/\+/g, '-'); - encodedSource = encodedSource.replace(/\//g, '_'); + encodedSource = encodedSource.replace(/\+/g, "-"); + encodedSource = encodedSource.replace(/\//g, "_"); return encodedSource; } let stringifiedHeader = Utf8.parse(JSON.stringify(header)); let encodedHeader = base64url(stringifiedHeader); let stringifiedData = Utf8.parse(JSON.stringify(jsonObj)); let encodedData = base64url(stringifiedData); - let signature = encodedHeader + '.' + encodedData; + let signature = encodedHeader + "." + encodedData; signature = HmacSHA256(signature, secret); signature = base64url(signature); return `${encodedHeader}.${encodedData}.${signature}`; } export function isRunningOnClient() { - if (typeof window !== 'undefined') { + if (typeof window !== "undefined") { return globalThis === window; } return false; } export function getCookie(key) { if (isRunningOnClient()) { - const name = key + '='; + const name = key + "="; const decoded = decodeURIComponent(document.cookie); - const cArr = decoded.split('; '); + const cArr = decoded.split("; "); let res; cArr.forEach((val) => { if (val.indexOf(name) === 0) res = val.substring(name.length); }); if (!res) { - return ''; + return ""; } try { return JSON.parse(res); @@ -76,11 +75,11 @@ export function getCookie(key) { } export function setCookie(key, value, exp, domain, path) { if (isRunningOnClient()) { - value = typeof value === 'object' ? JSON.stringify(value) : value; + value = typeof value === "object" ? JSON.stringify(value) : value; let date = new Date(); date.setTime(date.getTime() + exp * 24 * 60 * 60 * 1000); - const expires = 'expires=' + date.toUTCString(); - document.cookie = `${key}=${encodeURIComponent(value)}; ${exp !== null && expires}; domain=${domain ? domain : ''}; path=${path ? path : '/'};`; + const expires = "expires=" + date.toUTCString(); + document.cookie = `${key}=${encodeURIComponent(value)}; ${exp !== null && expires}; domain=${domain ? domain : ""}; path=${path ? path : "/"};`; } } export function removeCookie(name) { diff --git a/lib/helpers/utils.js.map b/lib/helpers/utils.js.map index 5a506f9..b916d8b 100644 --- a/lib/helpers/utils.js.map +++ b/lib/helpers/utils.js.map @@ -1 +1 @@ -{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/helpers/utils.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,sBAAsB,CAAC;AAC1C,OAAO,IAAI,MAAM,oBAAoB,CAAC;AACtC,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAG/C,MAAM,UAAU,YAAY,CAAC,GAAQ;IACjC,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QACpD,IAAI,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE;YACtB,OAAO,GAAG,CAAC;SACd;QACD,IAAI,GAAG,CAAC,MAAM,IAAI,CAAC,EAAE;YACjB,GAAG,IAAI,KAAK,CAAC;SAChB;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;YACtB,GAAG,IAAI,GAAG,GAAG,IAAI,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;SACvC;aAAM,IAAI,KAAK,EAAE;YACd,GAAG,IAAI,GAAG,GAAG,IAAI,KAAK,CAAC,QAAQ,EAAE,EAAE,CAAC;SACvC;QACD,OAAO,GAAG,CAAC;IACf,CAAC,EAAE,EAAE,CAAC,CAAC;AACX,CAAC;AAAA,CAAC;AAEF,MAAM,UAAU,cAAc,CAAC,OAAY,EAAE,MAAW;IACpD,2BAA2B;IAC3B,IAAI,MAAM,GAAG;QACT,GA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,CAAC,CAAC,KAAK,CAAC;QAClE,IAAI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC;QACzD,MAAM,OAAO,GAAG,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAChD,QAAQ,CAAC,MAAM,GAAG,GAAG,GAAG,IAAI,kBAAkB,CAAC,KAAK,CAAC,KACnD,GAAG,KAAK,IAAI,IAAI,OAClB,YAAY,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;KAChE;AACH,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,IAAY;IACvC,IAAI,iBAAiB,EAAE,EAAE;QACvB,QAAQ,CAAC,MAAM,GAAG,GAAG,IAAI,mDAAmD,CAAC;KAC9E;AACH,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAS;;IACtC,MAAM,KAAK,GACT,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,0CAAE,MAAM,CAAC,CAAC,KAAU,EAAE,IAAS,EAAE,EAAE;QAC5C,IAAI,IAAI,CAAC,QAAQ,EAAE;YACjB,OAAO,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC9B;QACD,OAAO,KAAK,CAAC;IACf,CAAC,EAAE,CAAC,CAAC,mCAAI,CAAC,CAAC;IACb,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/lib/index.d.ts b/lib/index.d.ts index ac30557..9bd3e5a 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -1,5 +1,5 @@ -import ApplicationStore from './store'; -import { FPIClientOptions } from './types'; +import ApplicationStore from "./store"; +import { FPIClientOptions } from "./types"; declare class FPIClient { client: ApplicationStore; constructor(opts: FPIClientOptions); diff --git a/lib/index.js b/lib/index.js index 14ed964..7826727 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,9 +1,9 @@ -import { collectUnemittedEvents, emitAllEvents, FPI_EVENTS } from './helpers/FPI-events'; -import ApplicationStore from './store'; +import { collectUnemittedEvents, emitAllEvents, FPI_EVENTS, } from "./helpers/FPI-events"; +import ApplicationStore from "./store"; class FPIClient { constructor(opts) { var _a; - const { applicationID, applicationToken, domain: themeDomain, storeInitialData = {} } = opts; + const { applicationID, applicationToken, domain: themeDomain, storeInitialData = {}, } = opts; const concatenatedString = `${applicationID}:${applicationToken}`; const encodedString = self.btoa.call(globalThis, concatenatedString); const authorizationHeader = `Bearer ${encodedString}`; diff --git a/lib/index.js.map b/lib/index.js.map index 8c72353..bf4974b 100644 --- a/lib/index.js.map +++ b/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACzF,OAAO,gBAAgB,MAAM,SAAS,CAAC;AAGvC,MAAM,SAAS;IAGX,YAAY,IAAsB;;QAC9B,MAAM,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,EAAC,WAAW,EAAE,gBAAgB,GAAG,EAAE,EAAE,GAAG,IAAI,CAAC;QAE5F,MAAM,kBAAkB,GAAG,GAAG,aAAa,IAAI,gBAAgB,EAAE,CAAC;QAClE,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;QACrE,MAAM,mBAAmB,GAAG,UAAU,aAAa,EAAE,CAAC;QACtD,MAAM,MAAM,GAAG,WAAW,CAAC;QAE3B,MAAM,UAAU,GAAG,MAAC,gBAAwB,aAAxB,gBAAgB,uBAAhB,gBAAgB,CAAU,MAAM,mCAAI,EAAE,CAAC;QAC3D,MAAM,MAAM,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAC;QAClD,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAEpD,IAAI,CAAC,MAAM,GAAG,IAAI,gBAAgB,CAAC,gBAAgB,EAAE,mBAAmB,EAAC,MAAM,CAAC,CAAC;IACrF,CAAC;CACJ;AAED,eAAe,SAAS,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,aAAa,EACb,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,gBAAgB,MAAM,SAAS,CAAC;AAGvC,MAAM,SAAS;IAGb,YAAY,IAAsB;;QAChC,MAAM,EACJ,aAAa,EACb,gBAAgB,EAChB,MAAM,EAAE,WAAW,EACnB,gBAAgB,GAAG,EAAE,GACtB,GAAG,IAAI,CAAC;QAET,MAAM,kBAAkB,GAAG,GAAG,aAAa,IAAI,gBAAgB,EAAE,CAAC;QAClE,MAAM,aAAa,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;QACrE,MAAM,mBAAmB,GAAG,UAAU,aAAa,EAAE,CAAC;QACtD,MAAM,MAAM,GAAG,WAAW,CAAC;QAE3B,MAAM,UAAU,GAAG,MAAC,gBAAwB,aAAxB,gBAAgB,uBAAhB,gBAAgB,CAAU,MAAM,mCAAI,EAAE,CAAC;QAC3D,MAAM,MAAM,GAAG,sBAAsB,CAAC,UAAU,CAAC,CAAC;QAClD,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,gBAAgB,CAAC,CAAC;QAEpD,IAAI,CAAC,MAAM,GAAG,IAAI,gBAAgB,CAChC,gBAAgB,EAChB,mBAAmB,EACnB,MAAM,CACP,CAAC;IACJ,CAAC;CACF;AAED,eAAe,SAAS,CAAC"} \ No newline at end of file diff --git a/lib/store/enums/keys.js.map b/lib/store/enums/keys.js.map index ce1ebe2..2853c3f 100644 --- a/lib/store/enums/keys.js.map +++ b/lib/store/enums/keys.js.map @@ -1 +1 @@ -{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../src/store/enums/keys.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAkBX;AAlBD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,yCAA2B,CAAA;IAC3B,2BAAa,CAAA;IACb,mCAAqB,CAAA;IACrB,+BAAiB,CAAA;IACjB,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,6BAAe,CAAA;IACf,6CAA+B,CAAA;IAC/B,mCAAqB,CAAA;IACrB,6BAAe,CAAA;IACf,6BAAe,CAAA;IACf,+BAAiB,CAAA;AACnB,CAAC,EAlBW,UAAU,KAAV,UAAU,QAkBrB;AAED,MAAM,CAAN,IAAY,WAeX;AAfD,WAAY,WAAW;IACrB,qDAAsC,CAAA;IACtC,gCAAiB,CAAA;IACjB,8CAA+B,CAAA;IAC/B,sCAAuB,CAAA;IACvB,mDAAoC,CAAA;IACpC,6CAA8B,CAAA;IAC9B,uCAAwB,CAAA;IACxB,+CAAgC,CAAA;IAChC,gDAAiC,CAAA;IACjC,iDAAkC,CAAA;IAClC,qDAAsC,CAAA;IACtC,uDAAwC,CAAA;IACxC,qDAAsC,CAAA;IACtC,gDAAgC,CAAA;AAClC,CAAC,EAfW,WAAW,KAAX,WAAW,QAetB"} \ No newline at end of file +{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../src/store/enums/keys.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,UAkBX;AAlBD,WAAY,UAAU;IACpB,mCAAqB,CAAA;IACrB,yCAA2B,CAAA;IAC3B,2BAAa,CAAA;IACb,mCAAqB,CAAA;IACrB,+BAAiB,CAAA;IACjB,uCAAyB,CAAA;IACzB,uCAAyB,CAAA;IACzB,2BAAa,CAAA;IACb,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,6BAAe,CAAA;IACf,6CAA+B,CAAA;IAC/B,mCAAqB,CAAA;IACrB,6BAAe,CAAA;IACf,6BAAe,CAAA;IACf,+BAAiB,CAAA;AACnB,CAAC,EAlBW,UAAU,KAAV,UAAU,QAkBrB;AAED,MAAM,CAAN,IAAY,WAeX;AAfD,WAAY,WAAW;IACrB,qDAAsC,CAAA;IACtC,gCAAiB,CAAA;IACjB,8CAA+B,CAAA;IAC/B,sCAAuB,CAAA;IACvB,mDAAoC,CAAA;IACpC,6CAA8B,CAAA;IAC9B,uCAAwB,CAAA;IACxB,+CAAgC,CAAA;IAChC,gDAAiC,CAAA;IACjC,iDAAkC,CAAA;IAClC,qDAAsC,CAAA;IACtC,uDAAwC,CAAA;IACxC,qDAAsC,CAAA;IACtC,gDAAiC,CAAA;AACnC,CAAC,EAfW,WAAW,KAAX,WAAW,QAetB"} \ No newline at end of file diff --git a/lib/store/index.js b/lib/store/index.js index 6d3443a..038ff25 100644 --- a/lib/store/index.js +++ b/lib/store/index.js @@ -141,12 +141,13 @@ class ApplicationStore { executeFetch(query, variables) { return __awaiter(this, void 0, void 0, function* () { const response = yield fetch(`${this.domain}/service/application/graphql/`, { - method: 'POST', - headers: Object.assign({ 'Content-Type': 'application/json', 'Authorization': this.authorizationHeader }, (isClient ? { - 'credentials': 'include', - } : - { - 'Cookies': this.getServerCookies(), + method: "POST", + headers: Object.assign({ "Content-Type": "application/json", Authorization: this.authorizationHeader }, (isClient + ? { + credentials: "include", + } + : { + Cookies: this.getServerCookies(), })), body: JSON.stringify({ query, @@ -154,7 +155,7 @@ class ApplicationStore { }), }); const headers = response.headers; - const sellerDetails = headers.get('x-seller-details'); + const sellerDetails = headers.get("x-seller-details"); if (!response.ok) { throw new Error(`GraphQL request failed with status ${response.status}`); } @@ -166,11 +167,11 @@ class ApplicationStore { try { return Object.entries(this.serverCookies) .map(([key, value]) => `${key}=${value}`) - .join('; '); + .join("; "); } catch (error) { - console.error('Error while serializing server cookies'); - return ''; + console.error("Error while serializing server cookies"); + return ""; } } setServerCookies(cookies = {}) { @@ -234,7 +235,7 @@ class ApplicationStore { const { result: responseData, sellerDetails } = yield this.executeFetch(query, params); this.custom.setValue("sellerDetailsKey", sellerDetails); if (!(options === null || options === void 0 ? void 0 : options.skipStoreUpdate)) { - if (((_b = (_a = parse(query).definitions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.operation) === 'mutation') { + if (((_b = (_a = parse(query).definitions) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.operation) === "mutation") { mutationResponseHandler(responseData.data, this.dispatch, params); } else { @@ -248,7 +249,7 @@ class ApplicationStore { data: null, errors: [ { - code: 'Error', + code: "Error", message: error.message || error, }, ], diff --git a/lib/store/index.js.map b/lib/store/index.js.map index 52c1305..c0bd338 100644 --- a/lib/store/index.js.map +++ b/lib/store/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAa,WAAW,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAA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AAY,CAAC,CAAC;aACxB;QACH,CAAC,CAAC;QAEF,IAAI,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACrD,YAAY,EAAE,CAAC;QACf,OAAO,WAAW,CAAC;IACrB,CAAC;IAEY,UAAU,CAAC,KAAa,EAAE,MAAkB,EAAE,OAAwB;;;YACjF,IAAI;gBACF,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;gBACvF,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,kBAAkB,EAAE,aAAa,CAAC,CAAC;gBACxD,IAAI,CAAC,CAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,CAAA,EAAE;oBAC7B,IAAI,CAAA,MAAC,MAAA,KAAK,CAAC,KAAK,CAAC,CAAC,WAAW,0CAAG,CAAC,CAAS,0CAAE,SAAS,MAAK,UAAU,EAAE;wBACpE,uBAAuB,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;qBACnE;yBAAM;wBACL,oBAAoB,CAAC,YAAY,CAAC,IAAI,EAAE,IAAI,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;qBAChE;iBACF;gBACD,OAAO,YAAY,CAAC;aACrB;YAAC,OAAO,KAAU,EAAE;gBACnB,OAAO;oBACL,IAAI,EAAE,IAAI;oBACV,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,OAAO;4BACb,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,KAAK;yBAChC;qBACF;iBACF,CAAC;aACH;;KACF;CACF;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/store/index.ts"],"names":[],"mappings":";;;;;;;;;AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;A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AAC,CAAC;qBAChE;iBACF;gBACD,OAAO,YAAY,CAAC;aACrB;YAAC,OAAO,KAAU,EAAE;gBACnB,OAAO;oBACL,IAAI,EAAE,IAAI;oBACV,MAAM,EAAE;wBACN;4BACE,IAAI,EAAE,OAAO;4BACb,OAAO,EAAE,KAAK,CAAC,OAAO,IAAI,KAAK;yBAChC;qBACF;iBACF,CAAC;aACH;;KACF;CACF;AAED,eAAe,gBAAgB,CAAC"} \ No newline at end of file diff --git a/lib/store/modules/custom.js.map b/lib/store/modules/custom.js.map index a98bc56..631ab69 100644 --- a/lib/store/modules/custom.js.map +++ b/lib/store/modules/custom.js.map @@ -1 +1 @@ -{"version":3,"file":"custom.js","sourceRoot":"","sources":["../../../src/store/modules/custom.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,OAAO,YAAY;IACvB,YAAoB,QAAkC;QAAlC,aAAQ,GAAR,QAAQ,CAA0B;IAAG,CAAC;IAEnD,QAAQ,CAAC,GAAoB,EAAE,KAAU;QAC9C,MAAM,MAAM,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"custom.js","sourceRoot":"","sources":["../../../src/store/modules/custom.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,OAAO,YAAY;IACvB,YAAoB,QAAkC;QAAlC,aAAQ,GAAR,QAAQ,CAA0B;IAAG,CAAC;IAEnD,QAAQ,CACb,GAAoB,EACpB,KAAU;QAEV,MAAM,MAAM,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC;QAC9B,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/modules/payment.d.ts b/lib/store/modules/payment.d.ts index 472ea19..f2f7513 100644 --- a/lib/store/modules/payment.d.ts +++ b/lib/store/modules/payment.d.ts @@ -3,4 +3,5 @@ export declare class PaymentModule { private dispatch; constructor(dispatch: ThunkActionDispatch); checkoutPayment(payload: any): any; + getSupportedUpiIntentApps(payload: any): any; } diff --git a/lib/store/modules/payment.js b/lib/store/modules/payment.js index a9b0ade..d1448a4 100644 --- a/lib/store/modules/payment.js +++ b/lib/store/modules/payment.js @@ -1,4 +1,4 @@ -import { checkoutPayment } from "../slices/payment"; +import { getSupportedUpiIntentApps, checkoutPayment } from "../slices/payment"; export class PaymentModule { constructor(dispatch) { this.dispatch = dispatch; @@ -6,5 +6,8 @@ export class PaymentModule { checkoutPayment(payload) { return this.dispatch(checkoutPayment(payload)); } + getSupportedUpiIntentApps(payload) { + return this.dispatch(getSupportedUpiIntentApps(payload)); + } } //# sourceMappingURL=payment.js.map \ No newline at end of file diff --git a/lib/store/modules/payment.js.map b/lib/store/modules/payment.js.map index c1334e9..9a7f15d 100644 --- a/lib/store/modules/payment.js.map +++ b/lib/store/modules/payment.js.map @@ -1 +1 @@ -{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/store/modules/payment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,OAAO,aAAa;IACxB,YAAoB,QAAkC;QAAlC,aAAQ,GAAR,QAAQ,CAA0B;IAAG,CAAC;IAEjD,eAAe,CAAC,OAAW;QAChC,OAAO,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;IACjD,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/store/modules/payment.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE/E,MAAM,OAAO,aAAa;IACxB,YAAoB,QAAkC;QAAlC,aAAQ,GAAR,QAAQ,CAA0B;IAAG,CAAC;IAEjD,eAAe,CAAC,OAAW;QAChC,OAAO,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;IACjD,CAAC;IAEM,yBAAyB,CAAC,OAAY;QAC3C,OAAO,IAAI,CAAC,QAAQ,CAAC,yBAAyB,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3D,CAAC;CACJ"} \ No newline at end of file diff --git a/lib/store/modules/theme.js b/lib/store/modules/theme.js index f18d911..8d91d0c 100644 --- a/lib/store/modules/theme.js +++ b/lib/store/modules/theme.js @@ -24,7 +24,6 @@ export class ThemeModule { appliedThemeGraphQLhandler(appliedTheme) { return this.dispatch(); } - handleThemeResponse(response) { - } + handleThemeResponse(response) { } } //# sourceMappingURL=theme.js.map \ No newline at end of file diff --git a/lib/store/modules/theme.js.map b/lib/store/modules/theme.js.map index 7ebb75c..26ced8f 100644 --- a/lib/store/modules/theme.js.map +++ b/lib/store/modules/theme.js.map @@ -1 +1 @@ -{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/store/modules/theme.ts"],"names":[],"mappings":"AACA,OAAO,EACL,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,QAAQ,EACR,eAAe,GAChB,MAAM,iBAAiB,CAAC;AAGzB,MAAM,OAAO,WAAW;IACtB,YAAoB,QAAkC;QAAlC,aAAQ,GAAR,QAAQ,CAA0B;IAAG,CAAC;IAEjD,WAAW,CAAC,MAA2C;QAC5D,OAAO,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;IAC5C,CAAC;IACM,UAAU,CAAC,SAAc,EAAE;QAChC,OAAO,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,CAAC;IACM,aAAa,CAAC,SAAc,EAAE;QACnC,OAAO,IAAI,CAAC,QAAQ,C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C,CAAC;IAC9C,CAAC;IACM,QAAQ,CAAC,MAAW;QACzB,OAAO,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;IACzC,CAAC;IACM,eAAe,CAAC,MAAW;QAChC,OAAO,IAAI,CAAC,QAAQ,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;IAChD,CAAC;IACO,0BAA0B,CAAC,YAAyB;QAC1D,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;IACzB,CAAC;IACM,mBAAmB,CAAC,QAAe,IAAG,CAAC;CAC/C"} \ No newline at end of file diff --git a/lib/store/slices/address.js.map b/lib/store/slices/address.js.map index 1d12c42..330ca9f 100644 --- a/lib/store/slices/address.js.map +++ b/lib/store/slices/address.js.map @@ -1 +1 @@ -{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../src/store/slices/address.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAiB;IACjC,OAAO,EAAE,EAAE;IACX,YAAY,EAAE,EAAE;CACjB,CAAC;AAEF,MAAM,YAAY,GAAG,WAAW,CAAC;IAC/B,IAAI,EAAE,UAAU,CAAC,OAAO;IACxB,YAAY;IACZ,QAAQ,EAAE;QACR,cAAc,CAAC,KAAK,EAAE,MAA6B;YACjD,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC;QACtC,CAAC;QACD,YAAY,CAAC,KAAK,EAAE,MAA+B;YACjD,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QACjC,CAAC;QACD,gBAAgB,CAAC,KAAK,EAAE,MAA2C;YACjE,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC;QACtC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC;AACnD,MAAM,CAAC,MAAM,EAAE,cAAc,EAAG,YAAY,EAAE,gBAAgB,EAAC,GAAG,YAAY,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../src/store/slices/address.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAiB;IACjC,OAAO,EAAE,EAAE;IACX,YAAY,EAAE,EAAE;CACjB,CAAC;AAEF,MAAM,YAAY,GAAG,WAAW,CAAC;IAC/B,IAAI,EAAE,UAAU,CAAC,OAAO;IACxB,YAAY;IACZ,QAAQ,EAAE;QACR,cAAc,CAAC,KAAK,EAAE,MAA6B;YACjD,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC;QACtC,CAAC;QACD,YAAY,CAAC,KAAK,EAAE,MAA+B;YACjD,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;QACjC,CAAC;QACD,gBAAgB,CAAC,KAAK,EAAE,MAA2C;YACjE,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC,OAAO,CAAC;QACtC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC;AACnD,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,YAAY,EAAE,gBAAgB,EAAE,GAC7D,YAAY,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/auth.js b/lib/store/slices/auth.js index a7348f2..e8cb03b 100644 --- a/lib/store/slices/auth.js +++ b/lib/store/slices/auth.js @@ -1,19 +1,31 @@ +var __rest = (this && this.__rest) || function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; +}; import { createSlice } from "@reduxjs/toolkit"; import { STORE_KEYS } from "../enums/keys"; const initialState = { - logged_in: false, + logged_in: null, platform_data: {}, user_data: {}, - user_fetched: false, + user_fetched: null, }; const authSlice = createSlice({ name: STORE_KEYS.AUTH, initialState, reducers: { setUserData(state, action) { - state.user_data = action.payload; - state.logged_in = true; - state.user_fetched = true; + const _a = action.payload, { isUserLogin = true } = _a, userState = __rest(_a, ["isUserLogin"]); + state.logged_in = isUserLogin; + state.user_fetched = isUserLogin; + state.user_data = userState; }, setplatformConfig(state, action) { state.platform_data = action.payload; diff --git a/lib/store/slices/auth.js.map b/lib/store/slices/auth.js.map index 1c144ae..0f69caf 100644 --- a/lib/store/slices/auth.js.map +++ b/lib/store/slices/auth.js.map @@ -1 +1 @@ -{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../src/store/slices/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAI/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAc;IAC9B,SAAS,EAAE,KAAK;IAChB,aAAa,EAAE,EAAE;IACjB,SAAS,EAAE,EAAE;IACb,YAAY,EAAE,KAAK;CACpB,CAAC;AAEF,MAAM,SAAS,GAAG,WAAW,CAAC;IAC5B,IAAI,EAAE,UAAU,CAAC,IAAI;IACrB,YAAY;IACZ,QAAQ,EAAE;QACR,WAAW,CAAC,KAAK,EAAE,MAAuH;YACxI,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;YACjC,KAAK,CAAC,SAAS,GAAG,IAAI,CAAC;YACvB,KAAK,CAAC,YAAY,GAAG,IAAI,CAAC;QAC5B,CAAC;QACD,iBAAiB,CAAC,KA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AC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/brands.js b/lib/store/slices/brands.js index 256e141..4f731dd 100644 --- a/lib/store/slices/brands.js +++ b/lib/store/slices/brands.js @@ -1,8 +1,8 @@ -import { createSlice, } from "@reduxjs/toolkit"; +import { createSlice } from "@reduxjs/toolkit"; import { STORE_KEYS } from "../enums/keys"; const initialState = { brands: {}, - brand: {} + brand: {}, }; const brandsSlice = createSlice({ name: STORE_KEYS.BRANDS, diff --git a/lib/store/slices/brands.js.map b/lib/store/slices/brands.js.map index 4073257..3d127c4 100644 --- a/lib/store/slices/brands.js.map +++ b/lib/store/slices/brands.js.map @@ -1 +1 @@ -{"version":3,"file":"brands.js","sourceRoot":"","sources":["../../../src/store/slices/brands.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,YAAY,GAAgB;IAChC,MAAM,EAAE,EAAE;IACV,KAAK,EAAC,EAAE;CACT,CAAC;AAEF,MAAM,WAAW,GAAG,WAAW,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC,MAAM;IACvB,YAAY;IACZ,QAAQ,EAAE;QACR,SAAS,CAAC,KAAK,EAAE,MAAqC;YACpD,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC;QAChC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,CAAC;AACjD,MAAM,CAAC,MAAM,EAAC,SAAS,EAAC,GAAG,WAAW,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"brands.js","sourceRoot":"","sources":["../../../src/store/slices/brands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,YAAY,GAAgB;IAChC,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;CACV,CAAC;AAEF,MAAM,WAAW,GAAG,WAAW,CAAC;IAC9B,IAAI,EAAE,UAAU,CAAC,MAAM;IACvB,YAAY;IACZ,QAAQ,EAAE;QACR,SAAS,CAAC,KAAK,EAAE,MAAqC;YACpD,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC;QAChC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAAG,WAAW,CAAC,OAAO,CAAC;AACjD,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,WAAW,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/cart.js b/lib/store/slices/cart.js index 8ee922b..7acf22a 100644 --- a/lib/store/slices/cart.js +++ b/lib/store/slices/cart.js @@ -1,4 +1,4 @@ -import { createSlice, } from "@reduxjs/toolkit"; +import { createSlice } from "@reduxjs/toolkit"; import { cartItemsCount } from "../../helpers/utils"; import { STORE_KEYS } from "../enums/keys"; const initialState = { @@ -54,9 +54,9 @@ const cartSlice = createSlice({ }, setrewardPoints(state, action) { state.cart_items = action.payload; - } - } + }, + }, }); export const cartReducer = cartSlice.reducer; -export const { setCart, setaddItemsToCart, setUpdateCartMeta, setrewardPoints, setapplyCoupon, setremoveCoupon, setCartShipmentDetails, setgetCartShareLink, setUpdateCart, setproductLadderPromotion, setpromotionOffers, setcoupons } = cartSlice.actions; +export const { setCart, setaddItemsToCart, setUpdateCartMeta, setrewardPoints, setapplyCoupon, setremoveCoupon, setCartShipmentDetails, setgetCartShareLink, setUpdateCart, setproductLadderPromotion, setpromotionOffers, setcoupons, } = cartSlice.actions; //# sourceMappingURL=cart.js.map \ No newline at end of file diff --git a/lib/store/slices/cart.js.map b/lib/store/slices/cart.js.map index 873b305..4823948 100644 --- a/lib/store/slices/cart.js.map +++ b/lib/store/slices/cart.js.map @@ -1 +1 @@ -{"version":3,"file":"cart.js","source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;QACvC,CAAC;QACD,iBAAiB,CAAC,KAAK,EAAE,MAA2C;YAClE,KAAK,CAAC,kBAAkB,GAAG,MAAM,CAAC,OAAO,IAAI,EAAE,CAAC;YAChD,KAAK,CAAC,gBAAgB,CAAC,qBAAqB,GAAG,cAAc,CAC3D,MAAM,CAAC,OAAO,IAAI,EAAE,CACrB,CAAC;QACJ,CAAC;QACD,cAAc,CAAC,KAAK,EAAE,MAAwC;YAC5D,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;QACD,eAAe,CAAC,KAAK,EAAE,MAAwC;YAC7D,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;QACD,eAAe,CAAC,KAAK,EAAE,MAAwC;YAC7D,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,WAAW,GAAG,SAAS,CAAC,OAAO,CAAC;AAC7C,MAAM,CAAC,MAAM,EACX,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,aAAa,EACb,yBAAyB,EACzB,kBAAkB,EAClB,UAAU,GACX,GAAG,SAAS,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/categories.js b/lib/store/slices/categories.js index 247ad13..f8e4a80 100644 --- a/lib/store/slices/categories.js +++ b/lib/store/slices/categories.js @@ -10,7 +10,7 @@ const categoriesSlice = createSlice({ setCategories(state, action) { state.categories = action.payload; }, - } + }, }); export const categoriesReducer = categoriesSlice.reducer; export const { setCategories } = categoriesSlice.actions; diff --git a/lib/store/slices/categories.js.map b/lib/store/slices/categories.js.map index 5ae95c4..a6d034a 100644 --- a/lib/store/slices/categories.js.map +++ b/lib/store/slices/categories.js.map @@ -1 +1 @@ -{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../../src/store/slices/categories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,YAAY,GAAoB;IACpC,UAAU,EAAE,EAAE;CACf,CAAC;AAGF,MAAM,eAAe,GAAG,WAAW,CAAC;IAClC,IAAI,EAAE,UAAU,CAAC,UAAU;IAC3B,YAAY;IACZ,QAAQ,EAAE;QACR,aAAa,CAAC,KAAK,EAAE,MAAgC;YACnD,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC,OAAO,CAAC;AACzD,MAAM,CAAC,MAAM,EAAC,aAAa,EAAC,GAAG,eAAe,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"categories.js","sourceRoot":"","sources":["../../../src/store/slices/categories.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,YAAY,GAAoB;IACpC,UAAU,EAAE,EAAE;CACf,CAAC;AAEF,MAAM,eAAe,GAAG,WAAW,CAAC;IAClC,IAAI,EAAE,UAAU,CAAC,UAAU;IAC3B,YAAY;IACZ,QAAQ,EAAE;QACR,aAAa,CAAC,KAAK,EAAE,MAAgC;YACnD,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC,OAAO,CAAC;AACzD,MAAM,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,eAAe,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/collection.js b/lib/store/slices/collection.js index 7e3da9d..85ab112 100644 --- a/lib/store/slices/collection.js +++ b/lib/store/slices/collection.js @@ -18,7 +18,7 @@ const collectionSlice = createSlice({ setcollections(state, action) { state.collections = action.payload; }, - } + }, }); export const collectionReducer = collectionSlice.reducer; export const { setcollection, setcollectionItems, setcollections } = collectionSlice.actions; diff --git a/lib/store/slices/configuration.js b/lib/store/slices/configuration.js index 87f5cce..391f6e6 100644 --- a/lib/store/slices/configuration.js +++ b/lib/store/slices/configuration.js @@ -37,9 +37,9 @@ const configurationSlice = createSlice({ }, setapplicationStaff(state, action) { state.staff = Object.assign(Object.assign({}, action.payload), { error: null, loading: false }); - } + }, }, }); export const configurationReducer = configurationSlice.reducer; -export const { setappDetails, setContactInfo, setstore, setFeatures, setapplicationStaff, setintegrationTokens, setdeploymentStore, setcurrency } = configurationSlice.actions; +export const { setappDetails, setContactInfo, setstore, setFeatures, setapplicationStaff, setintegrationTokens, setdeploymentStore, setcurrency, } = configurationSlice.actions; //# sourceMappingURL=configuration.js.map \ No newline at end of file diff --git a/lib/store/slices/configuration.js.map b/lib/store/slices/configuration.js.map index a00d429..de1bea6 100644 --- a/lib/store/slices/configuration.js.map +++ b/lib/store/slices/configuration.js.map @@ -1 +1 @@ -{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/store/slices/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAIjE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAuB;IACvC,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,EAAE;IAChB,YAAY,EAAE,EAAE;IAChB,kBAAkB,EAAE,EAAE;IACtB,iBAAiB,EAAE,EAAE;IACrB,KAAK,EAAE,EAAE;IACT,aAAa,EAAE,EAAE;IACjB,UAAU,EAAE,EAAE;CACf,CAAC;AACF,MAAM,kBAAkB,GAAG,WAAW,CAAC;IACrC,IAAI,EAAE,UAAU,CAAC,aAAa;IAC9B,YAAY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C;KACJ;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,OAAO,CAAC;AAC/D,MAAM,CAAC,MAAM,EAAE,aAAa,EAAC,cAAc,EAAE,QAAQ,EAAC,WAAW,EAAE,mBAAmB,EAAE,oBAAoB,EAAC,kBAAkB,EAAC,WAAW,EAAE,GAAG,kBAAkB,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/store/slices/configuration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAajE,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAuB;IACvC,WAAW,EAAE,EAAE;IACf,YAAY,EAAE,EAAE;IAChB,YAAY,EAAE,EAAE;IAChB,kBAAkB,EAAE,EAAE;IACtB,iBAAiB,EAAE,EAAE;IACrB,KAAK,EAAE,EAAE;IACT,aAAa,EAAE,EAAE;IACjB,UAAU,EAAE,EAAE;CACf,CAAC;AACF,MAAM,kBAAkB,GAAG,WAAW,CAAC;IACrC,IAAI,EAAE,UAAU,CAAC,aAAa;IAC9B,YAAY;IACZ,QAAQ,EAAE;QACR,aAAa,CAAC,KAAK,EAAE,MAAgC;YACnD,KAAK,CAAC,WAAW,GAAG,MAAM,CAAC,OAAO,CAAC;QACrC,CAAC;QACD,cAAc,CAAC,KAAK,EAAE,MAAiC;YACrD,KAAK,CAAC,YAAY,mCACb,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,WAAW,CAAC,KAAK,EAAE,MAAgC;YACjD,KAAK,CAAC,YAAY,mCACb,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,oBAAoB,CAAC,KAAK,EAAE,MAA0C;YACpE,KAAK,CAAC,kBAAkB,mCACnB,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,kBAAkB,CAChB,KAAK,EACL,MAAqD;YAErD,KAAK,CAAC,iBAAiB,mCAClB,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,WAAW,CAAC,KAAK,EAAE,MAAqC;YACtD,KAAK,CAAC,UAAU,mCACX,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,QAAQ,CAAC,KAAK,EAAE,MAA2B;YACzC,KAAK,CAAC,aAAa,mCACd,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,mBAAmB,CAAC,KAAK,EAAE,MAAyB;YAClD,KAAK,CAAC,KAAK,mCACN,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,oBAAoB,GAAG,kBAAkB,CAAC,OAAO,CAAC;AAC/D,MAAM,CAAC,MAAM,EACX,aAAa,EACb,cAAc,EACd,QAAQ,EACR,WAAW,EACX,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,WAAW,GACZ,GAAG,kBAAkB,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/content.js b/lib/store/slices/content.js index 1d6e123..ef3b961 100644 --- a/lib/store/slices/content.js +++ b/lib/store/slices/content.js @@ -1,4 +1,4 @@ -import { createSlice, } from "@reduxjs/toolkit"; +import { createSlice } from "@reduxjs/toolkit"; import { STORE_KEYS } from "../enums/keys"; const initialState = { navigation: {}, @@ -68,8 +68,8 @@ const contentSlice = createSlice({ setcustomPage(state, action) { state.custom_page = Object.assign(Object.assign({}, action.payload), { error: null, loading: false }); }, - } + }, }); export const contentReducer = contentSlice.reducer; -export const { setnavigations, setseoConfiguration, setblogs, settags, setsupportInformation, setlandingPage, setannouncements, setcustomPage, setblog, setdataLoaders, setfaqCategories, setfaqs, setfaqsByCategory, setlegalInformation } = contentSlice.actions; +export const { setnavigations, setseoConfiguration, setblogs, settags, setsupportInformation, setlandingPage, setannouncements, setcustomPage, setblog, setdataLoaders, setfaqCategories, setfaqs, setfaqsByCategory, setlegalInformation, } = contentSlice.actions; //# sourceMappingURL=content.js.map \ No newline at end of file diff --git a/lib/store/slices/content.js.map b/lib/store/slices/content.js.map index 7cc817f..63c6014 100644 --- a/lib/store/slices/content.js.map +++ b/lib/store/slices/content.js.map @@ -1 +1 @@ -{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../src/store/slices/content.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAuB1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,YAAY,GAAiB;IACjC,UAAU,EAAE,EAAE;IACd,GAAG,EAAE,EAAE;IACP,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,WAAW,EAAE,EAAE;IACf,QAAQ,EAAE,EAAE;IACZ,IAAI,EAAE,EAAE;IACR,WAAW,EAAE,EAAE;IACf,aAAa,EAAE,EAAE;IACjB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,EAAE;IACd,YAAY,EAAE,EAAE;IAChB,mBAAmB,EAAE,EAAE;IACvB,YAAY,EAAE,EAAE;IAChB,YAAY,EAAE,EAAE;IAChB,YAAY,EAAE,EAAE;CACjB,CAAC;AAGF,MAAM,YAAY,GAAG,WAAW,CAAC;IAC/B,IAAI,EAAE,UAAU,CAAC,OAAO;IACxB,YAAY;IACZ,QAAQ,EAAE;QACR,cAAc,CAAC,KAAK,EAA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B,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,cAAc,CAAC,KAAK,EAAE,MAAiC;YACrD,KAAK,CAAC,YAAY,mCACb,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,cAAc,CAAC,KAAK,EAAE,MAAiC;YACrD,KAAK,CAAC,YAAY,mCACb,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,iBAAiB,CAAC,KAAK,EAAE,MAA0B;YACjD,KAAK,CAAC,IAAI,mCACL,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;QACD,mBAAmB,CAAC,KAAK,EAAE,MAAuC;YAChE,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;QACD,aAAa,CAAC,KAAK,EAAE,MAAyB;YAC5C,KAAK,CAAC,WAAW,mCACZ,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC;AACnD,MAAM,CAAC,MAAM,EACX,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACR,OAAO,EACP,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,iBAAiB,EACjB,mBAAmB,EAEpB,GAAG,YAAY,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"content.js","sourceRoot":"","sources":["../../../src/store/slices/content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,C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CAAC;QACD,aAAa,CAAC,KAAK,EAAE,MAAyB;YAC5C,KAAK,CAAC,WAAW,mCACZ,MAAM,CAAC,OAAO,KACjB,KAAK,EAAE,IAAI,EACX,OAAO,EAAE,KAAK,GACf,CAAC;QACJ,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC;AACnD,MAAM,CAAC,MAAM,EACX,cAAc,EACd,mBAAmB,EACnB,QAAQ,EACR,OAAO,EACP,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,iBAAiB,EACjB,mBAAmB,GACpB,GAAG,YAAY,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/logistic.js b/lib/store/slices/logistic.js index 35f1356..dc4e845 100644 --- a/lib/store/slices/logistic.js +++ b/lib/store/slices/logistic.js @@ -74,7 +74,7 @@ const logisticSlice = createSlice({ }, 0); state.pincode_details = action.payload; }, - } + }, }); export const logisticsReducer = logisticSlice.reducer; export const { setallCountries, setpincodeDetails, setlocality } = logisticSlice.actions; diff --git a/lib/store/slices/logistic.js.map b/lib/store/slices/logistic.js.map index a73de5a..fca73d1 100644 --- a/lib/store/slices/logistic.js.map +++ b/lib/store/slices/logistic.js.map @@ -1 +1 @@ -{"version":3,"file":"logistic.js","sourceRoot":"","sources":["../../../src/store/slices/logistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKxD,MAAM,YAAY,GAAkB;IAClC,SAAS,EAAE,EAAE;IACb,WAAW,EAAE,EAAE;IACf,eAAe,EAAE,EAAE;CACpB,CAAC;AAEF,MAAM,aAAa,GAAG,W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UAAU;gBACxB,CAAC,CAAC;oBACE,UAAU,EAAE,WAAW,CAAC,UAAU;iBACnC;gBACH,CAAC,CAAC,EAAE,CAAC,CACR,CAAC;YACF,SAAS,CAAC,WAAW,CAAC,aAAa,EAAE,YAAY,EAAE,CAAC,CAAC,CAAC;YAEtD,8DAA8D;YAC9D,UAAU,CAAC,GAAG,EAAE;gBACd,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,EAAE,YAAY,CAAC,CAAA;YAChE,CAAC,EAAE,CAAC,CAAC,CAAC;YAEN,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC;QACzC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,CAAC;AACtD,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,WAAW,EAAE,GAAG,aAAa,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"logistic.js","sourceRoot":"","sources":["../../../src/store/slices/logistic.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAKxD,MAAM,YAAY,GAAkB;IAClC,SAAS,EAAE,EAAE;IACb,WAAW,EAAE,EAAE;IACf,eAAe,EAAE,EAAE;CACpB,CAAC;AAEF,MAAM,aAAa,GAAG,WAAW,CAAC;IAChC,IAAI,EAAE,UAAU,CAAC,QAAQ;IACzB,YAAY;IACZ,QAAQ,EAAE;QACR,eAAe,CAAC,KAAK,EAAE,MAAiC;YACtD,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC,OAAO,CAAC;QACnC,CAAC;QACD,iBAAiB,CAAC,KAAK,EAAE,MAAyB;;YAChD,IAAI,MAAM,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CAAC,GAAG,CAAC,MAAM,CAAC,QAAQ,CAAC,oBAAoB,EAAE,YAAY,CAAC,CAAC;YACjE,CAAC,EAAE,CAAC,CAAC,CAAC;YAEN,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC;QACzC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAC,OAAO,CAAC;AACtD,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,iBAAiB,EAAE,WAAW,EAAE,GAC9D,aAAa,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/order.js b/lib/store/slices/order.js index 4ad04f1..4d583ab 100644 --- a/lib/store/slices/order.js +++ b/lib/store/slices/order.js @@ -1,5 +1,5 @@ -import { createSlice } from '@reduxjs/toolkit'; -import { STORE_KEYS } from '../enums/keys'; +import { createSlice } from "@reduxjs/toolkit"; +import { STORE_KEYS } from "../enums/keys"; const initialState = {}; const orderSlice = createSlice({ name: STORE_KEYS.ORDER, diff --git a/lib/store/slices/order.js.map b/lib/store/slices/order.js.map index d6b5756..0ee501b 100644 --- a/lib/store/slices/order.js.map +++ b/lib/store/slices/order.js.map @@ -1 +1 @@ -{"version":3,"file":"order.js","sourceRoot":"","sources":["../../../src/store/slices/order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAO,EACxB,CAAC;AAGF,MAAM,UAAU,GAAG,WAAW,CAAC;IAC3B,IAAI,EAAE,UAAU,CAAC,KAAK;IACtB,YAAY;IACZ,QAAQ,EAAE,EAAE;IACZ,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"order.js","sourceRoot":"","sources":["../../../src/store/slices/order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAO,EAAE,CAAC;AAE5B,MAAM,UAAU,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;IACtB,YAAY;IACZ,QAAQ,EAAE,EAAE;IACZ,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,GAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/payment.d.ts b/lib/store/slices/payment.d.ts index 77c777d..272e7ac 100644 --- a/lib/store/slices/payment.d.ts +++ b/lib/store/slices/payment.d.ts @@ -4,8 +4,19 @@ declare global { interface Window { fpi: any; PaymentGateways: any; + currentPaymentGateway: any; } } +export declare const getSupportedUpiIntentApps: import("@reduxjs/toolkit").AsyncThunk | undefined; + serializedErrorType?: unknown; + pendingMeta?: unknown; + fulfilledMeta?: unknown; + rejectedMeta?: unknown; +}>; export declare const checkoutPayment: import("@reduxjs/toolkit").AsyncThunk __awaiter(void 0, void 0, void 0, function* () { + const { payment, paymentflow, aggregator_name, queryParams } = payload; + const mutablePayment = Object.assign({}, payment); + if (mutablePayment.payment_meta) { + // Only for backword compatiblity + mutablePayment.paymentFlowMeta = payment.payment_meta; + } + else { + mutablePayment.paymentFlowMeta = paymentflow; + } + const paymentOptions = { + payment: mutablePayment, + aggregator: aggregator_name || queryParams.aggregator_name, + }; + return getUpiIntentApps(paymentOptions); +})); export const checkoutPayment = createAsyncThunk("checkoutPayment", (payload, { extra, getState }) => __awaiter(void 0, void 0, void 0, function* () { - const { cart_id, payment, meta, custom_meta, paymentflow, address_id, billing_address_id, aggregator_name, payment_identifier, payment_mode, queryParams, callback_url = "", payment_config = "", merchant_code = "", } = payload; + const { cart_id, payment, meta, custom_meta, paymentflow, address_id, billing_address_id, aggregator_name, payment_identifier = "", payment_mode, queryParams, callback_url = "", payment_config = "", merchant_code = "", upi_app = "" } = payload; const mutablePayment = Object.assign({}, payment); if (mutablePayment.payment_meta) { // Only for backword compatiblity @@ -28,7 +44,7 @@ export const checkoutPayment = createAsyncThunk("checkoutPayment", (payload, { e removeCookie(COOKIE_KEYS.USER_CART); const paymentOptions = Object.assign(Object.assign(Object.assign({ address_id: address_id || queryParams.address_id, billing_address_id: billing_address_id || queryParams.billing_address_id || - queryParams.address_id, aggregator: aggregator_name || queryParams.aggregator_name, payment_identifier: payment_identifier || queryParams.payment_identifier, payment_mode: payment_mode || queryParams.payment_mode, callback_url: window.location.origin + "/cart/order-status", payment: mutablePayment, meta }, (cart_id ? { id: cart_id } : {})), (custom_meta && custom_meta.length > 0 ? { custom_meta } : {})), { ordering_store: undefined }); + queryParams.address_id, aggregator: aggregator_name || queryParams.aggregator_name, payment_identifier: payment_identifier || (queryParams === null || queryParams === void 0 ? void 0 : queryParams.payment_identifier), payment_mode: payment_mode || queryParams.payment_mode, callback_url: window.location.origin + "/cart/order-status", payment: mutablePayment, meta }, (cart_id ? { id: cart_id } : {})), (custom_meta && custom_meta.length > 0 ? { custom_meta } : {})), { ordering_store: undefined, upi_app: upi_app }); const depStoreId = getCookie(COOKIE_KEYS.DEPLOYMENT_STORE); let ordering_store_id = getCookie(COOKIE_KEYS.ORDERING_STORE) || (depStoreId && depStoreId.uid); if (ordering_store_id) { @@ -37,6 +53,9 @@ export const checkoutPayment = createAsyncThunk("checkoutPayment", (payload, { e if (paymentOptions.payment_mode === "COD") { return handleCODOrder(paymentOptions); } + else if (paymentOptions.payment_mode === "QR") { + return yield handleQrOrder(paymentOptions); + } //transact with payment gateway return transactOrder(paymentOptions, window.fpi.store.getState()); })); diff --git a/lib/store/slices/payment.js.map b/lib/store/slices/payment.js.map index 645cf52..6d0c08c 100644 --- a/lib/store/slices/payment.js.map +++ b/lib/store/slices/payment.js.map @@ -1 +1 @@ -{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/store/slices/payment.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,GAEZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EACL,cAAc,EACd,aAAa,GACd,MAAM,kBAAkB,CAAC;AAmB1B,MAAM,YAAY,GAGd;IACF,eAAe,EAAE,EAAE;IACnB,kBAAkB,EAAE,EAAE;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,gBAAgB,CAC7C,iBAAiB,EACjB,CAAO,OAAO,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACrC,MAAM,EACJ,OAAO,EACP,OAAO,EACP,IAAI,EACJ,WAAW,EACX,WAAW,EACX,UAAU,EACV,kBAAkB,EAClB,eAAe,EACf,kBAAkB,EAClB,YAAY,EACZ,WAAW,EACX,YAAY,GAAG,EAAE,EACjB,cAAc,GAAG,EAAE,EACnB,aAAa,GAAG,EAAE,GACnB,GAAG,OAAO,CAAC;IACZ,MAAM,cAAc,qBAAQ,OAAO,CAAE,CAAC;IAEtC,IAAI,cAAc,CAAC,YAAY,EAAE;QAC/B,iCAAiC;QACjC,cAAc,CAAC,eAAe,GAAG,OAAO,CAAC,YAAY,CAAC;KACvD;SAAM;QACL,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;KAC9C;IAED,YAAY,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;IAEpC,MAAM,cAAc,+CAClB,UAAU,EAAE,UAAU,IAAI,WAAW,CAAC,UAAU,EAChD,kBAAkB,EAChB,kBAAkB;YAClB,WAAW,CAAC,kBAAkB;YAC9B,WAAW,CAAC,UAAU,E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C,KAAK,EAAE,MAA6C;YACvE,KAAK,CAAC,kBAAkB,GAAG,MAAM,CAAC,OAAO,CAAC;QAC5C,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC;AACnD,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,GACzD,YAAY,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/store/slices/payment.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,gBAAgB,EAChB,WAAW,GAEZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,aAAa,GACd,MAAM,kBAAkB,CAAC;AAmB1B,MAAM,YAAY,GAGd;IACF,eAAe,EAAE,EAAE;IACnB,kBAAkB,EAAE,EAAE;CACvB,CAAC;AAEF,MAAM,CAAC,MAAM,yBAAyB,GAAG,gBAAgB,CACvD,2BAA2B,EAC3B,CAAO,OAAO,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAErC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,WAAW,EAAE,GAAG,OAAO,CAAC;IACvE,MAAM,cAAc,qBAAQ,OAAO,CAAE,CAAC;IAEtC,IAAI,cAAc,CAAC,YAAY,EAAE;QAC/B,iCAAiC;QACjC,cAAc,CAAC,eAAe,GAAG,OAAO,CAAC,YAAY,CAAC;KACvD;SAAM;QACL,cAAc,CAAC,eAAe,GAAG,WAAW,CAAC;KAC9C;IACD,MAAM,cAAc,GAAQ;QAC1B,OAAO,EAAE,cAAc;QACvB,UAAU,EAAE,eAAe,IAAI,WAAW,CAAC,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;AACnD,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,GACzD,YAAY,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/product.js b/lib/store/slices/product.js index dadeecd..994a72d 100644 --- a/lib/store/slices/product.js +++ b/lib/store/slices/product.js @@ -1,4 +1,4 @@ -import { createSlice, } from "@reduxjs/toolkit"; +import { createSlice } from "@reduxjs/toolkit"; import { STORE_KEYS } from "../enums/keys"; const initialState = { product_details: {}, @@ -63,7 +63,7 @@ const pdpSlice = createSlice({ // }; state.product_seller_by_slug = action.payload; }, - } + }, }); export const pdpReducer = pdpSlice.reducer; export const { setProduct, setfollowerCount, setproductSellers, setproductPrice, setcompareWithFrequentlyCompared, setProductVariants, setbulkDiscountOffers, setFollowListing, setcompareSimilarProduct, setfollowedProducts, } = pdpSlice.actions; diff --git a/lib/store/slices/product.js.map b/lib/store/slices/product.js.map index fd04e35..e10cf16 100644 --- a/lib/store/slices/product.js.map +++ b/lib/store/slices/product.js.map @@ -1 +1 @@ -{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../src/store/slices/product.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,GACZ,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAY3C,MAAM,YAAY,GAAiB;IACjC,eAAe,EAAE,EAAE;IACnB,gBAAgB,EAAE,EAAE;IACpB,YAAY,EAAE,EAAE;IAChB,UAAU,EAAE,EAAE;IACd,wBAAwB,EAAE,EAAE;IAC5B,4BAA4B,EAAE,EAAE;IAChC,qBAAqB,EAAE,EAAE;IACzB,sBAAsB,EAAE,EAAE;IAC1B,YAAY,EAAE,EAAE;IAChB,oBAAoB,EAAE,EAAE;IACxB,gBAAgB,EAAE,EAAE;IACpB,gBAAgB,EAAE,EAAE;IACpB,iBAAiB,EAAE,EAAE;IACrB,cAAc,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,QAAQ,G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I;YACJ,yCAAyC;YACzC,cAAc;YACd,iBAAiB;YACjB,oBAAoB;YACpB,KAAK;YACL,KAAK,CAAC,sBAAsB,GAAG,MAAM,CAAC,OAAO,CAAC;QAChD,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC;AAC3C,MAAM,CAAC,MAAM,EACX,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,gCAAgC,EAChC,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,mBAAmB,GACpB,GAAG,QAAQ,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../src/store/slices/product.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAG/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAY3C,MAAM,YAAY,GAAiB;IACjC,eAAe,EAAE,EAAE;IACnB,gBAAgB,EAAE,EAAE;IACpB,YAAY,EAAE,EAAE;IAChB,UAAU,EAAE,EAAE;IACd,wBAAwB,EAAE,EAAE;IAC5B,4BAA4B,EAAE,EAAE;IAChC,qBAAqB,EAAE,EAAE;IACzB,sBAAsB,EAAE,EAAE;IAC1B,YAAY,EAAE,EAAE;IAChB,oBAAoB,EAAE,EAAE;IACxB,gBAAgB,EAAE,EAAE;IACpB,gBAAgB,EAAE,EAAE;IACpB,iBAAiB,EAAE,EAAE;IACrB,cAAc,EAAE,EAAE;CACnB,CAAC;AAEF,MAAM,QAAQ,GAAG,WAAW,CAAC;IAC3B,IAAI,EAAE,UAAU,CAAC,eAAe;IAChC,YAAY;IACZ,QAAQ,EAAE;QACR,UAAU,CAAC,KAAK,EAAE,MAA6B;YAC7C,KAAK,CAAC,eAAe,GAAG,MAAM,CAAC,OAAO,CAAC;YACvC,KAAK,CAAC,YAAY,GAAG,MAAM,CAAC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AAC3C,MAAM,CAAC,MAAM,EACX,UAAU,EACV,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,gCAAgC,EAChC,kBAAkB,EAClB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,mBAAmB,GACpB,GAAG,QAAQ,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/products.js b/lib/store/slices/products.js index f06bd10..4f48a29 100644 --- a/lib/store/slices/products.js +++ b/lib/store/slices/products.js @@ -19,8 +19,8 @@ const plpSlice = createSlice({ }, setProducts(state, action) { state.product_lists = action.payload; - } - } + }, + }, }); export const plpReducer = plpSlice.reducer; export const { resetProductListingMeta, setProducts } = plpSlice.actions; diff --git a/lib/store/slices/products.js.map b/lib/store/slices/products.js.map index e4244d2..5546e61 100644 --- a/lib/store/slices/products.js.map +++ b/lib/store/slices/products.js.map @@ -1 +1 @@ -{"version":3,"file":"products.js","sourceRoot":"","sources":["../../../src/store/slices/products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAO/C,MAAM,YAAY,GAAkB;IAClC,aAAa,EAAE,EAAE;IACjB,oBAAoB,EAAE,EAAE;IACxB,qBAAqB,EAAE,EAAE;IACzB,uBAAuB,EAAE,EAAE;IAC3B,kBAAkB,EAAE,EAAE;IACtB,cAAc,EAAE,EAAE;IAClB,sBAAsB,EAAE,EAAE;CAC3B,CAAC;AAGF,MAAM,QAAQ,GAAG,WAAW,CAAC;IAC3B,IAAI,EAAE,UAAU;IAChB,YAAY;IACZ,QAAQ,EAAE;QACR,uBAAuB,CAAC,KAAK;YAC3B,KAAK,CAAC,oBAAoB,GAAG;gBAC3B,KAAK,EAAE,IAAI;aACZ,CAAC;QACJ,CAAC;QACD,WAAW,CAAC,KAAK,EAAE,MAAuC;YACxD,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAA;QACtC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC;AAC3C,MAAM,CAAC,MAAM,EAAE,uBAAuB,EAAE,WAAW,EAAC,GAAG,QAAQ,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"products.js","sourceRoot":"","sources":["../../../src/store/slices/products.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAK/C,MAAM,YAAY,GAAkB;IAClC,aAAa,EAAE,EAAE;IACjB,oBAAoB,EAAE,EAAE;IACxB,qBAAqB,EAAE,EAAE;IACzB,uBAAuB,EAAE,EAAE;IAC3B,kBAAkB,EAAE,EAAE;IACtB,cAAc,EAAE,EAAE;IAClB,sBAAsB,EAAE,EAAE;CAC3B,CAAC;AAEF,MAAM,QAAQ,GAAG,WAAW,CAAC;IAC3B,IAAI,EAAE,UAAU;IAChB,YAAY;IACZ,QAAQ,EAAE;QACR,uBAAuB,CAAC,KAAK;YAC3B,KAAK,CAAC,oBAAoB,GAAG;gBAC3B,KAAK,EAAE,IAAI;aACZ,CAAC;QACJ,CAAC;QACD,WAAW,CAAC,KAAK,EAAE,MAAuC;YACxD,KAAK,CAAC,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC;QACvC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG,QAAQ,CAAC,OAAO,CAAC;AAC3C,MAAM,CAAC,MAAM,EAAE,uBAAuB,EAAE,WAAW,EAAE,GAAG,QAAQ,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/share.js b/lib/store/slices/share.js index 9604166..64ef4f2 100644 --- a/lib/store/slices/share.js +++ b/lib/store/slices/share.js @@ -1,5 +1,5 @@ -import { createSlice } from '@reduxjs/toolkit'; -import { STORE_KEYS } from '../enums/keys'; +import { createSlice } from "@reduxjs/toolkit"; +import { STORE_KEYS } from "../enums/keys"; const initialState = {}; const shareSlice = createSlice({ name: STORE_KEYS.SHARE, diff --git a/lib/store/slices/share.js.map b/lib/store/slices/share.js.map index 6d2c596..c5c5128 100644 --- a/lib/store/slices/share.js.map +++ b/lib/store/slices/share.js.map @@ -1 +1 @@ -{"version":3,"file":"share.js","sourceRoot":"","sources":["../../../src/store/slices/share.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAO,EACxB,CAAC;AAGF,MAAM,UAAU,GAAG,WAAW,CAAC;IAC3B,IAAI,EAAE,UAAU,CAAC,KAAK;IACtB,YAAY;IACZ,QAAQ,EAAE,EAAE;IACZ,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,GAAG,CAAC;CAClC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC"} \ No newline at end of file +{"version":3,"file":"share.js","sourceRoot":"","sources":["../../../src/store/slices/share.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,YAAY,GAAO,EAAE,CAAC;AAE5B,MAAM,UAAU,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;IACtB,YAAY;IACZ,QAAQ,EAAE,EAAE;IACZ,aAAa,EAAE,CAAC,OAAO,EAAE,EAAE,GAAE,CAAC;CAC/B,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC"} \ No newline at end of file diff --git a/lib/store/slices/theme.js b/lib/store/slices/theme.js index efd4cb9..634734a 100644 --- a/lib/store/slices/theme.js +++ b/lib/store/slices/theme.js @@ -75,10 +75,10 @@ const themeSlice = createSlice({ }, setthemePages(state, action) { state.themePages = action.payload; - } - } + }, + }, }); export const themeReducer = themeSlice.reducer; -export const { dragSection, addSection, removeSection, updateSection, setTheme, setGlobalConfig, setAppliedTheme, setPreviewTheme, setthemePageDetail, setthemePages } = themeSlice.actions; +export const { dragSection, addSection, removeSection, updateSection, setTheme, setGlobalConfig, setAppliedTheme, setPreviewTheme, setthemePageDetail, setthemePages, } = themeSlice.actions; export default themeSlice; //# sourceMappingURL=theme.js.map \ No newline at end of file diff --git a/lib/store/slices/theme.js.map b/lib/store/slices/theme.js.map index 69e69cd..4155aa0 100644 --- a/lib/store/slices/theme.js.map +++ b/lib/store/slices/theme.js.map @@ -1 +1 @@ -{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/store/slices/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAG,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAGhD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,MAAM,YAAY,GAAe;IAC/B,KAAK,EAAE,EAAE;IACT,YAAY,EAAE,EAAE;IAChB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,EAAE;IACf,QAAQ,EAAE,EAAE;CACb,CAAC;AAGF,MAAM,UAAU,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;IACtB,YAAY;IACZ,QAAQ,EAAE;QACR,WAAW,CACT,KAAK,EACL,MAAsC;YAEtC,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC;YAC3C,IACE,CAAC,KAAK,IAAI,KAAK,KAAK,CAAC,CAAC;gBACtB,CAAC,QAAQ,IAAI,QAAQ,KAAK,CAAC,CAAC;gBAC5B,KAAK,CAAC,IAAI;gBACV,KAAK,CAAC,IAAI,CAAC,QAAQ,EACnB;gBACA,CAAC,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG;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AG,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC;QAC7D,CAAC;QACD,aAAa,CAAC,KAAK,EAAE,MAAiD;YACpE,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC;AAC/C,MAAM,CAAC,MAAM,EACX,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,QAAQ,EACR,eAAe,EACf,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,aAAa,EACd,GAAG,UAAU,CAAC,OAAO,CAAC;AAEvB,eAAe,UAAU,CAAC"} \ No newline at end of file +{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../../src/store/slices/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAS/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,MAAM,YAAY,GAAe;IAC/B,KAAK,EAAE,EAAE;IACT,YAAY,EAAE,EAAE;IAChB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,EAAE;IACf,QAAQ,EAAE,EAAE;CACb,CAAC;AAEF,MAAM,UAAU,GAAG,WAAW,CAAC;IAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;IACtB,YAAY;IACZ,QAAQ,EAAE;QACR,WAAW,CAAC,KAAK,EAAE,MAAsC;YACvD,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,MAAM,CAAC,OAAO,CAAC;YAC3C,IACE,CAAC,KAAK,IAAI,KAAK,KAAK,CAAC,CAAC;gBACtB,CAAC,QAAQ,IAAI,QAAQ,KAAK,CAAC,CAAC;gBAC5B,KAAK,CAAC,IAAI;gBACV,KAAK,CAAC,IAAI,CAAC,QAAQ,EACnB;gBACA,CAAC,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,OAAO,CAAC,MAAM,GACzB,CAAC;oBACF,OAAO,cAAc,CAAC;gBACxB,CAAC,CACF,CAAC;aACH;YACD,KAAK,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,MAAM,CAAC,OAAO,CAAC;QAC7D,CAAC;QACD,aAAa,CAAC,KAAK,EAAE,MAAiD;YACpE,KAAK,CAAC,UAAU,GAAG,MAAM,CAAC,OAAO,CAAC;QACpC,CAAC;KACF;CACF,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC;AAC/C,MAAM,CAAC,MAAM,EACX,WAAW,EACX,UAAU,EACV,aAAa,EACb,aAAa,EACb,QAAQ,EACR,eAAe,EACf,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,aAAa,GACd,GAAG,UAAU,CAAC,OAAO,CAAC;AAEvB,eAAe,UAAU,CAAC"} \ No newline at end of file diff --git a/lib/store/store.js.map b/lib/store/store.js.map index 196d566..b9419ec 100644 --- a/lib/store/store.js.map +++ b/lib/store/store.js.map @@ -1 +1 @@ -{"version":3,"file":"store.js","sourceRoot":"","sources":["../../src/store/store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;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EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,GAAG,eAAe,CAAC;IAClC,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,UAAU;IACjC,CAAC,UAAU,CAAC,eAAe,CAAC,EAAE,UAAU;IACxC,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,WAAW;IAC9B,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,aAAa;IAClC,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc;IACpC,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc;IACpC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,YAAY;IAChC,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,oBAAoB;IAChD,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,gBAAgB;IACvC,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,iBAAiB;IAC1C,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,iBAAiB;IAC1C,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,WAAW;IAC9B,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc;IACpC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,YAAY;IAChC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,YAAY;IAChC,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,aAAa;CACnC,CAAC,CAAC;AAEH,MAAM,UAAU,WAAW,CAAC,WAAoB;IAC9C,MAAM,KAAK,GAAG,cAAc,CAAC;QAC3B,OAAO,EAAE,WAAW;QACpB,cAAc,EAAE,WAAW,IAAI,EAAE;KAClC,CAAC,CAAC;IAEH,OAAO,KAAK,CAAC;AACf,CAAC"} \ No newline at end of file diff --git a/lib/store/utils/gateways/ajiodhan.js b/lib/store/utils/gateways/ajiodhan.js index 0d5c38f..6d29b75 100644 --- a/lib/store/utils/gateways/ajiodhan.js +++ b/lib/store/utils/gateways/ajiodhan.js @@ -4,8 +4,8 @@ export default class AjiodhanPayment { this.paymentFlow = selectedPayment.paymentFlowMeta; } /* - transaction - **/ + transaction + **/ transaction(obj) { var self = this; // const body = { diff --git a/lib/store/utils/gateways/ajiodhan.js.map b/lib/store/utils/gateways/ajiodhan.js.map index 69f40fa..4731322 100644 --- a/lib/store/utils/gateways/ajiodhan.js.map +++ b/lib/store/utils/gateways/ajiodhan.js.map @@ -1 +1 @@ -{"version":3,"file":"ajiodhan.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/ajiodhan.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,eAAe;IAGhC,YAAY,eAA0C;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAAQ;QAChB,IAAI,IAAI,GAAG,IAAI,CAAC;QAChB,iBAAiB;QACjB,8BAA8B;QAC9B,4BAA4B;QAC5B,uBAAuB;QACvB,KAAK;QACL,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAC9C,IAAI;gBACA,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC,YAAY,CAAC;gBACnC,OAAO,EAAE,CAAC;aACb;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"ajiodhan.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/ajiodhan.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,eAAe;IAGlC,YAAY,eAAyC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED;;SAEK;IACL,WAAW,CAAC,GAAQ;QAClB,IAAI,IAAI,GAAG,IAAI,CAAC;QAChB,iBAAiB;QACjB,8BAA8B;QAC9B,4BAA4B;QAC5B,uBAAuB;QACvB,KAAK;QACL,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAChD,IAAI;gBACF,MAAM,CAAC,QAAQ,GAAG,GAAG,CAAC,YAAY,CAAC;gBACnC,OAAO,EAAE,CAAC;aACX;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/ccavenue.js b/lib/store/utils/gateways/ccavenue.js index 376e8c4..9d5dda4 100644 --- a/lib/store/utils/gateways/ccavenue.js +++ b/lib/store/utils/gateways/ccavenue.js @@ -7,7 +7,7 @@ export default class CcavenuePayment { transaction(obj) { return new Promise((resolve, reject) => { try { - dummyFormSubmit(this.paymentFlow.api_link, obj, 'POST'); + dummyFormSubmit(this.paymentFlow.api_link, obj, "POST"); resolve(true); } catch (err) { diff --git a/lib/store/utils/gateways/ccavenue.js.map b/lib/store/utils/gateways/ccavenue.js.map index a114328..b64fdca 100644 --- a/lib/store/utils/gateways/ccavenue.js.map +++ b/lib/store/utils/gateways/ccavenue.js.map @@ -1 +1 @@ -{"version":3,"file":"ccavenue.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/ccavenue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAU3C,MAAM,CAAC,OAAO,OAAO,eAAe;IAIhC,YAAY,eAAgC;QACxC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,CAAC;IAED,WAAW,CAAC,GAAQ;QAChB,OAAO,IAAI,OAAO,CAAU,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC5C,IAAI;gBACA,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;gBACxD,OAAO,CAAC,IAAI,CAAC,CAAC;aACjB;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"ccavenue.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/ccavenue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAU3C,MAAM,CAAC,OAAO,OAAO,eAAe;IAIlC,YAAY,eAAgC;QAC1C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED,WAAW,CAAC,GAAQ;QAClB,OAAO,IAAI,OAAO,CAAU,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC9C,IAAI;gBACF,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;gBACxD,OAAO,CAAC,IAAI,CAAC,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/epaylater.js b/lib/store/utils/gateways/epaylater.js index de6d10a..d3e0936 100644 --- a/lib/store/utils/gateways/epaylater.js +++ b/lib/store/utils/gateways/epaylater.js @@ -5,8 +5,8 @@ export default class EpayLaterPayment { this.paymentFlow = selectedPayment.paymentFlowMeta; } /* - transaction - **/ + transaction + **/ transaction(obj) { var self = this; const body = { diff --git a/lib/store/utils/gateways/epaylater.js.map b/lib/store/utils/gateways/epaylater.js.map index 4f8a368..4a98e82 100644 --- a/lib/store/utils/gateways/epaylater.js.map +++ b/lib/store/utils/gateways/epaylater.js.map @@ -1 +1 @@ -{"version":3,"file":"epaylater.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/epaylater.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,MAAM,CAAC,OAAO,OAAO,gBAAgB;IAGjC,YAAY,eAA0C;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAAiD;QACzD,IAAI,IAAI,GAAG,IAAI,CAAC;QAChB,MAAM,IAAI,GAAG;YACT,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,KAAK,EAAE,GAAG,CAAC,KAAK;SACnB,CAAC;QACF,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAC9C,IAAI;gBACA,4DAA4D;gBAC5D,OAAO,EAAE,CAAC;aACb;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"epaylater.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/epaylater.ts"],"names":[],"mappings":"AAAA,8CAA8C;AAE9C,MAAM,CAAC,OAAO,OAAO,gBAAgB;IAGnC,YAAY,eAAyC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED;;SAEK;IACL,WAAW,CAAC,GAAgD;QAC1D,IAAI,IAAI,GAAG,IAAI,CAAC;QAChB,MAAM,IAAI,GAAG;YACX,QAAQ,EAAE,GAAG,CAAC,QAAQ;YACtB,OAAO,EAAE,GAAG,CAAC,OAAO;YACpB,KAAK,EAAE,GAAG,CAAC,KAAK;SACjB,CAAC;QACF,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAChD,IAAI;gBACF,4DAA4D;gBAC5D,OAAO,EAAE,CAAC;aACX;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/helper.js b/lib/store/utils/gateways/helper.js index 146db77..372a583 100644 --- a/lib/store/utils/gateways/helper.js +++ b/lib/store/utils/gateways/helper.js @@ -1,11 +1,11 @@ -export function dummyFormSubmit(path, params, method = 'POST') { - const form = document.createElement('form'); +export function dummyFormSubmit(path, params, method = "POST") { + const form = document.createElement("form"); form.method = method; form.action = path; for (const key in params) { if (params.hasOwnProperty(key)) { - const hiddenField = document.createElement('input'); - hiddenField.type = 'hidden'; + const hiddenField = document.createElement("input"); + hiddenField.type = "hidden"; hiddenField.name = key; hiddenField.value = params[key]; form.appendChild(hiddenField); diff --git a/lib/store/utils/gateways/helper.js.map b/lib/store/utils/gateways/helper.js.map index a6ed988..a3598f6 100644 --- a/lib/store/utils/gateways/helper.js.map +++ b/lib/store/utils/gateways/helper.js.map @@ -1 +1 @@ -{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/helper.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,IAAQ,EAAE,MAAU,EAAE,MAAM,GAAG,MAAM;IACnE,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IAEnB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACtB,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YAC5B,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACpD,WAAW,CAAC,IAAI,GAAG,QAAQ,CAAC;YAC5B,WAAW,CAAC,IAAI,GAAG,GAAG,CAAC;YACvB,WAAW,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAEhC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;SACjC;KACJ;IAED,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,CAAC,MAAM,EAAE,CAAC;AAChB,CAAC"} \ No newline at end of file +{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/helper.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,IAAS,EAAE,MAAW,EAAE,MAAM,GAAG,MAAM;IACrE,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IAEnB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YAC9B,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACpD,WAAW,CAAC,IAAI,GAAG,QAAQ,CAAC;YAC5B,WAAW,CAAC,IAAI,GAAG,GAAG,CAAC;YACvB,WAAW,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAEhC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;SAC/B;KACF;IAED,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,CAAC,MAAM,EAAE,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/lib/store/utils/gateways/index.js b/lib/store/utils/gateways/index.js index 1df4c68..fee86f5 100644 --- a/lib/store/utils/gateways/index.js +++ b/lib/store/utils/gateways/index.js @@ -1,15 +1,15 @@ -import JuspayPayment from './juspay'; -import RazorpayPayment from './razorpay'; -import SimplypayPayment from './simply'; -import RupifiPayment from './rupifi'; -import PayumoneyPayment from './payumoney'; -import JiopayPayment from './jiopay'; -import JioPayment from './jio'; -import PotleePayment from './potlee'; -import EpayLaterPayment from './epaylater'; -import AjiodhanPayment from './ajiodhan'; -import StandardExtension from './standard_extension'; -import CcavenuePayment from './ccavenue'; +import JuspayPayment from "./juspay"; +import RazorpayPayment from "./razorpay"; +import SimplypayPayment from "./simply"; +import RupifiPayment from "./rupifi"; +import PayumoneyPayment from "./payumoney"; +import JiopayPayment from "./jiopay"; +import JioPayment from "./jio"; +import PotleePayment from "./potlee"; +import EpayLaterPayment from "./epaylater"; +import AjiodhanPayment from "./ajiodhan"; +import StandardExtension from "./standard_extension"; +import CcavenuePayment from "./ccavenue"; export const PaymentGatway = { Juspay: JuspayPayment, Razorpay: RazorpayPayment, diff --git a/lib/store/utils/gateways/index.js.map b/lib/store/utils/gateways/index.js.map index 9e2ec42..6d663c6 100644 --- a/lib/store/utils/gateways/index.js.map +++ b/lib/store/utils/gateways/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,eAAe,MAAM,YAAY,CAAC;AACzC,OAAO,gBAAgB,MAAM,UAAU,CAAC;AACxC,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,UAAU,MAAM,OAAO,CAAC;AAC/B,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,eAAe,MAAM,YAAY,CAAC;AACzC,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,eAAe,MAAM,YAAY,CAAC;AAEzC,MAAM,CAAC,MAAM,aAAa,GAAwB;IAC9C,MAAM,EAAE,aAAa;IACrB,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,aAAa;IACrB,SAAS,EAAE,gBAAgB;IAC3B,MAAM,EAAE,aAAa;IACrB,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,gBAAgB;IAC3B,QAAQ,EAAE,eAAe;IACzB,iBAAiB,EAAE,iBAAiB;IACpC,QAAQ,EAAE,eAAe;CAC5B,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,eAAe,MAAM,YAAY,CAAC;AACzC,OAAO,gBAAgB,MAAM,UAAU,CAAC;AACxC,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,UAAU,MAAM,OAAO,CAAC;AAC/B,OAAO,aAAa,MAAM,UAAU,CAAC;AACrC,OAAO,gBAAgB,MAAM,aAAa,CAAC;AAC3C,OAAO,eAAe,MAAM,YAAY,CAAC;AACzC,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,eAAe,MAAM,YAAY,CAAC;AAEzC,MAAM,CAAC,MAAM,aAAa,GAAwB;IAChD,MAAM,EAAE,aAAa;IACrB,QAAQ,EAAE,eAAe;IACzB,KAAK,EAAE,gBAAgB;IACvB,MAAM,EAAE,aAAa;IACrB,MAAM,EAAE,aAAa;IACrB,SAAS,EAAE,gBAAgB;IAC3B,MAAM,EAAE,aAAa;IACrB,GAAG,EAAE,UAAU;IACf,SAAS,EAAE,gBAAgB;IAC3B,QAAQ,EAAE,eAAe;IACzB,iBAAiB,EAAE,iBAAiB;IACpC,QAAQ,EAAE,eAAe;CAC1B,CAAC"} \ No newline at end of file diff --git a/lib/store/utils/gateways/jio.js b/lib/store/utils/gateways/jio.js index 77633ba..3ad1569 100644 --- a/lib/store/utils/gateways/jio.js +++ b/lib/store/utils/gateways/jio.js @@ -4,8 +4,8 @@ export default class JioPayment { this.paymentFlow = selectedPayment.paymentFlowMeta; } /* - transaction - **/ + transaction + **/ transaction(obj) { const self = this; const body = { diff --git a/lib/store/utils/gateways/jio.js.map b/lib/store/utils/gateways/jio.js.map index 801705f..3ff5665 100644 --- a/lib/store/utils/gateways/jio.js.map +++ b/lib/store/utils/gateways/jio.js.map @@ -1 +1 @@ -{"version":3,"file":"jio.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/jio.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,OAAO,UAAU;IAI3B,YAAY,eAA0C;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAA0B;QAClC,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,IAAI,GAAG;YACT,WAAW,EAAE,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,WAAW;SAChC,CAAC;QAEF,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAC9C,IAAI;gBACA,OAAO,EAAE,CAAC;aACb;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"jio.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/jio.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,UAAU;IAI7B,YAAY,eAAyC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED;;SAEK;IACL,WAAW,CAAC,GAAyB;QACnC,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,IAAI,GAAG;YACX,WAAW,EAAE,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,WAAW;SAC9B,CAAC;QAEF,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAChD,IAAI;gBACF,OAAO,EAAE,CAAC;aACX;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/jiopay.js b/lib/store/utils/gateways/jiopay.js index 028fa85..dcd7235 100644 --- a/lib/store/utils/gateways/jiopay.js +++ b/lib/store/utils/gateways/jiopay.js @@ -4,8 +4,8 @@ export default class JiopayPayment { this.paymentFlow = selectedPayment.paymentFlowMeta; } /* - transaction - **/ + transaction + **/ transaction(obj) { var self = this; let body = { diff --git a/lib/store/utils/gateways/jiopay.js.map b/lib/store/utils/gateways/jiopay.js.map index 6952fc6..c65bbcb 100644 --- a/lib/store/utils/gateways/jiopay.js.map +++ b/lib/store/utils/gateways/jiopay.js.map @@ -1 +1 @@ -{"version":3,"file":"jiopay.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/jiopay.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,OAAO,aAAa;IAG9B,YAAY,eAA0C;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAA+J;QACvK,IAAI,IAAI,GAAG,IAAI,CAAC;QAChB,IAAI,IAAI,GAAG;YACP,GAAG,EAAE,GAAG,CAAC,WAAW;YACpB,UAAU,EAAE,GAAG,CAAC,UAAU;YAC1B,cAAc,EAAE,GAAG,CAAC,cAAc;YAClC,QAAQ,EAAE,GAAG,CAAC,QAAQ;SACzB,CAAC;QACF,IAAI,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YAClD,IAAI,mCAAQ,IAAI,GAAK,GAAG,CAAC,MAAM,CAAE,CAAC;SACrC;QACD,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAC9C,IAAI;gBACA,OAAO,EAAE,CAAC;aACb;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"jiopay.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/jiopay.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,aAAa;IAGhC,YAAY,eAAyC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED;;SAEK;IACL,WAAW,CAAC,GAWX;QACC,IAAI,IAAI,GAAG,IAAI,CAAC;QAChB,IAAI,IAAI,GAAG;YACT,GAAG,EAAE,GAAG,CAAC,WAAW;YACpB,UAAU,EAAE,GAAG,CAAC,UAAU;YAC1B,cAAc,EAAE,GAAG,CAAC,cAAc;YAClC,QAAQ,EAAE,GAAG,CAAC,QAAQ;SACvB,CAAC;QACF,IAAI,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE;YACpD,IAAI,mCAAQ,IAAI,GAAK,GAAG,CAAC,MAAM,CAAE,CAAC;SACnC;QACD,OAAO,IAAI,OAAO,CAAO,UAAU,OAAO,EAAE,MAAM;YAChD,IAAI;gBACF,OAAO,EAAE,CAAC;aACX;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/juspay.js b/lib/store/utils/gateways/juspay.js index 9a7bbc2..48c7c13 100644 --- a/lib/store/utils/gateways/juspay.js +++ b/lib/store/utils/gateways/juspay.js @@ -1,4 +1,4 @@ -import qs from 'qs'; +import qs from "qs"; export default class JuspayPayment { constructor(selectedPayment) { this.selectedPayment = selectedPayment; @@ -25,8 +25,8 @@ export default class JuspayPayment { transaction(obj) { let self = this; let data = Object.assign({}, obj, { - format: 'json', - redirect_after_payment: 'true', + format: "json", + redirect_after_payment: "true", }); // TODO : handle error scenrios // Not using axios as it is always sending withCredentials:true, causing cors error @@ -39,7 +39,7 @@ export default class JuspayPayment { let jpData = JSON.parse(httpRequest.responseText); let authentication = (_a = jpData.payment) === null || _a === void 0 ? void 0 : _a.authentication; if (authentication === null || authentication === void 0 ? void 0 : authentication.url) { - if (authentication.method === 'POST') { + if (authentication.method === "POST") { } else { window.location.href = authentication.url; @@ -49,13 +49,12 @@ export default class JuspayPayment { } else { let jpData = JSON.parse(httpRequest.responseText); - return reject(new Error(jpData.error_message || - 'Transaction Initiation Failed')); + return reject(new Error(jpData.error_message || "Transaction Initiation Failed")); } } }; - httpRequest.open('POST', self.paymentFlow.api_link); - httpRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); + httpRequest.open("POST", self.paymentFlow.api_link); + httpRequest.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); httpRequest.send(qs.stringify(data)); }); } diff --git a/lib/store/utils/gateways/juspay.js.map b/lib/store/utils/gateways/juspay.js.map index 21a8a76..2a31dc9 100644 --- a/lib/store/utils/gateways/juspay.js.map +++ b/lib/store/utils/gateways/juspay.js.map @@ -1 +1 @@ -{"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/juspay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,MAAM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cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,GAAG,EAAE;4BACrB,IAAI,cAAc,CAAC,MAAM,KAAK,MAAM,EAAE;6BACrC;iCAAM;gCACH,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,cAAc,CAAC,GAAG,CAAC;6BAC7C;4BACD,OAAO,OAAO,EAAE,CAAC;yBACpB;qBACJ;yBAAM;wBACH,IAAI,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;wBAClD,OAAO,MAAM,CACT,IAAI,KAAK,CACL,MAAM,CAAC,aAAa;4BACpB,+BAA+B,CAClC,CACJ,CAAC;qBACL;iBACJ;YACL,CAAC,CAAC;YACF,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;YACpD,WAAW,CAAC,gBAAgB,CACxB,cAAc,EACd,mCAAmC,CACtC,CAAC;YACF,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QACzC,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"juspay.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/juspay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,MAAM,CAAC,OAAO,OAAO,aAAa;IAIhC,YAAY,eAAyC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED,qBAAqB,CAAC,GAOrB;QACC,IAAI,GAAG,CAAC,UAAU,EAAE;YAClB,OAAO;gBACL,UAAU,EAAE,GAAG,CAAC,UAAU;gBAC1B,kBAAkB,EAAE,GAAG,CAAC,kBAAkB;aAC3C,CAAC;SACH;aAAM;YACL,OAAO;gBACL,WAAW,EAAE,GAAG,CAAC,WAAW;gBAC5B,k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,CACxD,CACF,CAAC;qBACH;iBACF;YACH,CAAC,CAAC;YACF,WAAW,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;YACpD,WAAW,CAAC,gBAAgB,CAC1B,cAAc,EACd,mCAAmC,CACpC,CAAC;YACF,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC;QACvC,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/payumoney.js.map b/lib/store/utils/gateways/payumoney.js.map index 94b5a57..7d4fa2a 100644 --- a/lib/store/utils/gateways/payumoney.js.map +++ b/lib/store/utils/gateways/payumoney.js.map @@ -1 +1 @@ -{"version":3,"file":"payumoney.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/payumoney.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,OAAO,gBAAgB;IAIjC,YAAY,eAA0C;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,CAAC;IAED,WAAW;QAEP,OAAO,IAAI,OAAO,CAAC,UAAU,OAAO,EAAE,MAAM;YACxC,IAAI;gBACA,OAAO,CAAC,IAAI,CAAC,CAAC;aACjB;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"payumoney.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/payumoney.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,gBAAgB;IAInC,YAAY,eAAyC;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED,WAAW;QACT,OAAO,IAAI,OAAO,CAAC,UAAU,OAAO,EAAE,MAAM;YAC1C,IAAI;gBACF,OAAO,CAAC,IAAI,CAAC,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/potlee.js b/lib/store/utils/gateways/potlee.js index 8631052..b261c0e 100644 --- a/lib/store/utils/gateways/potlee.js +++ b/lib/store/utils/gateways/potlee.js @@ -208,7 +208,8 @@ export default class PotleePayment { let { merchant_profile_id } = data, options = __rest(data, ["merchant_profile_id"]); options.phone_number = this.paymentFlow.data.gateway.sdk.data.user_phone; return new Promise((resolve, reject) => { - window.fpi.executeGQL(` + window.fpi + .executeGQL(` mutation VerifyCustomerForPayment { verifyCustomerForPayment( validateCustomerRequestInput: { @@ -256,7 +257,8 @@ export default class PotleePayment { }; //verifyAndChargePayment return new Promise((resolve, reject) => { - window.fpi.executeGQL(` + window.fpi + .executeGQL(` mutation VerifyAndChargePayment { verifyAndChargePayment( chargeCustomerRequestInput: { diff --git a/lib/store/utils/gateways/potlee.js.map b/lib/store/utils/gateways/potlee.js.map index d4336b9..034931d 100644 --- a/lib/store/utils/gateways/potlee.js.map +++ b/lib/store/utils/gateways/potlee.js.map @@ -1 +1 @@ -{"version":3,"file":"potlee.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/potlee.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,MAAM,QAAQ,GAAG;IACf,YAAY,EAAE,uDAAuD;IACrE,cAAc,EAAE,0DAA0D;IAC1E,iBAAiB,EAAE,+CAA+C;IAClE,iBAAiB,EAAE,yDAAyD;IAC5E,mBAAmB,EACjB,yDAAyD;IAC3D,uBAAuB,EACrB,2DAA2D;IAC7D,6BAA6B,EAAE,qCAAqC;IACpE,6CAA6C,EAC3C,wDAAwD;IAC1D,yBAAyB,EACvB,uDAAuD;IACzD,WAAW,EAAE,uDA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AAC,IAAS,EAAE,EAAE;gBAClB,IAAI,IAAI,CAAC,OAAO,EAAE;oBAChB,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;iBACtB;gBACD,MAAM,EAAE,GAAQ,IAAI,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBACxC,EAAE,CAAC,IAAI,GAAG,IAAI,CAAC;gBACf,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC;YACpB,CAAC,CAAC;iBACD,KAAK,CAAC,CAAC,GAAQ,EAAE,EAAE;gBAClB,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;YACrB,CAAC,CAAC;iBACD,OAAO,CAAC,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC;IAED,YAAY;QACV,IAAI,YAAY,GAAG;YACjB,GAAG,EAAE,iEAAiE;SACvE,CAAC;QACF,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3C,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAChD,MAAM,CAAC,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;YAE9B,wCAAwC;YACxC,MAAM,CAAC,MAAM,GAAG,GAAG,EAAE;gBACnB,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC;YAEF,wDAAwD;YACxD,MAAM,CAAC,OAAO,GAAG,GAAG,EAAE;gBACpB,MAAM,CAAC,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC;YAEF,qCAAqC;YACrC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"potlee.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/potlee.ts"],"names":[],"mapp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,GAAG,EAAE;gBACpB,MAAM,CAAC,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC;YAEF,qCAAqC;YACrC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/razorpay.d.ts b/lib/store/utils/gateways/razorpay.d.ts index 2acb74e..5b0a502 100644 --- a/lib/store/utils/gateways/razorpay.d.ts +++ b/lib/store/utils/gateways/razorpay.d.ts @@ -21,19 +21,20 @@ export default class RazorpayPayment { card_exp_year: any; }): { card_token: any; - 'card[cvv]': any; - 'card[name]'?: undefined; - 'card[number]'?: undefined; - 'card[expiry_month]'?: undefined; - 'card[expiry_year]'?: undefined; + "card[cvv]": any; + "card[name]"?: undefined; + "card[number]"?: undefined; + "card[expiry_month]"?: undefined; + "card[expiry_year]"?: undefined; } | { - 'card[name]': any; - 'card[number]': any; - 'card[cvv]': any; - 'card[expiry_month]': any; - 'card[expiry_year]': any; + "card[name]": any; + "card[number]": any; + "card[cvv]": any; + "card[expiry_month]": any; + "card[expiry_year]": any; card_token?: undefined; }; + getSupportedUpiIntentApps(): Promise; transaction(obj: any, consent: { checkedBoxValue: any; paymentdata: { diff --git a/lib/store/utils/gateways/razorpay.js b/lib/store/utils/gateways/razorpay.js index 017f77e..571f17b 100644 --- a/lib/store/utils/gateways/razorpay.js +++ b/lib/store/utils/gateways/razorpay.js @@ -8,19 +8,48 @@ export default class RazorpayPayment { if (obj.card_token) { return { card_token: obj.card_token, - 'card[cvv]': obj.card_security_code, + "card[cvv]": obj.card_security_code, }; } else { return { - 'card[name]': obj.name_on_card, - 'card[number]': obj.card_number, - 'card[cvv]': obj.card_security_code, - 'card[expiry_month]': obj.card_exp_month, - 'card[expiry_year]': obj.card_exp_year, + "card[name]": obj.name_on_card, + "card[number]": obj.card_number, + "card[cvv]": obj.card_security_code, + "card[expiry_month]": obj.card_exp_month, + "card[expiry_year]": obj.card_exp_year, }; } } + getSupportedUpiIntentApps() { + const self = this; + return new Promise(function (resolve, reject) { + var _a, _b; + self.razorpay = new window.Razorpay({ + key: (_b = (_a = self.state.payment.aggregators_config) === null || _a === void 0 ? void 0 : _a.razorpay) === null || _b === void 0 ? void 0 : _b.key, + image: 'https://rj-cdn.gofynd.com/rpublic/imgs/fynd_logo.png' + }); + self.razorpay.getSupportedUpiIntentApps() + .then((data) => { + console.log("List of apps: ", data); + const upiApps = []; + data.forEach((app) => { + self.razorpay.checkPaymentAdapter(app) + .then(() => { + upiApps.push(app); + }) + .catch((err) => { + console.log(err); + }); + }); + return resolve(upiApps); + }) + .catch((err) => { + console.log(err); + return resolve([]); + }); + }); + } transaction(obj, consent) { const self = this; return new Promise(function (resolve, reject) { @@ -40,7 +69,16 @@ export default class RazorpayPayment { redirect: true, }); delete data.callback_url; - self.razorpay.createPayment(data); + const upiApp = data.upi_app; + if (upiApp) { + delete data.vpa; + delete data.upi_app; + self.razorpay.createPayment(data, { app: upiApp }); + } + else { + delete data.upi_app; + self.razorpay.createPayment(data); + } self.razorpay.on('payment.success', function (o) { return resolve(o); }); @@ -54,7 +92,7 @@ export default class RazorpayPayment { src: "https://checkout.razorpay.com/v1/razorpay.js", }; return new Promise((resolve, reject) => { - const script = document.createElement('script'); + const script = document.createElement("script"); script.src = scriptObject.src; // Resolve promise when script is loaded script.onload = () => { diff --git a/lib/store/utils/gateways/razorpay.js.map b/lib/store/utils/gateways/razorpay.js.map index b4ef514..8f16a7e 100644 --- a/lib/store/utils/gateways/razorpay.js.map +++ b/lib/store/utils/gateways/razorpay.js.map @@ -1 +1 @@ -{"version":3,"file":"razorpay.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/razorpay.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,OAAO,OAAO,eAAe;IAKhC,YAAY,eAA0C,EAAU,KAAU;QAAV,UAAK,GAAL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E,GAAG;gBACzD,KAAK,EAAE,sDAAsD;gBAC7D,YAAY,EAAE,IAAI,CAAC,YAAY;gBAC/B,QAAQ,EAAE,IAAI;aACjB,CAAC,CAAC;YACH,OAAO,IAAI,CAAC,YAAY,CAAC;YACzB,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;YAClC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,iBAAiB,EAAE,UAAU,CAAU;gBACpD,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC;YACtB,CAAC,CAAC,CAAC;YACH,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,eAAe,EAAE,UAAU,CAAM;gBAC9C,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC;YACrB,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC;IAED,YAAY;QACR,IAAI,YAAY,GAAG;YACf,GAAG,EAAE,8CAA8C;SACtD,CAAC;QAEF,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACzC,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC;YAChD,MAAM,CAAC,GAAG,GAAG,YAAY,CAAC,GAAG,CAAC;YAE9B,wCAAwC;YACxC,MAAM,CAAC,MAAM,GAAG,GAAG,EAAE;gBACjB,OAAO,EAAE,CAAC;YACd,CAAC,CAAC;YACF,MAAM,CAAC,OAAO,GAAG,GAAG,EAAE;gBAClB,MAAM,CAAC,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YAC9D,CAAC,CAAC;YAEF,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"razorpay.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/razorpay.ts"],"names":[],"mappings":"AAMA,MA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AAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC;YAEF,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/rupifi.js b/lib/store/utils/gateways/rupifi.js index b607e8f..79b398a 100644 --- a/lib/store/utils/gateways/rupifi.js +++ b/lib/store/utils/gateways/rupifi.js @@ -16,7 +16,8 @@ export default class RupifiPayment { transaction_amount_in_paise: self.selectedPayment.amount, }; return new Promise((resolve, reject) => { - window.fpi.executeGQL(` + window.fpi + .executeGQL(` mutation VerifyCustomerForPayment { verifyCustomerForPayment( validateCustomerRequestInput: { diff --git a/lib/store/utils/gateways/rupifi.js.map b/lib/store/utils/gateways/rupifi.js.map index 6dfe5b9..e922a3f 100644 --- a/lib/store/utils/gateways/rupifi.js.map +++ b/lib/store/utils/gateways/rupifi.js.map @@ -1 +1 @@ -{"version":3,"file":"rupifi.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/rupifi.ts"],"names":[],"mappings":"AACA,MAAM,CAAC,OAAO,OAAO,aAAa;IAShC,YACE,eAKC;QAED,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED,UAAU,CAAC,MAAW,EAAE,KAAU;QAChC,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CACzC,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,EAAE,GAAG,GAAG,GAAG,sBAAsB,CAC7D,CAAC;QACF,IAAI,OAAO,GAAG;YACZ,OAAO,EAAE,EAAE;YACX,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,eAAe;YAChD,YAAY,EAAE,KAAK;YACnB,eAAe,EAAE;gBACf,MAAM,EAAE,KAAK;aACd;YACD,2BA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AC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"rupifi.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/rupifi.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,OAAO,aAAa;IAShC,YAAY,eAKX;QACC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED,UAAU,CAAC,MAAW,EAAE,KAAU;QAChC,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CACzC,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,EAAE,GAAG,GAAG,GAAG,sBAAsB,CAC7D,CAAC;QACF,IAAI,OAAO,GAAG;YACZ,OAAO,EAAE,EAAE;YACX,UAAU,EAAE,IAAI,CAAC,eAAe,CAAC,eAAe;YAChD,YAAY,EAAE,KAAK;YACnB,eAAe,EAAE;gBACf,MAAM,EAAE,KAAK;aACd;YACD,2BAA2B,EAAE,IAAI,CAAC,eAAe,CAAC,MAAM;SACzD,CAAC;QACF,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3C,MAAM,CAAC,GAAG;iBACP,UAAU,CACT;;;;iCAIuB,OAAO,CAAC,UAAU;sCACb,OAAO,CAAC,eAAe;8BAC/B,OAAO,CAAC,OAAO;mCACV,OAAO,CAAC,YAAY;iDACN,OAAO,CAAC,2BAA2B;;;;;;;;WAQzE,CACF;iBACA,IAAI,CAAC,CAAC,IAAS,EAAE,EAAE;;gBAClB,IAAI,IAAI,CAAC,OAAO,KAAI,MAAA,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,IAAI,0CAAE,IAAI,0CAAE,QAAQ,CAAA,EAAE;oBAC9C,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,eAAe,CAAC,UAAU,CAAC,CAAC;iBAC3C;YACH,CAAC,CAAC;iBACD,KAAK,CAAC,CAAC,GAAQ,EAAE,EAAE;gBAClB,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,YAAY,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;gBAC/C,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC;YACzB,CAAC,CAAC;iBACD,OAAO,CAAC,GAAG,EAAE;gBACZ,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC;IAED,WAAW,CAAC,GAAQ;QAClB,OAAO,IAAI,OAAO,CAAC,UAAU,OAAO,EAAE,MAAM;YAC1C,IAAI;gBACF,IAAI,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;gBAClC,MAAM,CAAC,QAAQ,CAAC,IAAI,GAAG,IAAI,CAAC,YAAY,CAAC;aAC1C;YAAC,OAAO,KAAK,EAAE;gBACd,MAAM,CAAC,KAAK,CAAC,CAAC;aACf;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/simply.js.map b/lib/store/utils/gateways/simply.js.map index 0466682..71d6dd1 100644 --- a/lib/store/utils/gateways/simply.js.map +++ b/lib/store/utils/gateways/simply.js.map @@ -1 +1 @@ -{"version":3,"file":"simply.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/simply.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,MAAM,QAAQ,GAAG;IACf,YAAY,EAAE,uDAAuD;IACrE,cAAc,EAAE,yDAAyD;IACzE,iBAAiB,EAAE,8CAA8C;IACjE,iBAAiB,EAAE,wDAAwD;IAC3E,mBAAmB,EAAE,wDAAwD;IAC7E,uBAAuB,EACrB,2DAA2D;IAC7D,6BAA6B,EAAE,qCAAqC;IACpE,6CAA6C,EAC3C,wDAAwD;IAC1D,yBAAyB,EACvB,uDAAuD;IACzD,WAAW,EAAE,uDAAuD;IACp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ACpC,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file +{"version":3,"file":"simply.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/simply.ts"],"names":[],"mappings":";;;;;;;;;;;AAEA,MAAM,QAAQ,GAAG;IACf,YAAY,EAAE,uDAAuD;IACrE,cAAc,EAAE,yDAAyD;IACzE,iBAAiB,EAAE,8CAA8C;IACjE,iBAAiB,EAAE,wDAAwD;IAC3E,mBAAmB,EAAE,wDAAwD;IAC7E,uBAAuB,EACrB,2DAA2D;IAC7D,6BAA6B,EAAE,qCAAqC;IACpE,6CAA6C,EAC3C,wDAAwD;IAC1D,yBAAyB,EACvB,uDAAuD;IACzD,WAAW,EAAE,uDAAuD;IACpE,cAAc,EAAE,gCAAgC;CACjD,CAAC;AAcF,MAAM,CAAC,OAAO,OAAO,gBAAgB;IAInC,YAAY,eAAgC;QAC1C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED;;;OAGG;IACH,UAAU;QACR,MAAM,IAAI,GAAG,IAAI,CAAC;QAClB,MAAM,YAAY,GAAG,QAAQ,CAAC,aAAa,CACzC,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,EAAE,GAAG,GAAG,GAAG,sBAAsB,CAC7D,CAAC;QACF,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CACtC,GAAG,GAAG,IAAI,CAAC,eAAe,CAAC,EAAE,GAAG,GAAG,GAAG,iBAAiB,CACxD,CAAC;QAEF,OAAO,IAAI,OAAO,CAAC,UAAU,OAAO,EAAE,MAAM;YAC1C,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE;gBACjB,OAAO,MAAM,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,WAAW,EAAE,CAAC,CAAC;aAClD;YACD,IAAI,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,+BAA+B,EAAE;g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AAM,CAAC,YAAY,CAAC,IAAI,EAAE,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;gBACtD,CAAC,CAAC,CAAC;aACJ;YAED,wCAAwC;YACxC,MAAM,CAAC,MAAM,GAAG,GAAG,EAAE;gBACnB,OAAO,EAAE,CAAC;YACZ,CAAC,CAAC;YAEF,wDAAwD;YACxD,MAAM,CAAC,OAAO,GAAG,GAAG,EAAE;gBACpB,MAAM,CAAC,IAAI,KAAK,CAAC,0BAA0B,MAAM,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;YAC5D,CAAC,CAAC;YAEF,qCAAqC;YACrC,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/gateways/standard_extension.js b/lib/store/utils/gateways/standard_extension.js index 90d508f..6fa7ec0 100644 --- a/lib/store/utils/gateways/standard_extension.js +++ b/lib/store/utils/gateways/standard_extension.js @@ -5,12 +5,12 @@ export default class StandardExtension { this.paymentFlow = selectedPayment.paymentFlowMeta; } /* - transaction - **/ + transaction + **/ transaction(obj) { return new Promise((resolve, reject) => { try { - dummyFormSubmit(this.paymentFlow.api_link, obj, 'POST'); + dummyFormSubmit(this.paymentFlow.api_link, obj, "POST"); resolve(); } catch (err) { diff --git a/lib/store/utils/gateways/standard_extension.js.map b/lib/store/utils/gateways/standard_extension.js.map index 9f14fdc..2441676 100644 --- a/lib/store/utils/gateways/standard_extension.js.map +++ b/lib/store/utils/gateways/standard_extension.js.map @@ -1 +1 @@ -{"version":3,"file":"standard_extension.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/standard_extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAU3C,MAAM,CAAC,OAAO,OAAO,iBAAiB;IAIlC,YAAY,eAAgC;QACxC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACvD,CAAC;IAED;;OAEG;IACH,WAAW,CAAC,GAAQ;QAChB,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YACzC,IAAI;gBACA,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;gBACxD,OAAO,EAAE,CAAC;aACb;YAAC,OAAO,GAAG,EAAE;gBACV,MAAM,CAAC,GAAG,CAAC,CAAC;aACf;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ"} \ No newline at end of file +{"version":3,"file":"standard_extension.js","sourceRoot":"","sources":["../../../../src/store/utils/gateways/standard_extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAU3C,MAAM,CAAC,OAAO,OAAO,iBAAiB;IAIpC,YAAY,eAAgC;QAC1C,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,eAAe,CAAC;IACrD,CAAC;IAED;;SAEK;IACL,WAAW,CAAC,GAAQ;QAClB,OAAO,IAAI,OAAO,CAAO,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;YAC3C,IAAI;gBACF,eAAe,CAAC,IAAI,CAAC,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,MAAM,CAAC,CAAC;gBACxD,OAAO,EAAE,CAAC;aACX;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAM,CAAC,GAAG,CAAC,CAAC;aACb;QACH,CAAC,CAAC,CAAC;IACL,CAAC;CACF"} \ No newline at end of file diff --git a/lib/store/utils/helper.js b/lib/store/utils/helper.js index 146db77..372a583 100644 --- a/lib/store/utils/helper.js +++ b/lib/store/utils/helper.js @@ -1,11 +1,11 @@ -export function dummyFormSubmit(path, params, method = 'POST') { - const form = document.createElement('form'); +export function dummyFormSubmit(path, params, method = "POST") { + const form = document.createElement("form"); form.method = method; form.action = path; for (const key in params) { if (params.hasOwnProperty(key)) { - const hiddenField = document.createElement('input'); - hiddenField.type = 'hidden'; + const hiddenField = document.createElement("input"); + hiddenField.type = "hidden"; hiddenField.name = key; hiddenField.value = params[key]; form.appendChild(hiddenField); diff --git a/lib/store/utils/helper.js.map b/lib/store/utils/helper.js.map index 2576b05..663647d 100644 --- a/lib/store/utils/helper.js.map +++ b/lib/store/utils/helper.js.map @@ -1 +1 @@ -{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/store/utils/helper.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,IAAQ,EAAE,MAAU,EAAE,MAAM,GAAG,MAAM;IACnE,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IAEnB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACtB,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YAC5B,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACpD,WAAW,CAAC,IAAI,GAAG,QAAQ,CAAC;YAC5B,WAAW,CAAC,IAAI,GAAG,GAAG,CAAC;YACvB,WAAW,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAEhC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;SACjC;KACJ;IAED,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,CAAC,MAAM,EAAE,CAAC;AAChB,CAAC"} \ No newline at end of file +{"version":3,"file":"helper.js","sourceRoot":"","sources":["../../../src/store/utils/helper.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,eAAe,CAAC,IAAS,EAAE,MAAW,EAAE,MAAM,GAAG,MAAM;IACrE,MAAM,IAAI,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACrB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;IAEnB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YAC9B,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACpD,WAAW,CAAC,IAAI,GAAG,QAAQ,CAAC;YAC5B,WAAW,CAAC,IAAI,GAAG,GAAG,CAAC;YACvB,WAAW,CAAC,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAEhC,IAAI,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;SAC/B;KACF;IAED,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,IAAI,CAAC,MAAM,EAAE,CAAC;AAChB,CAAC"} \ No newline at end of file diff --git a/lib/store/utils/payment.d.ts b/lib/store/utils/payment.d.ts index e55d92d..6bbee7a 100644 --- a/lib/store/utils/payment.d.ts +++ b/lib/store/utils/payment.d.ts @@ -1,4 +1,6 @@ export declare function handleConfirmPayment(params: any): Promise; +export declare function getUpiIntentApps(paymentOptions: any): Promise; export declare function handleCODOrder(paymentOptions: any): Promise; +export declare function handleQrOrder(paymentOptions: object): Promise; export declare function transactOrder(paymentOptions: any, state: any): Promise; export declare function updateOrderInfo(currentPaymentGateway: any, orderInfo: any, paymentOptions: any): any; diff --git a/lib/store/utils/payment.js b/lib/store/utils/payment.js index 8f42911..b22bc25 100644 --- a/lib/store/utils/payment.js +++ b/lib/store/utils/payment.js @@ -357,6 +357,39 @@ export function handleConfirmPayment(params) { } }); } +function getCurrentPaymentGateway(paymentOptions) { + var _a, _b; + return __awaiter(this, void 0, void 0, function* () { + if (!window.currentPaymentGateway) { + window.currentPaymentGateway = {}; + } + if (window.currentPaymentGateway[paymentOptions.aggregator]) { + return window.currentPaymentGateway[paymentOptions.aggregator]; + } + let currentPaymentGateway = null; + if (((_b = (_a = paymentOptions.payment) === null || _a === void 0 ? void 0 : _a.paymentFlowMeta) === null || _b === void 0 ? void 0 : _b.type) == "standard_extension") { + currentPaymentGateway = window.PaymentGateways["StandardExtension"]; + } + else { + const { PaymentGateways } = window.fpi; + currentPaymentGateway = PaymentGateways[paymentOptions.aggregator]; + } + currentPaymentGateway = new currentPaymentGateway(paymentOptions.payment, window.fpi.store.getState()); + if (currentPaymentGateway.injectScript) { + yield currentPaymentGateway.injectScript(); + } + window.currentPaymentGateway[paymentOptions.aggregator] = currentPaymentGateway; + return currentPaymentGateway; + }); +} +export function getUpiIntentApps(paymentOptions) { + return __awaiter(this, void 0, void 0, function* () { + const currentPaymentGateway = yield getCurrentPaymentGateway(paymentOptions); + const res = yield currentPaymentGateway.getSupportedUpiIntentApps(); + console.log("Response from razorpay: ", res); + return res; + }); +} export function handleCODOrder(paymentOptions) { var _a, _b, _c, _d, _e, _f, _g; return __awaiter(this, void 0, void 0, function* () { @@ -393,42 +426,43 @@ export function handleCODOrder(paymentOptions) { } }); } -export function transactOrder(paymentOptions, state) { - var _a, _b, _c, _d, _e, _f, _g, _h, _j; +export function handleQrOrder(paymentOptions) { + var _a, _b; return __awaiter(this, void 0, void 0, function* () { - let currentPaymentGateway = null; - if (((_b = (_a = paymentOptions.payment) === null || _a === void 0 ? void 0 : _a.paymentFlowMeta) === null || _b === void 0 ? void 0 : _b.type) == "standard_extension") { - currentPaymentGateway = window.PaymentGateways["StandardExtension"]; - } - else { - const { PaymentGateways } = window.fpi; - currentPaymentGateway = PaymentGateways[paymentOptions.aggregator]; - } - currentPaymentGateway = new currentPaymentGateway(paymentOptions.payment, window.fpi.store.getState()); - if (currentPaymentGateway.injectScript) { - yield currentPaymentGateway.injectScript(); + const orderInfo = yield createOrder(paymentOptions); + if ((_b = (_a = orderInfo === null || orderInfo === void 0 ? void 0 : orderInfo.data) === null || _a === void 0 ? void 0 : _a.checkoutCart) === null || _b === void 0 ? void 0 : _b.success) { + // Reset ordering store in case of successful checkout + removeCookie("m_orderingStore"); + return orderInfo; } + }); +} +export function transactOrder(paymentOptions, state) { + var _a, _b, _c, _d, _e, _f, _g; + return __awaiter(this, void 0, void 0, function* () { + const currentPaymentGateway = yield getCurrentPaymentGateway(paymentOptions); let orderInfo = yield createOrder(paymentOptions); - if ((_d = (_c = orderInfo === null || orderInfo === void 0 ? void 0 : orderInfo.data) === null || _c === void 0 ? void 0 : _c.checkoutCart) === null || _d === void 0 ? void 0 : _d.success) { + if ((_b = (_a = orderInfo === null || orderInfo === void 0 ? void 0 : orderInfo.data) === null || _a === void 0 ? void 0 : _a.checkoutCart) === null || _b === void 0 ? void 0 : _b.success) { // Reset ordering store in case of successful checkout removeCookie("m_orderingStore"); //get updated order info - orderInfo = updateOrderInfo(currentPaymentGateway, (_e = orderInfo.data) === null || _e === void 0 ? void 0 : _e.checkoutCart, paymentOptions); - (_f = orderInfo === null || orderInfo === void 0 ? void 0 : orderInfo.data) === null || _f === void 0 ? true : delete _f.token; + orderInfo = updateOrderInfo(currentPaymentGateway, (_c = orderInfo.data) === null || _c === void 0 ? void 0 : _c.checkoutCart, paymentOptions); + (_d = orderInfo === null || orderInfo === void 0 ? void 0 : orderInfo.data) === null || _d === void 0 ? true : delete _d.token; let orderInfoPayload = orderInfo === null || orderInfo === void 0 ? void 0 : orderInfo.data; const isLoggedIn = state.auth.is_logged_in; let rbiGuidelineSave = Object.assign(Object.assign({}, (isLoggedIn ? { - checkedBoxValue: (_g = paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.payment) === null || _g === void 0 ? void 0 : _g.is_card_secure, + checkedBoxValue: (_e = paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.payment) === null || _e === void 0 ? void 0 : _e.is_card_secure, } : { checkedBoxValue: false })), { paymentdata: Object.assign(Object.assign({}, paymentOptions), { option: { - card_number: ((_h = paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.payment) === null || _h === void 0 ? void 0 : _h.card_token) + card_number: ((_f = paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.payment) === null || _f === void 0 ? void 0 : _f.card_token) ? "" - : (_j = paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.payment) === null || _j === void 0 ? void 0 : _j.card_number, + : (_g = paymentOptions === null || paymentOptions === void 0 ? void 0 : paymentOptions.payment) === null || _g === void 0 ? void 0 : _g.card_number, } }) }); if (orderInfoPayload === null || orderInfoPayload === void 0 ? void 0 : orderInfoPayload.card_token) { orderInfoPayload === null || orderInfoPayload === void 0 ? true : delete orderInfoPayload.card_token; } + orderInfoPayload.upi_app = paymentOptions.upi_app; const res = yield currentPaymentGateway.transaction(orderInfoPayload, rbiGuidelineSave); } else { diff --git a/lib/store/utils/payment.js.map b/lib/store/utils/payment.js.map index acc3c5d..00aee74 100644 --- a/lib/store/utils/payment.js.map +++ b/lib/store/utils/payment.js.map @@ -1 +1 @@ -{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/store/utils/payment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,UAAgB,oBAAoB,CAAC,MAAW;;QACpD,MAAM,EAAE,cAAc,EAAE,WAAW,KAAiB,MAAM,EAAlB,OAAO,UAAK,MAAM,EAApD,iCAA2C,CAAS,CAAC;QAC3D,MAAM,KAAK,GAAG;iCACiB,WAAW,CAAC,UAAU;uBAChC,OAAO,CAAC,eAAe;WACnC,WAAW,CAAC,OAAO;oBACV,OAAO,CAAC,YAAY;0BACd,OAAO,CAAC,kBAAkB;;;;;;;;;;;;IA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C,OAAO,CAAC,SAAS;YAChD,aAAa,EAAE,cAAc,CAAC,OAAO,CAAC,QAAQ;YAC9C,YAAY,EAAE,cAAc,CAAC,OAAO,CAAC,IAAI;SAC1C,CAAC;QACF,MAAM,QAAQ,GAAG,qBAAqB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC;QACvE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;KACzC;SAAM,IACL,cAAc,CAAC,YAAY,KAAK,MAAM;QACtC,cAAc,CAAC,OAAO,CAAC,cAAc,EACrC;QACA,MAAM,QAAQ,GAAG,qBAAqB,CAAC,qBAAqB,CAC1D,cAAc,CAAC,OAAO,CACvB,CAAC;QACF,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;KACzC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file +{"version":3,"file":"payment.js","sourceRoot":"","sources":["../../../src/store/utils/payment.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAEvC,MAAM,UAAgB,oBAAoB,CAAC,MAAW;;QACpD,MAAM,EAAE,cAAc,EAAE,WAAW,KAAiB,MAAM,EAAlB,OAAO,UAAK,MAAM,EAApD,iCAA2C,CAAS,CAAC;QAC3D,MAAM,KAAK,GAAG;iCACiB,WAAW,CAAC,UAAU;uBAChC,OAAO,CAAC,eAAe;WACnC,WAAW,CAAC,OAAO;oBACV,OAAO,CAAC,YAAY;0BACd,OAAO,CAAC,kBAAkB;;;;;;;;;;;;IAYhD,CAAC;QACH,MAAM,IAAI,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC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,IAAI,EAAE,QAAQ,CAAC,CAAC;KACzC;SAAM,IACL,cAAc,CAAC,YAAY,KAAK,MAAM;QACtC,cAAc,CAAC,OAAO,CAAC,cAAc,EACrC;QACA,MAAM,QAAQ,GAAG,qBAAqB,CAAC,qBAAqB,CAC1D,cAAc,CAAC,OAAO,CACvB,CAAC;QACF,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;KACzC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC"} \ No newline at end of file diff --git a/lib/store/utils/util.js b/lib/store/utils/util.js index e761d5a..17d71ea 100644 --- a/lib/store/utils/util.js +++ b/lib/store/utils/util.js @@ -1,6 +1,6 @@ -export const PENDING_ACTION_TYPE = 'PENDING'; -export const ERROR_ACTION_TYPE = 'ERROR'; -export const FULFILLED_ACTION_TYPE = 'FULFILLED'; +export const PENDING_ACTION_TYPE = "PENDING"; +export const ERROR_ACTION_TYPE = "ERROR"; +export const FULFILLED_ACTION_TYPE = "FULFILLED"; export function createLoadingAction() { return { type: PENDING_ACTION_TYPE, diff --git a/lib/store/utils/util.js.map b/lib/store/utils/util.js.map index f0c78f8..e1cd8c4 100644 --- a/lib/store/utils/util.js.map +++ b/lib/store/utils/util.js.map @@ -1 +1 @@ -{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/store/utils/util.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,iBAAiB,GAAG,OAAO,CAAC;AACzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAEjD,MAAM,UAAU,mBAAmB;IAC/B,OAAO;QACH,IAAI,EAAE,mBAAmB;KAC5B,CAAA;AACL,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC7B,OAAO;QACH,IAAI,EAAE,iBAAiB;KAC1B,CAAA;AACL,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,OAAU;IAC7C,OAAO;QACH,IAAI,EAAE,qBAAqB;QAC3B,OAAO;KACV,CAAA;AACL,CAAC;AACD,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8C5B,CAAC"} \ No newline at end of file +{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/store/utils/util.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAS,CAAC;AAC7C,MAAM,CAAC,MAAM,iBAAiB,GAAG,OAAO,CAAC;AACzC,MAAM,CAAC,MAAM,qBAAqB,GAAG,WAAW,CAAC;AAEjD,MAAM,UAAU,mBAAmB;IACjC,OAAO;QACL,IAAI,EAAE,mBAAmB;KAC1B,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,iBAAiB;IAC/B,OAAO;QACL,IAAI,EAAE,iBAAiB;KACxB,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,mBAAmB,CAAI,OAAU;IAC/C,OAAO;QACL,IAAI,EAAE,qBAAqB;QAC3B,OAAO;KACR,CAAC;AACJ,CAAC;AACD,MAAM,CAAC,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8C5B,CAAC"} \ No newline at end of file diff --git a/lib/types/auth.d.ts b/lib/types/auth.d.ts index 301d638..0e5ed81 100644 --- a/lib/types/auth.d.ts +++ b/lib/types/auth.d.ts @@ -2,10 +2,10 @@ import { CommonAsyncLoadingTypes } from "."; export type PlatformDataType = Partial; export type UserDataType = Partial; export type AuthSlice = { - logged_in: boolean; + logged_in: null | boolean; platform_data: PlatformDataType; user_data: UserDataType; - user_fetched: boolean; + user_fetched: null | boolean; }; export type SignUpUserParam = { id: string; diff --git a/lib/types/graphql.d.ts b/lib/types/graphql.d.ts index 8f879f5..f00ddb0 100644 --- a/lib/types/graphql.d.ts +++ b/lib/types/graphql.d.ts @@ -9487,6 +9487,7 @@ export type SendOtpResponse = { __typename?: 'SendOtpResponse'; /** Country code for the phone number. */ country_code?: Maybe; + isUserLogin: Boolean | null; /** Email id of user. */ email?: Maybe; /** Message to specify the OTP send status. Eg. OTP sent, failed to send OTP etc. */ diff --git a/lib/types/graphql.js.map b/lib/types/graphql.js.map index 8c7b79f..190b6bf 100644 --- a/lib/types/graphql.js.map +++ b/lib/types/graphql.js.map @@ -1 +1 @@ -{"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/types/graphql.ts"],"names":[],"mappings":"AAiBA,MAAM,CAAN,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,6BAAmB,CAAA;AACrB,CAAC,EAHW,MAAM,KAAN,MAAM,QAGjB;AAED,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,iCAAmB,CAAA;AACrB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AA4nBD,MAAM,CAAN,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,sCAA2B,CAAA;IAC3B,wBAAa,CAAA;AACf,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AA6mED,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,0CAAe,CAAA;IACf,4CAAiB,CAAA;AACnB,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AAED,MAAM,CAAN,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,2CAAe,CAAA;IACf,uCAAW,CAAA;IACX,iDAAqB,CAAA;AACvB,CAAC,EAJW,wBAAwB,KAAxB,wBAAwB,QAInC;AA+8BD,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,uCAAqB,CAAA;IACrB,6BAAW,CAAA;AACb,CAAC,EAHW,cAAc,KAAd,cAAc,QAGzB;AAgiDD,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;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ID,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACf,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAydD,MAAM,CAAN,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,8BAAW,CAAA;AACb,CAAC,EAFW,eAAe,KAAf,eAAe,QAE1B;AAiCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,kDAA8B,CAAA;IAC9B,sDAAkC,CAAA;IAClC,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"} \ No newline at end of file +{"version":3,"file":"graphql.js","sourceRoot":"","sources":["../../src/types/graphql.ts"],"names":[],"mappings":"AAiBA,MAAM,CAAN,IAAY,MAGX;AAHD,WAAY,MAAM;IAChB,yBAAe,CAAA;IACf,6BAAmB,CAAA;AACrB,CAAC,EAHW,MAAM,KAAN,MAAM,QAGjB;AAED,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,6BAAe,CAAA;IACf,iCAAmB,CAAA;AACrB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AA4nBD,MAAM,CAAN,IAAY,OAGX;AAHD,WAAY,OAAO;IACjB,sCAA2B,CAAA;IAC3B,wBAAa,CAAA;AACf,CAAC,EAHW,OAAO,KAAP,OAAO,QAGlB;AA6mED,MAAM,CAAN,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IACjC,0CAAe,CAAA;IACf,4CAAiB,CAAA;AACnB,CAAC,EAHW,uBAAuB,KAAvB,uBAAuB,QAGlC;AAED,MAAM,CAAN,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,2CAAe,CAAA;IACf,uCAAW,CAAA;IACX,iDAAqB,CAAA;AACvB,CAAC,EAJW,wBAAwB,KAAxB,wBAAwB,QAInC;AA+8BD,MAAM,CAAN,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,uCA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,eAAO,CAAA;IACP,iBAAS,CAAA;IACT,eAAO,CAAA;IACP,eAAO,CAAA;IACP,iBAAS,CAAA;IACT,mBAAW,CAAA;IACX,qBAAa,CAAA;AACf,CAAC,EATW,IAAI,KAAJ,IAAI,QASf;AA4ID,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IACpB,+BAAiB,CAAA;IACjB,2BAAa,CAAA;AACf,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB;AAydD,MAAM,CAAN,IAAY,eAEX;AAFD,WAAY,eAAe;IACzB,8BAAW,CAAA;AACb,CAAC,EAFW,eAAe,KAAf,eAAe,QAE1B;AAiCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,kDAA8B,CAAA;IAC9B,sDAAkC,CAAA;IAClC,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index f80217f..2c81329 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "fdk-store", - "version": "v3.0.19-beta.2", + "version": "v3.0.41", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "fdk-store", - "version": "v3.0.19-beta.2", + "version": "v3.0.41", "dependencies": { "@reduxjs/toolkit": "^1.9.3", "buffer": "^6.0.3", @@ -26,6 +26,7 @@ "@types/qs": "^6.9.7", "jest": "^29.6.4", "jest-environment-jsdom": "^29.7.0", + "prettier": "^3.0.0", "shx": "^0.3.4", "ts-jest": "^29.1.1", "ts-loader": "^9.4.2", @@ -7166,6 +7167,21 @@ "node": ">=8" } }, + "node_modules/prettier": { + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", + "dev": true, + "bin": { + "prettier": "bin/prettier.cjs" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, "node_modules/pretty-format": { "version": "29.7.0", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", diff --git a/package.json b/package.json index c202946..e021321 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fdk-store", - "version": "v3.0.19-beta.2", + "version": "v3.0.41", "description": "FPI Store bridging library", "main": "./lib/index.js", "module": "./lib/index.js", @@ -14,7 +14,8 @@ "test:coverage": "jest --coverage", "doc": "typedoc --plugin typedoc-plugin-missing-exports --plugin typedoc-plugin-markdown", "local": "webpack --watch", - "generate": "graphql-codegen" + "generate": "graphql-codegen", + "format": "prettier --write 'src/**/*.ts' '!src/types/**/*.ts'" }, "devDependencies": { "@graphql-codegen/cli": "^5.0.2", @@ -30,7 +31,8 @@ "ts-loader": "^9.4.2", "typescript": "^4.9.5", "webpack": "^5.92.0", - "webpack-cli": "^5.1.4" + "webpack-cli": "^5.1.4", + "prettier": "^3.0.0" }, "dependencies": { "@reduxjs/toolkit": "^1.9.3",