@tonightpass/react 0.0.27 → 0.0.29

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.27 build /home/runner/work/tonightpass/tonightpass/packages/react
2
+ > @tonightpass/react@0.0.29 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
- CJS dist/index.js 438.00 B
13
- CJS dist/index.js.map 948.00 B
14
- CJS ⚡️ Build success in 77ms
15
12
  ESM dist/index.mjs 258.00 B
16
13
  ESM dist/index.mjs.map 948.00 B
17
- ESM ⚡️ Build success in 78ms
14
+ ESM ⚡️ Build success in 74ms
15
+ CJS dist/index.js 438.00 B
16
+ CJS dist/index.js.map 948.00 B
17
+ CJS ⚡️ Build success in 75ms
18
18
  DTS Build start
19
- DTS ⚡️ Build success in 2760ms
20
- DTS dist/index.d.ts 5.66 KB
21
- DTS dist/index.d.mts 5.66 KB
19
+ DTS ⚡️ Build success in 2911ms
20
+ DTS dist/index.d.ts 6.04 KB
21
+ DTS dist/index.d.mts 6.04 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @tonightpass/react
2
2
 
3
+ ## 0.0.29
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`2b069df`](https://github.com/tonightpass/tonightpass/commit/2b069df59fcd5a51e4acf4ebd71826e878da7b31)]:
8
+ - tonightpass@0.0.28
9
+
10
+ ## 0.0.28
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies [[`d3ef400`](https://github.com/tonightpass/tonightpass/commit/d3ef400d824daf8f4506a753a8b3b1abb80df068)]:
15
+ - tonightpass@0.0.27
16
+
3
17
  ## 0.0.27
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/: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>, {
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>, {
@@ -84,6 +84,12 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
84
84
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", Event, undefined>, {
85
85
  path: Path;
86
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";
87
93
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
88
94
  path: Path;
89
95
  method: "GET";
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/: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>, {
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>, {
@@ -84,6 +84,12 @@ declare const useAPI: <Path extends "/oauth2/google" | "/oauth2/google/callback"
84
84
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:organizationSlug/events/:eventSlug", Event, undefined>, {
85
85
  path: Path;
86
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";
87
93
  }> | Extract<tonightpass.Endpoint<"GET", "/organizations/:slug/events/:eventSlug/tickets", tonightpass.OrganizationEventTicket[], undefined>, {
88
94
  path: Path;
89
95
  method: "GET";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tonightpass/react",
3
- "version": "0.0.27",
3
+ "version": "0.0.29",
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.26"
18
+ "tonightpass": "^0.0.28"
19
19
  },
20
20
  "peerDependencies": {
21
21
  "react": "*"