decentraland-dapps 26.2.2 → 26.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/containers/AddressProvider/AddressProvider.container.d.ts +3 -4
  2. package/dist/containers/AssetCard/AssetCard.js +2 -2
  3. package/dist/containers/AssetCard/AssetCard.js.map +1 -1
  4. package/dist/containers/AssetCard/utils.d.ts +1 -0
  5. package/dist/containers/AssetCard/utils.js +6 -0
  6. package/dist/containers/AssetCard/utils.js.map +1 -1
  7. package/dist/containers/Banner/Banner.container.d.ts +3 -4
  8. package/dist/containers/BuyManaWithFiatModal/BuyManaWithFiatFeedbackModal/BuyManaWithFiatFeedbackModal.container.d.ts +4 -5
  9. package/dist/containers/BuyManaWithFiatModal/BuyManaWithFiatModal.container.d.ts +4 -5
  10. package/dist/containers/ChainCheck/ChainCheck.types.d.ts +0 -1
  11. package/dist/containers/ChainProvider/ChainProvider.container.d.ts +3 -4
  12. package/dist/containers/ChainProvider/ChainProvider.types.d.ts +0 -1
  13. package/dist/containers/EnhancedIntercom/EnhancedIntercom.container.d.ts +2 -3
  14. package/dist/containers/LoginModal/LoginModal.container.d.ts +2 -3
  15. package/dist/containers/MetaTransactionError/MetaTransactionError.container.d.ts +3 -4
  16. package/dist/containers/Navbar/Navbar2.styled.d.ts +1 -2
  17. package/dist/containers/NetworkCheck/NetworkCheck.types.d.ts +0 -1
  18. package/dist/containers/Profile/Profile.d.ts +1 -1
  19. package/dist/containers/TransactionLink/TransactionLink.container.d.ts +3 -4
  20. package/dist/containers/Web2TransactionModal/Web2TransactionsModal.container.d.ts +2 -3
  21. package/dist/containers/withAuthorizedAction/AuthorizationModal/AuthorizationModal.container.d.ts +7 -50
  22. package/dist/modules/analytics/types.d.ts +0 -1
  23. package/dist/modules/authorization/actions.d.ts +10 -10
  24. package/dist/modules/campaign/selectors.d.ts +1 -1
  25. package/dist/modules/gateway/actions.d.ts +5 -5
  26. package/dist/modules/gateway/selectors.d.ts +1 -1
  27. package/dist/modules/notifications.d.ts +1 -1
  28. package/dist/modules/toast/actions.d.ts +1 -1
  29. package/dist/modules/transaction/actions.d.ts +2 -2
  30. package/dist/modules/transaction/sagas.d.ts +13 -13
  31. package/dist/modules/transaction/utils.d.ts +1 -1
  32. package/dist/modules/translation/utils.d.ts +0 -1
  33. package/dist/modules/wallet/utils/transactionEvents.d.ts +0 -1
  34. package/dist/providers/ModalProvider/ModalProvider.types.d.ts +0 -1
  35. package/dist/providers/ToastProvider/ToastProvider.types.d.ts +0 -1
  36. package/dist/providers/TranslationProvider/TranslationProvider.types.d.ts +0 -1
  37. package/dist/providers/WalletProvider/WalletProvider.types.d.ts +0 -1
  38. package/package.json +7 -7
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const _default: import("react-redux").ConnectedComponent<import("react").MemoExoticComponent<(props: import("./AddressProvider.types").Props) => import("react/jsx-runtime").JSX.Element>, {
3
2
  input: string;
4
- children: (result: import("./AddressProvider.types").AddressProviderResult) => import("react").ReactNode;
5
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
6
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
3
+ children: (result: import("./AddressProvider.types").AddressProviderResult) => React.ReactNode | null;
4
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
5
+ store?: import("redux").Store | undefined;
7
6
  }>;
8
7
  export default _default;
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from 'react';
3
3
  import { Rarity } from '@dcl/schemas';
4
4
  import { CatalogCard as AssetCardUi } from 'decentraland-ui/dist/components/CatalogCard/CatalogCard';
5
- import { formatWeiToAssetCardEther, getCatalogCardInformation } from './utils';
5
+ import { formatWeiToAssetCardEther, getCatalogCardInformation, getOwnersText } from './utils';
6
6
  import { t } from '../../modules/translation/utils';
