@xh/hoist 73.0.0-SNAPSHOT.1741808956502 → 73.0.0-SNAPSHOT.1741872400258
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xh/hoist",
|
|
3
|
-
"version": "73.0.0-SNAPSHOT.
|
|
3
|
+
"version": "73.0.0-SNAPSHOT.1741872400258",
|
|
4
4
|
"description": "Hoist add-on for building and deploying React Applications.",
|
|
5
5
|
"repository": "github:xh/hoist-react",
|
|
6
6
|
"homepage": "https://xh.io",
|
|
@@ -14,7 +14,7 @@ import {AccessTokenSpec, TokenMap} from './Types';
|
|
|
14
14
|
import {Timer} from '@xh/hoist/utils/async';
|
|
15
15
|
import {MINUTES, olderThan, ONE_MINUTE, SECONDS} from '@xh/hoist/utils/datetime';
|
|
16
16
|
import {isJSON, throwIf} from '@xh/hoist/utils/js';
|
|
17
|
-
import {find, forEach, isEmpty, isObject, keys,
|
|
17
|
+
import {find, forEach, isEmpty, isObject, keys, map, pickBy, union} from 'lodash';
|
|
18
18
|
import ShortUniqueId from 'short-unique-id';
|
|
19
19
|
|
|
20
20
|
export type LoginMethod = 'REDIRECT' | 'POPUP';
|
|
@@ -319,7 +319,7 @@ export abstract class BaseOAuthClient<
|
|
|
319
319
|
ret: TokenMap = {};
|
|
320
320
|
|
|
321
321
|
await Promise.allSettled(
|
|
322
|
-
|
|
322
|
+
map(accessSpecs, async (spec, key) => {
|
|
323
323
|
try {
|
|
324
324
|
ret[key] = await this.fetchAccessTokenAsync(spec, useCache);
|
|
325
325
|
} catch (e) {
|