@tonightpass/react 0.0.40 → 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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @tonightpass/react@0.0.40 build /home/runner/work/tonightpass/tonightpass/packages/react
2
+ > @tonightpass/react@0.0.42 build /home/runner/work/tonightpass/tonightpass/packages/react
3
3
  > tsup
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,13 +9,13 @@
9
9
  CLI Target: esnext
10
10
  CJS Build start
11
11
  ESM Build start
12
- ESM dist/index.mjs 258.00 B
13
- ESM dist/index.mjs.map 948.00 B
14
- ESM ⚡️ Build success in 76ms
15
12
  CJS dist/index.js 438.00 B
16
13
  CJS dist/index.js.map 948.00 B
17
14
  CJS ⚡️ Build success in 76ms
15
+ ESM dist/index.mjs 258.00 B
16
+ ESM dist/index.mjs.map 948.00 B
17
+ ESM ⚡️ Build success in 76ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 2948ms
20
- DTS dist/index.d.ts 6.02 KB
21
- DTS dist/index.d.mts 6.02 KB
19
+ DTS ⚡️ Build success in 2903ms
20
+ DTS dist/index.d.ts 6.31 KB
21
+ DTS dist/index.d.mts 6.31 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @tonightpass/react
2
2
 
3
+ ## 0.0.42
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`f1d87e0`](https://github.com/tonightpass/tonightpass/commit/f1d87e06da339a908808dd331a0f4cb85bafaeff)]:
8
+ - tonightpass@0.0.41
9
+
10
+ ## 0.0.41
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`6376cfd`](https://github.com/tonightpass/tonightpass/commit/6376cfd580fb4f2dd5e68564eb96e19a4925de26)]:
15
+ - tonightpass@0.0.40
16
+
3
17
  ## 0.0.40
4
18
 
5
19
  ### Patch Changes
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.40",
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.39"
18
+ "tonightpass": "^0.0.41"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*"