aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/typed-message-manager.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-04-21 02:18:58 +0800
committerDan <danjm.com@gmail.com>2018-04-21 02:18:58 +0800
commit69920045e9d2392b01041532a3dfe7f33493a594 (patch)
tree10d66ece26cc4ebc1191aa291050c30a6742e8b4 /app/scripts/lib/typed-message-manager.js
parent3ec22dc7e1676f5679bc33d8b5f314c890e28b8a (diff)
downloadtangerine-wallet-browser-69920045e9d2392b01041532a3dfe7f33493a594.tar.gz
tangerine-wallet-browser-69920045e9d2392b01041532a3dfe7f33493a594.tar.zst
tangerine-wallet-browser-69920045e9d2392b01041532a3dfe7f33493a594.zip
Minor fixes in a number of docs.
Diffstat (limited to 'app/scripts/lib/typed-message-manager.js')
-rw-r--r--app/scripts/lib/typed-message-manager.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/scripts/lib/typed-message-manager.js b/app/scripts/lib/typed-message-manager.js
index 367c6ecb9..10fa5c2f5 100644
--- a/app/scripts/lib/typed-message-manager.js
+++ b/app/scripts/lib/typed-message-manager.js
@@ -15,7 +15,7 @@ const log = require('loglevel')
* @property {number} id An id to track and identify the message object
* @property {object} msgParams The parameters to pass to the eth_signTypedData method once the signature request is
* approved.
- * @property {object} msgParams.metamaskId Added to msgParams for tracking and identification within Metamask.
+ * @property {object} msgParams.metamaskId Added to msgParams for tracking and identification within MetaMask.
* @property {object} msgParams.from The address that is making the signature request.
* @property {string} msgParams.data A hex string conversion of the raw buffer data of the signature request
* @property {number} time The epoch time at which the this message was created
@@ -31,7 +31,7 @@ module.exports = class TypedMessageManager extends EventEmitter {
*
* @typedef {Object} TypedMessage
* @param {object} opts @deprecated
- * @property {object} memStore The observable store where TypedMessage are saved with persistance.
+ * @property {object} memStore The observable store where TypedMessage are saved.
* @property {object} memStore.unapprovedTypedMessages A collection of all TypedMessages in the 'unapproved' state
* @property {number} memStore.unapprovedTypedMessagesCount The count of all TypedMessages in this.memStore.unapprobedMsgs
* @property {array} messages Holds all messages that have been created by this TypedMessage
@@ -143,8 +143,8 @@ module.exports = class TypedMessageManager extends EventEmitter {
* Approves a TypedMessage. Sets the message status via a call to this.setMsgStatusApproved, and returns a promise
* with any the message params modified for proper signing.
*
- * @param {object} msgParams The msgParams to be used when eth_sign is called, plus data added by Metamask.
- * @param {object} msgParams.metamaskId Added to msgParams for tracking and identification within Metamask.
+ * @param {object} msgParams The msgParams to be used when eth_sign is called, plus data added by MetaMask.
+ * @param {object} msgParams.metamaskId Added to msgParams for tracking and identification within MetaMask.
* @returns {Promise<object>} Promises the msgParams object with metamaskId removed.
*
*/