Skip to content
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
20 changes: 0 additions & 20 deletions eslint-suppressions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1354,26 +1354,6 @@
"count": 2
}
},
"packages/stellar-wallet-snap/src/services/cache/StateCache.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 1
}
},
"packages/stellar-wallet-snap/src/services/cache/StateCache.ts": {
"no-restricted-syntax": {
"count": 1
}
},
"packages/stellar-wallet-snap/src/services/cache/useCache.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 4
}
},
"packages/stellar-wallet-snap/src/services/cache/useCacheUntil.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 2
}
},
"packages/stellar-wallet-snap/src/services/network/NetworkService.test.ts": {
"@typescript-eslint/explicit-function-return-type": {
"count": 4
Expand Down
2 changes: 1 addition & 1 deletion packages/stellar-wallet-snap/src/context.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { InMemoryCache } from '@metamask/snap-networks-utils';
import { assert, object } from '@metamask/superstruct';

import { AppConfig } from './config';
Expand Down Expand Up @@ -38,7 +39,6 @@ import {
AssetMetadataRepository,
AssetMetadataService,
} from './services/asset-metadata';
import { InMemoryCache } from './services/cache';
import { NetworkService } from './services/network';
import {
OnChainAccountRepository,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { TransactionStatus } from '@metamask/keyring-api';
import { InMemoryCache } from '@metamask/snap-networks-utils';

import { KnownCaip2ChainId } from '../../api';
import { AppConfig } from '../../config';
import { KEYRING_ACCOUNT_TYPE, METAMASK_ORIGIN } from '../../constants';
import { AccountService } from '../../services/account';
import { generateStellarKeyringAccount } from '../../services/account/__mocks__/account.fixtures';
import { InMemoryCache } from '../../services/cache';
import {
NetworkService,
NetworkServiceException,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { InMemoryCache } from '@metamask/snap-networks-utils';

import type { KnownCaip19AssetIdOrSlip44Id } from '../../../api';
import { AssetType, KnownCaip2ChainId } from '../../../api';
import { NATIVE_ASSET_NAME, NATIVE_ASSET_SYMBOL } from '../../../constants';
import { getSlip44AssetId } from '../../../utils/caip';
import { logger, noOpLogger } from '../../../utils/logger';
import { InMemoryCache } from '../../cache';
import { NetworkService } from '../../network';
import { State } from '../../state';
import type { AssetMetadataByAssetId, StellarAssetMetadata } from '../api';
Expand Down
180 changes: 0 additions & 180 deletions packages/stellar-wallet-snap/src/services/cache/InMemoryCache.ts

This file was deleted.

This file was deleted.

Loading