tonightpass 0.0.11 → 0.0.12
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 +6 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
- package/src/rest/types/profiles/index.ts +2 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> tonightpass@0.0.
|
|
2
|
+
> tonightpass@0.0.12 build /home/runner/work/tonightpass/tonightpass/packages/node
|
|
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[32m9.30 KB[39m
|
|
13
13
|
[32mCJS[39m [1mdist/index.js.map [22m[32m29.79 KB[39m
|
|
14
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mCJS[39m ⚡️ Build success in 233ms
|
|
15
15
|
[32mESM[39m [1mdist/index.mjs [22m[32m8.08 KB[39m
|
|
16
16
|
[32mESM[39m [1mdist/index.mjs.map [22m[32m29.79 KB[39m
|
|
17
|
-
[32mESM[39m ⚡️ Build success in
|
|
17
|
+
[32mESM[39m ⚡️ Build success in 232ms
|
|
18
18
|
[34mDTS[39m Build start
|
|
19
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m22.
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m22.
|
|
19
|
+
[32mDTS[39m ⚡️ Build success in 2511ms
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m22.10 KB[39m
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m22.10 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# tonightpass
|
|
2
2
|
|
|
3
|
+
## 0.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2c5b552`](https://github.com/tonightpass/tonightpass/commit/2c5b55231112404a705a1b822c67fdcd72cd467c) Thanks [@AntoineKM](https://github.com/AntoineKM)! - Update profiles types with Organization identity
|
|
8
|
+
|
|
3
9
|
## 0.0.11
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.mts
CHANGED
|
@@ -395,7 +395,7 @@ interface ProfileMetadata {
|
|
|
395
395
|
hasBlocked: boolean;
|
|
396
396
|
canDM: boolean;
|
|
397
397
|
}
|
|
398
|
-
type ProfileEndpoints = Endpoint<"GET", "/profiles/:username", UserIdentity>;
|
|
398
|
+
type ProfileEndpoints = Endpoint<"GET", "/profiles/:username", UserIdentity | OrganizationIdentity>;
|
|
399
399
|
|
|
400
400
|
type Location = {
|
|
401
401
|
name?: string;
|
|
@@ -662,7 +662,7 @@ declare const organizations: (client: Client) => {
|
|
|
662
662
|
};
|
|
663
663
|
|
|
664
664
|
declare const profiles: (client: Client) => {
|
|
665
|
-
get: (username: string) => Promise<UserIdentity>;
|
|
665
|
+
get: (username: string) => Promise<UserIdentity | OrganizationIdentity>;
|
|
666
666
|
};
|
|
667
667
|
|
|
668
668
|
declare const users: (client: Client) => {
|
|
@@ -712,7 +712,7 @@ declare class TonightPass {
|
|
|
712
712
|
delete: (id: string) => Promise<boolean>;
|
|
713
713
|
};
|
|
714
714
|
readonly profiles: {
|
|
715
|
-
get: (username: string) => Promise<UserIdentity>;
|
|
715
|
+
get: (username: string) => Promise<UserIdentity | OrganizationIdentity>;
|
|
716
716
|
};
|
|
717
717
|
readonly users: {
|
|
718
718
|
getAll: () => Promise<User[]>;
|
package/dist/index.d.ts
CHANGED
|
@@ -395,7 +395,7 @@ interface ProfileMetadata {
|
|
|
395
395
|
hasBlocked: boolean;
|
|
396
396
|
canDM: boolean;
|
|
397
397
|
}
|
|
398
|
-
type ProfileEndpoints = Endpoint<"GET", "/profiles/:username", UserIdentity>;
|
|
398
|
+
type ProfileEndpoints = Endpoint<"GET", "/profiles/:username", UserIdentity | OrganizationIdentity>;
|
|
399
399
|
|
|
400
400
|
type Location = {
|
|
401
401
|
name?: string;
|
|
@@ -662,7 +662,7 @@ declare const organizations: (client: Client) => {
|
|
|
662
662
|
};
|
|
663
663
|
|
|
664
664
|
declare const profiles: (client: Client) => {
|
|
665
|
-
get: (username: string) => Promise<UserIdentity>;
|
|
665
|
+
get: (username: string) => Promise<UserIdentity | OrganizationIdentity>;
|
|
666
666
|
};
|
|
667
667
|
|
|
668
668
|
declare const users: (client: Client) => {
|
|
@@ -712,7 +712,7 @@ declare class TonightPass {
|
|
|
712
712
|
delete: (id: string) => Promise<boolean>;
|
|
713
713
|
};
|
|
714
714
|
readonly profiles: {
|
|
715
|
-
get: (username: string) => Promise<UserIdentity>;
|
|
715
|
+
get: (username: string) => Promise<UserIdentity | OrganizationIdentity>;
|
|
716
716
|
};
|
|
717
717
|
readonly users: {
|
|
718
718
|
getAll: () => Promise<User[]>;
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Endpoint } from "../../endpoints";
|
|
2
|
+
import { OrganizationIdentity } from "../organizations";
|
|
2
3
|
import { UserIdentity } from "../users";
|
|
3
4
|
|
|
4
5
|
export interface Profile {
|
|
@@ -26,5 +27,5 @@ export interface ProfileMetadata {
|
|
|
26
27
|
export type ProfileEndpoints = Endpoint<
|
|
27
28
|
"GET",
|
|
28
29
|
"/profiles/:username",
|
|
29
|
-
UserIdentity
|
|
30
|
+
UserIdentity | OrganizationIdentity
|
|
30
31
|
>;
|