@tonightpass/react 0.0.26 → 0.0.28
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 +8 -8
- package/CHANGELOG.md +14 -0
- package/dist/index.d.mts +24 -6
- package/dist/index.d.ts +24 -6
- 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.28 build /home/runner/work/tonightpass/tonightpass/packages/react
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
[34mCLI[39m Target: esnext
|
|
10
10
|
[34mCJS[39m Build start
|
|
11
11
|
[34mESM[39m Build start
|
|
12
|
-
[32mCJS[39m [1mdist/index.js [22m[32m438.00 B[39m
|
|
13
|
-
[32mCJS[39m [1mdist/index.js.map [22m[32m948.00 B[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in 78ms
|
|
15
12
|
[32mESM[39m [1mdist/index.mjs [22m[32m258.00 B[39m
|
|
16
13
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m948.00 B[39m
|
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
|
14
|
+
[32mESM[39m ⚡️ Build success in 84ms
|
|
15
|
+
[32mCJS[39m [1mdist/index.js [22m[32m438.00 B[39m
|
|
16
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m948.00 B[39m
|
|
17
|
+
[32mCJS[39m ⚡️ Build success in 85ms
|
|
18
18
|
[34mDTS[39m Build start
|
|
19
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 2889ms
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.04 KB[39m
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m6.04 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @tonightpass/react
|
|
2
2
|
|
|
3
|
+
## 0.0.28
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`d3ef400`](https://github.com/tonightpass/tonightpass/commit/d3ef400d824daf8f4506a753a8b3b1abb80df068)]:
|
|
8
|
+
- tonightpass@0.0.27
|
|
9
|
+
|
|
10
|
+
## 0.0.27
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`b18f698`](https://github.com/tonightpass/tonightpass/commit/b18f698d929e0f37e662b8db6df0e49155339f65)]:
|
|
15
|
+
- tonightpass@0.0.26
|
|
16
|
+
|
|
3
17
|
## 0.0.26
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -4,7 +4,7 @@ import * as tonightpass from 'tonightpass';
|
|
|
4
4
|
import { Client, Query, APIRequestOptions } from 'tonightpass';
|
|
5
5
|
|
|
6
6
|
declare const client: Client;
|
|
7
|
-
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/
|
|
7
|
+
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/:slug/billing/account" | "/organizations/:slug/billing/link" | "/organizations/:slug/billing/dashboard" | "/organizations/:organizationSlug/events" | "/organizations/:organizationSlug/events/:eventSlug" | "/organizations/events/styles" | "/organizations/events/styles/:slug" | "/organizations/:slug/events/:eventSlug/tickets" | "/organizations/:slug/events/:eventSlug/tickets/:ticketId" | "/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>, {
|
|
8
8
|
path: Path;
|
|
9
9
|
method: "GET";
|
|
10
10
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
|
|
@@ -69,19 +69,37 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
69
69
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug", tonightpass.Organization, undefined>, {
|
|
70
70
|
path: Path;
|
|
71
71
|
method: "GET";
|
|
72
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/
|
|
72
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/account", stripe.Stripe.Account, undefined>, {
|
|
73
73
|
path: Path;
|
|
74
74
|
method: "GET";
|
|
75
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/
|
|
75
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/link", void, undefined>, {
|
|
76
76
|
path: Path;
|
|
77
77
|
method: "GET";
|
|
78
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/
|
|
78
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
|
|
79
79
|
path: Path;
|
|
80
80
|
method: "GET";
|
|
81
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
81
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events", Event[], undefined>, {
|
|
82
82
|
path: Path;
|
|
83
83
|
method: "GET";
|
|
84
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
84
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", Event, undefined>, {
|
|
85
|
+
path: Path;
|
|
86
|
+
method: "GET";
|
|
87
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles", tonightpass.OrganizationEventStyle[], undefined>, {
|
|
88
|
+
path: Path;
|
|
89
|
+
method: "GET";
|
|
90
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles/:slug", tonightpass.OrganizationEventStyle, undefined>, {
|
|
91
|
+
path: Path;
|
|
92
|
+
method: "GET";
|
|
93
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
|
|
94
|
+
path: Path;
|
|
95
|
+
method: "GET";
|
|
96
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets/:ticketId", tonightpass.OrganizationEventTicket, undefined>, {
|
|
97
|
+
path: Path;
|
|
98
|
+
method: "GET";
|
|
99
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
|
|
100
|
+
path: Path;
|
|
101
|
+
method: "GET";
|
|
102
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
|
|
85
103
|
path: Path;
|
|
86
104
|
method: "GET";
|
|
87
105
|
}> | Extract<tonightpass.ProfileEndpoints, {
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import * as tonightpass from 'tonightpass';
|
|
|
4
4
|
import { Client, Query, APIRequestOptions } from 'tonightpass';
|
|
5
5
|
|
|
6
6
|
declare const client: Client;
|
|
7
|
-
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/
|
|
7
|
+
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/:slug/billing/account" | "/organizations/:slug/billing/link" | "/organizations/:slug/billing/dashboard" | "/organizations/:organizationSlug/events" | "/organizations/:organizationSlug/events/:eventSlug" | "/organizations/events/styles" | "/organizations/events/styles/:slug" | "/organizations/:slug/events/:eventSlug/tickets" | "/organizations/:slug/events/:eventSlug/tickets/:ticketId" | "/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>, {
|
|
8
8
|
path: Path;
|
|
9
9
|
method: "GET";
|
|
10
10
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
|
|
@@ -69,19 +69,37 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
69
69
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug", tonightpass.Organization, undefined>, {
|
|
70
70
|
path: Path;
|
|
71
71
|
method: "GET";
|
|
72
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/
|
|
72
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/account", stripe.Stripe.Account, undefined>, {
|
|
73
73
|
path: Path;
|
|
74
74
|
method: "GET";
|
|
75
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/
|
|
75
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/link", void, undefined>, {
|
|
76
76
|
path: Path;
|
|
77
77
|
method: "GET";
|
|
78
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/
|
|
78
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
|
|
79
79
|
path: Path;
|
|
80
80
|
method: "GET";
|
|
81
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
81
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events", Event[], undefined>, {
|
|
82
82
|
path: Path;
|
|
83
83
|
method: "GET";
|
|
84
|
-
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:
|
|
84
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", Event, undefined>, {
|
|
85
|
+
path: Path;
|
|
86
|
+
method: "GET";
|
|
87
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles", tonightpass.OrganizationEventStyle[], undefined>, {
|
|
88
|
+
path: Path;
|
|
89
|
+
method: "GET";
|
|
90
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/events/styles/:slug", tonightpass.OrganizationEventStyle, undefined>, {
|
|
91
|
+
path: Path;
|
|
92
|
+
method: "GET";
|
|
93
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
|
|
94
|
+
path: Path;
|
|
95
|
+
method: "GET";
|
|
96
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets/:ticketId", tonightpass.OrganizationEventTicket, undefined>, {
|
|
97
|
+
path: Path;
|
|
98
|
+
method: "GET";
|
|
99
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
|
|
100
|
+
path: Path;
|
|
101
|
+
method: "GET";
|
|
102
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
|
|
85
103
|
path: Path;
|
|
86
104
|
method: "GET";
|
|
87
105
|
}> | Extract<tonightpass.ProfileEndpoints, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tonightpass/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
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.27"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "*"
|