@nomalism-com/api 0.39.26 → 0.39.28
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 +1 -1
- package/dist/index.js +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1476,7 +1476,7 @@ declare class Repository$n implements Nomalism$1.Prison.IRepository {
|
|
|
1476
1476
|
removeLineFromPrison(data: Nomalism$1.shared.IFindByIdRequest): Promise<void>;
|
|
1477
1477
|
findLinesInPrison(): Promise<Nomalism$1.Prison.IFindLinesInPrisonResponse[]>;
|
|
1478
1478
|
findLinesInPrisonProviders(): Promise<Nomalism$1.shared.IFindMinifiedResponse[]>;
|
|
1479
|
-
checkLinesInPrison(data: Nomalism$1.Prison.ICheckLinesInPrisonRequest): Promise<
|
|
1479
|
+
checkLinesInPrison(data: Nomalism$1.Prison.ICheckLinesInPrisonRequest): Promise<string>;
|
|
1480
1480
|
createLinesInPrison(data: Nomalism$1.Prison.ICreateLinesInPrisonRequest): Promise<string[]>;
|
|
1481
1481
|
}
|
|
1482
1482
|
|
package/dist/index.js
CHANGED
|
@@ -3446,7 +3446,8 @@ var Repository92 = class {
|
|
|
3446
3446
|
return response.data;
|
|
3447
3447
|
}
|
|
3448
3448
|
async checkLinesInPrison(data) {
|
|
3449
|
-
await this.api.post(`${this.route}check_in_prison`, data);
|
|
3449
|
+
const response = await this.api.post(`${this.route}check_in_prison`, data);
|
|
3450
|
+
return response.data;
|
|
3450
3451
|
}
|
|
3451
3452
|
async createLinesInPrison(data) {
|
|
3452
3453
|
const response = await this.api.post(`${this.route}create_lines`, data);
|
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.39.
|
|
4
|
+
"version": "0.39.28",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.39.
|
|
26
|
+
"@nomalism-com/types": "^0.39.37",
|
|
27
27
|
"axios": "^1.9.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|