@tonightpass/react 0.0.8 → 0.0.10

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.8 build /home/runner/work/tonightpass/tonightpass/packages/react
2
+ > @tonightpass/react@0.0.10 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
  ESM dist/index.mjs 258.00 B
13
13
  ESM dist/index.mjs.map 948.00 B
14
- ESM ⚡️ Build success in 66ms
14
+ ESM ⚡️ Build success in 50ms
15
15
  CJS dist/index.js 438.00 B
16
16
  CJS dist/index.js.map 948.00 B
17
- CJS ⚡️ Build success in 67ms
17
+ CJS ⚡️ Build success in 51ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 1360ms
20
- DTS dist/index.d.ts 2.84 KB
21
- DTS dist/index.d.mts 2.84 KB
19
+ DTS ⚡️ Build success in 1348ms
20
+ DTS dist/index.d.ts 3.15 KB
21
+ DTS dist/index.d.mts 3.15 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @tonightpass/react
2
2
 
3
+ ## 0.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`8f8bd1b`](https://github.com/tonightpass/tonightpass/commit/8f8bd1b21c684389c44c7b9ef4be3452061260e1)]:
8
+ - tonightpass@0.0.9
9
+
10
+ ## 0.0.9
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`d009e78`](https://github.com/tonightpass/tonightpass/commit/d009e7808d5874915dc7a40e244330a8c164cdff)]:
15
+ - tonightpass@0.0.8
16
+
3
17
  ## 0.0.8
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" | "/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" | "/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;
@@ -47,6 +47,12 @@ declare const useAPI: <Path extends "/careers/categories" | "/careers/employment
47
47
  }> | Extract<tonightpass.Endpoint<"GET", "/health/http", tonightpass.Health<"app">, undefined>, {
48
48
  path: Path;
49
49
  method: "GET";
50
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations", tonightpass.Organization[], undefined>, {
51
+ path: Path;
52
+ method: "GET";
53
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id", tonightpass.Organization, undefined>, {
54
+ path: Path;
55
+ method: "GET";
50
56
  }> | Extract<tonightpass.ProfileEndpoints, {
51
57
  path: Path;
52
58
  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" | "/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" | "/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;
@@ -47,6 +47,12 @@ declare const useAPI: <Path extends "/careers/categories" | "/careers/employment
47
47
  }> | Extract<tonightpass.Endpoint<"GET", "/health/http", tonightpass.Health<"app">, undefined>, {
48
48
  path: Path;
49
49
  method: "GET";
50
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations", tonightpass.Organization[], undefined>, {
51
+ path: Path;
52
+ method: "GET";
53
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:id", tonightpass.Organization, undefined>, {
54
+ path: Path;
55
+ method: "GET";
50
56
  }> | Extract<tonightpass.ProfileEndpoints, {
51
57
  path: Path;
52
58
  method: "GET";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonightpass/react",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
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.7"
18
+ "tonightpass": "^0.0.9"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*"