passport-bridge 0.11.2 → 0.11.3
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/cliSetup.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/dist/cliSetup.js
CHANGED
|
@@ -100,6 +100,8 @@ export async function setup(args, runtime, withGateway, install = runManagedSkil
|
|
|
100
100
|
const response = await gateway.fetchApi(path, { signal: runtime.signal, redirect: "error" });
|
|
101
101
|
if (!response.ok) {
|
|
102
102
|
await response.body?.cancel().catch(() => undefined);
|
|
103
|
+
if (response.status === 402)
|
|
104
|
+
return failure("Team setups aren't available on this workspace's plan.", 1, "setup_unavailable");
|
|
103
105
|
if (response.status === 404)
|
|
104
106
|
return failure("This setup is unavailable, or the gateway needs an update. Refresh your assigned setups in Passport.", 1, "setup_unavailable");
|
|
105
107
|
return failure("Passport could not authorize this employee setup. Reconnect or check your assignment.", response.status === 401 || response.status === 403 ? 2 : 1, "setup_unavailable");
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.11.
|
|
1
|
+
export declare const VERSION = "0.11.3";
|
package/dist/version.js
CHANGED
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "passport-bridge",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.3",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "passport-bridge",
|
|
9
|
-
"version": "0.11.
|
|
9
|
+
"version": "0.11.3",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@modelcontextprotocol/sdk": "1.30.0"
|