@dereekb/util 13.24.0 → 13.25.0

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dereekb/util/eslint",
3
- "version": "13.24.0",
3
+ "version": "13.25.0",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.24.0",
5
+ "@dereekb/util": "13.25.0",
6
6
  "@typescript-eslint/utils": "8.59.3",
7
7
  "typescript": "5.9.3"
8
8
  },
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dereekb/util/fetch",
3
- "version": "13.24.0",
3
+ "version": "13.25.0",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.24.0",
5
+ "@dereekb/util": "13.25.0",
6
6
  "make-error": "^1.3.6",
7
7
  "fast-content-type-parse": "^3.0.0"
8
8
  },
package/index.cjs.js CHANGED
@@ -9682,7 +9682,7 @@ function _ts_generator$d(thisArg, body) {
9682
9682
  // auth request also includes `prompt=consent`. Auto-add it so refresh tokens are
9683
9683
  // actually issued whenever offline access is requested.
9684
9684
  if (resolvedScope.split(/\s+/).includes('offline_access')) {
9685
- authParams.prompt = 'consent';
9685
+ authParams['prompt'] = 'consent';
9686
9686
  }
9687
9687
  if (input.requestedSessionTtlSeconds != null) {
9688
9688
  if (!Number.isInteger(input.requestedSessionTtlSeconds) || input.requestedSessionTtlSeconds <= 0) {
@@ -9691,7 +9691,7 @@ function _ts_generator$d(thisArg, body) {
9691
9691
  code: 'INVALID_SESSION_TTL'
9692
9692
  });
9693
9693
  }
9694
- authParams.dbx_session_ttl = String(input.requestedSessionTtlSeconds);
9694
+ authParams['dbx_session_ttl'] = String(input.requestedSessionTtlSeconds);
9695
9695
  }
9696
9696
  var rebaseOrigin = resolveAuthorizationRebaseOrigin({
9697
9697
  appClientUrl: input.appClientUrl,
package/index.esm.js CHANGED
@@ -9680,7 +9680,7 @@ function _ts_generator$d(thisArg, body) {
9680
9680
  // auth request also includes `prompt=consent`. Auto-add it so refresh tokens are
9681
9681
  // actually issued whenever offline access is requested.
9682
9682
  if (resolvedScope.split(/\s+/).includes('offline_access')) {
9683
- authParams.prompt = 'consent';
9683
+ authParams['prompt'] = 'consent';
9684
9684
  }
9685
9685
  if (input.requestedSessionTtlSeconds != null) {
9686
9686
  if (!Number.isInteger(input.requestedSessionTtlSeconds) || input.requestedSessionTtlSeconds <= 0) {
@@ -9689,7 +9689,7 @@ function _ts_generator$d(thisArg, body) {
9689
9689
  code: 'INVALID_SESSION_TTL'
9690
9690
  });
9691
9691
  }
9692
- authParams.dbx_session_ttl = String(input.requestedSessionTtlSeconds);
9692
+ authParams['dbx_session_ttl'] = String(input.requestedSessionTtlSeconds);
9693
9693
  }
9694
9694
  var rebaseOrigin = resolveAuthorizationRebaseOrigin({
9695
9695
  appClientUrl: input.appClientUrl,
package/oidc/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dereekb/util/oidc",
3
- "version": "13.24.0",
3
+ "version": "13.25.0",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.24.0"
5
+ "@dereekb/util": "13.25.0"
6
6
  },
7
7
  "exports": {
8
8
  "./package.json": "./package.json",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/util",
3
- "version": "13.24.0",
3
+ "version": "13.25.0",
4
4
  "sideEffects": false,
5
5
  "exports": {
6
6
  "./test": {
package/test/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@dereekb/util/test",
3
- "version": "13.24.0",
3
+ "version": "13.25.0",
4
4
  "peerDependencies": {
5
- "@dereekb/util": "13.24.0",
5
+ "@dereekb/util": "13.25.0",
6
6
  "make-error": "^1.3.6"
7
7
  },
8
8
  "exports": {