decentraland-dapps 26.2.3 → 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 (33) hide show
  1. package/dist/containers/AddressProvider/AddressProvider.container.d.ts +3 -4
  2. package/dist/containers/Banner/Banner.container.d.ts +3 -4
  3. package/dist/containers/BuyManaWithFiatModal/BuyManaWithFiatFeedbackModal/BuyManaWithFiatFeedbackModal.container.d.ts +4 -5
  4. package/dist/containers/BuyManaWithFiatModal/BuyManaWithFiatModal.container.d.ts +4 -5
  5. package/dist/containers/ChainCheck/ChainCheck.types.d.ts +0 -1
  6. package/dist/containers/ChainProvider/ChainProvider.container.d.ts +3 -4
  7. package/dist/containers/ChainProvider/ChainProvider.types.d.ts +0 -1
  8. package/dist/containers/EnhancedIntercom/EnhancedIntercom.container.d.ts +2 -3
  9. package/dist/containers/LoginModal/LoginModal.container.d.ts +2 -3
  10. package/dist/containers/MetaTransactionError/MetaTransactionError.container.d.ts +3 -4
  11. package/dist/containers/Navbar/Navbar2.styled.d.ts +1 -2
  12. package/dist/containers/NetworkCheck/NetworkCheck.types.d.ts +0 -1
  13. package/dist/containers/Profile/Profile.d.ts +1 -1
  14. package/dist/containers/TransactionLink/TransactionLink.container.d.ts +3 -4
  15. package/dist/containers/Web2TransactionModal/Web2TransactionsModal.container.d.ts +2 -3
  16. package/dist/containers/withAuthorizedAction/AuthorizationModal/AuthorizationModal.container.d.ts +7 -50
  17. package/dist/modules/analytics/types.d.ts +0 -1
  18. package/dist/modules/authorization/actions.d.ts +10 -10
  19. package/dist/modules/campaign/selectors.d.ts +1 -1
  20. package/dist/modules/gateway/actions.d.ts +5 -5
  21. package/dist/modules/gateway/selectors.d.ts +1 -1
  22. package/dist/modules/notifications.d.ts +1 -1
  23. package/dist/modules/toast/actions.d.ts +1 -1
  24. package/dist/modules/transaction/actions.d.ts +2 -2
  25. package/dist/modules/transaction/sagas.d.ts +13 -13
  26. package/dist/modules/transaction/utils.d.ts +1 -1
  27. package/dist/modules/translation/utils.d.ts +0 -1
  28. package/dist/modules/wallet/utils/transactionEvents.d.ts +0 -1
  29. package/dist/providers/ModalProvider/ModalProvider.types.d.ts +0 -1
  30. package/dist/providers/ToastProvider/ToastProvider.types.d.ts +0 -1
  31. package/dist/providers/TranslationProvider/TranslationProvider.types.d.ts +0 -1
  32. package/dist/providers/WalletProvider/WalletProvider.types.d.ts +0 -1
  33. 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;
@@ -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.3",
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",