@aloma.io/integration-sdk 3.8.37 → 3.8.38

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.
@@ -130,6 +130,12 @@ declare type OAuth = {
130
130
  * if true, the clientId and clientSecret are sent to the tokenURL as basic auth header
131
131
  */
132
132
  useAuthHeader?: boolean;
133
+ /**
134
+ * whether to enable pkce code verification
135
+ *
136
+ * the oauth authorization url then must contain `code_challenge_method=S256&code_challenge={{codeChallenge}}` in order to work
137
+ */
138
+ useCodeChallenge?: boolean;
133
139
  /**
134
140
  * additional token arguments
135
141
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.8.37",
3
+ "version": "3.8.38",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -1,8 +1,8 @@
1
1
  import 'dotenv/config';
2
2
  import fs from 'node:fs';
3
3
  import path from 'node:path';
4
- import {fileURLToPath} from 'node:url';
5
- import {notEmpty} from '../internal/util/index.mjs';
4
+ import { fileURLToPath } from 'node:url';
5
+ import { notEmpty } from '../internal/util/index.mjs';
6
6
  import RuntimeContext from './runtime-context.mjs';
7
7
 
8
8
  const DIR_OFFSET = '/../../../../../';
@@ -155,6 +155,13 @@ declare type OAuth = {
155
155
  */
156
156
  useAuthHeader?: boolean;
157
157
 
158
+ /**
159
+ * whether to enable pkce code verification
160
+ *
161
+ * the oauth authorization url then must contain `code_challenge_method=S256&code_challenge={{codeChallenge}}` in order to work
162
+ */
163
+ useCodeChallenge?: boolean;
164
+
158
165
  /**
159
166
  * additional token arguments
160
167
  */