@sentecacommerce-theme/lib 0.12.61 → 0.12.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/cjs/order/api/mutations/index.js +8 -0
  2. package/dist/cjs/order/api/mutations/index.js.map +1 -1
  3. package/dist/cjs/order/api/mutations/useUpdateCustomLineItemMutation.js.map +1 -1
  4. package/dist/cjs/order/api/mutations/useUpdateOrderCustomFieldMutation.js +20 -0
  5. package/dist/cjs/order/api/mutations/useUpdateOrderCustomFieldMutation.js.map +1 -0
  6. package/dist/cjs/order/hooks/index.js +8 -0
  7. package/dist/cjs/order/hooks/index.js.map +1 -1
  8. package/dist/cjs/order/hooks/useUpdateCustomLineItem.js.map +1 -1
  9. package/dist/cjs/order/hooks/useUpdateOrderCustomField.js +13 -0
  10. package/dist/cjs/order/hooks/useUpdateOrderCustomField.js.map +1 -0
  11. package/dist/cjs/user/api/queries/index.js +8 -0
  12. package/dist/cjs/user/api/queries/index.js.map +1 -1
  13. package/dist/cjs/user/api/queries/useGetMyLoyaltyCardQuery.js +24 -0
  14. package/dist/cjs/user/api/queries/useGetMyLoyaltyCardQuery.js.map +1 -0
  15. package/dist/cjs/user/hooks/index.js +8 -0
  16. package/dist/cjs/user/hooks/index.js.map +1 -1
  17. package/dist/cjs/user/hooks/useGetMyLoyaltyCard.js +13 -0
  18. package/dist/cjs/user/hooks/useGetMyLoyaltyCard.js.map +1 -0
  19. package/dist/esm/order/api/mutations/index.js +1 -0
  20. package/dist/esm/order/api/mutations/index.js.map +1 -1
  21. package/dist/esm/order/api/mutations/useUpdateCustomLineItemMutation.js.map +1 -1
  22. package/dist/esm/order/api/mutations/useUpdateOrderCustomFieldMutation.js +9 -0
  23. package/dist/esm/order/api/mutations/useUpdateOrderCustomFieldMutation.js.map +1 -0
  24. package/dist/esm/order/hooks/index.js +1 -0
  25. package/dist/esm/order/hooks/index.js.map +1 -1
  26. package/dist/esm/order/hooks/useUpdateCustomLineItem.js.map +1 -1
  27. package/dist/esm/order/hooks/useUpdateOrderCustomField.js +5 -0
  28. package/dist/esm/order/hooks/useUpdateOrderCustomField.js.map +1 -0
  29. package/dist/esm/user/api/queries/index.js +1 -0
  30. package/dist/esm/user/api/queries/index.js.map +1 -1
  31. package/dist/esm/user/api/queries/useGetMyLoyaltyCardQuery.js +11 -0
  32. package/dist/esm/user/api/queries/useGetMyLoyaltyCardQuery.js.map +1 -0
  33. package/dist/esm/user/hooks/index.js +1 -0
  34. package/dist/esm/user/hooks/index.js.map +1 -1
  35. package/dist/esm/user/hooks/useGetMyLoyaltyCard.js +5 -0
  36. package/dist/esm/user/hooks/useGetMyLoyaltyCard.js.map +1 -0
  37. package/dist/types/order/api/mutations/index.d.ts +1 -0
  38. package/dist/types/order/api/mutations/useUpdateCustomLineItemMutation.d.ts +2 -5
  39. package/dist/types/order/api/mutations/useUpdateOrderCustomFieldMutation.d.ts +9 -0
  40. package/dist/types/order/hooks/index.d.ts +1 -0
  41. package/dist/types/order/hooks/useUpdateCustomLineItem.d.ts +2 -2
  42. package/dist/types/order/hooks/useUpdateOrderCustomField.d.ts +2 -0
  43. package/dist/types/user/api/queries/index.d.ts +1 -0
  44. package/dist/types/user/api/queries/useGetMyLoyaltyCardQuery.d.ts +5 -0
  45. package/dist/types/user/hooks/index.d.ts +1 -0
  46. package/dist/types/user/hooks/useGetMyLoyaltyCard.d.ts +2 -0
  47. package/package.json +3 -3
@@ -9,4 +9,12 @@ Object.keys(_useUpdateCustomLineItemMutation).forEach(function (key) {
9
9
  if (key in exports && exports[key] === _useUpdateCustomLineItemMutation[key]) return;
10
10
  exports[key] = _useUpdateCustomLineItemMutation[key];
11
11
  });
