Skip to content

Commit

Permalink
Release/5.7.1 (#1017)
Browse files Browse the repository at this point in the history
* rm serializable check to reduce noise (#1015)

* Bump @babel/traverse from 7.20.13 to 7.23.2 in /docs (#1012)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @babel/traverse from 7.12.1 to 7.23.2 (#1011)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.12.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* upgrade SDS (#1018)

* Bump lodash-es from 4.17.15 to 4.17.21 (#1019)

Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.21)

---
updated-dependencies:
- dependency-name: lodash-es
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
piyalbasu and dependabot[bot] authored Oct 30, 2023
1 parent e22bb82 commit 3854c24
Show file tree
Hide file tree
Showing 8 changed files with 355 additions and 255 deletions.
363 changes: 241 additions & 122 deletions docs/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@shared/api": "1.0.0",
"@shared/constants": "1.0.0",
"@shared/helpers": "1.0.0",
"@stellar/design-system": "^1.0.0-beta.14",
"@stellar/design-system": "^1.0.0",
"@stellar/wallet-sdk": "^0.10.0",
"@testing-library/react": "^10.4.8",
"@testing-library/user-event": "^7.1.2",
Expand Down
6 changes: 0 additions & 6 deletions extension/src/helpers/stellar.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import BigNumber from "bignumber.js";
import { Asset, Networks } from "stellar-sdk";
import isEqual from "lodash/isEqual";
import { isPlain } from "@reduxjs/toolkit";

import { isSorobanIssuer } from "popup/helpers/account";
import {
Expand All @@ -13,11 +12,6 @@ import {
import { TransactionInfo } from "types/transactions";
import { parsedSearchParam, getUrlHostname } from "./urls";

// .isBigNumber() not catching correctly, so checking .isBigNumber
// property as well
export const isSerializable = (value: any) =>
value?.isBigNumber || BigNumber.isBigNumber(value) || isPlain(value);

export const truncateString = (str: string) =>
str ? `${str.slice(0, 4)}${str.slice(-4)}` : "";

Expand Down
5 changes: 1 addition & 4 deletions extension/src/popup/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { combineReducers } from "redux";
import { Provider } from "react-redux";

import { metricsMiddleware } from "helpers/metrics";
import { isSerializable } from "helpers/stellar";

import { reducer as auth } from "popup/ducks/accountServices";
import { reducer as settings } from "popup/ducks/settings";
Expand All @@ -30,9 +29,7 @@ export const store = configureStore({

middleware: [
...getDefaultMiddleware({
serializableCheck: {
isSerializable,
},
serializableCheck: false,
}),
].concat(metricsMiddleware<AppState>()),
});
Expand Down
5 changes: 1 addition & 4 deletions extension/src/popup/__testHelpers__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { APPLICATION_STATE } from "@shared/constants/applicationState";
import { Balances } from "@shared/api/types";
import { FUTURENET_NETWORK_DETAILS } from "@shared/constants/stellar";

import { isSerializable } from "helpers/stellar";
import { reducer as auth } from "popup/ducks/accountServices";
import { reducer as settings } from "popup/ducks/settings";
import {
Expand Down Expand Up @@ -40,9 +39,7 @@ const makeDummyStore = (state: any) =>
preloadedState: state,
middleware: [
...getDefaultMiddleware({
serializableCheck: {
isSerializable,
},
serializableCheck: false,
}),
],
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const UnsafeMaliciousWarning = ({
)}`}
altText="Error"
icon={<Icon.Info />}
variant={IconButton.variant.error}
variant="error"
/>
}
/>
Expand All @@ -275,7 +275,7 @@ const MemoRequiredWarning = ({
label={t("Memo required")}
altText="Error"
icon={<Icon.Info />}
variant={IconButton.variant.error}
variant="error"
/>
}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const MemoDisplay = ({
label={t("Not defined")}
altText="Error"
icon={<Icon.Info />}
variant={IconButton.variant.error}
variant="error"
/>
);
}
Expand Down
Loading

0 comments on commit 3854c24

Please sign in to comment.