@aleshacinema/contracts 1.0.12 → 1.0.14

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.
@@ -0,0 +1,2 @@
1
+ export * as AuthProto from './auth.js';
2
+ export * as AccountProto from './account.js';
@@ -0,0 +1,2 @@
1
+ export * as AuthProto from './auth.js';
2
+ export * as AccountProto from './account.js';
@@ -1 +1,2 @@
1
1
  export * from './proto/index.js';
2
+ export * from '../gen/index.js';
package/dist/src/index.js CHANGED
@@ -1 +1,2 @@
1
1
  export * from './proto/index.js';
2
+ export * from '../gen/index.js';
@@ -1,4 +1,6 @@
1
- import { join } from 'path';
1
+ import { fileURLToPath } from "node:url";
2
+ import { dirname, join } from "node:path";
3
+ const __dirname = dirname(fileURLToPath(import.meta.url));
2
4
  export const PROTO_PATHS = {
3
5
  AUTH: join(__dirname, '../../proto/auth.proto'),
4
6
  ACCOUNT: join(__dirname, '../../proto/account.proto'),
package/gen/index.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * as AuthProto from './auth.js'
2
+ export * as AccountProto from './account.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aleshacinema/contracts",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Protobuf definitions and generated TypeSript types",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",