Skip to content

Commit

Permalink
fix: fixed type definition (#429)
Browse files Browse the repository at this point in the history
* feat: added missing types and maintenance fixes

* feat: added missing types and maintenance fixes

* fix: fixed typee
  • Loading branch information
shashi165 authored Jan 27, 2025
1 parent 84caf3f commit 0acce0b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
9 changes: 4 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@hapi/hapi": "21.3.12",
"@hapi/joi-date": "2.0.1",
"@mojaloop/inter-scheme-proxy-cache-lib": "2.3.1",
"@mojaloop/sdk-standard-components": "19.6.3",
"@mojaloop/sdk-standard-components": "19.6.4",
"axios": "1.7.9",
"clone": "2.1.2",
"dotenv": "16.4.7",
Expand Down Expand Up @@ -127,7 +127,6 @@
},
"peerDependencies": {
"@mojaloop/central-services-error-handling": ">=13.x.x",
"@mojaloop/central-services-logger": ">=11.5.x",
"@mojaloop/central-services-metrics": ">=12.x.x",
"@mojaloop/event-sdk": ">=14.1.1",
"ajv": "8.x.x",
Expand Down
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,8 +710,8 @@ declare namespace CentralServicesShared {
register: (server: Server) => void
}
};
customCurrencyCodeValidation: (joi: Joi) => {
base: Joi.StringSchema;
customCurrencyCodeValidation: (joi: any) => {
base: any;
type: string;
messages: {
'currency.base': string;
Expand Down

0 comments on commit 0acce0b

Please sign in to comment.