@jsforce/jsforce-node 3.10.3 → 3.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/lib/VERSION.d.ts +1 -1
- package/lib/VERSION.js +1 -1
- package/lib/connection.d.ts +4 -1
- package/lib/connection.js +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,6 +55,9 @@ See [license](LICENSE) (MIT License).
|
|
|
55
55
|
|
|
56
56
|
## Notes
|
|
57
57
|
|
|
58
|
+
### SOAP Login API Deprecation Notice
|
|
59
|
+
The SOAP login() API will be retired in Summer '27 (API version 65.0). If you are using the `loginBySoap` method, please migrate to OAuth 2.0 Username-Password Flow instead. For more information, see [Salesforce Release Notes](https://help.salesforce.com/s/articleView?id=release-notes.rn_api_upcoming_retirement_258rn.htm&release=258&type=5).
|
|
60
|
+
|
|
58
61
|
If you have any questions first file it on [issues](https://github.com/jsforce/jsforce/issues) before contacting authors via e-mail.
|
|
59
62
|
|
|
60
63
|
## How to build/run tests:
|
package/lib/VERSION.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "3.10.
|
|
1
|
+
declare const _default: "3.10.5";
|
|
2
2
|
export default _default;
|
package/lib/VERSION.js
CHANGED
package/lib/connection.d.ts
CHANGED
|
@@ -129,7 +129,10 @@ export declare class Connection<S extends Schema = Schema> extends EventEmitter
|
|
|
129
129
|
*/
|
|
130
130
|
loginByOAuth2(username: string, password: string): Promise<UserInfo>;
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* Login by SOAP protocol
|
|
133
|
+
* @deprecated The SOAP login() API will be retired in Summer '27 (API version 65.0).
|
|
134
|
+
* Please use OAuth 2.0 Username-Password Flow instead.
|
|
135
|
+
* For more information, see https://help.salesforce.com/s/articleView?id=release-notes.rn_api_upcoming_retirement_258rn.htm&release=258&type=5
|
|
133
136
|
*/
|
|
134
137
|
loginBySoap(username: string, password: string): Promise<UserInfo>;
|
|
135
138
|
/**
|
package/lib/connection.js
CHANGED
|
@@ -383,9 +383,15 @@ class Connection extends events_1.EventEmitter {
|
|
|
383
383
|
return userInfo;
|
|
384
384
|
}
|
|
385
385
|
/**
|
|
386
|
-
*
|
|
386
|
+
* Login by SOAP protocol
|
|
387
|
+
* @deprecated The SOAP login() API will be retired in Summer '27 (API version 65.0).
|
|
388
|
+
* Please use OAuth 2.0 Username-Password Flow instead.
|
|
389
|
+
* For more information, see https://help.salesforce.com/s/articleView?id=release-notes.rn_api_upcoming_retirement_258rn.htm&release=258&type=5
|
|
387
390
|
*/
|
|
388
391
|
async loginBySoap(username, password) {
|
|
392
|
+
this._logger.warn('DEPRECATION WARNING: The SOAP login() API will be retired in Summer \'27 (API version 65.0). ' +
|
|
393
|
+
'Please use OAuth 2.0 Username-Password Flow instead. ' +
|
|
394
|
+
'For more information, see https://help.salesforce.com/s/articleView?id=release-notes.rn_api_upcoming_retirement_258rn.htm&release=258&type=5');
|
|
389
395
|
if (!username || !password) {
|
|
390
396
|
return Promise.reject(new Error('no username password given'));
|
|
391
397
|
}
|