@tonightpass/react 0.0.41 → 0.0.42
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 +7 -0
- package/dist/index.d.mts +7 -1
- package/dist/index.d.ts +7 -1
- 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.42 build /home/runner/work/tonightpass/tonightpass/packages/react
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
[34mESM[39m Build start
|
|
12
12
|
[32mCJS[39m [1mdist/index.js [22m[32m438.00 B[39m
|
|
13
13
|
[32mCJS[39m [1mdist/index.js.map [22m[32m948.00 B[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 76ms
|
|
15
15
|
[32mESM[39m [1mdist/index.mjs [22m[32m258.00 B[39m
|
|
16
16
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m948.00 B[39m
|
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 76ms
|
|
18
18
|
[34mDTS[39m Build start
|
|
19
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m6.
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 2903ms
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m6.31 KB[39m
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m6.31 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -4,12 +4,18 @@ 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/:slug/billing/account" | "/organizations/:slug/billing/link" | "/organizations/:slug/billing/dashboard" | "/organizations/:slug/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>, {
|
|
7
|
+
declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback" | "/oauth2/facebook" | "/oauth2/facebook/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/:slug/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>, {
|
|
11
11
|
path: Path;
|
|
12
12
|
method: "GET";
|
|
13
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/facebook", void, undefined>, {
|
|
14
|
+
path: Path;
|
|
15
|
+
method: "GET";
|
|
16
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/facebook/callback", void, undefined>, {
|
|
17
|
+
path: Path;
|
|
18
|
+
method: "GET";
|
|
13
19
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/twitter", void, undefined>, {
|
|
14
20
|
path: Path;
|
|
15
21
|
method: "GET";
|
package/dist/index.d.ts
CHANGED
|
@@ -4,12 +4,18 @@ 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/:slug/billing/account" | "/organizations/:slug/billing/link" | "/organizations/:slug/billing/dashboard" | "/organizations/:slug/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>, {
|
|
7
|
+
declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback" | "/oauth2/facebook" | "/oauth2/facebook/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/:slug/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>, {
|
|
11
11
|
path: Path;
|
|
12
12
|
method: "GET";
|
|
13
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/facebook", void, undefined>, {
|
|
14
|
+
path: Path;
|
|
15
|
+
method: "GET";
|
|
16
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/facebook/callback", void, undefined>, {
|
|
17
|
+
path: Path;
|
|
18
|
+
method: "GET";
|
|
13
19
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/twitter", void, undefined>, {
|
|
14
20
|
path: Path;
|
|
15
21
|
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.42",
|
|
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.41"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "*"
|