@cedx/free-mobile
Advanced tools
Comparing version 15.1.1 to 15.2.0
@@ -1,2 +0,31 @@ | ||
export * from "./client.js"; | ||
/** | ||
* Sends messages by SMS to a [FreeMobile](https://mobile.free.fr) account. | ||
*/ | ||
export declare class Client { | ||
/** | ||
* The Free Mobile account. | ||
*/ | ||
readonly account: string; | ||
/** | ||
* The Free Mobile API key. | ||
*/ | ||
readonly apiKey: string; | ||
/** | ||
* The base URL of the remote API endpoint. | ||
*/ | ||
readonly baseUrl: URL; | ||
/** | ||
* Creates a new client. | ||
* @param account The Free Mobile account. | ||
* @param apiKey The Free Mobile API key. | ||
* @param baseUrl The base URL of the remote API endpoint. | ||
*/ | ||
constructor(account: string, apiKey: string, baseUrl?: string | URL); | ||
/** | ||
* Sends an SMS message to the underlying account. | ||
* @param message The message text. | ||
* @returns Resolves when the message has been sent. | ||
*/ | ||
sendMessage(message: string): Promise<void>; | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,3 +9,3 @@ { | ||
"type": "module", | ||
"version": "15.1.1", | ||
"version": "15.2.0", | ||
"author": { | ||
@@ -17,12 +17,10 @@ "email": "cedric@belin.io", | ||
"devDependencies": { | ||
"@babel/eslint-parser": "^7.24.7", | ||
"@babel/plugin-syntax-import-attributes": "^7.24.7", | ||
"@types/eslint__js": "^8.42.3", | ||
"@types/gulp": "^4.0.17", | ||
"@types/node": "^20.14.2", | ||
"@types/node": "^20.14.12", | ||
"del": "^7.1.0", | ||
"eslint": "^9.5.0", | ||
"execa": "^9.2.0", | ||
"globals": "^15.4.0", | ||
"execa": "^9.3.0", | ||
"gulp": "^5.0.0", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.5.4", | ||
"typescript-eslint": "^8.0.0-alpha.54" | ||
}, | ||
@@ -34,3 +32,3 @@ "engines": { | ||
"types": "./lib/index.d.ts", | ||
"default": "./src/index.js" | ||
"default": "./lib/index.js" | ||
}, | ||
@@ -50,4 +48,4 @@ "files": [ | ||
"prepack": "gulp", | ||
"test": "node --test --test-reporter=spec" | ||
"test": "gulp build && node --test --test-reporter=spec" | ||
} | ||
} |
{ | ||
"extends": "../tsconfig.json", | ||
"include": ["**/*.js"], | ||
"include": ["**/*.ts"], | ||
"compilerOptions": { | ||
"declaration": true, | ||
"declarationMap": true, | ||
"emitDeclarationOnly": true, | ||
"incremental": true, | ||
"noEmit": false, | ||
"outDir": "../lib", | ||
"rootDir": ".", | ||
"tsBuildInfoFile": "../var/tsbuildinfo.json" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
7220
8
122
8