@nomalism-com/api 0.45.12 → 0.45.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.
- package/dist/index.js +1 -1
- package/dist/main.d.ts +1 -2
- package/dist/modules/view/webSocket.d.ts +1 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AxiosInstance } from 'axios';
|
|
2
|
-
import Nomalism from '@nomalism-com/types';
|
|
3
2
|
import WebSocketClass from './modules/view/webSocket';
|
|
4
3
|
import BankDataClass from './modules/user/bankData';
|
|
5
4
|
import ClientClass from './modules/user/clients';
|
|
@@ -256,7 +255,7 @@ export declare class API {
|
|
|
256
255
|
processEnvironment: IEnvironment;
|
|
257
256
|
client: AxiosInstance;
|
|
258
257
|
services: Record<IService, string>;
|
|
259
|
-
WebSocket: WebSocketClass
|
|
258
|
+
WebSocket: WebSocketClass;
|
|
260
259
|
BankData: BankDataClass;
|
|
261
260
|
Client: ClientClass;
|
|
262
261
|
ClientType: ClientTypeClass;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type Nomalism from '@nomalism-com/types';
|
|
2
2
|
import type { IModuleConstructor } from '../../main';
|
|
3
|
-
export default class Service
|
|
4
|
-
.IClient<T> {
|
|
3
|
+
export default class Service implements Nomalism.WebSocket.IClient {
|
|
5
4
|
route: string;
|
|
6
5
|
constructor({ route }: IModuleConstructor);
|
|
7
6
|
openSocket<T extends Nomalism.WebSocket.IEvent>({ token, onEvent, onOpen, onReconnect, onClose, onAuthUnverified, }: Nomalism.WebSocket.SocketOptions<T>): Nomalism.WebSocket.SocketHandle;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.45.
|
|
4
|
+
"version": "0.45.14",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.45.
|
|
26
|
+
"@nomalism-com/types": "^0.45.17",
|
|
27
27
|
"axios": "^1.16.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@swc/core": "^1.15.
|
|
30
|
+
"@swc/core": "^1.15.40",
|
|
31
31
|
"@types/node": "^24.12.4",
|
|
32
32
|
"@typescript-eslint/eslint-plugin": "^8.59.4",
|
|
33
33
|
"@typescript-eslint/parser": "^8.59.4",
|