@tonightpass/react 0.0.16 → 0.0.18

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.16 build /home/runner/work/tonightpass/tonightpass/packages/react
2
+ > @tonightpass/react@0.0.18 build /home/runner/work/tonightpass/tonightpass/packages/react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,13 +9,13 @@
9
9
  CLI Target: esnext
10
10
  CJS Build start
11
11
  ESM Build start
12
- CJS dist/index.js 438.00 B
13
- CJS dist/index.js.map 948.00 B
14
- CJS ⚡️ Build success in 58ms
15
12
  ESM dist/index.mjs 258.00 B
16
13
  ESM dist/index.mjs.map 948.00 B
17
- ESM ⚡️ Build success in 58ms
14
+ ESM ⚡️ Build success in 81ms
15
+ CJS dist/index.js 438.00 B
16
+ CJS dist/index.js.map 948.00 B
17
+ CJS ⚡️ Build success in 82ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 1321ms
20
- DTS dist/index.d.ts 3.32 KB
21
- DTS dist/index.d.mts 3.32 KB
19
+ DTS ⚡️ Build success in 2709ms
20
+ DTS dist/index.d.ts 3.50 KB
21
+ DTS dist/index.d.mts 3.50 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @tonightpass/react
2
2
 
3
+ ## 0.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`4f58bb8`](https://github.com/tonightpass/tonightpass/commit/4f58bb85cc530bed87ace1fb13e4afe34fb09d9e)]:
8
+ - tonightpass@0.0.17
9
+
10
+ ## 0.0.17
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`bc0b252`](https://github.com/tonightpass/tonightpass/commit/bc0b2527533944a433abc10e69a8dceeec773da2)]:
15
+ - tonightpass@0.0.16
16
+
3
17
  ## 0.0.16
4
18
 
5
19
  ### 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 "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:id" | "/organizations/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", "/careers/categories", tonightpass.CareersCategory[], {
6
+ declare const useAPI: <Path extends "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:id" | "/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", "/careers/categories", tonightpass.CareersCategory[], {
7
7
  language?: string | undefined;
8
8
  }>, {
9
9
  path: Path;
@@ -56,6 +56,9 @@ declare const useAPI: <Path extends "/careers/categories" | "/careers/employment
56
56
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
57
57
  path: Path;
58
58
  method: "GET";
59
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id/members", tonightpass.OrganizationMember[], undefined>, {
60
+ path: Path;
61
+ method: "GET";
59
62
  }> | Extract<tonightpass.ProfileEndpoints, {
60
63
  path: Path;
61
64
  method: "GET";
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 "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:id" | "/organizations/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", "/careers/categories", tonightpass.CareersCategory[], {
6
+ declare const useAPI: <Path extends "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:id" | "/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", "/careers/categories", tonightpass.CareersCategory[], {
7
7
  language?: string | undefined;
8
8
  }>, {
9
9
  path: Path;
@@ -56,6 +56,9 @@ declare const useAPI: <Path extends "/careers/categories" | "/careers/employment
56
56
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
57
57
  path: Path;
58
58
  method: "GET";
59
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id/members", tonightpass.OrganizationMember[], undefined>, {
60
+ path: Path;
61
+ method: "GET";
59
62
  }> | Extract<tonightpass.ProfileEndpoints, {
60
63
  path: Path;
61
64
  method: "GET";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonightpass/react",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
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.15"
18
+ "tonightpass": "^0.0.17"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*"