7
7
  export const AssetCard = (props) => {
8
8
  const { asset, assetFilters } = props;
@@ -48,7 +48,7 @@ export const AssetCard = (props) => {
48
48
  extraInformation: catalogItemInformation.extraInformation,
49
49
  notForSale: notForSale,
50
50
  price: price,
51
- owners: `${asset.owners} ${asset.owners === 1 ? i18n.owner : i18n.owners}`,
51
+ owners: getOwnersText(asset.owners, i18n),
52
52
  i18n: {
53
53
  rarities: {
54
54
  [Rarity.COMMON]: t('@dapps.rarities.common'),
@@ -1 +1 @@
1
- {"version":3,"file":"AssetCard.js","sourceRoot":"","sources":["../../../src/containers/AssetCard/AssetCard.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,EAAQ,MAAM,EAAE,MAAM,cAAc,CAAA;AAC3C,OAAO,EACL,WAAW,IAAI,WAAW,EAE3B,MAAM,yDAAyD,CAAA;AAChE,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAA;AAC9E,OAAO,EAAE,CAAC,EAAE,MAAM,iCAAiC,CAAA;AA8BnD,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,KAAqB,EAAE,EAAE;IACjD,MAAM,EAAE,KAAK,EAAE,YAAY,EAAE,GAAG,KAAK,CAAA;IAErC,MAAM,IAAI,GAA0B;QAClC,OAAO,EAAE,CAAC,CAAC,2BAA2B,CAAC;QACvC,QAAQ,EAAE,CAAC,CAAC,4BAA4B,CAAC;QACzC,kBAAkB,EAAE,CAAC,CAAC,sCAAsC,CAAC;QAC7D,2BAA2B,EAAE,CAAC,CAC5B,+CAA+C,CAChD;QACD,gBAAgB,EAAE,CAAC,CAAC,oCAAoC,CAAC;QACzD,YAAY,EAAE,CAAC,CAAC,gCAAgC,CAAC;QACjD,KAAK,EAAE,CAAC,CAAC,yBAAyB,CAAC;QACnC,MAAM,EAAE,CAAC,CAAC,0BAA0B,CAAC;QACrC,eAAe,EAAE,CAAC,CAAC,mCAAmC,CAAC;QACvD,qBAAqB,EAAE,CAAC,CAAC,yCAAyC,C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AC,EAAE,CAAC,CAAC,sCAAsC,CAAC;gBAC5D,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,oCAAoC,CAAC;gBACxD,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,kCAAkC,CAAC;gBACpD,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,kCAAkC,CAAC;gBACpD,CAAC,MAAM,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,uCAAuC,CAAC;gBAC9D,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,oCAAoC,CAAC;gBACxD,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,oCAAoC,CAAC;aACzD;SACF;KACF,CAAA;IAED,OAAO,KAAC,WAAW,OAAK,SAAS,GAAI,CAAA;AACvC,CAAC,CAAA"}
@@ -12,4 +12,5 @@ export declare function getListingsRangePrice(asset: Item): string;
12
12
  export declare function getIsMintPriceInRange(asset: Item, appliedFilters: AssetCardFilters): boolean;
13
13
  export declare function getAssetListingsRangeInfoText(asset: Item, translations: AssetCardTranslations): import("react/jsx-runtime").JSX.Element | null;
14
14
  export declare function formatWeiToAssetCardEther(wei: string): string;
15
+ export declare function getOwnersText(owners: number | null | undefined, translations: Pick<AssetCardTranslations, 'owner' | 'owners'>): string | undefined;
15
16
  export declare function getCatalogCardInformation(asset: Item, translations: AssetCardTranslations, appliedFilters?: AssetCardFilters): CatalogCardInformation;
@@ -34,6 +34,12 @@ export function formatWeiToAssetCardEther(wei) {
34
34
  }
35
35
  return formatter.format(value);
36
36
  }
37
+ export function getOwnersText(owners, translations) {
38
+ if (!owners) {
39
+ return undefined;
40
+ }
41
+ return `${owners} ${owners === 1 ? translations.owner : translations.owners}`;
42
+ }
37
43
  export function getCatalogCardInformation(asset, translations, appliedFilters = {}) {
38
44
  const { sortBy = CatalogSortBy.CHEAPEST } = appliedFilters;
39
45
  const isAvailableForMint = asset.isOnSale && asset.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CAAA;YAC5C,IAAI,CAAC,KAAK,GAAG,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,IAAI,EAAE,CAAA;YACtE,IAAI,CAAC,UAAU,GAAG,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAA;YACtD,IAAI,CAAC,gBAAgB,GAAG,aAAa;gBACnC,CAAC,CAAC,6BAA6B,CAAC,KAAK,EAAE,YAAY,CAAC;gBACpD,CAAC,CAAC,IAAI,CAAA;YAER,IAAI,cAAc,CAAC,QAAQ,EAAE,CAAC;gBAC5B,MAAM,+BAA+B,GAAG,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CACpE,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,QAAQ,CAAC,CACjD,CAAA;gBACD,IAAI,CAAC,gBAAgB;oBACnB,CAAC,aAAa,IAAI,+BAA+B;wBAC/C,CAAC,CAAC,8BAA8B,CAC5B,KAAK,EACL,YAAY,CAAC,kBAAkB,CAChC;wBACH,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAA;YAC7B,CAAC;QACH,CAAC;aAAM,CAAC;YACN,yEAAyE;YACzE,IAAI,CAAC,MAAM,GAAG,YAAY,CAAC,kBAAkB,CAAA;YAC7C,IAAI,CAAC,UAAU,GAAG,aAAa,CAAA;YAC/B,IAAI,CAAC,gBAAgB,GAAG,6BAA6B,CAAC,KAAK,EAAE,YAAY,CAAC,CAAA;QAC5E,CAAC;IACH,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC"}
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare const _default: import("react-redux").ConnectedComponent<import("react").FC<import("./Banner.types").BannerProps>, {
3
2
  id: string;
4
- onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
5
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
6
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
3
+ onClick?: React.MouseEventHandler<HTMLButtonElement> | undefined;
4
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
5
+ store?: import("redux").Store | undefined;
7
6
  }>;
8
7
  export default _default;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  declare const _default: import("react-redux").ConnectedComponent<import("react").MemoExoticComponent<({ metadata: { purchase, goToUrl, transactionUrl }, onTryAgain, onSelectOtherProvider, onClose }: import("./BuyManaWithFiatFeedbackModal.types").Props) => import("react/jsx-runtime").JSX.Element>, {
3
2
  metadata: import("./BuyManaWithFiatFeedbackModal.types").Metadata;
4
3
  name: string;
5
- onClose: () => import("typesafe-actions/dist/types").PayloadAction<"Close modal", {
4
+ onClose: () => ReturnType<(name: string) => import("typesafe-actions/dist/types").PayloadAction<"Close modal", {
6
5
  name: string;
7
- }>;
8
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
9
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
6
+ }>>;
7
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
8
+ store?: import("redux").Store | undefined;
10
9
  }>;
11
10
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import BuyManaWithFiatModal from './BuyManaWithFiatModal';
3
2
  declare const _default: import("react-redux").ConnectedComponent<typeof BuyManaWithFiatModal, {
4
3
  metadata: import("./BuyManaWithFiatModal.types").Metadata;
@@ -11,10 +10,10 @@ declare const _default: import("react-redux").ConnectedComponent<typeof BuyManaW
11
10
  i18n?: import("decentraland-ui/dist/components/BuyManaWithFiatModal/BuyManaWithFiatModal").BuyManaWithFiatModalI18N | undefined;
12
11
  ref?: import("react").LegacyRef<BuyManaWithFiatModal> | undefined;
13
12
  key?: import("react").Key | null | undefined;
14
- onClose: (() => void) & (() => import("typesafe-actions/dist/types").PayloadAction<"Close modal", {
13
+ onClose: (() => void) & (() => ReturnType<(name: string) => import("typesafe-actions/dist/types").PayloadAction<"Close modal", {
15
14
  name: string;
16
- }>);
17
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
18
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
15
+ }>>);
16
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
17
+ store?: import("redux").Store | undefined;
19
18
  }>;
20
19
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ChainId } from '@dcl/schemas/dist/dapps/chain-id';
3
2
  export type Props = {
4
3
  chainId: ChainId;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import ChainProvider from './ChainProvider';
3
2
  declare const _default: import("react-redux").ConnectedComponent<typeof ChainProvider, {
4
- children: (data: import("./ChainProvider.types").ChainData) => import("react").ReactNode;
3
+ children: (data: import("./ChainProvider.types").ChainData) => React.ReactNode;
5
4
  ref?: import("react").LegacyRef<ChainProvider> | undefined;
6
5
  key?: import("react").Key | null | undefined;
7
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
8
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
6
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
7
+ store?: import("redux").Store | undefined;
9
8
  }>;
10
9
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Dispatch } from 'redux';
3
2
  import { ChainId } from '@dcl/schemas/dist/dapps/chain-id';
4
3
  import { Network } from '@dcl/schemas/dist/dapps/network';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import Intercom from '../../components/Intercom/Intercom';
3
2
  declare const _default: import("react-redux").ConnectedComponent<typeof Intercom, {
4
3
  settings?: Partial<{
@@ -10,7 +9,7 @@ declare const _default: import("react-redux").ConnectedComponent<typeof Intercom
10
9
  ref?: import("react").LegacyRef<Intercom> | undefined;
11
10
  key?: import("react").Key | null | undefined;
12
11
  data?: Record<string, any> | undefined;
13
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
14
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
12
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
13
+ store?: import("redux").Store | undefined;
15
14
  }>;
16
15
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import LoginModal from './LoginModal';
3
2
  declare const _default: import("react-redux").ConnectedComponent<typeof LoginModal, {
4
3
  metadata?: import("./LoginModal.types").Metadata | undefined;
@@ -16,7 +15,7 @@ declare const _default: import("react-redux").ConnectedComponent<typeof LoginMod
16
15
  i18n?: import("decentraland-ui/dist/components/LoginModal/LoginModal").LoginModalI18N | undefined;
17
16
  onClose?: (() => void) | undefined;
18
17
  children?: import("react").ReactNode;
19
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
20
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
18
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
19
+ store?: import("redux").Store | undefined;
21
20
  }>;
22
21
  export default _default;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import MetaTransactionError from './MetaTransactionError';
3
2
  declare const _default: import("react-redux").ConnectedComponent<typeof MetaTransactionError, {
4
3
  ref?: import("react").LegacyRef<MetaTransactionError> | undefined;
5
4
  key?: import("react").Key | null | undefined;
6
- text: import("react").ReactNode;
5
+ text: React.ReactNode;
7
6
  learnMoreLink?: string | undefined;
8
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
9
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
7
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
8
+ store?: import("redux").Store | undefined;
10
9
  }>;
11
10
  export default _default;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  declare const NavbarContainer: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("decentraland-ui2").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
3
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
2
+ ref?: ((instance: HTMLDivElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLDivElement> | null | undefined;
4
3
  }, keyof import("@mui/system").BoxOwnProps<import("decentraland-ui2").Theme>> & import("@mui/system").MUIStyledCommonProps<import("decentraland-ui2").Theme>, {}, {}>;
5
4
  export { NavbarContainer };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Network } from '@dcl/schemas/dist/dapps/network';
3
2
  export type Props = {
4
3
  network: Network;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { Props } from './Profile.types';
3
- declare const Profile: <T extends React.ElementType<any, keyof React.JSX.IntrinsicElements>>(props: Props<T>) => import("react/jsx-runtime").JSX.Element;
3
+ declare const Profile: <T extends React.ElementType>(props: Props<T>) => import("react/jsx-runtime").JSX.Element;
4
4
  export default Profile;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import TransactionLink from './TransactionLink';
3
2
  declare const _default: import("react-redux").ConnectedComponent<typeof TransactionLink, {
4
3
  address: string;
5
- children: import("react").ReactNode;
4
+ children: React.ReactNode;
6
5
  className?: string | undefined;
7
6
  ref?: import("react").LegacyRef<TransactionLink> | undefined;
8
7
  key?: import("react").Key | null | undefined;
@@ -10,7 +9,7 @@ declare const _default: import("react-redux").ConnectedComponent<typeof Transact
10
9
  text?: string | undefined;
11
10
  txHash: string;
12
11
  chainId?: import("@dcl/schemas").ChainId | undefined;
13
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
14
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
12
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
13
+ store?: import("redux").Store | undefined;
15
14
  }>;
16
15
  export default _default;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const _default: import("react-redux").ConnectedComponent<(props: import("./Web2TransactionsModal.types").Web2TransactionModalProps) => import("react/jsx-runtime").JSX.Element, {
3
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
4
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
2
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
3
+ store?: import("redux").Store | undefined;
5
4
  }>;
6
5
  export default _default;
@@ -1,6 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { AuthorizationModal } from './AuthorizationModal';
3
2
  import { AuthorizationStepStatus } from './AuthorizationModal.types';
3
+ import { RootStateOrAny } from '../../../types';
4
4
  declare const _default: import("react-redux").ConnectedComponent<typeof AuthorizationModal, {
5
5
  network: import("@dcl/schemas").Network;
6
6
  action: import("./AuthorizationModal.types").AuthorizedAction;
@@ -12,56 +12,13 @@ declare const _default: import("react-redux").ConnectedComponent<typeof Authoriz
12
12
  authorizationType: import("../../../modules/authorization/types").AuthorizationType;
13
13
  authorizedContractLabel?: string | undefined;
14
14
  targetContractLabel?: string | undefined;
15
- translationKeys: {
16
- close?: string | undefined;
17
- waiting_wallet?: string | undefined;
18
- waiting_confirmation?: string | undefined;
19
- done?: string | undefined;
20
- title?: string | undefined;
21
- spending_cap_error?: string | undefined;
22
- revoke_cap_error?: string | undefined;
23
- generic_error?: string | undefined;
24
- insufficient_amount_error?: {
25
- message?: string | undefined;
26
- action?: string | undefined;
27
- } | undefined;
28
- authorize_mana?: {
29
- title?: string | undefined;
30
- description?: string | undefined;
31
- action?: string | undefined;
32
- message?: string | undefined;
33
- } | undefined;
34
- authorize_nft?: {
35
- title?: string | undefined;
36
- action?: string | undefined;
37
- } | undefined;
38
- authorize_item?: {
39
- title?: string | undefined;
40
- action?: string | undefined;
41
- } | undefined;
42
- confirm_transaction?: {
43
- title?: string | undefined;
44
- action?: string | undefined;
45
- } | undefined;
46
- revoke_cap?: {
47
- title?: string | undefined;
48
- description?: string | undefined;
49
- action?: string | undefined;
50
- } | undefined;
51
- set_cap?: {
52
- title?: string | undefined;
53
- description?: string | undefined;
54
- action?: string | undefined;
55
- } | undefined;
56
- action?: string | undefined;
57
- title_action?: string | undefined;
58
- };
59
- getConfirmationStatus?: ((state: any) => AuthorizationStepStatus) | undefined;
60
- getConfirmationError?: ((state: any) => string | null) | undefined;
15
+ translationKeys: import("..").AuthorizationTranslationKeys;
16
+ getConfirmationStatus?: ((state: RootStateOrAny) => AuthorizationStepStatus) | undefined;
17
+ getConfirmationError?: ((state: RootStateOrAny) => string | null) | undefined;
61
18
  onAuthorized: () => void;
62
19
  onRevoke: (authorization: import("../../../modules/authorization/types").Authorization, analyticsTraceId: string) => void;
63
- onGrant: (authorization: import("../../../modules/authorization/types").Authorization, options?: import("./AuthorizationModal.types").HandleGrantOptions | undefined) => void;
64
- context?: import("react").Context<import("react-redux").ReactReduxContextValue<any, import("redux").AnyAction>> | undefined;
65
- store?: import("redux").Store<any, import("redux").AnyAction> | undefined;
20
+ onGrant: (authorization: import("../../../modules/authorization/types").Authorization, options?: import("./AuthorizationModal.types").HandleGrantOptions) => void;
21
+ context?: import("react-redux/es/components/Context").ReactReduxContextInstance | undefined;
22
+ store?: import("redux").Store | undefined;
66
23
  }>;
67
24
  export default _default;
@@ -1,4 +1,3 @@
1
- /// <reference types="segment-analytics" />
2
1
  import { AnyAction } from 'redux';
3
2
  export type AnalyticsWithMiddleware = SegmentAnalytics.AnalyticsJS & {
4
3
  addSourceMiddleware?: (middleware: MiddlewareFunction) => void;
@@ -30,13 +30,13 @@ export declare const grantTokenSuccess: (authorization: Authorization, chainId:
30
30
  authorization: Authorization;
31
31
  _watch_tx: {
32
32
  chainId: ChainId;
33
- toChainId?: ChainId | undefined;
33
+ toChainId?: ChainId;
34
34
  hash: string;
35
35
  payload: any;
36
- requestId?: string | undefined;
37
- withReceipt?: boolean | undefined;
38
- crossChainProviderType?: import("../transaction").CrossChainProviderType | undefined;
39
- from?: string | undefined;
36
+ requestId?: string;
37
+ withReceipt?: boolean;
38
+ crossChainProviderType?: import("../transaction").CrossChainProviderType;
39
+ from?: string;
40
40
  };
41
41
  }>;
42
42
  export declare const grantTokenFailure: (authorization: Authorization, error: string) => import("typesafe-actions/dist/types").PayloadAction<"[Failure] Grant Token", {
@@ -56,13 +56,13 @@ export declare const revokeTokenSuccess: (authorization: Authorization, chainId:
56
56
  authorization: Authorization;
57
57
  _watch_tx: {
58
58
  chainId: ChainId;
59
- toChainId?: ChainId | undefined;
59
+ toChainId?: ChainId;
60
60
  hash: string;
61
61
  payload: any;
62
- requestId?: string | undefined;
63
- withReceipt?: boolean | undefined;
64
- crossChainProviderType?: import("../transaction").CrossChainProviderType | undefined;
65
- from?: string | undefined;
62
+ requestId?: string;
63
+ withReceipt?: boolean;
64
+ crossChainProviderType?: import("../transaction").CrossChainProviderType;
65
+ from?: string;
66
66
  };
67
67
  }>;
68
68
  export declare const revokeTokenFailure: (authorization: Authorization, error: string) => import("typesafe-actions/dist/types").PayloadAction<"[Failure] Revoke Token", {
@@ -2,7 +2,7 @@ import { BannerFields, ContentfulAsset, ContentfulLocale, LocalizedField } from
2
2
  import { type LoadingState } from '../loading';
3
3
  import { CampaignState } from './types';
4
4
  export declare const getState: (state: any) => CampaignState;
5
- export declare const getData: (state: any) => CampaignState['data'] | null;
5
+ export declare const getData: (state: any) => CampaignState["data"] | null;
6
6
  export declare const getLoading: (state: any) => LoadingState;
7
7
  export declare const getError: (state: any) => string | null;
8
8
  export declare const isLoading: (state: any) => boolean;
@@ -51,13 +51,13 @@ export declare const ADD_MANA_PURCHASE_AS_TRANSACTION = "Add MANA Purchase as Tr
51
51
  export declare const addManaPurchaseAsTransaction: (purchase: Purchase) => import("typesafe-actions/dist/types").PayloadAction<"Add MANA Purchase as Transaction", {
52
52
  _watch_tx: {
53
53
  chainId: import("@dcl/schemas").ChainId;
54
- toChainId?: import("@dcl/schemas").ChainId | undefined;
54
+ toChainId?: import("@dcl/schemas").ChainId;
55
55
  hash: string;
56
56
  payload: any;
57
- requestId?: string | undefined;
58
- withReceipt?: boolean | undefined;
59
- crossChainProviderType?: import("../transaction").CrossChainProviderType | undefined;
60
- from?: string | undefined;
57
+ requestId?: string;
58
+ withReceipt?: boolean;
59
+ crossChainProviderType?: import("../transaction").CrossChainProviderType;
60
+ from?: string;
61
61
  };
62
62
  purchase: Purchase;
63
63
  }>;
@@ -8,7 +8,7 @@ export declare const getLoading: (state: any) => import("../loading").LoadingSta
8
8
  export declare const getError: (state: any) => string | null;
9
9
  export declare const getPurchases: (state: any) => Purchase[];
10
10
  export declare const getPendingPurchases: (state: any) => Purchase[];
11
- export declare const getPendingManaPurchase: (state: any) => Purchase | undefined;
11
+ export declare const getPendingManaPurchase: (state: any) => import("./types").ManaPurchase | undefined;
12
12
  export declare const getNFTPurchase: (state: any, contractAddress: string, tokenId: string) => NFTPurchase | undefined;
13
13
  export declare const isFinishingPurchase: (state: any) => boolean;
14
14
  export declare const isOpeningGateway: (state: any) => boolean;
@@ -7,7 +7,7 @@ export declare class NotificationsAPI extends BaseClient {
7
7
  getNotifications(limit?: number, from?: number): Promise<DCLNotification[]>;
8
8
  markNotificationsAsRead(ids: string[]): Promise<void>;
9
9
  getSubscription(): Promise<Subscription & {
10
- unconfirmedEmail?: string | undefined;
10
+ unconfirmedEmail?: string;
11
11
  }>;
12
12
  putSubscription(subscriptionDetails: SubscriptionDetails): Promise<Subscription>;
13
13
  putEmail(email: string): Promise<unknown>;
@@ -1,7 +1,7 @@
1
1
  import { ToastPosition } from 'decentraland-ui';
2
2
  import { Toast } from './types';
3
3
  export declare const SHOW_TOAST = "Show toast";
4
- export declare const showToast: (toast: Omit<Toast, 'id'>, position?: ToastPosition) => import("typesafe-actions/dist/types").PayloadAction<"Show toast", {
4
+ export declare const showToast: (toast: Omit<Toast, "id">, position?: ToastPosition) => import("typesafe-actions/dist/types").PayloadAction<"Show toast", {
5
5
  toast: Omit<Toast, "id">;
6
6
  position: ToastPosition | undefined;
7
7
  }>;
@@ -10,7 +10,7 @@ export declare const fetchTransactionRequest: (address: string, hash: string, ac
10
10
  export declare const fetchTransactionSuccess: (transaction: Transaction) => import("typesafe-actions/dist/types").PayloadAction<"[Success] Fetch Transaction", {
11
11
  transaction: Transaction;
12
12
  }>;
13
- export declare const fetchTransactionFailure: (hash: string, status: AnyTransaction['status'], message: string, transaction: Transaction) => import("typesafe-actions/dist/types").PayloadAction<"[Failure] Fetch Transaction", {
13
+ export declare const fetchTransactionFailure: (hash: string, status: AnyTransaction["status"], message: string, transaction: Transaction) => import("typesafe-actions/dist/types").PayloadAction<"[Failure] Fetch Transaction", {
14
14
  hash: string;
15
15
  status: import("./types").TransactionStatus;
16
16
  message: string;
@@ -23,7 +23,7 @@ export declare const WATCH_PENDING_TRANSACTIONS = "Watch Pending Transactions";
23
23
  export declare const watchPendingTransactions: () => import("typesafe-actions/dist/types").PayloadAction<"Watch Pending Transactions", {}>;
24
24
  export type WatchPendingTransactionsAction = ReturnType<typeof watchPendingTransactions>;
25
25
  export declare const UPDATE_TRANSACTION_STATUS = "Update Transaction Status";
26
- export declare const updateTransactionStatus: (hash: string, status: AnyTransaction['status'] | null) => import("typesafe-actions/dist/types").PayloadAction<"Update Transaction Status", {
26
+ export declare const updateTransactionStatus: (hash: string, status: AnyTransaction["status"] | null) => import("typesafe-actions/dist/types").PayloadAction<"Update Transaction Status", {
27
27
  hash: string;
28
28
  status: import("./types").TransactionStatus | null;
29
29
  }>;
@@ -27,18 +27,18 @@ export declare function handleCrossChainTransactionRequest(action: FetchTransact
27
27
  message: string;
28
28
  transaction: Transaction;
29
29
  }>>, void, (new (...args: any[]) => import("decentraland-transactions/esm/crossChain/types").CrossChainProvider) & import("@0xsquid/sdk/dist/types").ApiBasicResponse & {
30
- id?: string | undefined;
31
- status?: string | undefined;
32
- gasStatus?: string | undefined;
33
- isGMPTransaction?: boolean | undefined;
34
- axelarTransactionUrl?: string | undefined;
35
- fromChain?: import("@0xsquid/sdk/dist/types").TransactionStatus | undefined;
36
- toChain?: import("@0xsquid/sdk/dist/types").TransactionStatus | undefined;
37
- timeSpent?: Record<string, number> | undefined;
38
- requestId?: string | undefined;
39
- integratorId?: string | undefined;
30
+ id?: string;
31
+ status?: string;
32
+ gasStatus?: string;
33
+ isGMPTransaction?: boolean;
34
+ axelarTransactionUrl?: string;
35
+ fromChain?: import("@0xsquid/sdk/dist/types").TransactionStatus;
36
+ toChain?: import("@0xsquid/sdk/dist/types").TransactionStatus;
37
+ timeSpent?: Record<string, number>;
38
+ requestId?: string;
39
+ integratorId?: string;
40
40
  routeStatus?: any;
41
- squidTransactionStatus?: string | undefined;
41
+ squidTransactionStatus?: string;
42
42
  } & Transaction & number>;
43
43
  export declare function handleRegularTransactionRequest(action: FetchTransactionRequestAction): Generator<import("redux-saga/effects").CallEffect<true> | import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"Update Transaction Status", {
44
44
  hash: string;
@@ -59,7 +59,7 @@ export declare function handleRegularTransactionRequest(action: FetchTransaction
59
59
  address: string;
60
60
  }>> | import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"Watch Reverted Transaction", {
61
61
  hash: string;
62
- }>>, void, Transaction & AnyTransaction & number>;
62
+ }>>, void, Transaction & (AnyTransaction & number)>;
63
63
  export declare function getFibonacciDelay(attempt: number): Generator<never, number, unknown>;
64
64
  export declare function handleReplaceTransactionRequest(action: ReplaceTransactionRequestAction): Generator<import("redux-saga/effects").CallEffect<true> | import("redux-saga/effects").SelectEffect | import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"Update Transaction Status", {
65
65
  hash: string;
@@ -71,7 +71,7 @@ export declare function handleReplaceTransactionRequest(action: ReplaceTransacti
71
71
  }>> | import("redux-saga/effects").CallEffect<BlockWithTransactions> | import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"[Success] Replace Transaction", {
72
72
  hash: string;
73
73
  replaceBy: string;
74
- }>>, void, Transaction & ethers.providers.Web3Provider & AnyTransaction & number & BlockWithTransactions>;
74
+ }>>, void, Transaction & ethers.providers.Web3Provider & (AnyTransaction & number & BlockWithTransactions)>;
75
75
  export declare function handleWatchPendingTransactions(): Generator<import("redux-saga/effects").SelectEffect | ForkEffect<void> | import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"Update Transaction Status", {
76
76
  hash: string;
77
77
  status: TransactionStatus | null;
@@ -40,4 +40,4 @@ export declare function waitForTx(txHash: string): Generator<import("redux-saga/
40
40
  fetchAgain: FetchTransactionRequestAction | undefined;
41
41
  update: UpdateTransactionStatusAction | undefined;
42
42
  }>;
43
- export declare const takeEverySuccessfulTx: (actionType: string, worker: (...args: any[]) => any, ...args: any[]) => import("redux-saga/effects").ForkEffect<never>;
43
+ export declare const takeEverySuccessfulTx: (actionType: string, worker: (...args: any[]) => any, ...args: Parameters<(...args: any[]) => any>) => import("redux-saga/effects").ForkEffect<never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IntlProvider } from 'react-intl';
3
2
  import { Locale } from 'decentraland-ui/dist/components/Language/Language';
4
3
  export declare const I18nProvider: typeof IntlProvider;
@@ -1,3 +1,2 @@
1
- /// <reference types="node" />
2
1
  import { EventEmitter } from 'events';
3
2
  export declare const transactionEvents: EventEmitter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ModalState } from '../../modules/modal/reducer';
3
2
  import { closeModal } from '../../modules/modal/actions';
4
3
  export type ModalProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToastPosition } from 'decentraland-ui/dist/components/Toasts/Toasts';
3
2
  import { Toast } from '../../modules/toast/types';
4
3
  import { hideToast } from '../../modules/toast/actions';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { Locale } from 'decentraland-ui/dist/components/Language/Language';
3
2
  import { fetchTranslationsRequest } from '../../modules/translation/actions';
4
3
  import { TranslationKeys } from '../../modules/translation/types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ethers } from 'ethers';
3
2
  import { Dispatch } from 'redux';
4
3
  import { ChainId } from '@dcl/schemas/dist/dapps/chain-id';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "decentraland-dapps",
3
- "version": "26.2.2",
3
+ "version": "26.3.0",
4
4
  "description": "Common modules for Decentraland dApps",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -41,9 +41,9 @@
41
41
  "@dcl/crypto": "^3.3.1",
42
42
  "@dcl/schemas": "^19.8.0",
43
43
  "@dcl/ui-env": "^1.5.0",
44
- "decentraland-connect": "^9.1.0",
45
- "decentraland-ui": "^7.0.1",
46
- "decentraland-ui2": "^1.0.1",
44
+ "decentraland-connect": "^11.0.0",
45
+ "decentraland-ui": "^7.1.0",
46
+ "decentraland-ui2": "^1.1.6",
47
47
  "ethers": "^5.7.2",
48
48
  "history": "^4.10.1",
49
49
  "react": "^18.0.0",
@@ -76,9 +76,9 @@
76
76
  "@types/uuid": "^9.0.5",
77
77
  "@types/ws": "^8.5.3",
78
78
  "dcl-tslint-config-standard": "^1.0.1",
79
- "decentraland-connect": "^9.1.0",
80
- "decentraland-ui": "^7.0.1",
81
- "decentraland-ui2": "^1.1.0",
79
+ "decentraland-connect": "^11.0.0",
80
+ "decentraland-ui": "^7.1.0",
81
+ "decentraland-ui2": "^1.1.6",
82
82
  "ethers": "^5.7.2",
83
83
  "history": "^4.10.1",
84
84
  "husky": "^0.14.3",