12
+
13
+ var _useUpdateOrderCustomFieldMutation = require("./useUpdateOrderCustomFieldMutation");
14
+
15
+ Object.keys(_useUpdateOrderCustomFieldMutation).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (key in exports && exports[key] === _useUpdateOrderCustomFieldMutation[key]) return;
18
+ exports[key] = _useUpdateOrderCustomFieldMutation[key];
19
+ });
12
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/order/api/mutations/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useUpdateCustomLineItemMutation'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../../src/order/api/mutations/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useUpdateCustomLineItemMutation'\nexport * from './useUpdateOrderCustomFieldMutation'\n"],"file":"index.js"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/order/api/mutations/useUpdateCustomLineItemMutation.tsx"],"names":["useUpdateCustomLineItemMutation","onSuccess","onError","values","id","customLineItemId","dto"],"mappings":";;;;;AAAA;;AAIA;;AAaO,IAAMA,+BAA+B,GAAG,SAAlCA,+BAAkC,OAGN;AAAA,MAFvCC,SAEuC,QAFvCA,SAEuC;AAAA,MADvCC,OACuC,QADvCA,OACuC;AACvC,SAAO,6BACL,UAACC,MAAD;AAAA,WACE,uCACEA,MAAM,CAACC,EADT,EAEED,MAAM,CAACE,gBAFT,EAGEF,MAAM,CAACG,GAHT,CADF;AAAA,GADK,EAOL;AACEL,IAAAA,SAAS,EAATA,SADF;AAEEC,IAAAA,OAAO,EAAPA;AAFF,GAPK,CAAP;AAYD,CAhBM","sourcesContent":["import {\n MyOrdersUpdateCustomLineItem,\n CustomLineItemDraftDTO,\n} from '@sentecacommerce/sdk'\nimport { useMutation } from 'react-query'\n\nexport interface UpdateCustomLineItemMutationProps {\n onSuccess?: () => void\n onError?: () => void\n}\n\nexport interface UpdateCustomLineItemProps {\n id: string\n customLineItemId: string\n dto: CustomLineItemDraftDTO\n}\n\nexport const useUpdateCustomLineItemMutation = ({\n onSuccess,\n onError,\n}: UpdateCustomLineItemMutationProps) => {\n return useMutation(\n (values: UpdateCustomLineItemProps) =>\n MyOrdersUpdateCustomLineItem(\n values.id,\n values.customLineItemId,\n values.dto\n ),\n {\n onSuccess,\n onError,\n }\n )\n}\n"],"file":"useUpdateCustomLineItemMutation.js"}
1
+ {"version":3,"sources":["../../../../../src/order/api/mutations/useUpdateCustomLineItemMutation.tsx"],"names":["useUpdateCustomLineItemMutation","onSuccess","onError","values","id","customLineItemId","dto"],"mappings":";;;;;AAAA;;AAIA;;AASO,IAAMA,+BAA+B,GAAG,SAAlCA,+BAAkC,OAG1B;AAAA,MAFnBC,SAEmB,QAFnBA,SAEmB;AAAA,MADnBC,OACmB,QADnBA,OACmB;AACnB,SAAO,6BACL,UAACC,MAAD;AAAA,WACE,uCACEA,MAAM,CAACC,EADT,EAEED,MAAM,CAACE,gBAFT,EAGEF,MAAM,CAACG,GAHT,CADF;AAAA,GADK,EAOL;AACEL,IAAAA,SAAS,EAATA,SADF;AAEEC,IAAAA,OAAO,EAAPA;AAFF,GAPK,CAAP;AAYD,CAhBM","sourcesContent":["import {\n MyOrdersUpdateCustomLineItem,\n CustomLineItemDraftDTO,\n} from '@sentecacommerce/sdk'\nimport { useMutation } from 'react-query'\nimport { CallbackProps } from '../index'\n\nexport interface UpdateCustomLineItemProps {\n id: string\n customLineItemId: string\n dto: CustomLineItemDraftDTO\n}\n\nexport const useUpdateCustomLineItemMutation = ({\n onSuccess,\n onError,\n}: CallbackProps) => {\n return useMutation(\n (values: UpdateCustomLineItemProps) =>\n MyOrdersUpdateCustomLineItem(\n values.id,\n values.customLineItemId,\n values.dto\n ),\n {\n onSuccess,\n onError,\n }\n )\n}\n"],"file":"useUpdateCustomLineItemMutation.js"}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.useUpdateOrderCustomFieldMutation = void 0;
5
+
6
+ var _sdk = require("@sentecacommerce/sdk");
7
+
8
+ var _reactQuery = require("react-query");
9
+
10
+ var useUpdateOrderCustomFieldMutation = function useUpdateOrderCustomFieldMutation(callback) {
11
+ return (0, _reactQuery.useMutation)(function (values) {
12
+ return (0, _sdk.MyCartSetCartCustomField)(values.customFields);
13
+ }, {
14
+ onSuccess: callback == null ? void 0 : callback.onSuccess,
15
+ onError: callback == null ? void 0 : callback.onError
16
+ });
17
+ };
18
+
19
+ exports.useUpdateOrderCustomFieldMutation = useUpdateOrderCustomFieldMutation;
20
+ //# sourceMappingURL=useUpdateOrderCustomFieldMutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/order/api/mutations/useUpdateOrderCustomFieldMutation.tsx"],"names":["useUpdateOrderCustomFieldMutation","callback","values","customFields","onSuccess","onError"],"mappings":";;;;;AAAA;;AAIA;;AAWO,IAAMA,iCAAiC,GAAG,SAApCA,iCAAoC,CAACC,QAAD,EAA8B;AAC7E,SAAO,6BACL,UAACC,MAAD;AAAA,WACE,mCAAyBA,MAAM,CAACC,YAAhC,CADF;AAAA,GADK,EAGL;AACEC,IAAAA,SAAS,EAAEH,QAAF,oBAAEA,QAAQ,CAAEG,SADvB;AAEEC,IAAAA,OAAO,EAAEJ,QAAF,oBAAEA,QAAQ,CAAEI;AAFrB,GAHK,CAAP;AAQD,CATM","sourcesContent":["import {\n MyCartSetCartCustomField,\n SetCustomFieldDTO,\n} from '@sentecacommerce/sdk'\nimport { useMutation } from 'react-query'\n\nexport interface CallbackProps {\n onSuccess?: () => void\n onError?: () => void\n}\n\nexport interface SetCustomFieldProps {\n customFields: SetCustomFieldDTO[]\n}\n\nexport const useUpdateOrderCustomFieldMutation = (callback?: CallbackProps) => {\n return useMutation(\n (values: SetCustomFieldProps) =>\n MyCartSetCartCustomField(values.customFields),\n {\n onSuccess: callback?.onSuccess,\n onError: callback?.onError,\n }\n )\n}\n"],"file":"useUpdateOrderCustomFieldMutation.js"}
@@ -9,4 +9,12 @@ Object.keys(_useUpdateCustomLineItem).forEach(function (key) {
9
9
  if (key in exports && exports[key] === _useUpdateCustomLineItem[key]) return;
10
10
  exports[key] = _useUpdateCustomLineItem[key];
11
11
  });
