@tonightpass/react 0.0.20 → 0.0.21

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @tonightpass/react@0.0.20 build /home/runner/work/tonightpass/tonightpass/packages/react
2
+ > @tonightpass/react@0.0.21 build /home/runner/work/tonightpass/tonightpass/packages/react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -11,11 +11,11 @@
11
11
  ESM Build start
12
12
  CJS dist/index.js 438.00 B
13
13
  CJS dist/index.js.map 948.00 B
14
- CJS ⚡️ Build success in 79ms
14
+ CJS ⚡️ Build success in 84ms
15
15
  ESM dist/index.mjs 258.00 B
16
16
  ESM dist/index.mjs.map 948.00 B
17
- ESM ⚡️ Build success in 80ms
17
+ ESM ⚡️ Build success in 83ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 2358ms
20
- DTS dist/index.d.ts 4.39 KB
21
- DTS dist/index.d.mts 4.39 KB
19
+ DTS ⚡️ Build success in 2351ms
20
+ DTS dist/index.d.ts 4.24 KB
21
+ DTS dist/index.d.mts 4.24 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @tonightpass/react
2
2
 
3
+ ## 0.0.21
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`526dfe4`](https://github.com/tonightpass/tonightpass/commit/526dfe4fb6169bbadee2864ca6c17a9a04e61446)]:
8
+ - tonightpass@0.0.20
9
+
3
10
  ## 0.0.20
4
11
 
5
12
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -3,7 +3,7 @@ import * as tonightpass from 'tonightpass';
3
3
  import { Client, Query, APIRequestOptions } from 'tonightpass';
4
4
 
5
5
  declare const client: Client;
6
- declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback" | "/oauth2/twitter" | "/oauth2/twitter/callback" | "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:id" | "/organizations/:slug" | "/organizations/members" | "/organizations/:id/members" | "/profiles/:username" | "/users" | "/users/:id" | "/users/me" | "/users/check/:identifier">(path?: Path | null, query?: Query<Path>, options?: APIRequestOptions) => swr.SWRResponse<(Extract<tonightpass.Endpoint<"GET", "/oauth2/google", void, undefined>, {
6
+ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback" | "/oauth2/twitter" | "/oauth2/twitter/callback" | "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:slug" | "/organizations/members" | "/organizations/:slug/members" | "/profiles/:username" | "/users" | "/users/:id" | "/users/me" | "/users/check/:identifier">(path?: Path | null, query?: Query<Path>, options?: APIRequestOptions) => swr.SWRResponse<(Extract<tonightpass.Endpoint<"GET", "/oauth2/google", void, undefined>, {
7
7
  path: Path;
8
8
  method: "GET";
9
9
  }> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
@@ -65,16 +65,13 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
65
65
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations", tonightpass.Organization[], undefined>, {
66
66
  path: Path;
67
67
  method: "GET";
68
- }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id", tonightpass.Organization, undefined>, {
69
- path: Path;
70
- method: "GET";
71
68
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug", tonightpass.Organization, undefined>, {
72
69
  path: Path;
73
70
  method: "GET";
74
71
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
75
72
  path: Path;
76
73
  method: "GET";
77
- }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id/members", tonightpass.OrganizationMember[], undefined>, {
74
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
78
75
  path: Path;
79
76
  method: "GET";
80
77
  }> | Extract<tonightpass.ProfileEndpoints, {
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as tonightpass from 'tonightpass';
3
3
  import { Client, Query, APIRequestOptions } from 'tonightpass';
4
4
 
5
5
  declare const client: Client;
6
- declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback" | "/oauth2/twitter" | "/oauth2/twitter/callback" | "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:id" | "/organizations/:slug" | "/organizations/members" | "/organizations/:id/members" | "/profiles/:username" | "/users" | "/users/:id" | "/users/me" | "/users/check/:identifier">(path?: Path | null, query?: Query<Path>, options?: APIRequestOptions) => swr.SWRResponse<(Extract<tonightpass.Endpoint<"GET", "/oauth2/google", void, undefined>, {
6
+ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback" | "/oauth2/twitter" | "/oauth2/twitter/callback" | "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:slug" | "/organizations/members" | "/organizations/:slug/members" | "/profiles/:username" | "/users" | "/users/:id" | "/users/me" | "/users/check/:identifier">(path?: Path | null, query?: Query<Path>, options?: APIRequestOptions) => swr.SWRResponse<(Extract<tonightpass.Endpoint<"GET", "/oauth2/google", void, undefined>, {
7
7
  path: Path;
8
8
  method: "GET";
9
9
  }> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
@@ -65,16 +65,13 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
65
65
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations", tonightpass.Organization[], undefined>, {
66
66
  path: Path;
67
67
  method: "GET";
68
- }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id", tonightpass.Organization, undefined>, {
69
- path: Path;
70
- method: "GET";
71
68
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug", tonightpass.Organization, undefined>, {
72
69
  path: Path;
73
70
  method: "GET";
74
71
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
75
72
  path: Path;
76
73
  method: "GET";
77
- }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id/members", tonightpass.OrganizationMember[], undefined>, {
74
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
78
75
  path: Path;
79
76
  method: "GET";
80
77
  }> | Extract<tonightpass.ProfileEndpoints, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonightpass/react",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "description": "@tonightpass react sdk.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,7 +15,7 @@
15
15
  "types": "dist/index.d.ts",
16
16
  "dependencies": {
17
17
  "swr": "^2.2.5",
18
- "tonightpass": "^0.0.19"
18
+ "tonightpass": "^0.0.20"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*"