Skip to content

Commit

Permalink
feat: allow packages to proactively register contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
aramalipoor committed Sep 25, 2022
1 parent 6828513 commit 2b4cdeb
Show file tree
Hide file tree
Showing 290 changed files with 1,721 additions and 1,316 deletions.
606 changes: 176 additions & 430 deletions package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions packages/common/src/types/env.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export enum Environment {
DEV = 'dev',
PROD = 'prod',
}

DEV = 'dev',
PROD = 'prod',
}
1 change: 0 additions & 1 deletion packages/common/src/types/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './env';
export * from './facets';
2 changes: 1 addition & 1 deletion packages/common/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"isolatedModules": true,
"noEmit": true
},
"include": ["src"]
"include": ["src", "../registry/src/contracts.ts"]
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
22 changes: 11 additions & 11 deletions packages/react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ export * from '@flair-sdk/ipfs';
export * from '@flair-sdk/metatx';

export * from './common';
export * from './features/address-lists';
export * from './features/contract-verification';
export * from './features/crypto-currency';
export * from './features/data-query';
export * from './features/ipfs';
export * from './features/meta-transactions';
export * from './features/nft-collections';
export * from './features/openzeppelin';
export * from './features/token-streams';
export * from './features/ui';
export * from './features/wallet';
export * from './core/address-lists';
export * from './core/contract-verification';
export * from './core/crypto-currency';
export * from './core/data-query';
export * from './core/ipfs';
export * from './core/meta-transactions';
export * from './core/nft-collections';
export * from './core/openzeppelin';
export * from './core/token-streams';
export * from './core/ui';
export * from './core/wallet';
export * from './providers';
4 changes: 2 additions & 2 deletions packages/react/src/providers/provider.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import * as React from 'react';

import { CommonProvider } from '../common';
import { CoinGeckoProvider } from '../features/crypto-currency';
import { WalletProvider, WalletProviderProps } from '../features/wallet';
import { CoinGeckoProvider } from '../core/crypto-currency';
import { WalletProvider, WalletProviderProps } from '../core/wallet';

type Props = {
children?: React.ReactNode;
Expand Down
Loading

0 comments on commit 2b4cdeb

Please sign in to comment.