@tonightpass/react 0.0.43 → 0.0.45
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +14 -0
- package/dist/index.d.mts +22 -22
- package/dist/index.d.ts +22 -22
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @tonightpass/react@0.0.
|
|
2
|
+
> @tonightpass/react@0.0.45 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 @@ CJS Build start
|
|
|
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
|
|
14
|
+
CJS ⚡️ Build success in 79ms
|
|
15
15
|
ESM dist/index.mjs 258.00 B
|
|
16
16
|
ESM dist/index.mjs.map 948.00 B
|
|
17
|
-
ESM ⚡️ Build success in
|
|
17
|
+
ESM ⚡️ Build success in 79ms
|
|
18
18
|
DTS Build start
|
|
19
|
-
DTS ⚡️ Build success in
|
|
20
|
-
DTS dist/index.d.ts
|
|
21
|
-
DTS dist/index.d.mts
|
|
19
|
+
DTS ⚡️ Build success in 2797ms
|
|
20
|
+
DTS dist/index.d.ts 5.29 KB
|
|
21
|
+
DTS dist/index.d.mts 5.29 KB
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @tonightpass/react
|
|
2
2
|
|
|
3
|
+
## 0.0.45
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`d534d9d`](https://github.com/tonightpass/tonightpass/commit/d534d9dce38aa1dba286342323f5e3822ed80802), [`d534d9d`](https://github.com/tonightpass/tonightpass/commit/d534d9dce38aa1dba286342323f5e3822ed80802)]:
|
|
8
|
+
- tonightpass@0.0.44
|
|
9
|
+
|
|
10
|
+
## 0.0.44
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`667bfd2`](https://github.com/tonightpass/tonightpass/commit/667bfd22d3267bd147f8878947d52ee2a4344281)]:
|
|
15
|
+
- tonightpass@0.0.43
|
|
16
|
+
|
|
3
17
|
## 0.0.43
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import * as stripe from 'stripe';
|
|
3
3
|
import * as tonightpass from 'tonightpass';
|
|
4
|
-
import { Client, Query, APIRequestOptions } from 'tonightpass';
|
|
4
|
+
import { Client, PathsFor, Query, APIRequestOptions } from 'tonightpass';
|
|
5
5
|
|
|
6
6
|
declare const client: Client;
|
|
7
|
-
declare const useAPI: <Path extends "
|
|
7
|
+
declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?: Query<Path>, options?: APIRequestOptions) => swr.SWRResponse<(Extract<tonightpass.Endpoint<"GET", "/oauth2/google", void, undefined>, {
|
|
8
8
|
path: Path;
|
|
9
9
|
method: "GET";
|
|
10
10
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
|
|
@@ -23,27 +23,27 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
23
23
|
path: Path;
|
|
24
24
|
method: "GET";
|
|
25
25
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/categories", tonightpass.CareersCategory[], {
|
|
26
|
-
language?: string
|
|
26
|
+
language?: string;
|
|
27
27
|
}>, {
|
|
28
28
|
path: Path;
|
|
29
29
|
method: "GET";
|
|
30
30
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/employmentTypes", tonightpass.CareersEmploymentType[], {
|
|
31
|
-
language?: string
|
|
31
|
+
language?: string;
|
|
32
32
|
}>, {
|
|
33
33
|
path: Path;
|
|
34
34
|
method: "GET";
|
|
35
35
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/jobs", tonightpass.CareersJob[], {
|
|
36
|
-
page?: number
|
|
37
|
-
pageSize?: number
|
|
36
|
+
page?: number;
|
|
37
|
+
pageSize?: number;
|
|
38
38
|
createdAtGte: string;
|
|
39
|
-
createdAtLt?: string
|
|
40
|
-
updatedAtGte?: string
|
|
41
|
-
updatedAtLt?: string
|
|
42
|
-
status?: "ALL" | "ONLINE" | "ARCHIVED"
|
|
43
|
-
content?: boolean
|
|
44
|
-
titleLike?: string
|
|
45
|
-
countryCode?: string
|
|
46
|
-
externalId?: string
|
|
39
|
+
createdAtLt?: string;
|
|
40
|
+
updatedAtGte?: string;
|
|
41
|
+
updatedAtLt?: string;
|
|
42
|
+
status?: "ALL" | "ONLINE" | "ARCHIVED";
|
|
43
|
+
content?: boolean;
|
|
44
|
+
titleLike?: string;
|
|
45
|
+
countryCode?: string;
|
|
46
|
+
externalId?: string;
|
|
47
47
|
}>, {
|
|
48
48
|
path: Path;
|
|
49
49
|
method: "GET";
|
|
@@ -53,10 +53,10 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
53
53
|
path: Path;
|
|
54
54
|
method: "GET";
|
|
55
55
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/offices", tonightpass.CareersOffice[], {
|
|
56
|
-
page?: number
|
|
57
|
-
pageSize?: number
|
|
58
|
-
countryCode?: string
|
|
59
|
-
cityNameLike?: string
|
|
56
|
+
page?: number;
|
|
57
|
+
pageSize?: number;
|
|
58
|
+
countryCode?: string;
|
|
59
|
+
cityNameLike?: string;
|
|
60
60
|
}>, {
|
|
61
61
|
path: Path;
|
|
62
62
|
method: "GET";
|
|
@@ -84,10 +84,10 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
84
84
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
|
|
85
85
|
path: Path;
|
|
86
86
|
method: "GET";
|
|
87
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events",
|
|
87
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events", tonightpass.OrganizationEvent[], undefined>, {
|
|
88
88
|
path: Path;
|
|
89
89
|
method: "GET";
|
|
90
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug",
|
|
90
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", tonightpass.OrganizationEvent, undefined>, {
|
|
91
91
|
path: Path;
|
|
92
92
|
method: "GET";
|
|
93
93
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles", tonightpass.OrganizationEventStyle[], undefined>, {
|
|
@@ -125,10 +125,10 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
125
125
|
}> | Extract<tonightpass.Endpoint<"GET", "/users/check/:identifier", {
|
|
126
126
|
exists: boolean;
|
|
127
127
|
identifier: tonightpass.UserIdentifier;
|
|
128
|
-
suggestions?: string[]
|
|
128
|
+
suggestions?: string[];
|
|
129
129
|
}, {
|
|
130
130
|
identifier: boolean;
|
|
131
|
-
suggestions?: boolean
|
|
131
|
+
suggestions?: boolean;
|
|
132
132
|
}>, {
|
|
133
133
|
path: Path;
|
|
134
134
|
method: "GET";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import * as stripe from 'stripe';
|
|
3
3
|
import * as tonightpass from 'tonightpass';
|
|
4
|
-
import { Client, Query, APIRequestOptions } from 'tonightpass';
|
|
4
|
+
import { Client, PathsFor, Query, APIRequestOptions } from 'tonightpass';
|
|
5
5
|
|
|
6
6
|
declare const client: Client;
|
|
7
|
-
declare const useAPI: <Path extends "
|
|
7
|
+
declare const useAPI: <Path extends PathsFor<"GET">>(path?: Path | null, query?: Query<Path>, options?: APIRequestOptions) => swr.SWRResponse<(Extract<tonightpass.Endpoint<"GET", "/oauth2/google", void, undefined>, {
|
|
8
8
|
path: Path;
|
|
9
9
|
method: "GET";
|
|
10
10
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
|
|
@@ -23,27 +23,27 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
23
23
|
path: Path;
|
|
24
24
|
method: "GET";
|
|
25
25
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/categories", tonightpass.CareersCategory[], {
|
|
26
|
-
language?: string
|
|
26
|
+
language?: string;
|
|
27
27
|
}>, {
|
|
28
28
|
path: Path;
|
|
29
29
|
method: "GET";
|
|
30
30
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/employmentTypes", tonightpass.CareersEmploymentType[], {
|
|
31
|
-
language?: string
|
|
31
|
+
language?: string;
|
|
32
32
|
}>, {
|
|
33
33
|
path: Path;
|
|
34
34
|
method: "GET";
|
|
35
35
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/jobs", tonightpass.CareersJob[], {
|
|
36
|
-
page?: number
|
|
37
|
-
pageSize?: number
|
|
36
|
+
page?: number;
|
|
37
|
+
pageSize?: number;
|
|
38
38
|
createdAtGte: string;
|
|
39
|
-
createdAtLt?: string
|
|
40
|
-
updatedAtGte?: string
|
|
41
|
-
updatedAtLt?: string
|
|
42
|
-
status?: "ALL" | "ONLINE" | "ARCHIVED"
|
|
43
|
-
content?: boolean
|
|
44
|
-
titleLike?: string
|
|
45
|
-
countryCode?: string
|
|
46
|
-
externalId?: string
|
|
39
|
+
createdAtLt?: string;
|
|
40
|
+
updatedAtGte?: string;
|
|
41
|
+
updatedAtLt?: string;
|
|
42
|
+
status?: "ALL" | "ONLINE" | "ARCHIVED";
|
|
43
|
+
content?: boolean;
|
|
44
|
+
titleLike?: string;
|
|
45
|
+
countryCode?: string;
|
|
46
|
+
externalId?: string;
|
|
47
47
|
}>, {
|
|
48
48
|
path: Path;
|
|
49
49
|
method: "GET";
|
|
@@ -53,10 +53,10 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
53
53
|
path: Path;
|
|
54
54
|
method: "GET";
|
|
55
55
|
}> | Extract<tonightpass.Endpoint<"GET", "/careers/offices", tonightpass.CareersOffice[], {
|
|
56
|
-
page?: number
|
|
57
|
-
pageSize?: number
|
|
58
|
-
countryCode?: string
|
|
59
|
-
cityNameLike?: string
|
|
56
|
+
page?: number;
|
|
57
|
+
pageSize?: number;
|
|
58
|
+
countryCode?: string;
|
|
59
|
+
cityNameLike?: string;
|
|
60
60
|
}>, {
|
|
61
61
|
path: Path;
|
|
62
62
|
method: "GET";
|
|
@@ -84,10 +84,10 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
84
84
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
|
|
85
85
|
path: Path;
|
|
86
86
|
method: "GET";
|
|
87
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events",
|
|
87
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events", tonightpass.OrganizationEvent[], undefined>, {
|
|
88
88
|
path: Path;
|
|
89
89
|
method: "GET";
|
|
90
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug",
|
|
90
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", tonightpass.OrganizationEvent, undefined>, {
|
|
91
91
|
path: Path;
|
|
92
92
|
method: "GET";
|
|
93
93
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles", tonightpass.OrganizationEventStyle[], undefined>, {
|
|
@@ -125,10 +125,10 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
125
125
|
}> | Extract<tonightpass.Endpoint<"GET", "/users/check/:identifier", {
|
|
126
126
|
exists: boolean;
|
|
127
127
|
identifier: tonightpass.UserIdentifier;
|
|
128
|
-
suggestions?: string[]
|
|
128
|
+
suggestions?: string[];
|
|
129
129
|
}, {
|
|
130
130
|
identifier: boolean;
|
|
131
|
-
suggestions?: boolean
|
|
131
|
+
suggestions?: boolean;
|
|
132
132
|
}>, {
|
|
133
133
|
path: Path;
|
|
134
134
|
method: "GET";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonightpass/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
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.
|
|
18
|
+
"tonightpass": "^0.0.44"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "*"
|