From c4c27d0857fe98d491d548350c6e813fabf12682 Mon Sep 17 00:00:00 2001 From: Jigar Dafda Date: Mon, 23 Dec 2024 08:50:16 +0000 Subject: [PATCH] [Auto Generated] --- azure-pipelines.yml | 24 ++++++++++++++++-- lib/graphql/mutations/UnFollowById.handler.js | 2 +- .../mutations/UnFollowById.handler.js.map | 2 +- .../mutations/addItemsToCart.handler.js | 4 +-- .../mutations/addItemsToCart.handler.js.map | 2 +- lib/graphql/mutations/followById.handler.js | 2 +- .../mutations/followById.handler.js.map | 2 +- .../mutations/selectAddress.handler.js | 2 +- .../mutations/selectAddress.handler.js.map | 2 +- .../mutations/selectPaymentMode.handler.js | 2 +- .../selectPaymentMode.handler.js.map | 2 +- lib/graphql/mutations/updateCart.handler.js | 4 +-- .../mutations/updateCart.handler.js.map | 2 +- .../mutations/updateProfile.handler.js | 2 +- .../mutations/updateProfile.handler.js.map | 2 +- lib/graphql/query/cartHandler.js | 2 +- lib/graphql/query/cartHandler.js.map | 2 +- lib/graphql/query/collection.handler.js | 2 +- lib/graphql/query/collection.handler.js.map | 2 +- lib/graphql/query/order.handler.js | 2 +- lib/graphql/query/order.handler.js.map | 2 +- lib/graphql/query/product.handler.js | 2 +- lib/graphql/query/product.handler.js.map | 2 +- lib/graphql/query/products.handler.js | 2 +- lib/graphql/query/products.handler.js.map | 2 +- lib/graphql/query/user.handler.js | 4 +-- lib/graphql/query/user.handler.js.map | 2 +- lib/helpers/FPI-events.d.ts | 2 +- lib/helpers/FPI-events.js | 24 ++++++++++++------ lib/helpers/FPI-events.js.map | 2 +- lib/index.js | 5 ++++ lib/index.js.map | 2 +- lib/store/index.d.ts | 3 +++ lib/store/index.js | 25 ++++++++++++++++--- lib/store/index.js.map | 2 +- package-lock.json | 4 +-- package.json | 4 +-- 37 files changed, 105 insertions(+), 50 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 904748a..68a47e1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -24,14 +24,14 @@ jobs: if [ "$(Build.SourceBranch)" != "refs/tags/*" ]; then echo "This is a tag push. Sync starting..." - BRANCH_NAME=$(echo $(Build.SourceBranchName) | sed 's/^refs\/tags\///' | sed 's/\./_/g') + BRANCH_NAME=main git config --global user.email "jigar.dafda@gmail.com" git config --global user.name "Jigar Dafda" git clone https://$(GITHUB_USERNAME):$(GITHUB_PERSONAL_TOKEN)@github.com/gofynd/fdk-store-gql.git cd fdk-store-gql - git checkout -b $BRANCH_NAME + git checkout $BRANCH_NAME rm -rf ./* cd .. @@ -49,6 +49,26 @@ jobs: git tag $(Build.SourceBranchName) git push origin $(Build.SourceBranchName) + # Create GitHub release + RELEASE_TITLE="Release_$(Build.SourceBranchName)" + echo $(Build.SourceBranchName) + echo $RELEASE_TITLE + echo $BRANCH_NAME + POST_DATA=$(printf '{ + "tag_name": "%s", + "target_commitish": "%s", + "name": "%s", + "body": "%s", + "draft": false, + "prerelease": false + }' $(Build.SourceBranchName) $BRANCH_NAME $RELEASE_TITLE "$RELEASE_TITLE") + echo $POST_DATA + curl -X POST -H "Authorization: token $(GITHUB_PERSONAL_TOKEN)" \ + -H "Content-Type: application/json" \ + -d "$POST_DATA" \ + "https://api.github.com/repos/gofynd/fdk-store-gql/releases" + + else echo "This is not a tag push. Exiting..." exit 0 diff --git a/lib/graphql/mutations/UnFollowById.handler.js b/lib/graphql/mutations/UnFollowById.handler.js index 7bf0193..f77a0b9 100644 --- a/lib/graphql/mutations/UnFollowById.handler.js +++ b/lib/graphql/mutations/UnFollowById.handler.js @@ -1,5 +1,5 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function unfollowByIdHandler(res, dispatch, params, oldStore) { - emitFPIEvent(FPI_EVENTS.REMOVE_FROM_WISHLIST, params, res, oldStore); + emitFPIEvent(FPI_EVENTS.REMOVE_FROM_WISHLIST, params, res, oldStore, dispatch); } //# sourceMappingURL=UnFollowById.handler.js.map \ No newline at end of file diff --git a/lib/graphql/mutations/UnFollowById.handler.js.map b/lib/graphql/mutations/UnFollowById.handler.js.map index 744d1a8..dae1a12 100644 --- a/lib/graphql/mutations/UnFollowById.handler.js.map +++ b/lib/graphql/mutations/UnFollowById.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"UnFollowById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/UnFollowById.handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,mBAAmB,CACjC,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CAAC,UAAU,CAAC,oBAAoB,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;AACvE,CAAC"} \ No newline at end of file +{"version":3,"file":"UnFollowById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/UnFollowById.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,mBAAmB,CACjC,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CACV,UAAU,CAAC,oBAAoB,EAC/B,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/addItemsToCart.handler.js b/lib/graphql/mutations/addItemsToCart.handler.js index 72bdbe3..9f4d7a0 100644 --- a/lib/graphql/mutations/addItemsToCart.handler.js +++ b/lib/graphql/mutations/addItemsToCart.handler.js @@ -1,9 +1,9 @@ -import { setaddItemsToCart, } from "../../store/slices/cart"; +import { setaddItemsToCart } from "../../store/slices/cart"; import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function addItemsToCartHandler(addItemsToCart, dispatch, params, oldStore) { if (addItemsToCart) { dispatch(setaddItemsToCart(addItemsToCart)); - emitFPIEvent(FPI_EVENTS.ADD_TO_CART, params, addItemsToCart, oldStore); + emitFPIEvent(FPI_EVENTS.ADD_TO_CART, params, addItemsToCart, oldStore, dispatch); } } //# sourceMappingURL=addItemsToCart.handler.js.map \ No newline at end of file diff --git a/lib/graphql/mutations/addItemsToCart.handler.js.map b/lib/graphql/mutations/addItemsToCart.handler.js.map index 118e92f..ad2ab32 100644 --- a/lib/graphql/mutations/addItemsToCart.handler.js.map +++ b/lib/graphql/mutations/addItemsToCart.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"addItemsToCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/addItemsToCart.handler.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,GAClB,MAAM,yBAAyB,CAAC;AAIjC,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,qBAAqB,CACnC,cAAqC,EACrC,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;QAC5C,YAAY,CAAC,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,QAAQ,CAAC,CAAC;KACxE;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"addItemsToCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/addItemsToCart.handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,qBAAqB,CACnC,cAAqC,EACrC,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,cAAc,EAAE;QAClB,QAAQ,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;QAC5C,YAAY,CACV,UAAU,CAAC,WAAW,EACtB,MAAM,EACN,cAAc,EACd,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/followById.handler.js b/lib/graphql/mutations/followById.handler.js index 7241095..dd0b85f 100644 --- a/lib/graphql/mutations/followById.handler.js +++ b/lib/graphql/mutations/followById.handler.js @@ -1,5 +1,5 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function followByIdHandler(res, dispatch, params, oldStore) { - emitFPIEvent(FPI_EVENTS.ADD_TO_WISHLIST, params, res, oldStore); + emitFPIEvent(FPI_EVENTS.ADD_TO_WISHLIST, params, res, oldStore, dispatch); } //# sourceMappingURL=followById.handler.js.map \ No newline at end of file diff --git a/lib/graphql/mutations/followById.handler.js.map b/lib/graphql/mutations/followById.handler.js.map index 25908fd..83616f0 100644 --- a/lib/graphql/mutations/followById.handler.js.map +++ b/lib/graphql/mutations/followById.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"followById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/followById.handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"followById.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/followById.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,GAAuB,EACvB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC5E,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/selectAddress.handler.js b/lib/graphql/mutations/selectAddress.handler.js index 5c75f57..1372976 100644 --- a/lib/graphql/mutations/selectAddress.handler.js +++ b/lib/graphql/mutations/selectAddress.handler.js @@ -1,5 +1,5 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function selectAddressHandler(res, dispatch, params, oldStore) { - emitFPIEvent(FPI_EVENTS.ADD_ADDRESS_INFORMATION, params, res, oldStore); + emitFPIEvent(FPI_EVENTS.ADD_ADDRESS_INFORMATION, params, res, oldStore, dispatch); } //# sourceMappingURL=selectAddress.handler.js.map \ No newline at end of file diff --git a/lib/graphql/mutations/selectAddress.handler.js.map b/lib/graphql/mutations/selectAddress.handler.js.map index 159c693..822d8a9 100644 --- a/lib/graphql/mutations/selectAddress.handler.js.map +++ b/lib/graphql/mutations/selectAddress.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"selectAddress.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectAddress.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,oBAAoB,CAAC,GAA0B,EAAE,QAAkC,EAAG,MAAe,EACnH,QAAiB;IACjB,YAAY,CAAC,UAAU,CAAC,uBAAuB,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;AAC1E,CAAC"} \ No newline at end of file +{"version":3,"file":"selectAddress.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectAddress.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,oBAAoB,CAClC,GAA0B,EAC1B,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CACV,UAAU,CAAC,uBAAuB,EAClC,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/selectPaymentMode.handler.js b/lib/graphql/mutations/selectPaymentMode.handler.js index 92bc093..24116ae 100644 --- a/lib/graphql/mutations/selectPaymentMode.handler.js +++ b/lib/graphql/mutations/selectPaymentMode.handler.js @@ -1,5 +1,5 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function selectPaymentModehandler(res, dispatch, params, oldStore) { - emitFPIEvent(FPI_EVENTS.ADD_PAYMENT_INFORMATION, params, res, oldStore); + emitFPIEvent(FPI_EVENTS.ADD_PAYMENT_INFORMATION, params, res, oldStore, dispatch); } //# sourceMappingURL=selectPaymentMode.handler.js.map \ No newline at end of file diff --git a/lib/graphql/mutations/selectPaymentMode.handler.js.map b/lib/graphql/mutations/selectPaymentMode.handler.js.map index 183f153..a9880f1 100644 --- a/lib/graphql/mutations/selectPaymentMode.handler.js.map +++ b/lib/graphql/mutations/selectPaymentMode.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"selectPaymentMode.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectPaymentMode.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CAAC,GAAS,EAAE,QAAkC,EAAG,MAAe,EACtG,QAAiB;IACjB,YAAY,CAAC,UAAU,CAAC,uBAAuB,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;AAC1E,CAAC"} \ No newline at end of file +{"version":3,"file":"selectPaymentMode.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/selectPaymentMode.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,wBAAwB,CACtC,GAAS,EACT,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CACV,UAAU,CAAC,uBAAuB,EAClC,MAAM,EACN,GAAG,EACH,QAAQ,EACR,QAAQ,CACT,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/updateCart.handler.js b/lib/graphql/mutations/updateCart.handler.js index 1bf073f..f3fded4 100644 --- a/lib/graphql/mutations/updateCart.handler.js +++ b/lib/graphql/mutations/updateCart.handler.js @@ -3,10 +3,10 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function updateCartHandler(updateCart, dispatch, params, oldStore) { if (updateCart.cart) { if (params.updateCartRequestInput.operation === "update_item") { - emitFPIEvent(FPI_EVENTS.UPDATE_CART, params, updateCart, oldStore); + emitFPIEvent(FPI_EVENTS.UPDATE_CART, params, updateCart, oldStore, dispatch); } else { - emitFPIEvent(FPI_EVENTS.REMOVE_FROM_CART, params, updateCart, oldStore); + emitFPIEvent(FPI_EVENTS.REMOVE_FROM_CART, params, updateCart, oldStore, dispatch); } dispatch(setUpdateCart(updateCart.cart)); } diff --git a/lib/graphql/mutations/updateCart.handler.js.map b/lib/graphql/mutations/updateCart.handler.js.map index c41cea8..122ffbf 100644 --- a/lib/graphql/mutations/updateCart.handler.js.map +++ b/lib/graphql/mutations/updateCart.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"updateCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateCart.handler.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAoC,EACpC,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,UAAU,CAAC,IAAI,EAAE;QACnB,IAAI,MAAM,CAAC,sBAAsB,CAAC,SAAS,KAAK,aAAa,EAAE;YAC7D,YAAY,CAAC,UAAU,CAAC,WAAW,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;SACpE;aAAM;YACH,YAAY,CAAC,UAAU,CAAC,gBAAgB,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;SAC3E;QACD,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;KAG1C;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"updateCart.handler.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateCart.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAoC,EACpC,QAAkC,EAClC,MAAW,EACX,QAAiB;IAEjB,IAAI,UAAU,CAAC,IAAI,EAAE;QACnB,IAAI,MAAM,CAAC,sBAAsB,CAAC,SAAS,KAAK,aAAa,EAAE;YAC7D,YAAY,CACV,UAAU,CAAC,WAAW,EACtB,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,CACT,CAAC;SACH;aAAM;YACL,YAAY,CACV,UAAU,CAAC,gBAAgB,EAC3B,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,CACT,CAAC;SACH;QACD,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC;KAC1C;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/mutations/updateProfile.handler.js b/lib/graphql/mutations/updateProfile.handler.js index 482f1aa..b81b04d 100644 --- a/lib/graphql/mutations/updateProfile.handler.js +++ b/lib/graphql/mutations/updateProfile.handler.js @@ -3,7 +3,7 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function updateProfileHandler(updateProfile, dispatch, params, oldStore) { if (updateProfile) { dispatch(setUserData(updateProfile)); - emitFPIEvent(FPI_EVENTS.PROFILE_UPDATE, params, updateProfile, oldStore); + emitFPIEvent(FPI_EVENTS.PROFILE_UPDATE, params, updateProfile, oldStore, dispatch); } } //# sourceMappingURL=updateProfile.handler.js.map \ 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 a820f7e..1b9049b 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,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":"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 diff --git a/lib/graphql/query/cartHandler.js b/lib/graphql/query/cartHandler.js index 4398744..4f48d32 100644 --- a/lib/graphql/query/cartHandler.js +++ b/lib/graphql/query/cartHandler.js @@ -3,7 +3,7 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function cartHandler(cart, dispatch, params, oldStore) { if (cart) { dispatch(setCart(cart)); - emitFPIEvent(FPI_EVENTS.VIEW_CART, params, cart, oldStore); + emitFPIEvent(FPI_EVENTS.VIEW_CART, params, cart, oldStore, dispatch); } } //# sourceMappingURL=cartHandler.js.map \ No newline at end of file diff --git a/lib/graphql/query/cartHandler.js.map b/lib/graphql/query/cartHandler.js.map index 2adc840..8414430 100644 --- a/lib/graphql/query/cartHandler.js.map +++ b/lib/graphql/query/cartHandler.js.map @@ -1 +1 @@ -{"version":3,"file":"cartHandler.js","sourceRoot":"","sources":["../../../src/graphql/query/cartHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,WAAW,CAAC,IAAU,EAAE,QAAkC,EAAC,MAAc,EAAC,QAAgB;IACtG,IAAI,IAAI,EAAE;QACN,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAA;QACvB,YAAY,CACR,UAAU,CAAC,SAAS,EACpB,MAAM,EACN,IAAI,EACJ,QAAQ,CACT,CAAA;KACN;AACL,CAAC"} \ No newline at end of file +{"version":3,"file":"cartHandler.js","sourceRoot":"","sources":["../../../src/graphql/query/cartHandler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,WAAW,CACzB,IAAU,EACV,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,IAAI,EAAE;QACR,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;QACxB,YAAY,CAAC,UAAU,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;KACtE;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/collection.handler.js b/lib/graphql/query/collection.handler.js index 0afa495..db15311 100644 --- a/lib/graphql/query/collection.handler.js +++ b/lib/graphql/query/collection.handler.js @@ -3,7 +3,7 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function collectionHandler(collection, dispatch, params, oldStore) { if (collection) { dispatch(setcollection(collection)); - emitFPIEvent(FPI_EVENTS.COLLECTION_LIST_VIEW, params, collection, oldStore); + emitFPIEvent(FPI_EVENTS.COLLECTION_LIST_VIEW, params, collection, oldStore, dispatch); } } //# sourceMappingURL=collection.handler.js.map \ No newline at end of file diff --git a/lib/graphql/query/collection.handler.js.map b/lib/graphql/query/collection.handler.js.map index 47346ff..d9d5652 100644 --- a/lib/graphql/query/collection.handler.js.map +++ b/lib/graphql/query/collection.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"collection.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collection.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAsB,EACtB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,UAAU,EAAE;QACd,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;QACpC,YAAY,CAAC,UAAU,CAAC,oBAAoB,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,CAAC,CAAC;KAC7E;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"collection.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/collection.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,iBAAiB,CAC/B,UAAsB,EACtB,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,UAAU,EAAE;QACd,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC,CAAC;QACpC,YAAY,CACV,UAAU,CAAC,oBAAoB,EAC/B,MAAM,EACN,UAAU,EACV,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/order.handler.js b/lib/graphql/query/order.handler.js index 6117392..d48eedd 100644 --- a/lib/graphql/query/order.handler.js +++ b/lib/graphql/query/order.handler.js @@ -1,5 +1,5 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function orderHandler(res, dispatch, params, oldStore) { - emitFPIEvent(FPI_EVENTS.ORDER_PROCESSED, params, res, oldStore); + emitFPIEvent(FPI_EVENTS.ORDER_PROCESSED, params, res, oldStore, dispatch); } //# sourceMappingURL=order.handler.js.map \ No newline at end of file diff --git a/lib/graphql/query/order.handler.js.map b/lib/graphql/query/order.handler.js.map index a0f7e9f..681cb76 100644 --- a/lib/graphql/query/order.handler.js.map +++ b/lib/graphql/query/order.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"order.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/order.handler.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,YAAY,CAAC,GAAU,EAAE,QAAkC,EAAG,MAAe,EAC3F,QAAiB;IACjB,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,CAAC,CAAC;AAClE,CAAC"} \ No newline at end of file +{"version":3,"file":"order.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/order.handler.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAEpE,MAAM,UAAU,YAAY,CAC1B,GAAU,EACV,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,YAAY,CAAC,UAAU,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAC5E,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/product.handler.js b/lib/graphql/query/product.handler.js index dea9934..0ec3703 100644 --- a/lib/graphql/query/product.handler.js +++ b/lib/graphql/query/product.handler.js @@ -3,7 +3,7 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function productHandler(product, dispatch, params, oldStore) { if (product) { dispatch(setProduct(product)); - emitFPIEvent(FPI_EVENTS.PRODUCT_DETAIL_PAGE_VIEW, params, product, oldStore); + emitFPIEvent(FPI_EVENTS.PRODUCT_DETAIL_PAGE_VIEW, params, product, oldStore, dispatch); } if (product.variants) { dispatch(setProductVariants(product.variants)); diff --git a/lib/graphql/query/product.handler.js.map b/lib/graphql/query/product.handler.js.map index e76dedc..5bd40da 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,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,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 diff --git a/lib/graphql/query/products.handler.js b/lib/graphql/query/products.handler.js index 62226dd..92c2a14 100644 --- a/lib/graphql/query/products.handler.js +++ b/lib/graphql/query/products.handler.js @@ -3,7 +3,7 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function productsHandler(products, dispatch, params, oldStore) { if (products) { dispatch(setProducts(products)); - emitFPIEvent(FPI_EVENTS.PRODUCT_LIST_VIEW, params, products, oldStore); + emitFPIEvent(FPI_EVENTS.PRODUCT_LIST_VIEW, params, products, oldStore, dispatch); } } //# sourceMappingURL=products.handler.js.map \ 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 9f7eafa..9ad896c 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,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,CAAA;KACF;AACH,CAAC"} \ No newline at end of file diff --git a/lib/graphql/query/user.handler.js b/lib/graphql/query/user.handler.js index 5cb0d79..4babbf3 100644 --- a/lib/graphql/query/user.handler.js +++ b/lib/graphql/query/user.handler.js @@ -3,10 +3,10 @@ import { emitFPIEvent, FPI_EVENTS } from "../../helpers/FPI-events"; export function userHandler(user, dispatch, params, oldStore) { if (user === null || user === void 0 ? void 0 : user.logged_in_user) { dispatch(setUserData(user.logged_in_user)); - emitFPIEvent(FPI_EVENTS.LOG_IN, params, user.logged_in_user, oldStore); + emitFPIEvent(FPI_EVENTS.LOG_IN, params, user.logged_in_user, oldStore, dispatch); } if (user.logout) { - emitFPIEvent(FPI_EVENTS.LOG_OUT, params, user.logout, oldStore); + emitFPIEvent(FPI_EVENTS.LOG_OUT, params, user.logout, oldStore, dispatch); } } //# sourceMappingURL=user.handler.js.map \ No newline at end of file diff --git a/lib/graphql/query/user.handler.js.map b/lib/graphql/query/user.handler.js.map index bba8ebd..7fc7a8f 100644 --- a/lib/graphql/query/user.handler.js.map +++ b/lib/graphql/query/user.handler.js.map @@ -1 +1 @@ -{"version":3,"file":"user.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/user.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,WAAW,CACzB,IAAU,EACV,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAc,EAAE;QACxB,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QAC3C,YAAY,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;KACxE;IACD,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,YAAY,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;KACjE;AACH,CAAC"} \ No newline at end of file +{"version":3,"file":"user.handler.js","sourceRoot":"","sources":["../../../src/graphql/query/user.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,WAAW,CACzB,IAAU,EACV,QAAkC,EAClC,MAAe,EACf,QAAiB;IAEjB,IAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,cAAc,EAAE;QACxB,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC;QAC3C,YAAY,CACV,UAAU,CAAC,MAAM,EACjB,MAAM,EACN,IAAI,CAAC,cAAc,EACnB,QAAQ,EACR,QAAQ,CACT,CAAC;KACH;IACD,IAAI,IAAI,CAAC,MAAM,EAAE;QACf,YAAY,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;KAC3E;AACH,CAAC"} \ No newline at end of file diff --git a/lib/helpers/FPI-events.d.ts b/lib/helpers/FPI-events.d.ts index 10557d6..3aad2d2 100644 --- a/lib/helpers/FPI-events.d.ts +++ b/lib/helpers/FPI-events.d.ts @@ -21,7 +21,7 @@ export type EventMap = { payloadCreator: PayloadCreator; }; export declare const FPI_EVENTS: FPI_EVENTS; -export declare function emitFPIEvent(event: EventMap | undefined, params: any, result: any, oldStore: any, eventEmitter?: EventEmitterFunction): boolean; +export declare function emitFPIEvent(event: EventMap | undefined, params: any, result: any, oldStore: any, dispatch?: any, eventEmitter?: EventEmitterFunction): true | undefined; export declare function defaultFPIEmit(eventName: string, payload: any): void; export declare function collectUnemittedEvents(customData: { [x: string]: any; diff --git a/lib/helpers/FPI-events.js b/lib/helpers/FPI-events.js index 6770de5..9eaec81 100644 --- a/lib/helpers/FPI-events.js +++ b/lib/helpers/FPI-events.js @@ -1,3 +1,4 @@ +import { setValue } from "../store/slices/custom"; import { isRunningOnClient } from "./utils"; export const FPI_EVENTS = { LOG_IN: { @@ -71,7 +72,7 @@ export const FPI_EVENTS = { PRODUCT_DETAIL_PAGE_VIEW: { eventName: 'product.view', payloadCreator: (result, param, store) => { - var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q; + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s; return { product: { uid: result === null || result === void 0 ? void 0 : result.uid, @@ -86,13 +87,13 @@ 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.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: (_o = (_m = result === null || result === void 0 ? void 0 : result.category_map) === null || _m === void 0 ? void 0 : _m.l1) === null || _o === void 0 ? void 0 : _o.name, - l3_category: (_q = (_p = result === null || result === void 0 ? void 0 : result.category_map) === null || _p === void 0 ? void 0 : _p.l3) === null || _q === void 0 ? void 0 : _q.name, + 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, } }; } @@ -510,10 +511,12 @@ export const FPI_EVENTS = { } }; function handleDynamicEventName(event, eventPayload, params) { + var _a, _b, _c; if (event.eventName !== FPI_EVENTS.UPDATE_CART.eventName) { return event.eventName; } - const operation = params[0].body.operation; + 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; } @@ -523,7 +526,7 @@ function handleDynamicEventName(event, eventPayload, params) { } return FPI_EVENTS.REMOVE_FROM_CART.eventName; } -export function emitFPIEvent(event, params, result, oldStore, eventEmitter) { +export function emitFPIEvent(event, params, result, oldStore, dispatch, eventEmitter) { var _a, _b, _c, _d; if (!(event === null || event === void 0 ? void 0 : event.eventName) || !(event === null || event === void 0 ? void 0 : event.payloadCreator)) { return true; @@ -547,7 +550,14 @@ export function emitFPIEvent(event, params, result, oldStore, eventEmitter) { } } else { - return false; + dispatch(setValue({ + key: `fpiEvent${event.eventName}`, + value: { + key: event.eventName, + params, + result + } + })); } } export function defaultFPIEmit(eventName, payload) { diff --git a/lib/helpers/FPI-events.js.map b/lib/helpers/FPI-events.js.map index 6775bbd..cf9c622 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":"AACA,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,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,cAAc,CAAC,GAAG,CAAC,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;AACf,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,MAAU,EAAE,UAAuD,EAAE,gBAAyB;IAC3H,MAAM,CAAC,OAAO,CAAC,CAAC,KAA8C,EAAE,EAAE;QAChE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;QACtC,IAAI,aAAa,CAAC;QAElB,KAAK,IAAI,IAAI,IAAI,UAAU,EAAE;YAC3B,IAAI,UAAU,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,SAAS,KAAK,GAAG,EAAE;gBACzE,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,CAAC,MAAM,EAAE,MAAM,EAAE,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;YACnF,cAAc,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;SACpC;IACH,CAAC,CAAC,CAAC;AACJ,CAAC"} \ No newline at end of file diff --git a/lib/index.js b/lib/index.js index eeefbf2..14ed964 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,11 +1,16 @@ +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 concatenatedString = `${applicationID}:${applicationToken}`; const encodedString = self.btoa.call(globalThis, concatenatedString); const authorizationHeader = `Bearer ${encodedString}`; const domain = themeDomain; + const customData = (_a = storeInitialData === null || storeInitialData === void 0 ? void 0 : storeInitialData.custom) !== null && _a !== void 0 ? _a : {}; + const events = collectUnemittedEvents(customData); + emitAllEvents(events, FPI_EVENTS, storeInitialData); this.client = new ApplicationStore(storeInitialData, authorizationHeader, domain); } } diff --git a/lib/index.js.map b/lib/index.js.map index 40d7bc7..8c72353 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,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,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,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 diff --git a/lib/store/index.d.ts b/lib/store/index.d.ts index b4e7103..71fe9fc 100644 --- a/lib/store/index.d.ts +++ b/lib/store/index.d.ts @@ -15,8 +15,11 @@ declare class ApplicationStore { PaymentGateways: Record; private domain; private authorizationHeader; + private serverCookies; constructor(initialData: any, authorizationHeader: any, domain: any); private executeFetch; + private getServerCookies; + setServerCookies(cookies?: Record): void; setI18nDetails(cookieValue: any): void; observeStore(getterKey: string, onChange: Function): import("redux").Unsubscribe; executeGQL(query: string, params: any | null, options?: ExecuteOptions): Promise; diff --git a/lib/store/index.js b/lib/store/index.js index 9a58b7e..6d3443a 100644 --- a/lib/store/index.js +++ b/lib/store/index.js @@ -17,9 +17,11 @@ import { parse } from "graphql"; import { PaymentModule } from "./modules/payment"; import { COOKIE_KEYS } from "./enums/keys"; import { getCookie, isRunningOnClient, setCookie } from "../helpers/utils"; +const isClient = isRunningOnClient(); class ApplicationStore { constructor(initialData, authorizationHeader, domain) { this.PaymentGateways = PaymentGatway; + this.serverCookies = {}; this.store = createStore(initialData); this.domain = domain; this.authorizationHeader = authorizationHeader; @@ -140,11 +142,12 @@ class ApplicationStore { return __awaiter(this, void 0, void 0, function* () { const response = yield fetch(`${this.domain}/service/application/graphql/`, { method: 'POST', - headers: { - 'Content-Type': 'application/json', - 'Authorization': this.authorizationHeader, + headers: Object.assign({ 'Content-Type': 'application/json', 'Authorization': this.authorizationHeader }, (isClient ? { 'credentials': 'include', - }, + } : + { + 'Cookies': this.getServerCookies(), + })), body: JSON.stringify({ query, variables, @@ -159,6 +162,20 @@ class ApplicationStore { return { result, sellerDetails }; }); } + getServerCookies() { + try { + return Object.entries(this.serverCookies) + .map(([key, value]) => `${key}=${value}`) + .join('; '); + } + catch (error) { + console.error('Error while serializing server cookies'); + return ''; + } + } + setServerCookies(cookies = {}) { + this.serverCookies = cookies; + } setI18nDetails(cookieValue) { try { let currentLocationData = getCookie(COOKIE_KEYS.LOCATION_DATA); diff --git a/lib/store/index.js.map b/lib/store/index.js.map index 73b0bbe..52c1305 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,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S,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;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,EAAE,SAAS,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG3E,MAAM,QAAQ,GAAG,iBAAiB,EAAE,CAAC;AAMrC,MAAM,gBAAgB;IAYpB,YAAY,WAAgB,EAAE,mBAAwB,EAAE,MAAW;QAL5D,oBAAe,GAAwB,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a,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 diff --git a/package-lock.json b/package-lock.json index e20a137..f80217f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "fdk-store", - "version": "3.0.38-beta.10", + "version": "v3.0.19-beta.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "fdk-store", - "version": "3.0.38-beta.10", + "version": "v3.0.19-beta.2", "dependencies": { "@reduxjs/toolkit": "^1.9.3", "buffer": "^6.0.3", diff --git a/package.json b/package.json index 12f1515..c202946 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "@gofynd/fdk-store-gql", - "version": "3.0.38-beta.10", + "name": "fdk-store", + "version": "v3.0.19-beta.2", "description": "FPI Store bridging library", "main": "./lib/index.js", "module": "./lib/index.js",