Skip to content
This repository was archived by the owner on Jan 27, 2024. It is now read-only.

Commit fff3b70

Browse files
committed
updated to API v44.0
updated postmate to v1.5.0
1 parent eb061c6 commit fff3b70

21 files changed

+48
-30523
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Find the `<c:lc_api>` by its `aura:id` then call the `restRequest(..)` method pa
4444
createAccount: function( component, event, helper ) {
4545

4646
component.find( 'restClient' ).restRequest({
47-
'url' : '/services/data/v43.0/sobjects/Account',
47+
'url' : '/services/data/v44.0/sobjects/Account',
4848
'method' : 'post',
4949
'body' : JSON.stringify({
5050
"Name" : "LC Demo Account"

force-app/main/aura/LC_API/LC_API.cmp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ License: BSD 3-Clause License
66
-->
77
<aura:component controller="LC_APIController">
88

9-
<ltng:require scripts="{!$Resource.postmate_1_4_4}"
9+
<ltng:require scripts="{!$Resource.postmate}"
1010
afterScriptsLoaded="{!c.onScriptsLoaded}"/>
1111

1212
<!--
@@ -24,7 +24,7 @@ License: BSD 3-Clause License
2424

2525
Example usage:
2626
component.find( 'lcAPI' ).restRequest({
27-
'url' : '/services/data/v43.0/sobjects/Account',
27+
'url' : '/services/data/v44.0/sobjects/Account',
2828
'method' : 'post',
2929
'body' : JSON.stringify({
3030
'Name' : 'Salesforce',
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>43.0</apiVersion>
3+
<apiVersion>44.0</apiVersion>
44
<description>LC_API</description>
55
</AuraDefinitionBundle>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>43.0</apiVersion>
3+
<apiVersion>44.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ApexClass xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>43.0</apiVersion>
3+
<apiVersion>44.0</apiVersion>
44
<status>Active</status>
55
</ApexClass>

force-app/main/pages/LC_APIPage.page

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ License: BSD 3-Clause License
66
-->
77
<apex:page>
88

9-
<apex:includeScript value="{!$Resource.postmate_1_4_4}"/>
10-
<apex:includeScript value="{!$Resource.jsforce_1_9_1}"/>
9+
<apex:includeScript value="{!$Resource.postmate}"/>
10+
<apex:includeScript value="{!$Resource.jsforce}"/>
1111

1212
<script>
1313

14-
var conn = new jsforce.Connection({ accessToken: '{!$API.Session_Id}', version: '43.0' });
14+
var conn = new jsforce.Connection({ accessToken: '{!$API.Session_Id}', version: '44.0' });
1515

1616
var _restRequest;
1717

@@ -51,4 +51,4 @@ License: BSD 3-Clause License
5151

5252
</script>
5353

54-
</apex:page>
54+
</apex:page>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ApexPage xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>43.0</apiVersion>
3+
<apiVersion>44.0</apiVersion>
4+
<availableInTouch>false</availableInTouch>
5+
<confirmationTokenRequired>false</confirmationTokenRequired>
46
<label>LC_APIPage</label>
57
</ApexPage>

force-app/main/pages/LC_VisualforceDomainPage.page

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ License: BSD 3-Clause License
1010
showChat="false"
1111
sideBar="false"
1212
applyHtmlTag="false"
13-
applyBodyTag="false">{!domainURL}</apex:page>
13+
applyBodyTag="false">{!domainURL}</apex:page>
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ApexPage xmlns="http://soap.sforce.com/2006/04/metadata">
3-
<apiVersion>43.0</apiVersion>
3+
<apiVersion>44.0</apiVersion>
4+
<availableInTouch>false</availableInTouch>
5+
<confirmationTokenRequired>false</confirmationTokenRequired>
46
<label>LC_VisualforceDomainPage</label>
57
</ApexPage>

force-app/main/staticresources/jsforce.resource

Lines changed: 12 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)