@nomalism-com/api 0.47.26 → 0.47.27
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
CHANGED
|
@@ -973,16 +973,6 @@ var Repository25 = class {
|
|
|
973
973
|
);
|
|
974
974
|
return response.data;
|
|
975
975
|
}
|
|
976
|
-
async chooseMethod({
|
|
977
|
-
id,
|
|
978
|
-
...body
|
|
979
|
-
}) {
|
|
980
|
-
const response = await this.api.post(
|
|
981
|
-
`${this.route}${id}/method`,
|
|
982
|
-
body
|
|
983
|
-
);
|
|
984
|
-
return response.data;
|
|
985
|
-
}
|
|
986
976
|
async find() {
|
|
987
977
|
const response = await this.api.get(
|
|
988
978
|
this.route
|
|
@@ -5,6 +5,5 @@ export default class Repository implements Nomalism.EuPago.IApi {
|
|
|
5
5
|
private api;
|
|
6
6
|
constructor({ api, route }: IModuleConstructor);
|
|
7
7
|
generate(data: Nomalism.EuPago.ICreatePendingPaymentRequest): Promise<Nomalism.EuPago.Entity>;
|
|
8
|
-
chooseMethod({ id, ...body }: Nomalism.EuPago.IChooseMethodRequest): Promise<Nomalism.EuPago.Entity>;
|
|
9
8
|
find(): Promise<Nomalism.EuPago.IFindResponse[]>;
|
|
10
9
|
}
|
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.47.
|
|
4
|
+
"version": "0.47.27",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"prepare": "husky"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@nomalism-com/types": "^0.47.
|
|
27
|
+
"@nomalism-com/types": "^0.47.27",
|
|
28
28
|
"axios": "^1.20.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|