12
+
13
+ var _useUpdateOrderCustomField = require("./useUpdateOrderCustomField");
14
+
15
+ Object.keys(_useUpdateOrderCustomField).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (key in exports && exports[key] === _useUpdateOrderCustomField[key]) return;
18
+ exports[key] = _useUpdateOrderCustomField[key];
19
+ });
12
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/order/hooks/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useUpdateCustomLineItem'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/order/hooks/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useUpdateCustomLineItem'\nexport * from './useUpdateOrderCustomField'\n"],"file":"index.js"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/order/hooks/useUpdateCustomLineItem.tsx"],"names":["useUpdateCustomLineItem","props"],"mappings":";;;;;AAAA;;AAKO,IAAMA,uBAAuB,GAAG,SAA1BA,uBAA0B,CACrCC,KADqC,EAElC;AACH,SAAO,0CAAgCA,KAAhC,CAAP;AACD,CAJM","sourcesContent":["import {\n useUpdateCustomLineItemMutation,\n UpdateCustomLineItemMutationProps,\n} from '../api'\n\nexport const useUpdateCustomLineItem = (\n props: UpdateCustomLineItemMutationProps\n) => {\n return useUpdateCustomLineItemMutation(props)\n}\n"],"file":"useUpdateCustomLineItem.js"}
1
+ {"version":3,"sources":["../../../../src/order/hooks/useUpdateCustomLineItem.tsx"],"names":["useUpdateCustomLineItem","props"],"mappings":";;;;;AAAA;;AAEO,IAAMA,uBAAuB,GAAG,SAA1BA,uBAA0B,CAACC,KAAD,EAA0B;AAC/D,SAAO,0CAAgCA,KAAhC,CAAP;AACD,CAFM","sourcesContent":["import { useUpdateCustomLineItemMutation, CallbackProps } from '../api'\n\nexport const useUpdateCustomLineItem = (props: CallbackProps) => {\n return useUpdateCustomLineItemMutation(props)\n}\n"],"file":"useUpdateCustomLineItem.js"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.useUpdateOrderCustomField = void 0;
5
+
6
+ var _api = require("../api");
7
+
8
+ var useUpdateOrderCustomField = function useUpdateOrderCustomField(props) {
9
+ return (0, _api.useUpdateOrderCustomFieldMutation)(props);
10
+ };
11
+
12
+ exports.useUpdateOrderCustomField = useUpdateOrderCustomField;
13
+ //# sourceMappingURL=useUpdateOrderCustomField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/order/hooks/useUpdateOrderCustomField.tsx"],"names":["useUpdateOrderCustomField","props"],"mappings":";;;;;AAAA;;AAEO,IAAMA,yBAAyB,GAAG,SAA5BA,yBAA4B,CAACC,KAAD,EAA0B;AACjE,SAAO,4CAAkCA,KAAlC,CAAP;AACD,CAFM","sourcesContent":["import { useUpdateOrderCustomFieldMutation, CallbackProps } from '../api'\n\nexport const useUpdateOrderCustomField = (props: CallbackProps) => {\n return useUpdateOrderCustomFieldMutation(props)\n}\n"],"file":"useUpdateOrderCustomField.js"}
@@ -9,4 +9,12 @@ Object.keys(_useIsAuthenticatedQuery).forEach(function (key) {
9
9
  if (key in exports && exports[key] === _useIsAuthenticatedQuery[key]) return;
10
10
  exports[key] = _useIsAuthenticatedQuery[key];
11
11
  });
12
+
13
+ var _useGetMyLoyaltyCardQuery = require("./useGetMyLoyaltyCardQuery");
14
+
15
+ Object.keys(_useGetMyLoyaltyCardQuery).forEach(function (key) {
16
+ if (key === "default" || key === "__esModule") return;
17
+ if (key in exports && exports[key] === _useGetMyLoyaltyCardQuery[key]) return;
18
+ exports[key] = _useGetMyLoyaltyCardQuery[key];
19
+ });
12
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/user/api/queries/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useIsAuthenticatedQuery'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../../src/user/api/queries/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useIsAuthenticatedQuery'\nexport * from './useGetMyLoyaltyCardQuery'\n"],"file":"index.js"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.useGetMyLoyaltyCardQuery = void 0;
5
+
6
+ var _sdk = require("@sentecacommerce/sdk");
7
+
8
+ var _reactQuery = require("react-query");
9
+
10
+ var useGetMyLoyaltyCardQuery = function useGetMyLoyaltyCardQuery(callback) {
11
+ return (0, _reactQuery.useQuery)('get-loyalty-card-key', function () {
12
+ return (0, _sdk.MyWalletGetByType)('loyalty-program');
13
+ }, {
14
+ onSuccess: function onSuccess() {
15
+ return callback == null ? void 0 : callback.onSuccess == null ? void 0 : callback.onSuccess();
16
+ },
17
+ onError: function onError(err) {
18
+ return callback == null ? void 0 : callback.onError == null ? void 0 : callback.onError(err);
19
+ }
20
+ });
21
+ };
22
+
23
+ exports.useGetMyLoyaltyCardQuery = useGetMyLoyaltyCardQuery;
24
+ //# sourceMappingURL=useGetMyLoyaltyCardQuery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/user/api/queries/useGetMyLoyaltyCardQuery.ts"],"names":["useGetMyLoyaltyCardQuery","callback","onSuccess","onError","err"],"mappings":";;;;;AAAA;;AACA;;AAMO,IAAMA,wBAAwB,GAAG,SAA3BA,wBAA2B,CAACC,QAAD,EAA6B;AACnE,SAAO,0BACL,sBADK,EAEL,YAAM;AACJ,WAAO,4BAAkB,iBAAlB,CAAP;AACD,GAJI,EAKL;AACEC,IAAAA,SAAS,EAAE;AAAA,aAAMD,QAAN,oBAAMA,QAAQ,CAAEC,SAAhB,oBAAMD,QAAQ,CAAEC,SAAV,EAAN;AAAA,KADb;AAEEC,IAAAA,OAAO,EAAE,iBAACC,GAAD;AAAA,aAASH,QAAT,oBAASA,QAAQ,CAAEE,OAAnB,oBAASF,QAAQ,CAAEE,OAAV,CAAoBC,GAApB,CAAT;AAAA;AAFX,GALK,CAAP;AAUD,CAXM","sourcesContent":["import { MyWalletGetByType } from '@sentecacommerce/sdk'\nimport { useQuery } from 'react-query'\n\nexport type CallbackType = {\n onSuccess?: () => void\n onError?: (err: unknown) => void\n}\nexport const useGetMyLoyaltyCardQuery = (callback?: CallbackType) => {\n return useQuery(\n 'get-loyalty-card-key',\n () => {\n return MyWalletGetByType('loyalty-program')\n },\n {\n onSuccess: () => callback?.onSuccess?.(),\n onError: (err) => callback?.onError?.(err),\n }\n )\n}\n"],"file":"useGetMyLoyaltyCardQuery.js"}
@@ -129,4 +129,12 @@ Object.keys(_useGetUserToken).forEach(function (key) {
129
129
  if (key in exports && exports[key] === _useGetUserToken[key]) return;
130
130
  exports[key] = _useGetUserToken[key];
131
131
  });
132
+
133
+ var _useGetMyLoyaltyCard = require("./useGetMyLoyaltyCard");
134
+
135
+ Object.keys(_useGetMyLoyaltyCard).forEach(function (key) {
136
+ if (key === "default" || key === "__esModule") return;
137
+ if (key in exports && exports[key] === _useGetMyLoyaltyCard[key]) return;
138
+ exports[key] = _useGetMyLoyaltyCard[key];
139
+ });
132
140
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/user/hooks/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useAuthGuard'\nexport * from './useRequestAnon'\nexport * from './useConfirmEmail'\nexport * from './useIsAuthenticated'\nexport * from './useLogin'\nexport * from './useLoginApple'\nexport * from './useLoginFacebook'\nexport * from './useLoginGoogle'\nexport * from './useLogout'\nexport * from './useRegister'\nexport * from './useRequestResetPasswordToken'\nexport * from './useResetPassword'\nexport * from './useVerifyChangeEmail'\nexport * from './useChangeEmail'\nexport * from './useRequestEmailConfirmation'\nexport * from './useGetUserToken'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/user/hooks/index.ts"],"names":[],"mappings":";;;;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA;;AACA;;AAAA;AAAA;AAAA;AAAA;AAAA","sourcesContent":["export * from './useAuthGuard'\nexport * from './useRequestAnon'\nexport * from './useConfirmEmail'\nexport * from './useIsAuthenticated'\nexport * from './useLogin'\nexport * from './useLoginApple'\nexport * from './useLoginFacebook'\nexport * from './useLoginGoogle'\nexport * from './useLogout'\nexport * from './useRegister'\nexport * from './useRequestResetPasswordToken'\nexport * from './useResetPassword'\nexport * from './useVerifyChangeEmail'\nexport * from './useChangeEmail'\nexport * from './useRequestEmailConfirmation'\nexport * from './useGetUserToken'\nexport * from './useGetMyLoyaltyCard'\n"],"file":"index.js"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ exports.__esModule = true;
4
+ exports.useGetMyLoyaltyCard = void 0;
5
+
6
+ var _api = require("../api");
7
+
8
+ var useGetMyLoyaltyCard = function useGetMyLoyaltyCard(callback) {
9
+ return (0, _api.useGetMyLoyaltyCardQuery)(callback);
10
+ };
11
+
12
+ exports.useGetMyLoyaltyCard = useGetMyLoyaltyCard;
13
+ //# sourceMappingURL=useGetMyLoyaltyCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/user/hooks/useGetMyLoyaltyCard.ts"],"names":["useGetMyLoyaltyCard","callback"],"mappings":";;;;;AAAA;;AAEO,IAAMA,mBAAmB,GAAG,SAAtBA,mBAAsB,CAACC,QAAD,EAA6B;AAC9D,SAAO,mCAAyBA,QAAzB,CAAP;AACD,CAFM","sourcesContent":["import { useGetMyLoyaltyCardQuery, CallbackType } from '../api'\n\nexport const useGetMyLoyaltyCard = (callback?: CallbackType) => {\n return useGetMyLoyaltyCardQuery(callback)\n}\n"],"file":"useGetMyLoyaltyCard.js"}
@@ -1,2 +1,3 @@
1
1
  export * from './useUpdateCustomLineItemMutation';
2
+ export * from './useUpdateOrderCustomFieldMutation';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/order/api/mutations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAd","sourcesContent":["export * from './useUpdateCustomLineItemMutation'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../../src/order/api/mutations/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAd;AACA,cAAc,qCAAd","sourcesContent":["export * from './useUpdateCustomLineItemMutation'\nexport * from './useUpdateOrderCustomFieldMutation'\n"],"file":"index.js"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/order/api/mutations/useUpdateCustomLineItemMutation.tsx"],"names":["MyOrdersUpdateCustomLineItem","useMutation","useUpdateCustomLineItemMutation","onSuccess","onError","values","id","customLineItemId","dto"],"mappings":"AAAA,SACEA,4BADF,QAGO,sBAHP;AAIA,SAASC,WAAT,QAA4B,aAA5B;AAaA,OAAO,IAAMC,+BAA+B,GAAG,UAGN;AAAA,MAHO;AAC9CC,IAAAA,SAD8C;AAE9CC,IAAAA;AAF8C,GAGP;AACvC,SAAOH,WAAW,CACfI,MAAD,IACEL,4BAA4B,CAC1BK,MAAM,CAACC,EADmB,EAE1BD,MAAM,CAACE,gBAFmB,EAG1BF,MAAM,CAACG,GAHmB,CAFd,EAOhB;AACEL,IAAAA,SADF;AAEEC,IAAAA;AAFF,GAPgB,CAAlB;AAYD,CAhBM","sourcesContent":["import {\n MyOrdersUpdateCustomLineItem,\n CustomLineItemDraftDTO,\n} from '@sentecacommerce/sdk'\nimport { useMutation } from 'react-query'\n\nexport interface UpdateCustomLineItemMutationProps {\n onSuccess?: () => void\n onError?: () => void\n}\n\nexport interface UpdateCustomLineItemProps {\n id: string\n customLineItemId: string\n dto: CustomLineItemDraftDTO\n}\n\nexport const useUpdateCustomLineItemMutation = ({\n onSuccess,\n onError,\n}: UpdateCustomLineItemMutationProps) => {\n return useMutation(\n (values: UpdateCustomLineItemProps) =>\n MyOrdersUpdateCustomLineItem(\n values.id,\n values.customLineItemId,\n values.dto\n ),\n {\n onSuccess,\n onError,\n }\n )\n}\n"],"file":"useUpdateCustomLineItemMutation.js"}
1
+ {"version":3,"sources":["../../../../../src/order/api/mutations/useUpdateCustomLineItemMutation.tsx"],"names":["MyOrdersUpdateCustomLineItem","useMutation","useUpdateCustomLineItemMutation","onSuccess","onError","values","id","customLineItemId","dto"],"mappings":"AAAA,SACEA,4BADF,QAGO,sBAHP;AAIA,SAASC,WAAT,QAA4B,aAA5B;AASA,OAAO,IAAMC,+BAA+B,GAAG,UAG1B;AAAA,MAH2B;AAC9CC,IAAAA,SAD8C;AAE9CC,IAAAA;AAF8C,GAG3B;AACnB,SAAOH,WAAW,CACfI,MAAD,IACEL,4BAA4B,CAC1BK,MAAM,CAACC,EADmB,EAE1BD,MAAM,CAACE,gBAFmB,EAG1BF,MAAM,CAACG,GAHmB,CAFd,EAOhB;AACEL,IAAAA,SADF;AAEEC,IAAAA;AAFF,GAPgB,CAAlB;AAYD,CAhBM","sourcesContent":["import {\n MyOrdersUpdateCustomLineItem,\n CustomLineItemDraftDTO,\n} from '@sentecacommerce/sdk'\nimport { useMutation } from 'react-query'\nimport { CallbackProps } from '../index'\n\nexport interface UpdateCustomLineItemProps {\n id: string\n customLineItemId: string\n dto: CustomLineItemDraftDTO\n}\n\nexport const useUpdateCustomLineItemMutation = ({\n onSuccess,\n onError,\n}: CallbackProps) => {\n return useMutation(\n (values: UpdateCustomLineItemProps) =>\n MyOrdersUpdateCustomLineItem(\n values.id,\n values.customLineItemId,\n values.dto\n ),\n {\n onSuccess,\n onError,\n }\n )\n}\n"],"file":"useUpdateCustomLineItemMutation.js"}
@@ -0,0 +1,9 @@
1
+ import { MyCartSetCartCustomField } from '@sentecacommerce/sdk';
2
+ import { useMutation } from 'react-query';
3
+ export var useUpdateOrderCustomFieldMutation = callback => {
4
+ return useMutation(values => MyCartSetCartCustomField(values.customFields), {
5
+ onSuccess: callback == null ? void 0 : callback.onSuccess,
6
+ onError: callback == null ? void 0 : callback.onError
7
+ });
8
+ };
9
+ //# sourceMappingURL=useUpdateOrderCustomFieldMutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/order/api/mutations/useUpdateOrderCustomFieldMutation.tsx"],"names":["MyCartSetCartCustomField","useMutation","useUpdateOrderCustomFieldMutation","callback","values","customFields","onSuccess","onError"],"mappings":"AAAA,SACEA,wBADF,QAGO,sBAHP;AAIA,SAASC,WAAT,QAA4B,aAA5B;AAWA,OAAO,IAAMC,iCAAiC,GAAIC,QAAD,IAA8B;AAC7E,SAAOF,WAAW,CACfG,MAAD,IACEJ,wBAAwB,CAACI,MAAM,CAACC,YAAR,CAFV,EAGhB;AACEC,IAAAA,SAAS,EAAEH,QAAF,oBAAEA,QAAQ,CAAEG,SADvB;AAEEC,IAAAA,OAAO,EAAEJ,QAAF,oBAAEA,QAAQ,CAAEI;AAFrB,GAHgB,CAAlB;AAQD,CATM","sourcesContent":["import {\n MyCartSetCartCustomField,\n SetCustomFieldDTO,\n} from '@sentecacommerce/sdk'\nimport { useMutation } from 'react-query'\n\nexport interface CallbackProps {\n onSuccess?: () => void\n onError?: () => void\n}\n\nexport interface SetCustomFieldProps {\n customFields: SetCustomFieldDTO[]\n}\n\nexport const useUpdateOrderCustomFieldMutation = (callback?: CallbackProps) => {\n return useMutation(\n (values: SetCustomFieldProps) =>\n MyCartSetCartCustomField(values.customFields),\n {\n onSuccess: callback?.onSuccess,\n onError: callback?.onError,\n }\n )\n}\n"],"file":"useUpdateOrderCustomFieldMutation.js"}
@@ -1,2 +1,3 @@
1
1
  export * from './useUpdateCustomLineItem';
