Skip to content

Commit d4ca332

Browse files
committed
Merge branch 'main' into f/request-option
2 parents cd3948b + a34c64e commit d4ca332

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

packages/arcgis-rest-request/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## @esri/arcgis-rest-request [4.4.2](https://github.com/Esri/arcgis-rest-js/compare/@esri/[email protected]...@esri/[email protected]) (2025-04-30)
2+
3+
4+
### Bug Fixes
5+
6+
* **arcgis-rest-request:** appendCustomParams strips valid options ([#1221](https://github.com/Esri/arcgis-rest-js/issues/1221)) ([bd1aa9c](https://github.com/Esri/arcgis-rest-js/commit/bd1aa9c6da9d3b12cbcbe32c4ebdfd76c5aaddef))
7+
8+
## @esri/arcgis-rest-request [4.4.1](https://github.com/Esri/arcgis-rest-js/compare/@esri/[email protected]...@esri/[email protected]) (2025-04-30)
9+
10+
11+
### Bug Fixes
12+
13+
* postMessage must send a Credential that is usable by JSSDK ([#1223](https://github.com/Esri/arcgis-rest-js/issues/1223)) ([082b1c6](https://github.com/Esri/arcgis-rest-js/commit/082b1c67cfd6da8e90e29526d0bb0e03c1d9cf5b))
14+
115
# @esri/arcgis-rest-request [4.4.0](https://github.com/Esri/arcgis-rest-js/compare/@esri/[email protected]...@esri/[email protected]) (2025-04-07)
216

317

packages/arcgis-rest-request/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@esri/arcgis-rest-request",
3-
"version": "4.4.0",
3+
"version": "4.4.2",
44
"description": "Common methods and utilities for @esri/arcgis-rest-js packages.",
55
"license": "Apache-2.0",
66
"keywords": [

packages/arcgis-rest-request/src/ArcGISIdentityManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ export class ArcGISIdentityManager
13171317
if (isValidOrigin && isValidType) {
13181318
let msg = {};
13191319
if (isTokenValid) {
1320-
const credential = this.toJSON();
1320+
const credential = this.toCredential();
13211321
msg = {
13221322
type: "arcgis:auth:credential",
13231323
credential

packages/arcgis-rest-request/test/ArcGISIdentityManager.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1880,7 +1880,7 @@ describe("ArcGISIdentityManager", () => {
18801880
"arcgis:auth:credential",
18811881
"should send credential type"
18821882
);
1883-
expect(args[0].credential.username).toBe(
1883+
expect(args[0].credential.userId).toBe(
18841884
"jsmith",
18851885
"should send credential"
18861886
);

0 commit comments

Comments
 (0)