@salesforce/core 6.4.3 → 6.4.4

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/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2023, Salesforce.com, Inc.
1
+ Copyright (c) 2024, Salesforce.com, Inc.
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -201,7 +201,7 @@ class WebOAuthServer extends kit_1.AsyncCreatable {
201
201
  parseAuthCodeFromRequest(response, request) {
202
202
  if (!this.validateState(request)) {
203
203
  const error = new sfError_1.SfError('urlStateMismatch');
204
- this.webServer.sendError(400, `${error.message}\n`, response);
204
+ this.webServer.sendError(400, error.message, response);
205
205
  this.closeRequest(request);
206
206
  this.logger.warn('urlStateMismatchAttempt detected.');
207
207
  if (!(0, ts_types_1.get)(this.webServer.server, 'urlStateMismatchAttempt')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/core",
3
- "version": "6.4.3",
3
+ "version": "6.4.4",
4
4
  "description": "Core libraries to interact with SFDX projects, orgs, and APIs.",
5
5
  "main": "lib/exported",
6
6
  "types": "lib/exported.d.ts",