From 073b4ba893131d840892a48afd7b331eba6c0858 Mon Sep 17 00:00:00 2001 From: Collin Herber Date: Mon, 7 Aug 2023 11:24:23 -0400 Subject: [PATCH] fix: update minimum api version to 31 --- forcetk.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forcetk.js b/forcetk.js index b9e3296..8c12875 100644 --- a/forcetk.js +++ b/forcetk.js @@ -119,7 +119,7 @@ if (forcetk.Client === undefined) { * Set a session token and the associated metadata in the client. * @param sessionId a salesforce.com session ID. In a Visualforce page, * use '{!$Api.sessionId}' to obtain a session ID. - * @param [apiVersion="v29.0"] Force.com API version + * @param [apiVersion="v31.0"] Force.com API version * @param [instanceUrl] Omit this if running on Visualforce; otherwise * use the value from the OAuth token. */ @@ -127,7 +127,7 @@ if (forcetk.Client === undefined) { 'use strict'; this.sessionId = sessionId; this.apiVersion = (apiVersion === undefined || apiVersion === null) - ? 'v29.0' : apiVersion; + ? 'v31.0' : apiVersion; if (instanceUrl === undefined || instanceUrl === null) { this.visualforce = true;