Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Commit

Permalink
fix: export Caip* types used in the API (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
danroc authored May 29, 2024
1 parent 03ce321 commit 6493708
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export * from './account';
export * from './balance';
export * from './caip';
export * from './export';
export * from './keyring';
export * from './request';
Expand Down
2 changes: 1 addition & 1 deletion src/api/keyring.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { Json } from '@metamask/utils';

import type { CaipAssetType } from '../utils';
import type { KeyringAccount } from './account';
import type { Balance } from './balance';
import type { CaipAssetType } from './caip';
import type { KeyringAccountData } from './export';
import type { KeyringRequest } from './request';
import type { KeyringResponse } from './response';
Expand Down
3 changes: 2 additions & 1 deletion src/internal/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import { array, literal, number, record, string, union } from 'superstruct';

import {
BalanceStruct,
CaipAssetTypeStruct,
KeyringAccountDataStruct,
KeyringAccountStruct,
KeyringRequestStruct,
KeyringResponseStruct,
} from '../api';
import { object } from '../superstruct';
import { CaipAssetTypeStruct, UuidStruct } from '../utils';
import { UuidStruct } from '../utils';
import { KeyringRpcMethod } from './rpc';

const CommonHeader = {
Expand Down
1 change: 0 additions & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
export * from './caip';
export * from './types';
export * from './typing';

0 comments on commit 6493708

Please sign in to comment.