-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Unify Prettier and ESLint scripts
- Loading branch information
1 parent
0699b43
commit 5832d62
Showing
14 changed files
with
173 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import { EMessageType } from "./types"; | ||
import { EMessageType } from './types'; | ||
|
||
export { EMessageType }; | ||
export * from "./methods"; | ||
export * from './methods'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { addNetwork, switchNetwork } from "./network"; | ||
export { signAndSendTransaction, signTransaction } from "./transactions"; | ||
export { establishConnection, getAccountInfo } from "./general"; | ||
export { onAccountChange, onNetworkChange } from "./events"; | ||
export { addNetwork, switchNetwork } from './network'; | ||
export { signAndSendTransaction, signTransaction } from './transactions'; | ||
export { establishConnection, getAccountInfo } from './general'; | ||
export { onAccountChange, onNetworkChange } from './events'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
export enum EAdenaResponseStatus { | ||
SUCCESS = "success", | ||
FAILURE = "failure", | ||
SUCCESS = 'success', | ||
FAILURE = 'failure', | ||
} | ||
|
||
export interface IAdenaResponse<T, D> { | ||
code: number; | ||
status: EAdenaResponseStatus; | ||
type: T; | ||
message: string; | ||
data: D; | ||
code: number; | ||
status: EAdenaResponseStatus; | ||
type: T; | ||
message: string; | ||
data: D; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
import { AdenaDoContract, AdenaSignTx } from "./methods/transactions"; | ||
import { AdenaAddNetwork, AdenaSwitchNetwork } from "./methods/network"; | ||
import { AdenaAddEstablish, AdenaGetAccount } from "./methods/general"; | ||
import { AdenaOnEvent } from "./methods/events"; | ||
import { AdenaDoContract, AdenaSignTx } from './methods/transactions'; | ||
import { AdenaAddNetwork, AdenaSwitchNetwork } from './methods/network'; | ||
import { AdenaAddEstablish, AdenaGetAccount } from './methods/general'; | ||
import { AdenaOnEvent } from './methods/events'; | ||
|
||
export type AdenaWallet = { | ||
// General | ||
AddEstablish: AdenaAddEstablish; | ||
GetAccount: AdenaGetAccount; | ||
// General | ||
AddEstablish: AdenaAddEstablish; | ||
GetAccount: AdenaGetAccount; | ||
|
||
// Network | ||
SwitchNetwork: AdenaSwitchNetwork; | ||
AddNetwork: AdenaAddNetwork; | ||
// Network | ||
SwitchNetwork: AdenaSwitchNetwork; | ||
AddNetwork: AdenaAddNetwork; | ||
|
||
// Transactions | ||
SignTx: AdenaSignTx; | ||
DoContract: AdenaDoContract; | ||
// Transactions | ||
SignTx: AdenaSignTx; | ||
DoContract: AdenaDoContract; | ||
|
||
// Events | ||
On: AdenaOnEvent; | ||
// Events | ||
On: AdenaOnEvent; | ||
}; | ||
|
||
export enum EMessageType { | ||
MSG_SEND = "/bank.MsgSend", | ||
MSG_CALL = "/vm.m_call", | ||
MSG_ADD_PKG = "/vm.m_addpkg", | ||
MSG_RUN = "/vm.m_run", | ||
MSG_SEND = '/bank.MsgSend', | ||
MSG_CALL = '/vm.m_call', | ||
MSG_ADD_PKG = '/vm.m_addpkg', | ||
MSG_RUN = '/vm.m_run', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.