@tonightpass/react 0.0.24 → 0.0.25
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 +7 -0
- package/dist/index.d.mts +8 -1
- package/dist/index.d.ts +8 -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.25 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
|
-
[32mESM[39m [1mdist/index.mjs [22m[32m258.00 B[39m
|
|
13
|
-
[32mESM[39m [1mdist/index.mjs.map [22m[32m948.00 B[39m
|
|
14
|
-
[32mESM[39m ⚡️ Build success in 84ms
|
|
15
12
|
[32mCJS[39m [1mdist/index.js [22m[32m438.00 B[39m
|
|
16
13
|
[32mCJS[39m [1mdist/index.js.map [22m[32m948.00 B[39m
|
|
17
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 78ms
|
|
15
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m258.00 B[39m
|
|
16
|
+
[32mESM[39m [1mdist/index.mjs.map [22m[32m948.00 B[39m
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 78ms
|
|
18
18
|
[34mDTS[39m Build start
|
|
19
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m4.
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m4.
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 2877ms
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m4.81 KB[39m
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m4.81 KB[39m
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
|
+
import * as stripe from 'stripe';
|
|
2
3
|
import * as tonightpass from 'tonightpass';
|
|
3
4
|
import { Client, Query, APIRequestOptions } from 'tonightpass';
|
|
4
5
|
|
|
5
6
|
declare const client: Client;
|
|
6
|
-
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/members" | "/organizations/:slug/members" | "/organizations/:slug/billing/link" | "/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/twitter" | "/oauth2/twitter/callback" | "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:slug" | "/organizations/members" | "/organizations/:slug/members" | "/organizations/:slug/billing/account" | "/organizations/:slug/billing/link" | "/organizations/:slug/billing/dashboard" | "/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
8
|
path: Path;
|
|
8
9
|
method: "GET";
|
|
9
10
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
|
|
@@ -74,9 +75,15 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
74
75
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
|
|
75
76
|
path: Path;
|
|
76
77
|
method: "GET";
|
|
78
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/account", stripe.Stripe.Account, undefined>, {
|
|
79
|
+
path: Path;
|
|
80
|
+
method: "GET";
|
|
77
81
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/link", void, undefined>, {
|
|
78
82
|
path: Path;
|
|
79
83
|
method: "GET";
|
|
84
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
|
|
85
|
+
path: Path;
|
|
86
|
+
method: "GET";
|
|
80
87
|
}> | Extract<tonightpass.ProfileEndpoints, {
|
|
81
88
|
path: Path;
|
|
82
89
|
method: "GET";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
|
+
import * as stripe from 'stripe';
|
|
2
3
|
import * as tonightpass from 'tonightpass';
|
|
3
4
|
import { Client, Query, APIRequestOptions } from 'tonightpass';
|
|
4
5
|
|
|
5
6
|
declare const client: Client;
|
|
6
|
-
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/members" | "/organizations/:slug/members" | "/organizations/:slug/billing/link" | "/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/twitter" | "/oauth2/twitter/callback" | "/careers/categories" | "/careers/employmentTypes" | "/careers/jobs" | "/careers/jobs/:id" | "/careers/offices" | "/health" | "/health/database" | "/health/http" | "/organizations" | "/organizations/:slug" | "/organizations/members" | "/organizations/:slug/members" | "/organizations/:slug/billing/account" | "/organizations/:slug/billing/link" | "/organizations/:slug/billing/dashboard" | "/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
8
|
path: Path;
|
|
8
9
|
method: "GET";
|
|
9
10
|
}> | Extract<tonightpass.Endpoint<"GET", "/oauth2/google/callback", void, undefined>, {
|
|
@@ -74,9 +75,15 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
|
|
|
74
75
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
|
|
75
76
|
path: Path;
|
|
76
77
|
method: "GET";
|
|
78
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/account", stripe.Stripe.Account, undefined>, {
|
|
79
|
+
path: Path;
|
|
80
|
+
method: "GET";
|
|
77
81
|
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/link", void, undefined>, {
|
|
78
82
|
path: Path;
|
|
79
83
|
method: "GET";
|
|
84
|
+
}> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
|
|
85
|
+
path: Path;
|
|
86
|
+
method: "GET";
|
|
80
87
|
}> | Extract<tonightpass.ProfileEndpoints, {
|
|
81
88
|
path: Path;
|
|
82
89
|
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.25",
|
|
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.24"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"react": "*"
|