From 0295ce3ab0620a2bc6f8f59f3e34e3561e3e9106 Mon Sep 17 00:00:00 2001 From: Arlo Date: Fri, 27 Mar 2020 10:52:51 -0500 Subject: [PATCH] [jsforce] Added missing types that prevented refreshing token in sandbox (#43224) * Added missing type overload * Added missing types to PartialOAuth2Options * Revert "Added missing types to PartialOAuth2Options" This reverts commit 7e02bfa4fa53fbe3940284cd571bb7248a912885. * Added missing types that prevented refreshing token in sandbox --- types/jsforce/connection.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/jsforce/connection.d.ts b/types/jsforce/connection.d.ts index 4a8016e80c..74698c53d1 100644 --- a/types/jsforce/connection.d.ts +++ b/types/jsforce/connection.d.ts @@ -24,12 +24,14 @@ export interface RestApiOptions { } // These are pulled out because according to http://jsforce.github.io/jsforce/doc/connection.js.html#line49 -// the oauth options can either be in the `oauth2` proeprty OR spread across the main connection +// the oauth options can either be in the `oauth2` property OR spread across the main connection export interface PartialOAuth2Options { clientId?: string; clientSecret?: string; loginUrl?: string; redirectUri?: string; + tokenServiceUrl?: string; + authzServiceUrl?: string; } export interface RequestInfo {