Skip to content

Commit

Permalink
feat: tg login acceleration for multi guardian and release to 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aelf-lxy committed Nov 15, 2024
1 parent 2e93f42 commit dcbe3ad
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 8 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-alpha.3",
"version": "0.2.1",
"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-alpha.3",
"version": "0.2.1",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down
5 changes: 4 additions & 1 deletion packages/bridge/src/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ class Bridge {
private _noCommonBaseModal: boolean;
private _sideChainId: TChainId;

constructor(wallets: WalletAdapter[], { sideChainId, noCommonBaseModal = false }: IBaseConfig) {
constructor(
wallets: WalletAdapter[],
{ sideChainId = 'tDVV', noCommonBaseModal = false }: IBaseConfig,
) {
this._noCommonBaseModal = noCommonBaseModal;
this._sideChainId = sideChainId;
this._wallets = wallets;
Expand Down
1 change: 1 addition & 0 deletions packages/bridge/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export function initBridge({ baseConfig, wallets, didConfig }: IConfigProps): IB
};
}

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

// export { demoFn } from './ui';
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-alpha.3",
"version": "0.2.1",
"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-alpha.3",
"version": "0.2.1",
"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-alpha.3",
"version": "0.2.1",
"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-alpha.3",
"version": "0.2.1",
"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-alpha.3",
"version": "0.2.1",
"type": "module",
"main": "dist/esm/index.js",
"module": "dist/esm/index.js",
Expand Down

0 comments on commit dcbe3ad

Please sign in to comment.