diff --git a/libs/force.js b/libs/force.js index f7fb6002..aceafa49 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 = 'v59.0', + apiVersion = 'v60.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 c2007593..3f921f9b 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 = "v59.0"; + var apiVersion = "v60.0"; // If you want to prevent dragging, uncomment this section /* diff --git a/samples/smartstoreexplorer/index.html b/samples/smartstoreexplorer/index.html index a128392a..b302c4de 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 = "v59.0"; + var apiVersion = "v60.0"; // If you want to prevent dragging, uncomment this section /* diff --git a/test/SFForceJSTestSuite.js b/test/SFForceJSTestSuite.js index 1d123beb..d0042e8c 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 = "v59.0"; + this.apiVersion = "v60.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/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":""}); + QUnit.deepEqual(force.parseUrl("https://cs1.salesforce.com/services/data/v60.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/v60.0/query","params":{"q":"select Id,Name from Account where Id = '001S000000p8dcrIAA'"},"hash":""}); + QUnit.deepEqual(force.parseUrl("https://cs1.salesforce.com/services/data/v60.0/sobjects/Account/001S000000p8dccIAA?fields=Id%2CName"), + {"protocol":"https:","host":"cs1.salesforce.com","hostname":"cs1.salesforce.com","port":undefined,"path":"/services/data/v60.0/sobjects/Account/001S000000p8dccIAA","params":{"fields":"Id,Name"},"hash":""}); this.finalizeTest(); };