Skip to content

Commit

Permalink
Merge pull request #124 from fireblocks/remove-network-auto-policy
Browse files Browse the repository at this point in the history
Network-connection: remove AUTO scheme from network Id policy
  • Loading branch information
yarinvak authored Nov 30, 2022
2 parents 45f4a40 + 10c101a commit 5054e95
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,18 +423,14 @@ export interface DefaultNetworkRoutingDest {
scheme: NetworkScheme.DEFAULT;
}

export interface AutoNetworkRoutingDest {
scheme: NetworkScheme.AUTO;
}

export interface NoneNetworkRoutingDest {
scheme: NetworkScheme.NONE;
}

export type NetworkConnectionCryptoRoutingDest = CustomCryptoRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest;
export type NetworkConnectionFiatRoutingDest = CustomFiatRoutingDest | DefaultNetworkRoutingDest | NoneNetworkRoutingDest;
export type NetworkIdCryptoRoutingDest = CustomCryptoRoutingDest | AutoNetworkRoutingDest | NoneNetworkRoutingDest;
export type NetworkIdFiatRoutingDest = CustomFiatRoutingDest | AutoNetworkRoutingDest | NoneNetworkRoutingDest;
export type NetworkIdCryptoRoutingDest = CustomCryptoRoutingDest | NoneNetworkRoutingDest;
export type NetworkIdFiatRoutingDest = CustomFiatRoutingDest | NoneNetworkRoutingDest;

export interface NetworkConnectionRoutingPolicy {
crypto?: NetworkConnectionCryptoRoutingDest;
Expand All @@ -455,7 +451,6 @@ export interface NetworkIdRoutingPolicy {
export enum NetworkScheme {
DEFAULT = "DEFAULT",
CUSTOM = "CUSTOM",
AUTO = "AUTO",
NONE = "NONE",
}

Expand Down

0 comments on commit 5054e95

Please sign in to comment.