mirror of
https://github.com/Oxtaly/porkbun-wrapper.git
synced 2025-12-10 02:11:38 +00:00
Package.json engine fix + small types @default fix
This commit is contained in:
parent
88874d1ef8
commit
9c51acf711
@ -10,7 +10,7 @@
|
|||||||
"license": "GPLv3",
|
"license": "GPLv3",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/Oxtaly/porkbun-wrapper.git"
|
"url": "git+https://github.com/Oxtaly/porkbun-wrapper.git"
|
||||||
},
|
},
|
||||||
"description": "A simple node.js Porkbun API wrapper with no dependencies to interact with Porkbun's v3 api.",
|
"description": "A simple node.js Porkbun API wrapper with no dependencies to interact with Porkbun's v3 api.",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -18,6 +18,6 @@
|
|||||||
"dotenv": "^16.5.0"
|
"dotenv": "^16.5.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "18"
|
"node": ">=18"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
4
types.d.ts
vendored
4
types.d.ts
vendored
@ -9,11 +9,11 @@ export interface PorkbunClientOptions {
|
|||||||
apiKey: string;
|
apiKey: string;
|
||||||
/** Secret key used for authentication. */
|
/** Secret key used for authentication. */
|
||||||
secretKey: string;
|
secretKey: string;
|
||||||
/** Base api endpoint used by the wrapper. @default {"https://api.porkbun.com/api/json/v3"} */
|
/** Base api endpoint used by the wrapper. @default "https://api.porkbun.com/api/json/v3" */
|
||||||
endpoint?: string;
|
endpoint?: string;
|
||||||
/** Logger that takes in the requests made by the client. Does not include api keys. */
|
/** Logger that takes in the requests made by the client. Does not include api keys. */
|
||||||
queryLogger?: (query: { url: string, body: Object }) => void;
|
queryLogger?: (query: { url: string, body: Object }) => void;
|
||||||
/** User-Agent header sent with the requests. Set to null to send the default (usually "node") Node.js User-Agent header. @default {"porkbun-wrapper"} */
|
/** User-Agent header sent with the requests. Set to null to send the default (usually "node") Node.js User-Agent header. @default "porkbun-wrapper" */
|
||||||
userAgent?: string;
|
userAgent?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user