@faable/auth-sdk 1.0.11 → 1.0.12

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.
@@ -102,7 +102,7 @@ export declare class FaableAuthApi {
102
102
  };
103
103
  listTeamMembers(params: {
104
104
  query?: string;
105
- }): Promise<{
105
+ }): {
106
106
  all: () => Promise<{
107
107
  id: string;
108
108
  user: unknown;
@@ -115,6 +115,6 @@ export declare class FaableAuthApi {
115
115
  createdAt: string;
116
116
  updatedAt?: string;
117
117
  }[]>;
118
- }>;
118
+ };
119
119
  isUserMemberOfTeam(user_id: string, team_id: string): Promise<boolean>;
120
120
  }
@@ -47,7 +47,7 @@ class FaableAuthApi {
47
47
  listTeams(params) {
48
48
  return this.paginator.paginate({ url: "/team", params });
49
49
  }
50
- async listTeamMembers(params) {
50
+ listTeamMembers(params) {
51
51
  return this.paginator.paginate({
52
52
  url: `/member`,
53
53
  params: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faable/auth-sdk",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "author": "Marc Pomar <marc@faable.com>",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",