@sagebox-be/proto-contracts 1.0.6 → 1.0.8

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.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from '../src/types/product';
1
+ export * from './types/product';
2
2
  export { getProtoPath } from './utils';
package/dist/index.js CHANGED
@@ -17,8 +17,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
17
17
  };
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.getProtoPath = void 0;
20
- // // Export all gRPC types for TypeScript
21
- __exportStar(require("../src/types/product"), exports);
20
+ // Export all gRPC types for TypeScript
21
+ __exportStar(require("./types/product"), exports);
22
22
  // Export proto file path helper
23
23
  var utils_1 = require("./utils");
24
24
  Object.defineProperty(exports, "getProtoPath", { enumerable: true, get: function () { return utils_1.getProtoPath; } });
package/dist/utils.js CHANGED
@@ -10,7 +10,8 @@ const path_1 = require("path");
10
10
  */
11
11
  function getProtoPath(protoFileName) {
12
12
  // Use absolute path from workspace root to avoid dist folder issues
13
- return (0, path_1.join)(process.cwd(), 'libs/proto-contracts/proto', protoFileName);
13
+ // return join(process.cwd(), 'libs/proto-contracts/proto', protoFileName);
14
+ return (0, path_1.join)(process.cwd(), 'node_modules/@sagebox-be/proto-contracts/proto', protoFileName);
14
15
  }
15
16
  /**
16
17
  * Get all proto file paths
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sagebox-be/proto-contracts",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "Sagebox gRPC Protocol Buffer contracts and TypeScript definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",