@aeriajs/entrypoint 0.0.135 → 0.0.137

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/index.js CHANGED
@@ -94,7 +94,9 @@ const getAvailableRoles = async () => {
94
94
  }
95
95
  }
96
96
  }
97
- availableRolesMemo = Array.from(new Set(availableRoles));
97
+ const rolesSet = new Set(availableRoles);
98
+ rolesSet.delete('unauthenticated');
99
+ availableRolesMemo = Array.from(rolesSet);
98
100
  return availableRolesMemo;
99
101
  };
100
102
  exports.getAvailableRoles = getAvailableRoles;
package/dist/index.mjs CHANGED
@@ -72,6 +72,8 @@ export const getAvailableRoles = async () => {
72
72
  }
73
73
  }
74
74
  }
75
- availableRolesMemo = Array.from(new Set(availableRoles));
75
+ const rolesSet = new Set(availableRoles);
76
+ rolesSet.delete("unauthenticated");
77
+ availableRolesMemo = Array.from(rolesSet);
76
78
  return availableRolesMemo;
77
79
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aeriajs/entrypoint",
3
- "version": "0.0.135",
3
+ "version": "0.0.137",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -26,8 +26,8 @@
26
26
  "@aeriajs/types": "link:../types"
27
27
  },
28
28
  "peerDependencies": {
29
- "@aeriajs/common": "^0.0.132",
30
- "@aeriajs/types": "^0.0.114"
29
+ "@aeriajs/common": "^0.0.133",
30
+ "@aeriajs/types": "^0.0.115"
31
31
  },
32
32
  "scripts": {
33
33
  "test": "vitest run",