2
+ export * from './useUpdateOrderCustomField';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/order/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAAd","sourcesContent":["export * from './useUpdateCustomLineItem'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/order/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAAd;AACA,cAAc,6BAAd","sourcesContent":["export * from './useUpdateCustomLineItem'\nexport * from './useUpdateOrderCustomField'\n"],"file":"index.js"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/order/hooks/useUpdateCustomLineItem.tsx"],"names":["useUpdateCustomLineItemMutation","useUpdateCustomLineItem","props"],"mappings":"AAAA,SACEA,+BADF,QAGO,QAHP;AAKA,OAAO,IAAMC,uBAAuB,GAClCC,KADqC,IAElC;AACH,SAAOF,+BAA+B,CAACE,KAAD,CAAtC;AACD,CAJM","sourcesContent":["import {\n useUpdateCustomLineItemMutation,\n UpdateCustomLineItemMutationProps,\n} from '../api'\n\nexport const useUpdateCustomLineItem = (\n props: UpdateCustomLineItemMutationProps\n) => {\n return useUpdateCustomLineItemMutation(props)\n}\n"],"file":"useUpdateCustomLineItem.js"}
1
+ {"version":3,"sources":["../../../../src/order/hooks/useUpdateCustomLineItem.tsx"],"names":["useUpdateCustomLineItemMutation","useUpdateCustomLineItem","props"],"mappings":"AAAA,SAASA,+BAAT,QAA+D,QAA/D;AAEA,OAAO,IAAMC,uBAAuB,GAAIC,KAAD,IAA0B;AAC/D,SAAOF,+BAA+B,CAACE,KAAD,CAAtC;AACD,CAFM","sourcesContent":["import { useUpdateCustomLineItemMutation, CallbackProps } from '../api'\n\nexport const useUpdateCustomLineItem = (props: CallbackProps) => {\n return useUpdateCustomLineItemMutation(props)\n}\n"],"file":"useUpdateCustomLineItem.js"}
@@ -0,0 +1,5 @@
1
+ import { useUpdateOrderCustomFieldMutation } from '../api';
2
+ export var useUpdateOrderCustomField = props => {
3
+ return useUpdateOrderCustomFieldMutation(props);
4
+ };
5
+ //# sourceMappingURL=useUpdateOrderCustomField.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/order/hooks/useUpdateOrderCustomField.tsx"],"names":["useUpdateOrderCustomFieldMutation","useUpdateOrderCustomField","props"],"mappings":"AAAA,SAASA,iCAAT,QAAiE,QAAjE;AAEA,OAAO,IAAMC,yBAAyB,GAAIC,KAAD,IAA0B;AACjE,SAAOF,iCAAiC,CAACE,KAAD,CAAxC;AACD,CAFM","sourcesContent":["import { useUpdateOrderCustomFieldMutation, CallbackProps } from '../api'\n\nexport const useUpdateOrderCustomField = (props: CallbackProps) => {\n return useUpdateOrderCustomFieldMutation(props)\n}\n"],"file":"useUpdateOrderCustomField.js"}
@@ -1,2 +1,3 @@
1
1
  export * from './useIsAuthenticatedQuery';
