Skip to content

Commit

Permalink
refactor: change save array to object
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloomingg committed Dec 17, 2021
1 parent 56660ae commit 15ef3ac
Show file tree
Hide file tree
Showing 3 changed files with 222 additions and 267 deletions.
3 changes: 1 addition & 2 deletions src/constants/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ enum RequestFunc {
CREATEMERGERMESSAGE="CreateMergerMessage",
CREATEFORWARDMESSAGE="CreateForwardMessage",
CREATEQUOTEMESSAGE="CreateQuoteMessage",
CREATECARDMESSAGE="CreateCardMessage",
SENDMESSAGE="SendMessage",
SENDMESSAGENOTOSS="SendMessageNotOss",
GETHISTORYMESSAGELIST="GetHistoryMessageList",
Expand Down Expand Up @@ -70,9 +71,7 @@ enum CbEvents {
ONKICKEDOFFLINE = "OnKickedOffline",
ONSELFINFOUPDATED = "OnSelfInfoUpdated",
ONUSERTOKENEXPIRED = "OnUserTokenExpired",
// SENDMSGERROR = "SendMsgError",
SENDMSGPROGRESS = "OnProgress",
// SENDMSGSUCCESS = "SendMsgSuccess",
ONRECVNEWMESSAGE = "OnRecvNewMessage",
ONRECVMESSAGEREVOKED = "OnRecvMessageRevoked",
ONRECVC2CREADRECEIPT = "OnRecvC2CReadReceipt",
Expand Down
Loading

0 comments on commit 15ef3ac

Please sign in to comment.