From 87e36cafac55956df0fa6590055672d25f9b4acf Mon Sep 17 00:00:00 2001 From: Wolfgang Mathurin Date: Wed, 20 Dec 2023 15:46:06 -0800 Subject: [PATCH] Moving to v59.0 --- libs/force.js | 2 +- samples/contactexplorer/index.html | 2 +- samples/smartstoreexplorer/index.html | 2 +- test/SFForceJSTestSuite.js | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/libs/force.js b/libs/force.js index de4125be..f7fb6002 100644 --- a/libs/force.js +++ b/libs/force.js @@ -42,7 +42,7 @@ var force = (function () { // The force.com API version to use. // To override default, pass apiVersion in init(props) - apiVersion = 'v55.0', + apiVersion = 'v59.0', // Keep track of OAuth data (access_token, refresh_token, instance_url and user_id) oauth, diff --git a/samples/contactexplorer/index.html b/samples/contactexplorer/index.html index cae1fe42..c2007593 100644 --- a/samples/contactexplorer/index.html +++ b/samples/contactexplorer/index.html @@ -31,7 +31,7 @@ // The version of the REST API you wish to use in your app. - var apiVersion = "v55.0"; + var apiVersion = "v59.0"; // If you want to prevent dragging, uncomment this section /* diff --git a/samples/smartstoreexplorer/index.html b/samples/smartstoreexplorer/index.html index 2cd82518..a128392a 100644 --- a/samples/smartstoreexplorer/index.html +++ b/samples/smartstoreexplorer/index.html @@ -26,7 +26,7 @@ // The version of the REST API you wish to use in your app. - var apiVersion = "v55.0"; + var apiVersion = "v59.0"; // If you want to prevent dragging, uncomment this section /* diff --git a/test/SFForceJSTestSuite.js b/test/SFForceJSTestSuite.js index 2ee8e6ce..1d123beb 100644 --- a/test/SFForceJSTestSuite.js +++ b/test/SFForceJSTestSuite.js @@ -36,7 +36,7 @@ if (typeof ForceJSTestSuite === 'undefined') { */ var ForceJSTestSuite = function () { SFTestSuite.call(this, "forcejs"); - this.apiVersion = "v55.0"; + this.apiVersion = "v59.0"; }; // We are sub-classing SFTestSuite @@ -82,10 +82,10 @@ ForceJSTestSuite.prototype.testParseUrl = function() { {"protocol":"https:","host":"server.com:1234","hostname":"server.com","port":"1234","path":"/path1/path2","params":{a:"b",c:" d"},"hash":"#hashhash"}) // Real life examples - QUnit.deepEqual(force.parseUrl("https://cs1.salesforce.com/services/data/v55.0/query?q=select%20Id%2CName%20from%20Account%20where%20Id%20%3D%20'001S000000p8dcrIAA'"), - {"protocol":"https:","host":"cs1.salesforce.com","hostname":"cs1.salesforce.com","port":undefined,"path":"/services/data/v55.0/query","params":{"q":"select Id,Name from Account where Id = '001S000000p8dcrIAA'"},"hash":""}); - QUnit.deepEqual(force.parseUrl("https://cs1.salesforce.com/services/data/v55.0/sobjects/Account/001S000000p8dccIAA?fields=Id%2CName"), - {"protocol":"https:","host":"cs1.salesforce.com","hostname":"cs1.salesforce.com","port":undefined,"path":"/services/data/v55.0/sobjects/Account/001S000000p8dccIAA","params":{"fields":"Id,Name"},"hash":""}); + QUnit.deepEqual(force.parseUrl("https://cs1.salesforce.com/services/data/v59.0/query?q=select%20Id%2CName%20from%20Account%20where%20Id%20%3D%20'001S000000p8dcrIAA'"), + {"protocol":"https:","host":"cs1.salesforce.com","hostname":"cs1.salesforce.com","port":undefined,"path":"/services/data/v59.0/query","params":{"q":"select Id,Name from Account where Id = '001S000000p8dcrIAA'"},"hash":""}); + QUnit.deepEqual(force.parseUrl("https://cs1.salesforce.com/services/data/v59.0/sobjects/Account/001S000000p8dccIAA?fields=Id%2CName"), + {"protocol":"https:","host":"cs1.salesforce.com","hostname":"cs1.salesforce.com","port":undefined,"path":"/services/data/v59.0/sobjects/Account/001S000000p8dccIAA","params":{"fields":"Id,Name"},"hash":""}); this.finalizeTest(); };