@machhub-dev/sdk-ts 0.0.1 → 0.0.2

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,6 +1,5 @@
1
- export { SDK, type SDKConfig } from './sdk-ts';
2
- export { getAppConfig } from './utils/appConfig';
3
- export type { LoginResponse, PermissionResponse, User, Group, Feature, Permission, ActionResponse, Action, Scope } from './types/auth.models';
4
- export type { BaseResponse } from './types/response.models';
5
- export type { RecordID } from './types/recordID.models';
6
- export type { HistorizedData } from './types/tag.models';
1
+ export { SDK, type SDKConfig } from './sdk-ts.js';
2
+ export type { LoginResponse, PermissionResponse, User, Group, Feature, Permission, ActionResponse, Action, Scope } from './types/auth.models.js';
3
+ export type { BaseResponse } from './types/response.models.js';
4
+ export type { RecordID } from './types/recordID.models.js';
5
+ export type { HistorizedData } from './types/tag.models.js';
package/dist/cjs/index.js CHANGED
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAppConfig = exports.SDK = void 0;
4
- var sdk_ts_1 = require("./sdk-ts");
5
- Object.defineProperty(exports, "SDK", { enumerable: true, get: function () { return sdk_ts_1.SDK; } });
6
- var appConfig_1 = require("./utils/appConfig");
7
- Object.defineProperty(exports, "getAppConfig", { enumerable: true, get: function () { return appConfig_1.getAppConfig; } });
3
+ exports.SDK = void 0;
4
+ var sdk_ts_js_1 = require("./sdk-ts.js");
5
+ Object.defineProperty(exports, "SDK", { enumerable: true, get: function () { return sdk_ts_js_1.SDK; } });
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- export { SDK, type SDKConfig } from './sdk-ts';
2
- export { getAppConfig } from './utils/appConfig';
3
- export type { LoginResponse, PermissionResponse, User, Group, Feature, Permission, ActionResponse, Action, Scope } from './types/auth.models';
4
- export type { BaseResponse } from './types/response.models';
5
- export type { RecordID } from './types/recordID.models';
6
- export type { HistorizedData } from './types/tag.models';
1
+ export { SDK, type SDKConfig } from './sdk-ts.js';
2
+ export type { LoginResponse, PermissionResponse, User, Group, Feature, Permission, ActionResponse, Action, Scope } from './types/auth.models.js';
3
+ export type { BaseResponse } from './types/response.models.js';
4
+ export type { RecordID } from './types/recordID.models.js';
5
+ export type { HistorizedData } from './types/tag.models.js';
package/dist/index.js CHANGED
@@ -1,2 +1 @@
1
- export { SDK } from './sdk-ts';
2
- export { getAppConfig } from './utils/appConfig';
1
+ export { SDK } from './sdk-ts.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@machhub-dev/sdk-ts",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "MACHHUB TYPESCRIPT SDK",
5
5
  "keywords": [
6
6
  "machhub",
package/src/index.ts CHANGED
@@ -1,8 +1,7 @@
1
- export { SDK, type SDKConfig } from './sdk-ts';
2
- export { getAppConfig } from './utils/appConfig';
1
+ export { SDK, type SDKConfig } from './sdk-ts.js';
3
2
 
4
3
  // Export individual types
5
- export type { LoginResponse, PermissionResponse, User, Group, Feature, Permission, ActionResponse, Action, Scope } from './types/auth.models';
6
- export type { BaseResponse } from './types/response.models';
7
- export type { RecordID } from './types/recordID.models';
8
- export type { HistorizedData } from './types/tag.models';
4
+ export type { LoginResponse, PermissionResponse, User, Group, Feature, Permission, ActionResponse, Action, Scope } from './types/auth.models.js';
5
+ export type { BaseResponse } from './types/response.models.js';
6
+ export type { RecordID } from './types/recordID.models.js';
7
+ export type { HistorizedData } from './types/tag.models.js';
package/tsconfig.json CHANGED
@@ -7,7 +7,9 @@
7
7
  "outDir": "dist",
8
8
  "strict": true,
9
9
  "esModuleInterop": true,
10
- "skipLibCheck": true
10
+ "skipLibCheck": true,
11
+ "allowImportingTsExtensions": false,
12
+ "noEmit": false
11
13
  },
12
14
  "include": ["src/**/*"],
13
15
  "exclude": ["node_modules", "dist"]