From 8f5eb2a46ebc510f6ed06fbd19ab948729a886c5 Mon Sep 17 00:00:00 2001 From: Lincoln Rychecky Date: Wed, 21 Aug 2024 09:36:06 -0600 Subject: [PATCH] fixed package versioning issue which was breaking build. --- .../localSourceTracking/index | Bin 14216 -> 14464 bytes .../13/6e015aa561014ef92219ad30a292a5e6126c9e | Bin 0 -> 335 bytes .../17/6d305905a946bbe8ce2857e2675ef3aa419925 | Bin 0 -> 50 bytes .../3a/80a5301a14101d4792bb42179edec0685ebdf2 | 2 ++ .../5d/df3b433e1ed8d99543aa6dd35829673b75245c | Bin 0 -> 162 bytes .../6a/b764fa9bcdee4253891f8bf9fcaff2ff7a1232 | Bin 0 -> 48 bytes .../7d/a3925cc6b10b8a203d52c562ca88ecbb635f58 | Bin 0 -> 616 bytes .../ad/4894b23c81ff5851eeaed0202d90c67aa18c42 | Bin 0 -> 53 bytes .../ea/b1e8a59564342237ba14fb33e68930a4d1baef | 1 + .../fc/14b46fc78d3432cd1aa6945ee01bfe7271936b | Bin 0 -> 130 bytes .../localSourceTracking/refs/heads/main | 2 +- .sf/orgs/00DE2000007XjYbMAK/maxRevision.json | 12 +++++++++--- .../main/default/classes/NylasHTTPUtility.cls | 8 ++++---- .../default/classes/config/NylasVersion.cls | 4 ++-- scripts/js/exportVersion.js | 2 +- 15 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/13/6e015aa561014ef92219ad30a292a5e6126c9e create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/17/6d305905a946bbe8ce2857e2675ef3aa419925 create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/3a/80a5301a14101d4792bb42179edec0685ebdf2 create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/5d/df3b433e1ed8d99543aa6dd35829673b75245c create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/6a/b764fa9bcdee4253891f8bf9fcaff2ff7a1232 create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/7d/a3925cc6b10b8a203d52c562ca88ecbb635f58 create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/ad/4894b23c81ff5851eeaed0202d90c67aa18c42 create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/ea/b1e8a59564342237ba14fb33e68930a4d1baef create mode 100644 .sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/fc/14b46fc78d3432cd1aa6945ee01bfe7271936b diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/index b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/index index 2ab21c4242e986e77e4261e4e09b93a905d29024..1af16bfd85a54c9c8042b6bf519dff1ded32ec6c 100644 GIT binary patch delta 247 zcmeCkZz$w(@eFciU|?VZ;z|gpa zfr0TWP@M<^1Kao7#gk%=ZRGA!unjtzbgJXc?&SE0%?8X{8EucTuh-rxl?F6mg}m6r ziBJPxq8h-c{c7WjrBhQ(l+1UD{5F2pX|UwtuJ;UPleJj1)x%PYiZk=`^pbOmfz~mk z9bUDEdOA_@ea&tC6WSMLv!pCpaqP(Pp RaiVV67u8j0$XSKj~t delta 112 zcmZoD?8xVF@eFciU|?VZ;*^a%FPW?lPjoRa$reaEJkgd{IbaDR1A_o#@r1Js42??| z7#P0-)rl}LuvzjY=2dL)ixjzXJnm2mEAR4h`xo7t4VbqwZobRfZzNLl(Acs@>cN|B QO`>Z!nUzv}!X~W&099lp<^TWy diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/13/6e015aa561014ef92219ad30a292a5e6126c9e b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/13/6e015aa561014ef92219ad30a292a5e6126c9e new file mode 100644 index 0000000000000000000000000000000000000000..57f3ff7da38a855ad9c22dc8ed5ec3a6e9c43c24 GIT binary patch literal 335 zcmV-V0kHmfoGU3xO;s>8wq!6gFfcPQQShtGNi22@@N}(6PAw?O%+J$H&M9VKD&BeP z#EKJ^-S_t^7A%;$g-85_1wIYBxv3?IdKI}j47Ks|x-8R#l?2{9bcma=GJHvD3PIBu zX6%@fo0;dFlbM=V0=CZlT$KF@mRqg+IXsVg9pMQs+xE46G& z+ym)viWwqI&+zf+{6DI-A&ASNu3++mgTI$TRFFZjo!75eH%)q)4FIk)%(|u_r4;}G literal 0 HcmV?d00001 diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/17/6d305905a946bbe8ce2857e2675ef3aa419925 b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/17/6d305905a946bbe8ce2857e2675ef3aa419925 new file mode 100644 index 0000000000000000000000000000000000000000..bcad343c7ffb49d5ef70e89cc151be483818daa6 GIT binary patch literal 50 zcmb=Jqpj)X8){&dXkchyU=ZNp>Fcd?Rx`02a literal 0 HcmV?d00001 diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/3a/80a5301a14101d4792bb42179edec0685ebdf2 b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/3a/80a5301a14101d4792bb42179edec0685ebdf2 new file mode 100644 index 0000000..64b412a --- /dev/null +++ b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/3a/80a5301a14101d4792bb42179edec0685ebdf2 @@ -0,0 +1,2 @@ +xA +0@Q9\@&M]&4/v?2)F7>e_xDL"#׌:GJٽs@s|CqR‚j,[urao vt5]7HDNF@FfcGsNX|(tE>10G5YA(aTAIk{_ftu7t-+#6OP>kl z%!8^ZEiTE=^-V2FOi3(BWcc`KQ+lC~fk?RS&vhLFJ72|3%$N>Qn4grDnp{%M@bhzU zt(Rf4pCQYEeTQ!O``VmR2!g06O3lqLNe#{{NexadDap)BFJ}0?SUv2|C%2t5)=j+U QU=`=yX)v1|036Lfq3zL2WdHyG literal 0 HcmV?d00001 diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/6a/b764fa9bcdee4253891f8bf9fcaff2ff7a1232 b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/6a/b764fa9bcdee4253891f8bf9fcaff2ff7a1232 new file mode 100644 index 0000000000000000000000000000000000000000..b4d65c17820b21c7a1ed8622217869fd73198b76 GIT binary patch literal 48 zcmb=Jqpj)X8){&dVqj=sU=VP^_sp4Of%B#vDX}lN{XS~h`@#KX;rwvRb0Mq@?@joW E0M=|2EC2ui literal 0 HcmV?d00001 diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/7d/a3925cc6b10b8a203d52c562ca88ecbb635f58 b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/7d/a3925cc6b10b8a203d52c562ca88ecbb635f58 new file mode 100644 index 0000000000000000000000000000000000000000..4a1ed34f6fb4fbfd89bc063a5807e586e74e2344 GIT binary patch literal 616 zcmV-u0+;=Gob6IgZ<|06?U`ROH?R_esvKG+vMOR|ZPl?Y1GyrMC-ye5OLm7uNt6Fx zv5OPPR~4zp-ezas?7VsN)`eKZ=PzH6K2`O)U^(PPrWDL?i%d=8c$p9@7~R5e3!swh zIwJ%{8L`}8((|JX0e*z>p$?XdXdfkQ5QMWfCq8ICI_cuBQ7R_*ye`)$_pUuRN%uTlMbpJRohN6f;Ytgs z=bvSl2$fI-vR#5ikB!lyv!ukU=2m#q%{l`^MdFpKkixdv>2U8Oj5dzZrm@?TU~Ul3 z8q)>gEQ~`Nj#~v?o|Whf`u|KY+n{vpvEYQ9hVgBM_956=RTV7HhzaifQi9vBxA`^g zgk*Ob*z}!ZCQ*V72haTZdViu&4*e~1YMQm;!{~c39!9}WxNd&wU1iV;FOh1=o6k-@ z9QW!TJOE0zcG` C+%%&A literal 0 HcmV?d00001 diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/ad/4894b23c81ff5851eeaed0202d90c67aa18c42 b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/ad/4894b23c81ff5851eeaed0202d90c67aa18c42 new file mode 100644 index 0000000000000000000000000000000000000000..4fb4961c0ff9bcaa0b19bfab07481f229817cf6c GIT binary patch literal 53 zcmV-50LuS(oGU3xO;s>9V=yr=FfdR^%P&e!)lDoYV945@@@w|lcTT~b^4&lGtpD`C LO2`NRT(}auNzEAq literal 0 HcmV?d00001 diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/ea/b1e8a59564342237ba14fb33e68930a4d1baef b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/ea/b1e8a59564342237ba14fb33e68930a4d1baef new file mode 100644 index 0000000..89eb5c7 --- /dev/null +++ b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/ea/b1e8a59564342237ba14fb33e68930a4d1baef @@ -0,0 +1 @@ +xmOK0pm\"؃+sxͺ)] s}?eB\^$3p5`hØ`%GT@ƻK nm(·81q q,c޵ga%E|np: GfWz-!j88OX+kjVL_ e45vI*ZluZ~o/b!RQ f?^ \ No newline at end of file diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/fc/14b46fc78d3432cd1aa6945ee01bfe7271936b b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/objects/fc/14b46fc78d3432cd1aa6945ee01bfe7271936b new file mode 100644 index 0000000000000000000000000000000000000000..72e0afae71d587e0bf7c903a620a6d8325beab4e GIT binary patch literal 130 zcmV-|0Db>>oGU3xO;s?oG-5C`FfcPQQShtGNi25G&r8cp*GtYRX3#dOx5~>GD}U1W zPT;0xO6od;y_2vj)y+*UNz|*z&0(mGpVwuXCafgz-l0R>jFsU_Qd0=Bp0L!S;>`R! ku=%exzF0an#YD+`m&kA9XPpL1F7A4dLoI#_00=)xJZK0&p#T5? literal 0 HcmV?d00001 diff --git a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/refs/heads/main b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/refs/heads/main index ae56f00..461162a 100644 --- a/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/refs/heads/main +++ b/.sf/orgs/00DE2000007XjYbMAK/localSourceTracking/refs/heads/main @@ -1 +1 @@ -74e99834d65f773c01b2a0cecfe9bf5a4b1ef7fd +3a80a5301a14101d4792bb42179edec0685ebdf2 diff --git a/.sf/orgs/00DE2000007XjYbMAK/maxRevision.json b/.sf/orgs/00DE2000007XjYbMAK/maxRevision.json index fd5c6b9..04ce8e5 100644 --- a/.sf/orgs/00DE2000007XjYbMAK/maxRevision.json +++ b/.sf/orgs/00DE2000007XjYbMAK/maxRevision.json @@ -1,5 +1,5 @@ { - "serverMaxRevisionCounter": 978, + "serverMaxRevisionCounter": 984, "sourceMembers": { "Profile__Admin": { "serverRevisionCounter": 627, @@ -200,8 +200,8 @@ "isNameObsolete": false }, "ApexClass__NylasHTTPUtility": { - "serverRevisionCounter": 510, - "lastRetrievedFromServer": 510, + "serverRevisionCounter": 983, + "lastRetrievedFromServer": 983, "memberType": "ApexClass", "isNameObsolete": false }, @@ -330,6 +330,12 @@ "lastRetrievedFromServer": 973, "memberType": "ApexClass", "isNameObsolete": false + }, + "ApexClass__NylasVersion": { + "serverRevisionCounter": 984, + "lastRetrievedFromServer": 984, + "memberType": "ApexClass", + "isNameObsolete": false } } } \ No newline at end of file diff --git a/force-app/main/default/classes/NylasHTTPUtility.cls b/force-app/main/default/classes/NylasHTTPUtility.cls index 6d52f99..7da3925 100644 --- a/force-app/main/default/classes/NylasHTTPUtility.cls +++ b/force-app/main/default/classes/NylasHTTPUtility.cls @@ -4,9 +4,9 @@ public class NylasHTTPUtility { // the base url for the Nylas API ('https://api.us.nylas.com' or 'https://api.eu.nylas.com') private static String baseURL = nylasSettings.Region__c == 'US' || - nylasSettings.Region__c == null - ? 'https://api.us.nylas.com' - : 'https://api.eu.nylas.com'; + nylasSettings.Region__c == null + ? 'https://api.us.nylas.com' + : 'https://api.eu.nylas.com'; private static String nylasAPISecret = nylasSettings.Nylas_API_Secret__c; @@ -24,7 +24,7 @@ public class NylasHTTPUtility { public static HttpRequest newRequest(HttpMethod method, String url) { // Define the endpoint URL String endpointUrl = baseURL + url; - String versionNumber = PackageVersion.VERSION_NUMBER; + String versionNumber = NylasVersion.VERSION_NUMBER; // Make post request to the endpoint HttpRequest req = new HttpRequest(); diff --git a/force-app/main/default/classes/config/NylasVersion.cls b/force-app/main/default/classes/config/NylasVersion.cls index 9bc3a24..eab1e8a 100644 --- a/force-app/main/default/classes/config/NylasVersion.cls +++ b/force-app/main/default/classes/config/NylasVersion.cls @@ -1,9 +1,9 @@ /** * @description : Nylas Apex SDK Version, generated by scripts/js/exportVersion.js. - * @author : exportVersion.js + * @author : John Jung * @last modified on : 2024-08-21 * @last modified by : exportVersion.js **/ -public class PackageVersion { +public class NylasVersion { public static final String VERSION_NUMBER = '0.1.0.NEXT'; } diff --git a/scripts/js/exportVersion.js b/scripts/js/exportVersion.js index 5be0dbd..47671fa 100644 --- a/scripts/js/exportVersion.js +++ b/scripts/js/exportVersion.js @@ -20,7 +20,7 @@ const comment = `/** * @last modified by : exportVersion.js **/ `; -const classStr = `public class PackageVersion { +const classStr = `public class NylasVersion { public static final String VERSION_NUMBER = '${version}'; }\n`; const output = comment + classStr;