@vizamodo/viza-dispatcher 1.3.78 → 1.3.79
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/dist/core/dispatcher.js +3 -4
- package/package.json +1 -1
package/dist/core/dispatcher.js
CHANGED
|
@@ -2,7 +2,6 @@ import { DispatchRejectedError, SessionTimeoutError, GatewayError, ArtifactNotFo
|
|
|
2
2
|
import { dispatchToGateway } from "../gateway/dispatch.js";
|
|
3
3
|
import { waitForSessionDone } from "../gateway/session.js";
|
|
4
4
|
import { downloadArtifact } from "../artifacts/downloader.js";
|
|
5
|
-
import { ensureGitHubAuth } from "../auth/github.js";
|
|
6
5
|
import { encryptPayload } from "../crypto/encrypt.js";
|
|
7
6
|
/**
|
|
8
7
|
* Main dispatcher entrypoint.
|
|
@@ -27,9 +26,9 @@ export async function dispatcherDispatch(input, options) {
|
|
|
27
26
|
if (!options.auth) {
|
|
28
27
|
throw new InvalidInputError("Missing authentication options. Anonymous dispatch is not allowed.");
|
|
29
28
|
}
|
|
30
|
-
await ensureGitHubAuth({
|
|
31
|
-
|
|
32
|
-
});
|
|
29
|
+
// await ensureGitHubAuth({
|
|
30
|
+
// targetTeam: options.auth.targetTeam,
|
|
31
|
+
// });
|
|
33
32
|
if (!input.encrypt) {
|
|
34
33
|
throw new InvalidInputError("Encryption is mandatory for dispatch payloads");
|
|
35
34
|
}
|