@raystack/frontier 0.29.0 → 0.30.0

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.js CHANGED
@@ -75,7 +75,7 @@ __export(src_exports, {
75
75
  });
76
76
  module.exports = __toCommonJS(src_exports);
77
77
 
78
- // client/http-client.ts
78
+ // api-client/http-client.ts
79
79
  var HttpClient = class {
80
80
  constructor(apiConfig = {}) {
81
81
  this.baseUrl = "http://127.0.0.1:7400";
@@ -204,7 +204,7 @@ var HttpClient = class {
204
204
  }
205
205
  };
206
206
 
207
- // client/V1Beta1.ts
207
+ // api-client/V1Beta1.ts
208
208
  var V1Beta1 = class extends HttpClient {
209
209
  constructor() {
210
210
  super(...arguments);
@@ -3480,7 +3480,7 @@ var V1Beta1 = class extends HttpClient {
3480
3480
  }
3481
3481
  };
3482
3482
 
3483
- // client/data-contracts.ts
3483
+ // api-client/data-contracts.ts
3484
3484
  var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
3485
3485
  ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
3486
3486
  return ProtobufNullValue2;
package/dist/index.mjs CHANGED
@@ -50,7 +50,7 @@ var __async = (__this, __arguments, generator) => {
50
50
  });
51
51
  };
52
52
 
53
- // client/http-client.ts
53
+ // api-client/http-client.ts
54
54
  var HttpClient = class {
55
55
  constructor(apiConfig = {}) {
56
56
  this.baseUrl = "http://127.0.0.1:7400";
@@ -179,7 +179,7 @@ var HttpClient = class {
179
179
  }
180
180
  };
181
181
 
182
- // client/V1Beta1.ts
182
+ // api-client/V1Beta1.ts
183
183
  var V1Beta1 = class extends HttpClient {
184
184
  constructor() {
185
185
  super(...arguments);
@@ -3455,7 +3455,7 @@ var V1Beta1 = class extends HttpClient {
3455
3455
  }
3456
3456
  };
3457
3457
 
3458
- // client/data-contracts.ts
3458
+ // api-client/data-contracts.ts
3459
3459
  var ProtobufNullValue = /* @__PURE__ */ ((ProtobufNullValue2) => {
3460
3460
  ProtobufNullValue2["NULL_VALUE"] = "NULL_VALUE";
3461
3461
  return ProtobufNullValue2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.29.0",
3
+ "version": "0.30.0",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -9,6 +9,7 @@
9
9
  "files": [
10
10
  "dist/**/*",
11
11
  "react/dist/**/*",
12
+ "api-client/dist/**/*",
12
13
  "README.md"
13
14
  ],
14
15
  "scripts": {
@@ -49,6 +50,12 @@
49
50
  "import": "./react/dist/index.mjs",
50
51
  "module": "./react/dist/index.mjs",
51
52
  "require": "./react/dist/index.js"
53
+ },
54
+ "./api-client": {
55
+ "types": "./api-client/dist/index.d.ts",
56
+ "import": "./api-client/dist/index.mjs",
57
+ "module": "./api-client/dist/index.mjs",
58
+ "require": "./api-client/dist/index.js"
52
59
  }
53
60
  },
54
61
  "devDependencies": {
@@ -82,7 +89,7 @@
82
89
  "dependencies": {
83
90
  "@hookform/resolvers": "^3.3.1",
84
91
  "@tanstack/react-router": "0.0.1-beta.194",
85
- "axios": "^1.5.0",
92
+ "axios": "^1.6.0",
86
93
  "class-variance-authority": "^0.7.0",
87
94
  "dayjs": "^1.11.10",
88
95
  "lodash": "^4.17.21",