@justins-home/api-services 1.1.8 → 1.2.1
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/dist/index.d.mts +90 -14
- package/dist/index.d.ts +90 -14
- package/dist/index.js +4 -11
- package/dist/index.mjs +7 -11
- package/package.json +13 -6
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { operations } from '@justins-home/types/generated/api-types';
|
|
2
|
-
export { initApiToken as setupAuth } from '@justins-home/http-client';
|
|
2
|
+
export { initApiToken as setupAuth, configureHttpClient as setupClient } from '@justins-home/http-client';
|
|
3
3
|
|
|
4
4
|
declare class ApiError<T = unknown> extends Error {
|
|
5
5
|
status?: number;
|
|
@@ -301,14 +301,27 @@ declare const admin: {
|
|
|
301
301
|
updated_at?: string;
|
|
302
302
|
};
|
|
303
303
|
}>;
|
|
304
|
-
getVerificationFlows: () => Promise<
|
|
304
|
+
getVerificationFlows: () => Promise<{
|
|
305
|
+
data?: {
|
|
306
|
+
user_type?: string;
|
|
307
|
+
user_type_class?: string;
|
|
308
|
+
layers?: {
|
|
309
|
+
order?: number;
|
|
310
|
+
is_required?: boolean;
|
|
311
|
+
}[];
|
|
312
|
+
}[];
|
|
313
|
+
}>;
|
|
305
314
|
createVerificationFlow: (payload: ApiRequest<"createVerificationFlow">) => Promise<{
|
|
306
315
|
data?: {
|
|
307
316
|
order?: number;
|
|
308
317
|
is_required?: boolean;
|
|
309
318
|
};
|
|
310
319
|
}>;
|
|
311
|
-
reorderVerificationFlow: (payload: ApiRequest<"reorderVerificationFlow">) => Promise<
|
|
320
|
+
reorderVerificationFlow: (payload: ApiRequest<"reorderVerificationFlow">) => Promise<{
|
|
321
|
+
message?: string;
|
|
322
|
+
event?: string | null;
|
|
323
|
+
data?: string | null;
|
|
324
|
+
}>;
|
|
312
325
|
getUserVerifications: (query?: Expand<ApiRequest<"getUserVerifications">>) => Promise<{
|
|
313
326
|
data?: {
|
|
314
327
|
id?: number;
|
|
@@ -803,7 +816,15 @@ declare const appointment: {
|
|
|
803
816
|
};
|
|
804
817
|
|
|
805
818
|
declare const auth: {
|
|
806
|
-
loginUser: (payload: ApiRequest<"loginUser">) => Promise<
|
|
819
|
+
loginUser: (payload: ApiRequest<"loginUser">) => Promise<{
|
|
820
|
+
message?: string;
|
|
821
|
+
event?: string | null;
|
|
822
|
+
data?: {
|
|
823
|
+
access_token?: string | null;
|
|
824
|
+
token_type?: string;
|
|
825
|
+
expires_at?: string | null;
|
|
826
|
+
};
|
|
827
|
+
}>;
|
|
807
828
|
logoutUser: () => Promise<{
|
|
808
829
|
message?: string;
|
|
809
830
|
event?: string | null;
|
|
@@ -888,10 +909,6 @@ declare const booking: {
|
|
|
888
909
|
}>;
|
|
889
910
|
};
|
|
890
911
|
|
|
891
|
-
declare const agent: {
|
|
892
|
-
getApiV1PortalAgentTest: () => Promise<unknown>;
|
|
893
|
-
};
|
|
894
|
-
|
|
895
912
|
declare const tenant: {
|
|
896
913
|
getApiV1PortalTenantTest: () => Promise<{
|
|
897
914
|
message?: string;
|
|
@@ -923,7 +940,17 @@ declare const github: {
|
|
|
923
940
|
};
|
|
924
941
|
|
|
925
942
|
declare const feature: {
|
|
926
|
-
|
|
943
|
+
get: (query?: Expand<ApiRequest<"getFeature">>) => Promise<{
|
|
944
|
+
data?: {
|
|
945
|
+
id?: number;
|
|
946
|
+
category_id?: number;
|
|
947
|
+
name?: string;
|
|
948
|
+
description?: string;
|
|
949
|
+
icon?: string;
|
|
950
|
+
is_active?: boolean;
|
|
951
|
+
is_filterable?: boolean;
|
|
952
|
+
};
|
|
953
|
+
}>;
|
|
927
954
|
};
|
|
928
955
|
|
|
929
956
|
declare const inspection: {
|
|
@@ -977,7 +1004,15 @@ declare const landlord: {
|
|
|
977
1004
|
address?: string;
|
|
978
1005
|
};
|
|
979
1006
|
}>;
|
|
980
|
-
basicLogin: (payload: ApiRequest<"basicLoginLandlord">) => Promise<
|
|
1007
|
+
basicLogin: (payload: ApiRequest<"basicLoginLandlord">) => Promise<{
|
|
1008
|
+
message?: string;
|
|
1009
|
+
event?: string | null;
|
|
1010
|
+
data?: {
|
|
1011
|
+
access_token?: string | null;
|
|
1012
|
+
token_type?: string;
|
|
1013
|
+
expires_at?: string | null;
|
|
1014
|
+
};
|
|
1015
|
+
}>;
|
|
981
1016
|
createListingDraft: (payload: ApiRequest<"createListingDraft">) => Promise<{
|
|
982
1017
|
data?: {
|
|
983
1018
|
uid?: string;
|
|
@@ -1573,7 +1608,20 @@ declare const conversations: {
|
|
|
1573
1608
|
total?: number;
|
|
1574
1609
|
};
|
|
1575
1610
|
}>;
|
|
1576
|
-
sendConversationMessage: (payload: ApiRequest<"sendConversationMessage">) => Promise<
|
|
1611
|
+
sendConversationMessage: (payload: ApiRequest<"sendConversationMessage">) => Promise<{
|
|
1612
|
+
message?: string;
|
|
1613
|
+
event?: string | null;
|
|
1614
|
+
data?: {
|
|
1615
|
+
id?: string | null;
|
|
1616
|
+
conversation_id?: string | null;
|
|
1617
|
+
body?: string | null;
|
|
1618
|
+
attachment_url?: string | null;
|
|
1619
|
+
is_system?: string | null;
|
|
1620
|
+
state?: string;
|
|
1621
|
+
read_at?: string | null;
|
|
1622
|
+
created_at?: string | null;
|
|
1623
|
+
};
|
|
1624
|
+
}>;
|
|
1577
1625
|
markConversationAsRead: (params: ApiPathParams<"markConversationAsRead">) => Promise<{
|
|
1578
1626
|
message?: string;
|
|
1579
1627
|
event?: string | null;
|
|
@@ -1697,7 +1745,14 @@ declare const review: {
|
|
|
1697
1745
|
total?: number;
|
|
1698
1746
|
};
|
|
1699
1747
|
}>;
|
|
1700
|
-
ratingSummary: () => Promise<
|
|
1748
|
+
ratingSummary: () => Promise<{
|
|
1749
|
+
message?: string;
|
|
1750
|
+
event?: string | null;
|
|
1751
|
+
data?: {
|
|
1752
|
+
average_rating?: number;
|
|
1753
|
+
reviews_count?: number;
|
|
1754
|
+
};
|
|
1755
|
+
}>;
|
|
1701
1756
|
createListing: (payload: ApiRequest<"createListingReview">) => Promise<{
|
|
1702
1757
|
data?: {
|
|
1703
1758
|
id?: number;
|
|
@@ -1894,7 +1949,28 @@ declare const userverification: {
|
|
|
1894
1949
|
};
|
|
1895
1950
|
|
|
1896
1951
|
declare const wishlist: {
|
|
1897
|
-
create: (payload: ApiRequest<"createWishlist">) => Promise<
|
|
1952
|
+
create: (payload: ApiRequest<"createWishlist">) => Promise<{
|
|
1953
|
+
data?: {
|
|
1954
|
+
wishlist_uid?: string;
|
|
1955
|
+
listing?: {
|
|
1956
|
+
uid?: string;
|
|
1957
|
+
listing_type?: string;
|
|
1958
|
+
vertical?: string;
|
|
1959
|
+
price?: string | null;
|
|
1960
|
+
state?: string;
|
|
1961
|
+
is_visible?: boolean;
|
|
1962
|
+
summary?: {
|
|
1963
|
+
property_type?: string | null;
|
|
1964
|
+
bedrooms?: string | null;
|
|
1965
|
+
bathrooms?: string | null;
|
|
1966
|
+
city?: string | null;
|
|
1967
|
+
availability?: string | null;
|
|
1968
|
+
};
|
|
1969
|
+
workflow?: unknown[];
|
|
1970
|
+
media?: unknown[];
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
}>;
|
|
1898
1974
|
remove: (params: ApiPathParams<"removeWishlist">) => Promise<{
|
|
1899
1975
|
message?: string;
|
|
1900
1976
|
event?: string | null;
|
|
@@ -1928,4 +2004,4 @@ declare const wishlist: {
|
|
|
1928
2004
|
}>;
|
|
1929
2005
|
};
|
|
1930
2006
|
|
|
1931
|
-
export { ApiError, type ApiPathParams, type ApiRequest, type ApiResponse, type Expand, type OperationId, admin,
|
|
2007
|
+
export { ApiError, type ApiPathParams, type ApiRequest, type ApiResponse, type Expand, type OperationId, admin, api, appointment, auth, booking, conversations, customer, feature, github, google, inspection, landlord, listings, maintenance, notification, plan, review, tenancy, tenant, userverification, wishlist };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { operations } from '@justins-home/types/generated/api-types';
|
|
2
|
-
export { initApiToken as setupAuth } from '@justins-home/http-client';
|
|
2
|
+
export { initApiToken as setupAuth, configureHttpClient as setupClient } from '@justins-home/http-client';
|
|
3
3
|
|
|
4
4
|
declare class ApiError<T = unknown> extends Error {
|
|
5
5
|
status?: number;
|
|
@@ -301,14 +301,27 @@ declare const admin: {
|
|
|
301
301
|
updated_at?: string;
|
|
302
302
|
};
|
|
303
303
|
}>;
|
|
304
|
-
getVerificationFlows: () => Promise<
|
|
304
|
+
getVerificationFlows: () => Promise<{
|
|
305
|
+
data?: {
|
|
306
|
+
user_type?: string;
|
|
307
|
+
user_type_class?: string;
|
|
308
|
+
layers?: {
|
|
309
|
+
order?: number;
|
|
310
|
+
is_required?: boolean;
|
|
311
|
+
}[];
|
|
312
|
+
}[];
|
|
313
|
+
}>;
|
|
305
314
|
createVerificationFlow: (payload: ApiRequest<"createVerificationFlow">) => Promise<{
|
|
306
315
|
data?: {
|
|
307
316
|
order?: number;
|
|
308
317
|
is_required?: boolean;
|
|
309
318
|
};
|
|
310
319
|
}>;
|
|
311
|
-
reorderVerificationFlow: (payload: ApiRequest<"reorderVerificationFlow">) => Promise<
|
|
320
|
+
reorderVerificationFlow: (payload: ApiRequest<"reorderVerificationFlow">) => Promise<{
|
|
321
|
+
message?: string;
|
|
322
|
+
event?: string | null;
|
|
323
|
+
data?: string | null;
|
|
324
|
+
}>;
|
|
312
325
|
getUserVerifications: (query?: Expand<ApiRequest<"getUserVerifications">>) => Promise<{
|
|
313
326
|
data?: {
|
|
314
327
|
id?: number;
|
|
@@ -803,7 +816,15 @@ declare const appointment: {
|
|
|
803
816
|
};
|
|
804
817
|
|
|
805
818
|
declare const auth: {
|
|
806
|
-
loginUser: (payload: ApiRequest<"loginUser">) => Promise<
|
|
819
|
+
loginUser: (payload: ApiRequest<"loginUser">) => Promise<{
|
|
820
|
+
message?: string;
|
|
821
|
+
event?: string | null;
|
|
822
|
+
data?: {
|
|
823
|
+
access_token?: string | null;
|
|
824
|
+
token_type?: string;
|
|
825
|
+
expires_at?: string | null;
|
|
826
|
+
};
|
|
827
|
+
}>;
|
|
807
828
|
logoutUser: () => Promise<{
|
|
808
829
|
message?: string;
|
|
809
830
|
event?: string | null;
|
|
@@ -888,10 +909,6 @@ declare const booking: {
|
|
|
888
909
|
}>;
|
|
889
910
|
};
|
|
890
911
|
|
|
891
|
-
declare const agent: {
|
|
892
|
-
getApiV1PortalAgentTest: () => Promise<unknown>;
|
|
893
|
-
};
|
|
894
|
-
|
|
895
912
|
declare const tenant: {
|
|
896
913
|
getApiV1PortalTenantTest: () => Promise<{
|
|
897
914
|
message?: string;
|
|
@@ -923,7 +940,17 @@ declare const github: {
|
|
|
923
940
|
};
|
|
924
941
|
|
|
925
942
|
declare const feature: {
|
|
926
|
-
|
|
943
|
+
get: (query?: Expand<ApiRequest<"getFeature">>) => Promise<{
|
|
944
|
+
data?: {
|
|
945
|
+
id?: number;
|
|
946
|
+
category_id?: number;
|
|
947
|
+
name?: string;
|
|
948
|
+
description?: string;
|
|
949
|
+
icon?: string;
|
|
950
|
+
is_active?: boolean;
|
|
951
|
+
is_filterable?: boolean;
|
|
952
|
+
};
|
|
953
|
+
}>;
|
|
927
954
|
};
|
|
928
955
|
|
|
929
956
|
declare const inspection: {
|
|
@@ -977,7 +1004,15 @@ declare const landlord: {
|
|
|
977
1004
|
address?: string;
|
|
978
1005
|
};
|
|
979
1006
|
}>;
|
|
980
|
-
basicLogin: (payload: ApiRequest<"basicLoginLandlord">) => Promise<
|
|
1007
|
+
basicLogin: (payload: ApiRequest<"basicLoginLandlord">) => Promise<{
|
|
1008
|
+
message?: string;
|
|
1009
|
+
event?: string | null;
|
|
1010
|
+
data?: {
|
|
1011
|
+
access_token?: string | null;
|
|
1012
|
+
token_type?: string;
|
|
1013
|
+
expires_at?: string | null;
|
|
1014
|
+
};
|
|
1015
|
+
}>;
|
|
981
1016
|
createListingDraft: (payload: ApiRequest<"createListingDraft">) => Promise<{
|
|
982
1017
|
data?: {
|
|
983
1018
|
uid?: string;
|
|
@@ -1573,7 +1608,20 @@ declare const conversations: {
|
|
|
1573
1608
|
total?: number;
|
|
1574
1609
|
};
|
|
1575
1610
|
}>;
|
|
1576
|
-
sendConversationMessage: (payload: ApiRequest<"sendConversationMessage">) => Promise<
|
|
1611
|
+
sendConversationMessage: (payload: ApiRequest<"sendConversationMessage">) => Promise<{
|
|
1612
|
+
message?: string;
|
|
1613
|
+
event?: string | null;
|
|
1614
|
+
data?: {
|
|
1615
|
+
id?: string | null;
|
|
1616
|
+
conversation_id?: string | null;
|
|
1617
|
+
body?: string | null;
|
|
1618
|
+
attachment_url?: string | null;
|
|
1619
|
+
is_system?: string | null;
|
|
1620
|
+
state?: string;
|
|
1621
|
+
read_at?: string | null;
|
|
1622
|
+
created_at?: string | null;
|
|
1623
|
+
};
|
|
1624
|
+
}>;
|
|
1577
1625
|
markConversationAsRead: (params: ApiPathParams<"markConversationAsRead">) => Promise<{
|
|
1578
1626
|
message?: string;
|
|
1579
1627
|
event?: string | null;
|
|
@@ -1697,7 +1745,14 @@ declare const review: {
|
|
|
1697
1745
|
total?: number;
|
|
1698
1746
|
};
|
|
1699
1747
|
}>;
|
|
1700
|
-
ratingSummary: () => Promise<
|
|
1748
|
+
ratingSummary: () => Promise<{
|
|
1749
|
+
message?: string;
|
|
1750
|
+
event?: string | null;
|
|
1751
|
+
data?: {
|
|
1752
|
+
average_rating?: number;
|
|
1753
|
+
reviews_count?: number;
|
|
1754
|
+
};
|
|
1755
|
+
}>;
|
|
1701
1756
|
createListing: (payload: ApiRequest<"createListingReview">) => Promise<{
|
|
1702
1757
|
data?: {
|
|
1703
1758
|
id?: number;
|
|
@@ -1894,7 +1949,28 @@ declare const userverification: {
|
|
|
1894
1949
|
};
|
|
1895
1950
|
|
|
1896
1951
|
declare const wishlist: {
|
|
1897
|
-
create: (payload: ApiRequest<"createWishlist">) => Promise<
|
|
1952
|
+
create: (payload: ApiRequest<"createWishlist">) => Promise<{
|
|
1953
|
+
data?: {
|
|
1954
|
+
wishlist_uid?: string;
|
|
1955
|
+
listing?: {
|
|
1956
|
+
uid?: string;
|
|
1957
|
+
listing_type?: string;
|
|
1958
|
+
vertical?: string;
|
|
1959
|
+
price?: string | null;
|
|
1960
|
+
state?: string;
|
|
1961
|
+
is_visible?: boolean;
|
|
1962
|
+
summary?: {
|
|
1963
|
+
property_type?: string | null;
|
|
1964
|
+
bedrooms?: string | null;
|
|
1965
|
+
bathrooms?: string | null;
|
|
1966
|
+
city?: string | null;
|
|
1967
|
+
availability?: string | null;
|
|
1968
|
+
};
|
|
1969
|
+
workflow?: unknown[];
|
|
1970
|
+
media?: unknown[];
|
|
1971
|
+
};
|
|
1972
|
+
};
|
|
1973
|
+
}>;
|
|
1898
1974
|
remove: (params: ApiPathParams<"removeWishlist">) => Promise<{
|
|
1899
1975
|
message?: string;
|
|
1900
1976
|
event?: string | null;
|
|
@@ -1928,4 +2004,4 @@ declare const wishlist: {
|
|
|
1928
2004
|
}>;
|
|
1929
2005
|
};
|
|
1930
2006
|
|
|
1931
|
-
export { ApiError, type ApiPathParams, type ApiRequest, type ApiResponse, type Expand, type OperationId, admin,
|
|
2007
|
+
export { ApiError, type ApiPathParams, type ApiRequest, type ApiResponse, type Expand, type OperationId, admin, api, appointment, auth, booking, conversations, customer, feature, github, google, inspection, landlord, listings, maintenance, notification, plan, review, tenancy, tenant, userverification, wishlist };
|
package/dist/index.js
CHANGED
|
@@ -22,7 +22,6 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
ApiError: () => ApiError,
|
|
24
24
|
admin: () => admin,
|
|
25
|
-
agent: () => agent,
|
|
26
25
|
api: () => api,
|
|
27
26
|
appointment: () => appointment,
|
|
28
27
|
auth: () => auth,
|
|
@@ -40,6 +39,7 @@ __export(index_exports, {
|
|
|
40
39
|
plan: () => plan,
|
|
41
40
|
review: () => review,
|
|
42
41
|
setupAuth: () => import_http_client2.initApiToken,
|
|
42
|
+
setupClient: () => import_http_client2.configureHttpClient,
|
|
43
43
|
tenancy: () => tenancy,
|
|
44
44
|
tenant: () => tenant,
|
|
45
45
|
userverification: () => userverification,
|
|
@@ -343,13 +343,6 @@ var booking = {
|
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
345
|
|
|
346
|
-
// src/generated/agent.ts
|
|
347
|
-
var agent = {
|
|
348
|
-
getApiV1PortalAgentTest: () => {
|
|
349
|
-
return api.get("getApiV1PortalAgentTest", "/api/v1/portal/agent/test");
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
|
|
353
346
|
// src/generated/tenant.ts
|
|
354
347
|
var tenant = {
|
|
355
348
|
getApiV1PortalTenantTest: () => {
|
|
@@ -410,8 +403,8 @@ var github = {
|
|
|
410
403
|
|
|
411
404
|
// src/generated/feature.ts
|
|
412
405
|
var feature = {
|
|
413
|
-
|
|
414
|
-
return api.get("
|
|
406
|
+
get: (query) => {
|
|
407
|
+
return api.get("getFeature", "/api/v1/public/feature/fetch-all", query);
|
|
415
408
|
}
|
|
416
409
|
};
|
|
417
410
|
|
|
@@ -663,7 +656,6 @@ var wishlist = {
|
|
|
663
656
|
0 && (module.exports = {
|
|
664
657
|
ApiError,
|
|
665
658
|
admin,
|
|
666
|
-
agent,
|
|
667
659
|
api,
|
|
668
660
|
appointment,
|
|
669
661
|
auth,
|
|
@@ -681,6 +673,7 @@ var wishlist = {
|
|
|
681
673
|
plan,
|
|
682
674
|
review,
|
|
683
675
|
setupAuth,
|
|
676
|
+
setupClient,
|
|
684
677
|
tenancy,
|
|
685
678
|
tenant,
|
|
686
679
|
userverification,
|
package/dist/index.mjs
CHANGED
|
@@ -51,7 +51,10 @@ var api = {
|
|
|
51
51
|
};
|
|
52
52
|
|
|
53
53
|
// src/helpers/authTokenInit.ts
|
|
54
|
-
import {
|
|
54
|
+
import {
|
|
55
|
+
configureHttpClient,
|
|
56
|
+
initApiToken
|
|
57
|
+
} from "@justins-home/http-client";
|
|
55
58
|
|
|
56
59
|
// src/generated/admin.ts
|
|
57
60
|
var admin = {
|
|
@@ -294,13 +297,6 @@ var booking = {
|
|
|
294
297
|
}
|
|
295
298
|
};
|
|
296
299
|
|
|
297
|
-
// src/generated/agent.ts
|
|
298
|
-
var agent = {
|
|
299
|
-
getApiV1PortalAgentTest: () => {
|
|
300
|
-
return api.get("getApiV1PortalAgentTest", "/api/v1/portal/agent/test");
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
|
|
304
300
|
// src/generated/tenant.ts
|
|
305
301
|
var tenant = {
|
|
306
302
|
getApiV1PortalTenantTest: () => {
|
|
@@ -361,8 +357,8 @@ var github = {
|
|
|
361
357
|
|
|
362
358
|
// src/generated/feature.ts
|
|
363
359
|
var feature = {
|
|
364
|
-
|
|
365
|
-
return api.get("
|
|
360
|
+
get: (query) => {
|
|
361
|
+
return api.get("getFeature", "/api/v1/public/feature/fetch-all", query);
|
|
366
362
|
}
|
|
367
363
|
};
|
|
368
364
|
|
|
@@ -613,7 +609,6 @@ var wishlist = {
|
|
|
613
609
|
export {
|
|
614
610
|
ApiError,
|
|
615
611
|
admin,
|
|
616
|
-
agent,
|
|
617
612
|
api,
|
|
618
613
|
appointment,
|
|
619
614
|
auth,
|
|
@@ -631,6 +626,7 @@ export {
|
|
|
631
626
|
plan,
|
|
632
627
|
review,
|
|
633
628
|
initApiToken as setupAuth,
|
|
629
|
+
configureHttpClient as setupClient,
|
|
634
630
|
tenancy,
|
|
635
631
|
tenant,
|
|
636
632
|
userverification,
|
package/package.json
CHANGED
|
@@ -1,23 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justins-home/api-services",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"private": false,
|
|
5
|
-
"main": "dist/index.
|
|
6
|
-
"module": "dist/index.
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.mjs",
|
|
12
|
+
"require": "./dist/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
8
15
|
"files": [
|
|
9
16
|
"dist"
|
|
10
17
|
],
|
|
11
18
|
"dependencies": {
|
|
12
|
-
"@justins-home/http-client": "1.
|
|
13
|
-
"@justins-home/types": "1.
|
|
19
|
+
"@justins-home/http-client": "1.1.1",
|
|
20
|
+
"@justins-home/types": "1.1.1"
|
|
14
21
|
},
|
|
15
22
|
"publishConfig": {
|
|
16
23
|
"access": "public"
|
|
17
24
|
},
|
|
18
25
|
"scripts": {
|
|
19
26
|
"lint": "eslint src",
|
|
20
|
-
"check-types": "tsc --noEmit -p
|
|
27
|
+
"check-types": "tsc --noEmit -p tsconfig.json",
|
|
21
28
|
"build": "tsup src/index.ts --format esm,cjs --dts --tsconfig tsconfig.json",
|
|
22
29
|
"test": "vitest"
|
|
23
30
|
}
|