farazsms 1.0.0 → 1.0.1
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/README.md +4 -1
- package/index.cjs +2 -1
- package/index.mjs +2 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# farazsms
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
**FarazSMS · IranPayamak** — فراز اس ام اس · ایران پیامک
|
|
4
|
+
🌐 [farazsms.com](https://farazsms.com) · [iranpayamak.com](https://iranpayamak.com)
|
|
5
|
+
|
|
6
|
+
Official lightweight client for the **FarazSMS / IranPayamak** web services — send pattern/OTP, simple & bulk SMS, pull reports, manage your phonebook, and reach **all 63 endpoints** through a low-level `request()`.
|
|
4
7
|
|
|
5
8
|
Zero dependencies. Works on **Node.js 18+** (built-in `fetch`), ESM **and** CommonJS, with TypeScript types.
|
|
6
9
|
|
package/index.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// FarazSMS
|
|
1
|
+
// FarazSMS · IranPayamak (فراز اس ام اس · ایران پیامک)
|
|
2
|
+
// Official client — https://farazsms.com · https://iranpayamak.com (CommonJS, Node 18+)
|
|
2
3
|
"use strict";
|
|
3
4
|
const BASE = "https://api.iranpayamak.com";
|
|
4
5
|
|
package/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
// FarazSMS
|
|
1
|
+
// FarazSMS · IranPayamak (فراز اس ام اس · ایران پیامک)
|
|
2
|
+
// Official client — https://farazsms.com · https://iranpayamak.com (ESM, Node 18+)
|
|
2
3
|
const BASE = "https://api.iranpayamak.com";
|
|
3
4
|
|
|
4
5
|
export class FarazError extends Error {
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "farazsms",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Official
|
|
5
|
-
"keywords": ["farazsms", "sms", "otp", "pattern", "iran", "
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "Official client for FarazSMS · IranPayamak (فراز اس ام اس · ایران پیامک) — https://farazsms.com. Send pattern/OTP, bulk SMS, reports, phonebook, and all 63 endpoints.",
|
|
5
|
+
"keywords": ["farazsms", "iranpayamak", "sms", "otp", "pattern", "iran", "فراز اس ام اس", "ایران پیامک", "پیامک"],
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"author": "FarazSMS",
|
|
8
|
-
"homepage": "https://
|
|
7
|
+
"author": "FarazSMS (فراز اس ام اس) <https://farazsms.com>",
|
|
8
|
+
"homepage": "https://farazsms.com",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "git+https://gitlab.faraz.club/common-service-centres/api-docs.git"
|