2
+ export * from './useGetMyLoyaltyCardQuery';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../src/user/api/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAAd","sourcesContent":["export * from './useIsAuthenticatedQuery'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../../src/user/api/queries/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAAd;AACA,cAAc,4BAAd","sourcesContent":["export * from './useIsAuthenticatedQuery'\nexport * from './useGetMyLoyaltyCardQuery'\n"],"file":"index.js"}
@@ -0,0 +1,11 @@
1
+ import { MyWalletGetByType } from '@sentecacommerce/sdk';
2
+ import { useQuery } from 'react-query';
3
+ export var useGetMyLoyaltyCardQuery = callback => {
4
+ return useQuery('get-loyalty-card-key', () => {
5
+ return MyWalletGetByType('loyalty-program');
6
+ }, {
7
+ onSuccess: () => callback == null ? void 0 : callback.onSuccess == null ? void 0 : callback.onSuccess(),
8
+ onError: err => callback == null ? void 0 : callback.onError == null ? void 0 : callback.onError(err)
9
+ });
10
+ };
11
+ //# sourceMappingURL=useGetMyLoyaltyCardQuery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../../src/user/api/queries/useGetMyLoyaltyCardQuery.ts"],"names":["MyWalletGetByType","useQuery","useGetMyLoyaltyCardQuery","callback","onSuccess","onError","err"],"mappings":"AAAA,SAASA,iBAAT,QAAkC,sBAAlC;AACA,SAASC,QAAT,QAAyB,aAAzB;AAMA,OAAO,IAAMC,wBAAwB,GAAIC,QAAD,IAA6B;AACnE,SAAOF,QAAQ,CACb,sBADa,EAEb,MAAM;AACJ,WAAOD,iBAAiB,CAAC,iBAAD,CAAxB;AACD,GAJY,EAKb;AACEI,IAAAA,SAAS,EAAE,MAAMD,QAAN,oBAAMA,QAAQ,CAAEC,SAAhB,oBAAMD,QAAQ,CAAEC,SAAV,EADnB;AAEEC,IAAAA,OAAO,EAAGC,GAAD,IAASH,QAAT,oBAASA,QAAQ,CAAEE,OAAnB,oBAASF,QAAQ,CAAEE,OAAV,CAAoBC,GAApB;AAFpB,GALa,CAAf;AAUD,CAXM","sourcesContent":["import { MyWalletGetByType } from '@sentecacommerce/sdk'\nimport { useQuery } from 'react-query'\n\nexport type CallbackType = {\n onSuccess?: () => void\n onError?: (err: unknown) => void\n}\nexport const useGetMyLoyaltyCardQuery = (callback?: CallbackType) => {\n return useQuery(\n 'get-loyalty-card-key',\n () => {\n return MyWalletGetByType('loyalty-program')\n },\n {\n onSuccess: () => callback?.onSuccess?.(),\n onError: (err) => callback?.onError?.(err),\n }\n )\n}\n"],"file":"useGetMyLoyaltyCardQuery.js"}
@@ -14,4 +14,5 @@ export * from './useVerifyChangeEmail';
14
14
  export * from './useChangeEmail';
