Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding blockaid byline and feedback form #1767

Open
wants to merge 3 commits into
base: release/5.27.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion @shared/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ export interface Balance {
export type BlockAidScanAssetResult = Blockaid.TokenScanResponse;

export type BlockAidScanSiteResult = Blockaid.SiteScanResponse;
export type BlockAidScanTxResult = Blockaid.StellarTransactionScanResponse;
export type BlockAidScanTxResult = Blockaid.StellarTransactionScanResponse & {
request_id: string;
};
export type BlockAidBulkScanAssetResult = Blockaid.TokenBulkScanResponse;

export interface AssetBalance extends Balance {
Expand Down
2 changes: 2 additions & 0 deletions extension/src/popup/__testHelpers__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export const mockBalances = {
total: new BigNumber("100"),
available: new BigNumber("100"),
blockaidData: {
address:
"USDC-GCK3D3V2XNLLKRFGFFFDEJXA4O2J4X36HET2FE446AV3M4U7DPHO3PEM",
result_type: "Spam",
features: [{ feature_id: "METADATA", description: "baz" }],
},
Expand Down
Loading