Skip to content

Commit

Permalink
fix: export GuardianApprovedItem as a type
Browse files Browse the repository at this point in the history
  • Loading branch information
aelf-lxy committed Nov 16, 2024
1 parent 31f8e1c commit f7e345d
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-web-login/wallet-adapter-base",
"version": "0.2.1",
"version": "0.2.2-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-web-login/wallet-adapter-bridge",
"version": "0.2.1",
"version": "0.2.2-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/bridge/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ export function initBridge({ baseConfig, wallets, didConfig }: IConfigProps): IB
}

export * as PortkeyDid from '@portkey/did-ui-react';
export { GuardianApprovedItem } from '@portkey/did-ui-react';
export type { GuardianApprovedItem } from '@portkey/did-ui-react';

// export { demoFn } from './ui';
2 changes: 1 addition & 1 deletion packages/bridge/src/ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ const SignInModal: React.FC<ISignInModalProps> = (props: ISignInModalProps) => {
</DynamicWrapper>
)}

{guardianList?.length && (
{guardianList?.length > 0 && (
<GuardianApprovalModal
open={showGuardianApprovalModal}
networkType={baseConfig.networkType}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-web-login/wallet-adapter-react",
"version": "0.2.1",
"version": "0.2.2-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-web-login/utils",
"version": "0.2.1",
"version": "0.2.2-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/night-elf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-web-login/wallet-adapter-night-elf",
"version": "0.2.1",
"version": "0.2.2-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/portkey-aa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-web-login/wallet-adapter-portkey-aa",
"version": "0.2.1",
"version": "0.2.2-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/wallets/portkey-discover/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aelf-web-login/wallet-adapter-portkey-discover",
"version": "0.2.1",
"version": "0.2.2-alpha.2",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit f7e345d

Please sign in to comment.