15
15
  export * from './useRequestEmailConfirmation';
16
16
  export * from './useGetUserToken';
17
+ export * from './useGetMyLoyaltyCard';
17
18
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/user/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAd;AACA,cAAc,kBAAd;AACA,cAAc,mBAAd;AACA,cAAc,sBAAd;AACA,cAAc,YAAd;AACA,cAAc,iBAAd;AACA,cAAc,oBAAd;AACA,cAAc,kBAAd;AACA,cAAc,aAAd;AACA,cAAc,eAAd;AACA,cAAc,gCAAd;AACA,cAAc,oBAAd;AACA,cAAc,wBAAd;AACA,cAAc,kBAAd;AACA,cAAc,+BAAd;AACA,cAAc,mBAAd","sourcesContent":["export * from './useAuthGuard'\nexport * from './useRequestAnon'\nexport * from './useConfirmEmail'\nexport * from './useIsAuthenticated'\nexport * from './useLogin'\nexport * from './useLoginApple'\nexport * from './useLoginFacebook'\nexport * from './useLoginGoogle'\nexport * from './useLogout'\nexport * from './useRegister'\nexport * from './useRequestResetPasswordToken'\nexport * from './useResetPassword'\nexport * from './useVerifyChangeEmail'\nexport * from './useChangeEmail'\nexport * from './useRequestEmailConfirmation'\nexport * from './useGetUserToken'\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../../../src/user/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAd;AACA,cAAc,kBAAd;AACA,cAAc,mBAAd;AACA,cAAc,sBAAd;AACA,cAAc,YAAd;AACA,cAAc,iBAAd;AACA,cAAc,oBAAd;AACA,cAAc,kBAAd;AACA,cAAc,aAAd;AACA,cAAc,eAAd;AACA,cAAc,gCAAd;AACA,cAAc,oBAAd;AACA,cAAc,wBAAd;AACA,cAAc,kBAAd;AACA,cAAc,+BAAd;AACA,cAAc,mBAAd;AACA,cAAc,uBAAd","sourcesContent":["export * from './useAuthGuard'\nexport * from './useRequestAnon'\nexport * from './useConfirmEmail'\nexport * from './useIsAuthenticated'\nexport * from './useLogin'\nexport * from './useLoginApple'\nexport * from './useLoginFacebook'\nexport * from './useLoginGoogle'\nexport * from './useLogout'\nexport * from './useRegister'\nexport * from './useRequestResetPasswordToken'\nexport * from './useResetPassword'\nexport * from './useVerifyChangeEmail'\nexport * from './useChangeEmail'\nexport * from './useRequestEmailConfirmation'\nexport * from './useGetUserToken'\nexport * from './useGetMyLoyaltyCard'\n"],"file":"index.js"}
@@ -0,0 +1,5 @@
1
+ import { useGetMyLoyaltyCardQuery } from '../api';
2
+ export var useGetMyLoyaltyCard = callback => {
3
+ return useGetMyLoyaltyCardQuery(callback);
4
+ };
5
+ //# sourceMappingURL=useGetMyLoyaltyCard.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../src/user/hooks/useGetMyLoyaltyCard.ts"],"names":["useGetMyLoyaltyCardQuery","useGetMyLoyaltyCard","callback"],"mappings":"AAAA,SAASA,wBAAT,QAAuD,QAAvD;AAEA,OAAO,IAAMC,mBAAmB,GAAIC,QAAD,IAA6B;AAC9D,SAAOF,wBAAwB,CAACE,QAAD,CAA/B;AACD,CAFM","sourcesContent":["import { useGetMyLoyaltyCardQuery, CallbackType } from '../api'\n\nexport const useGetMyLoyaltyCard = (callback?: CallbackType) => {\n return useGetMyLoyaltyCardQuery(callback)\n}\n"],"file":"useGetMyLoyaltyCard.js"}
@@ -1 +1,2 @@
1
1
  export * from './useUpdateCustomLineItemMutation';
