@sasjs/adapter 4.18.0 → 4.19.1
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/.git-hooks/commit-msg +26 -5
- package/.pre-commit-config.yaml +25 -0
- package/SASjs.d.ts +2 -1
- package/index-dev.js +960 -229
- package/index.js +960 -229
- package/job-execution/spec/ComputeJobExecutor.spec.d.ts +1 -0
- package/job-execution/spec/JesJobExecutor.spec.d.ts +1 -0
- package/job-execution/spec/Sas9JobExecutor.spec.d.ts +1 -0
- package/job-execution/spec/SasjsJobExecutor.spec.d.ts +1 -0
- package/job-execution/spec/WebJobExecutor.debug.spec.d.ts +1 -0
- package/job-execution/spec/WebJobExecutor.spec.d.ts +1 -0
- package/minified_sas9.js +940 -2289
- package/node/SASjs.d.ts +2 -1
- package/node/index.js +1125 -264
- package/node/request/RequestClient.d.ts +1 -1
- package/node/utils/extractWeboutBlob.d.ts +13 -0
- package/node/utils/index.d.ts +1 -0
- package/node/utils/parseViyaLogDebugResponse.d.ts +4 -6
- package/package.json +2 -2
- package/request/RequestClient.d.ts +1 -1
- package/spec/SASjs.startComputeJob.spec.d.ts +1 -0
- package/src/SASjs.ts +5 -2
- package/src/job-execution/WebJobExecutor.ts +19 -15
- package/src/utils/extractWeboutBlob.ts +36 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/parseViyaDebugResponse.ts +16 -5
- package/src/utils/parseViyaLogDebugResponse.ts +8 -18
- package/utils/extractWeboutBlob.d.ts +13 -0
- package/utils/index.d.ts +1 -0
- package/utils/parseViyaLogDebugResponse.d.ts +4 -6
package/node/SASjs.d.ts
CHANGED
|
@@ -341,8 +341,9 @@ export default class SASjs {
|
|
|
341
341
|
* @param printPid - a boolean that indicates whether the function should print (PID) of the started job.
|
|
342
342
|
* @param variables - an object that represents macro variables.
|
|
343
343
|
* @param verboseMode - boolean or a string equal to 'bleached' to enable verbose mode (log every HTTP response).
|
|
344
|
+
* @param onTokensRefreshed - (optional, SAS Viya only) callback invoked with the rotated token pair after a successful internal refresh, so consumers that persist tokens can store the new pair.
|
|
344
345
|
*/
|
|
345
|
-
startComputeJob(sasJob: string, data: any, config?: any, authConfig?: AuthConfig, waitForResult?: boolean, pollOptions?: PollOptions, printPid?: boolean, variables?: MacroVar, verboseMode?: VerboseMode): Promise<any>;
|
|
346
|
+
startComputeJob(sasJob: string, data: any, config?: any, authConfig?: AuthConfig, waitForResult?: boolean, pollOptions?: PollOptions, printPid?: boolean, variables?: MacroVar, verboseMode?: VerboseMode, onTokensRefreshed?: OnTokensRefreshed): Promise<any>;
|
|
346
347
|
private resendWaitingRequests;
|
|
347
348
|
/**
|
|
348
349
|
* Fetches content of the log file
|