Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/wallet/pages/add-network.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class AddNetwork implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly addNetwork: InstanceType<typeof DappDriver.Instance.Extension.pages.AddNetwork>;
private readonly addNetwork: IConfirmation;

constructor() {
this.addNetwork = new DappDriver.Instance.Extension.pages.AddNetwork();
Expand Down Expand Up @@ -58,7 +58,6 @@ export class AddNetwork implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof AddNetwork
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/approve-all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class ApproveAll implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly approveAll: InstanceType<typeof DappDriver.Instance.Extension.pages.ApproveAll>;
private readonly approveAll: IConfirmation;

constructor() {
this.approveAll = new DappDriver.Instance.Extension.pages.ApproveAll();
Expand Down Expand Up @@ -57,7 +57,6 @@ export class ApproveAll implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof ApproveAll
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/approve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class Approve implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly approve: InstanceType<typeof DappDriver.Instance.Extension.pages.Approve>;
private readonly approve: IConfirmation;

constructor() {
this.approve = new DappDriver.Instance.Extension.pages.Approve();
Expand Down Expand Up @@ -51,7 +51,6 @@ export class Approve implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof Approve
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/confirm-transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class ConfirmTransaction implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly confirmTx: InstanceType<typeof DappDriver.Instance.Extension.pages.ConfirmTransaction>;
private readonly confirmTx: IConfirmation;

constructor() {
this.confirmTx = new DappDriver.Instance.Extension.pages.ConfirmTransaction();
Expand Down Expand Up @@ -58,7 +58,6 @@ export class ConfirmTransaction implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof ConfirmTransaction
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class Connect implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly connect: InstanceType<typeof DappDriver.Instance.Extension.pages.Connect>;
private readonly connect: IConfirmation;

constructor() {
this.connect = new DappDriver.Instance.Extension.pages.Connect();
Expand Down Expand Up @@ -58,7 +58,6 @@ export class Connect implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof Connect
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class Send implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly send: InstanceType<typeof DappDriver.Instance.Extension.pages.Send>;
private readonly send: IConfirmation;

constructor() {
this.send = new DappDriver.Instance.Extension.pages.Send();
Expand Down Expand Up @@ -58,7 +58,6 @@ export class Send implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof Send
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/sign-in-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class SignInRequest implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly signInRequest: InstanceType<typeof DappDriver.Instance.Extension.pages.SignInRequest>;
private readonly signInRequest: IConfirmation;

constructor() {
this.signInRequest = new DappDriver.Instance.Extension.pages.SignInRequest();
Expand Down Expand Up @@ -58,7 +58,6 @@ export class SignInRequest implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof SignInRequest
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/sign-message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class SignMessage implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly signMessage: InstanceType<typeof DappDriver.Instance.Extension.pages.SignMessage>;
private readonly signMessage: IConfirmation;

constructor() {
this.signMessage = new DappDriver.Instance.Extension.pages.SignMessage();
Expand Down Expand Up @@ -58,7 +58,6 @@ export class SignMessage implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof SignMessage
Expand Down
3 changes: 1 addition & 2 deletions src/wallet/pages/signature-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DappDriver } from '../../session/dapp-driver';
export class SignatureRequest implements IConfirmation {
public url: string | RegExp;
public title: string;
private readonly signatureRequest: InstanceType<typeof DappDriver.Instance.Extension.pages.SignatureRequest>;
private readonly signatureRequest: IConfirmation;

constructor() {
this.signatureRequest = new DappDriver.Instance.Extension.pages.SignatureRequest();
Expand Down Expand Up @@ -57,7 +57,6 @@ export class SignatureRequest implements IConfirmation {
*
*
* @template TPage
* @param {*} nameOrHandle
* @param {new () => TPage} page
* @return {*} {Promise<TPage>}
* @memberof SignatureRequest
Expand Down
Loading