2
+ export * from './useUpdateOrderCustomFieldMutation';
@@ -1,11 +1,8 @@
1
1
  import { CustomLineItemDraftDTO } from '@sentecacommerce/sdk';
2
- export interface UpdateCustomLineItemMutationProps {
3
- onSuccess?: () => void;
4
- onError?: () => void;
5
- }
2
+ import { CallbackProps } from '../index';
6
3
  export interface UpdateCustomLineItemProps {
7
4
  id: string;
8
5
  customLineItemId: string;
9
6
  dto: CustomLineItemDraftDTO;
10
7
  }
11
- export declare const useUpdateCustomLineItemMutation: ({ onSuccess, onError, }: UpdateCustomLineItemMutationProps) => import("react-query").MutationResultPair<import("@sentecacommerce/sdk").OrderDTO, unknown, UpdateCustomLineItemProps, unknown>;
8
+ export declare const useUpdateCustomLineItemMutation: ({ onSuccess, onError, }: CallbackProps) => import("react-query").MutationResultPair<import("@sentecacommerce/sdk").OrderDTO, unknown, UpdateCustomLineItemProps, unknown>;
@@ -0,0 +1,9 @@
1
+ import { SetCustomFieldDTO } from '@sentecacommerce/sdk';
2
+ export interface CallbackProps {
3
+ onSuccess?: () => void;
4
+ onError?: () => void;
5
+ }
6
+ export interface SetCustomFieldProps {
7
+ customFields: SetCustomFieldDTO[];
8
+ }
9
+ export declare const useUpdateOrderCustomFieldMutation: (callback?: CallbackProps | undefined) => import("react-query").MutationResultPair<import("@sentecacommerce/sdk").OrderDTO, unknown, SetCustomFieldProps, unknown>;
@@ -1 +1,2 @@
1
1
  export * from './useUpdateCustomLineItem';
