From dc5d9e80f103534e40cf3c42369f173843516fb1 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Mon, 21 Mar 2016 13:31:28 -0700 Subject: [PATCH] tweak docs --- docs/realm.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/realm.js b/docs/realm.js index 53843f46..7267bb19 100644 --- a/docs/realm.js +++ b/docs/realm.js @@ -107,7 +107,8 @@ class Realm { * Get the current schema version of the Realm at the given path. * @param {string} path - The path to the file where the * Realm database is stored. - * @param {string} encryptionKey - Optional encryption key. + * @param {ArrayBuffer|ArrayBufferView} [encryptionKey] - Required only when + * accessing encrypted Realms. * @throws {Error} When passing an invalid or non-matching encryption key. * @returns {number} version of the schema, or `-1` if no Realm exists at `path`. */