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",
|
||||
"repository": {
|
||||
"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.",
|
||||
"devDependencies": {
|
||||
@ -18,6 +18,6 @@
|
||||
"dotenv": "^16.5.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "18"
|
||||
"node": ">=18"
|
||||
}
|
||||
}
|
||||
|
||||
4
types.d.ts
vendored
4
types.d.ts
vendored
@ -9,11 +9,11 @@ export interface PorkbunClientOptions {
|
||||
apiKey: string;
|
||||
/** Secret key used for authentication. */
|
||||
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;
|
||||
/** Logger that takes in the requests made by the client. Does not include api keys. */
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user