2
+ export * from './useUpdateOrderCustomField';
@@ -1,2 +1,2 @@
1
- import { UpdateCustomLineItemMutationProps } from '../api';
2
- export declare const useUpdateCustomLineItem: (props: UpdateCustomLineItemMutationProps) => import("react-query").MutationResultPair<import("@sentecacommerce/sdk").OrderDTO, unknown, import("../api").UpdateCustomLineItemProps, unknown>;
1
+ import { CallbackProps } from '../api';
2
+ export declare const useUpdateCustomLineItem: (props: CallbackProps) => import("react-query").MutationResultPair<import("@sentecacommerce/sdk").OrderDTO, unknown, import("../api").UpdateCustomLineItemProps, unknown>;
@@ -0,0 +1,2 @@
1
+ import { CallbackProps } from '../api';
2
+ export declare const useUpdateOrderCustomField: (props: CallbackProps) => import("react-query").MutationResultPair<import("@sentecacommerce/sdk").OrderDTO, unknown, import("../api").SetCustomFieldProps, unknown>;
@@ -1 +1,2 @@
1
1
  export * from './useIsAuthenticatedQuery';
2
+ export * from './useGetMyLoyaltyCardQuery';
@@ -0,0 +1,5 @@
1
+ export declare type CallbackType = {
2
+ onSuccess?: () => void;
3
+ onError?: (err: unknown) => void;
4
+ };
5
+ export declare const useGetMyLoyaltyCardQuery: (callback?: CallbackType | undefined) => import("react-query").QueryResult<import("@sentecacommerce/sdk").WalletDTO, unknown>;
@@ -14,3 +14,4 @@ export * from './useVerifyChangeEmail';
14
14
  export * from './useChangeEmail';
15
15
  export * from './useRequestEmailConfirmation';
16
16
  export * from './useGetUserToken';
17
+ export * from './useGetMyLoyaltyCard';
@@ -0,0 +1,2 @@
1
+ import { CallbackType } from '../api';
2
+ export declare const useGetMyLoyaltyCard: (callback?: CallbackType | undefined) => import("react-query").QueryResult<import("@sentecacommerce/sdk").WalletDTO, unknown>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sentecacommerce-theme/lib",
3
3
  "sideEffects": false,
4
- "version": "0.12.61",
4
+ "version": "0.12.62",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/types/index.d.ts",
@@ -28,9 +28,9 @@
28
28
  "build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types",
29
29
  "dev": "yarn build:esm --watch"
30
30
  },
31
- "gitHead": "fc0a1d4416b1a61bc480b63130febffb0a5b3cfd",
31
+ "gitHead": "eaf45e6713eb5d6db45ebdb0af8265c8e3e041c8",
32
32
  "dependencies": {
33
- "@sentecacommerce-theme/base": "^0.12.61",
33
+ "@sentecacommerce-theme/base": "^0.12.62",
34
34
  "@sentecacommerce/sdk": "2.0.133",
35
35
  "body-scroll-lock": "^3.1.5",
36
36
  "copy-to-clipboard": "^3.3.1",