@tonightpass/react 0.0.26 → 0.0.27

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.26 build /home/runner/work/tonightpass/tonightpass/packages/react
2
+ > @tonightpass/react@0.0.27 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 @@
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 78ms
14
+ CJS ⚡️ Build success in 77ms
15
15
  ESM dist/index.mjs 258.00 B
16
16
  ESM dist/index.mjs.map 948.00 B
17
- ESM ⚡️ Build success in 79ms
17
+ ESM ⚡️ Build success in 78ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 2790ms
20
- DTS dist/index.d.ts 4.81 KB
21
- DTS dist/index.d.mts 4.81 KB
19
+ DTS ⚡️ Build success in 2760ms
20
+ DTS dist/index.d.ts 5.66 KB
21
+ DTS dist/index.d.mts 5.66 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @tonightpass/react
2
2
 
3
+ ## 0.0.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`b18f698`](https://github.com/tonightpass/tonightpass/commit/b18f698d929e0f37e662b8db6df0e49155339f65)]:
8
+ - tonightpass@0.0.26
9
+
3
10
  ## 0.0.26
4
11
 
5
12
  ### 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/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
+ 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/: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,31 @@ 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/members", tonightpass.OrganizationMember[], undefined>, {
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/members", tonightpass.OrganizationMember[], undefined>, {
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/account", stripe.Stripe.Account, undefined>, {
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/:slug/billing/link", void, undefined>, {
81
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events", Event[], undefined>, {
82
82
  path: Path;
83
83
  method: "GET";
84
- }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
84
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", Event, undefined>, {
85
+ path: Path;
86
+ method: "GET";
87
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
88
+ path: Path;
89
+ method: "GET";
90
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets/:ticketId", tonightpass.OrganizationEventTicket, undefined>, {
91
+ path: Path;
92
+ method: "GET";
93
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
94
+ path: Path;
95
+ method: "GET";
96
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
85
97
  path: Path;
86
98
  method: "GET";
87
99
  }> | 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/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
+ 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/: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,31 @@ 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/members", tonightpass.OrganizationMember[], undefined>, {
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/members", tonightpass.OrganizationMember[], undefined>, {
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/account", stripe.Stripe.Account, undefined>, {
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/:slug/billing/link", void, undefined>, {
81
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events", Event[], undefined>, {
82
82
  path: Path;
83
83
  method: "GET";
84
- }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/billing/dashboard", void, undefined>, {
84
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", Event, undefined>, {
85
+ path: Path;
86
+ method: "GET";
87
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
88
+ path: Path;
89
+ method: "GET";
90
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets/:ticketId", tonightpass.OrganizationEventTicket, undefined>, {
91
+ path: Path;
92
+ method: "GET";
93
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/members", tonightpass.OrganizationMember[], undefined>, {
94
+ path: Path;
95
+ method: "GET";
96
+ }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/members", tonightpass.OrganizationMember[], undefined>, {
85
97
  path: Path;
86
98
  method: "GET";
87
99
  }> | Extract<tonightpass.ProfileEndpoints, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonightpass/react",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
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.25"
18
+ "tonightpass": "^0.0.26"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*"