decentraland-dapps 25.7.0 → 25.9.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.
- package/dist/containers/Navbar/Navbar.types.d.ts +1 -1
- package/dist/containers/Navbar/Navbar2.container.js +4 -2
- package/dist/containers/Navbar/Navbar2.container.js.map +1 -1
- package/dist/modules/features/sagas.d.ts +2 -2
- package/dist/modules/features/types.d.ts +2 -1
- package/dist/modules/features/types.js +1 -0
- package/dist/modules/features/types.js.map +1 -1
- package/dist/modules/transaction/sagas.d.ts +1 -1
- package/package.json +2 -2
|
@@ -36,6 +36,6 @@ export type NavbarProps2 = NavbarComponentProps2 & {
|
|
|
36
36
|
onSignOut: typeof disconnectWalletRequest;
|
|
37
37
|
onSignIn: () => void;
|
|
38
38
|
};
|
|
39
|
-
export type MapStateProps = Pick<NavbarProps, 'manaBalances' | 'address' | 'isSignedIn' | 'isDisconnecting' | 'isSigningIn' | 'chainId' | 'appChainId' | 'isSwitchingNetwork' | 'avatar' | 'locale' | 'walletError'> & Pick<NavbarProps2, 'credits' | 'cdnLinks'>;
|
|
39
|
+
export type MapStateProps = Pick<NavbarProps, 'manaBalances' | 'address' | 'isSignedIn' | 'isDisconnecting' | 'isSigningIn' | 'chainId' | 'appChainId' | 'isSwitchingNetwork' | 'avatar' | 'locale' | 'walletError'> & Pick<NavbarProps2, 'credits' | 'cdnLinks' | 'shouldDownloadBeforeRedirect'>;
|
|
40
40
|
export type MapDispatchProps = Pick<NavbarProps, 'onSwitchNetwork' | 'onSignOut'>;
|
|
41
41
|
export type MapDispatch = Dispatch<SwitchNetworkRequestAction>;
|
|
@@ -5,8 +5,9 @@ import { getError as getWalletError } from '../../modules/wallet/selectors';
|
|
|
5
5
|
import { getLocale } from '../../modules/translation/selectors';
|
|
6
6
|
import { disconnectWalletRequest, switchNetworkRequest } from '../../modules/wallet/actions';
|
|
7
7
|
import { getCredits } from '../../modules/credits/selectors';
|
|
8
|
-
import { getLauncherLinksVariant } from '../../modules/features/selectors';
|
|
8
|
+
import { getIsFeatureEnabled, getLauncherLinksVariant } from '../../modules/features/selectors';
|
|
9
9
|
import Navbar2 from './Navbar2';
|
|
10
|
+
import { ApplicationName, FeatureName } from '../../modules/features';
|
|
10
11
|
const mapState = (state) => {
|
|
11
12
|
const address = getAddress(state);
|
|
12
13
|
const profile = address ? getProfiles(state)[address] : undefined;
|
|
@@ -23,7 +24,8 @@ const mapState = (state) => {
|
|
|
23
24
|
appChainId: getAppChainId(state),
|
|
24
25
|
isSwitchingNetwork: isSwitchingNetwork(state),
|
|
25
26
|
walletError: getWalletError(state),
|
|
26
|
-
cdnLinks: getLauncherLinksVariant(state)
|
|
27
|
+
cdnLinks: getLauncherLinksVariant(state),
|
|
28
|
+
shouldDownloadBeforeRedirect: !getIsFeatureEnabled(state, ApplicationName.DAPPS, FeatureName.DOWNLOAD_IN_SUCCESS_PAGE)
|
|
27
29
|
};
|
|
28
30
|
};
|
|
29
31
|
const mapDispatch = (dispatch) => ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navbar2.container.js","sourceRoot":"","sources":["../../../src/containers/Navbar/Navbar2.container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAErC,OAAO,EACL,WAAW,EACX,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,eAAe,EAChB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,iCAAiC,CAAA;AACxE,OAAO,EAAE,QAAQ,IAAI,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,qCAAqC,CAAA;AAC/D,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACrB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAA;AAC5D,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AAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI;QACpD,OAAO,EAAE,UAAU,CAAC,KAAK,CAAC;QAC1B,MAAM,EAAE,SAAS,CAAC,KAAK,CAAC;QACxB,UAAU,EAAE,WAAW,CAAC,KAAK,CAAC;QAC9B,eAAe,EAAE,eAAe,CAAC,KAAK,CAAC;QACvC,WAAW,EAAE,YAAY,CAAC,KAAK,CAAC;QAChC,UAAU,EAAE,aAAa,CAAC,KAAK,CAAC;QAChC,kBAAkB,EAAE,kBAAkB,CAAC,KAAK,CAAC;QAC7C,WAAW,EAAE,cAAc,CAAC,KAAK,CAAC;QAClC,QAAQ,EAAE,uBAAuB,CAAC,KAAK,CAAC;QACxC,4BAA4B,EAAE,CAAC,mBAAmB,CAChD,KAAK,EACL,eAAe,CAAC,KAAK,EACrB,WAAW,CAAC,wBAAwB,CACrC;KACF,CAAA;AACH,CAAC,CAAA;AAED,MAAM,WAAW,GAAG,CAAC,QAAsB,EAAoB,EAAE,CAAC,CAAC;IACjE,eAAe,EAAE,CAAC,OAAgB,EAAE,WAAoB,EAAE,EAAE,CAC1D,QAAQ,CAAC,oBAAoB,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IACtD,SAAS,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,uBAAuB,EAAE,CAAC;CACrD,CAAC,CAAA;AAEF,MAAM,UAAU,GAAG,CACjB,UAAyB,EACzB,aAA+B,EAC/B,QAAsB,EACR,EAAE,CAAC,CAAC;IAClB,GAAG,UAAU;IACb,GAAG,aAAa;IAChB,GAAG,QAAQ;CACZ,CAAC,CAAA;AAEF,eAAe,OAAO,CAAC,QAAQ,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC,OAAO,CAAQ,CAAA"}
|
|
@@ -6,6 +6,6 @@ import { ApplicationName, FeatureSagasConfig, Polling } from './types';
|
|
|
6
6
|
* @param config Configuration for the saga
|
|
7
7
|
*/
|
|
8
8
|
export declare function featuresSaga(config: FeatureSagasConfig): Generator<import("redux-saga/effects").ForkEffect<never>, void, unknown>;
|
|
9
|
-
export declare const getFetchApplicationFeaturesIntervalGenerator: (polling: Polling) => () => Generator<import("redux-saga/effects").
|
|
9
|
+
export declare const getFetchApplicationFeaturesIntervalGenerator: (polling: Polling) => () => Generator<import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"[Request] Fetch application features", {
|
|
10
10
|
apps: ApplicationName[];
|
|
11
|
-
}>> | import("redux-saga/effects").CallEffect<true>, never, unknown>;
|
|
11
|
+
}>> | import("redux-saga/effects").RaceEffect<import("redux-saga/effects").TakeEffect> | import("redux-saga/effects").CallEffect<true>, never, unknown>;
|
|
@@ -39,5 +39,6 @@ export declare enum FeatureName {
|
|
|
39
39
|
MAGIC_AUTO_SIGN = "magic-auto-sign",
|
|
40
40
|
CREDITS = "credits",
|
|
41
41
|
USER_WALLETS = "alfa-marketplace-credits",
|
|
42
|
-
LAUNCHER_LINKS = "launcher-links"
|
|
42
|
+
LAUNCHER_LINKS = "launcher-links",
|
|
43
|
+
DOWNLOAD_IN_SUCCESS_PAGE = "download-in-success-page"
|
|
43
44
|
}
|
|
@@ -18,5 +18,6 @@ export var FeatureName;
|
|
|
18
18
|
FeatureName["CREDITS"] = "credits";
|
|
19
19
|
FeatureName["USER_WALLETS"] = "alfa-marketplace-credits";
|
|
20
20
|
FeatureName["LAUNCHER_LINKS"] = "launcher-links";
|
|
21
|
+
FeatureName["DOWNLOAD_IN_SUCCESS_PAGE"] = "download-in-success-page";
|
|
21
22
|
})(FeatureName || (FeatureName = {}));
|
|
22
23
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/modules/features/types.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,eAWX;AAXD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,8CAA2B,CAAA;IAC3B,sCAAmB,CAAA;IACnB,8BAAW,CAAA;IACX,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,gCAAa,CAAA;AACf,CAAC,EAXW,eAAe,KAAf,eAAe,QAW1B;AAiBD,wGAAwG;AACxG,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/modules/features/types.ts"],"names":[],"mappings":"AAmBA,MAAM,CAAN,IAAY,eAWX;AAXD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,8CAA2B,CAAA;IAC3B,sCAAmB,CAAA;IACnB,8BAAW,CAAA;IACX,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,kCAAe,CAAA;IACf,gCAAa,CAAA;AACf,CAAC,EAXW,eAAe,KAAf,eAAe,QAW1B;AAiBD,wGAAwG;AACxG,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,kDAAmC,CAAA;IACnC,kCAAmB,CAAA;IACnB,wDAAyC,CAAA;IACzC,gDAAiC,CAAA;IACjC,oEAAqD,CAAA;AACvD,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB"}
|
|
@@ -16,7 +16,7 @@ export declare class FailedTransactionError extends Error {
|
|
|
16
16
|
status: TransactionStatus;
|
|
17
17
|
constructor(hash: string, status: TransactionStatus);
|
|
18
18
|
}
|
|
19
|
-
export declare function handleCrossChainTransactionRequest(action: FetchTransactionRequestAction, config?: TransactionsConfig): Generator<Promise<new (...args: any[]) => import("decentraland-transactions/esm/crossChain/types").CrossChainProvider> | import("redux-saga/effects").
|
|
19
|
+
export declare function handleCrossChainTransactionRequest(action: FetchTransactionRequestAction, config?: TransactionsConfig): Generator<import("redux-saga/effects").CallEffect<true> | Promise<new (...args: any[]) => import("decentraland-transactions/esm/crossChain/types").CrossChainProvider> | import("redux-saga/effects").SelectEffect | import("redux-saga/effects").CallEffect<import("@0xsquid/sdk/dist/types").StatusResponse> | import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"Update Transaction Status", {
|
|
20
20
|
hash: string;
|
|
21
21
|
status: TransactionStatus | null;
|
|
22
22
|
}>> | import("redux-saga/effects").CallEffect<number> | import("redux-saga/effects").PutEffect<import("typesafe-actions/dist/types").PayloadAction<"[Success] Fetch Transaction", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "decentraland-dapps",
|
|
3
|
-
"version": "25.
|
|
3
|
+
"version": "25.9.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"decentraland-crypto-fetch": "^2.0.1",
|
|
26
26
|
"decentraland-transactions": "^2.24.1",
|
|
27
27
|
"decentraland-ui": "^6.22.0",
|
|
28
|
-
"decentraland-ui2": "^0.
|
|
28
|
+
"decentraland-ui2": "^0.43.0",
|
|
29
29
|
"ethers": "^5.7.2",
|
|
30
30
|
"events": "^3.3.0",
|
|
31
31
|
"flat": "^5.0.2",
|