@justins-home/api-services 1.1.4 → 1.1.5

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
- > @justins-home/api-services@1.1.4 build /home/runner/work/justins-home-platform-ui/justins-home-platform-ui/packages/api-services
2
+ > @justins-home/api-services@1.1.5 build /home/runner/work/justins-home-platform-ui/justins-home-platform-ui/packages/api-services
3
3
  > tsup src/index.ts --format esm,cjs
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -7,7 +7,7 @@
7
7
  CLI Target: node16
8
8
  ESM Build start
9
9
  CJS Build start
10
- CJS dist/index.js 26.73 KB
11
- CJS ⚡️ Build success in 68ms
12
- ESM dist/index.mjs 25.11 KB
13
- ESM ⚡️ Build success in 69ms
10
+ CJS dist/index.js 26.89 KB
11
+ CJS ⚡️ Build success in 74ms
12
+ ESM dist/index.mjs 25.23 KB
13
+ ESM ⚡️ Build success in 75ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @justins-home/api-services
2
2
 
3
+ ## 1.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - created a setup auth handler for handling token
8
+ - Updated dependencies
9
+ - @justins-home/http-client@1.0.3
10
+
3
11
  ## 1.1.4
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -38,6 +38,7 @@ __export(index_exports, {
38
38
  notification: () => notification,
39
39
  plan: () => plan,
40
40
  review: () => review,
41
+ setupAuth: () => import_http_client2.initApiToken,
41
42
  tenancy: () => tenancy,
42
43
  tenant: () => tenant,
43
44
  userverification: () => userverification,
@@ -97,6 +98,9 @@ var api = {
97
98
  }
98
99
  };
99
100
 
101
+ // src/helpers/authTokenInit.ts
102
+ var import_http_client2 = require("@justins-home/http-client");
103
+
100
104
  // src/generated/admin.ts
101
105
  var admin = {
102
106
  new: (payload) => {
@@ -675,6 +679,7 @@ var wishlist = {
675
679
  notification,
676
680
  plan,
677
681
  review,
682
+ setupAuth,
678
683
  tenancy,
679
684
  tenant,
680
685
  userverification,
package/dist/index.mjs CHANGED
@@ -50,6 +50,9 @@ var api = {
50
50
  }
51
51
  };
52
52
 
53
+ // src/helpers/authTokenInit.ts
54
+ import { initApiToken } from "@justins-home/http-client";
55
+
53
56
  // src/generated/admin.ts
54
57
  var admin = {
55
58
  new: (payload) => {
@@ -627,6 +630,7 @@ export {
627
630
  notification,
628
631
  plan,
629
632
  review,
633
+ initApiToken as setupAuth,
630
634
  tenancy,
631
635
  tenant,
632
636
  userverification,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@justins-home/api-services",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "private": false,
5
5
  "main": "src/index.ts",
6
6
  "dependencies": {
7
- "@justins-home/http-client": "1.0.2",
7
+ "@justins-home/http-client": "1.0.3",
8
8
  "@justins-home/types": "1.0.0"
9
9
  },
10
10
  "publishConfig": {
@@ -0,0 +1 @@
1
+ export { initApiToken as setupAuth } from '@justins-home/http-client';
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  /**
3
2
  * Core API utilities
4
3
  */
@@ -9,6 +8,7 @@ export * from './api-client';
9
8
  */
10
9
  export * from './types/openapi';
11
10
 
11
+ export * from './helpers/authTokenInit';
12
12
  /**
13
13
  * Auto-generated domain services
14
14
  * (Do not edit manually)