sms77-client
Advanced tools
Comparing version 1.8.3 to 1.8.4
@@ -94,2 +94,15 @@ import { GSM_CODES } from './constants/GSM_CODES'; | ||
}; | ||
export declare type SmsMessage = { | ||
encoding: string; | ||
error: string | null; | ||
error_text: string | null; | ||
id: string; | ||
messages?: string[]; | ||
parts: number; | ||
price: number; | ||
recipient: string; | ||
sender: string; | ||
success: boolean; | ||
text: string; | ||
}; | ||
export declare type SmsType = 'direct' | 'economy'; | ||
@@ -118,15 +131,3 @@ export declare type SmsParams = { | ||
balance: number; | ||
messages: [{ | ||
encoding: string; | ||
error: string | null; | ||
error_text: string | null; | ||
id: string; | ||
messages?: string[]; | ||
parts: number; | ||
price: number; | ||
recipient: string; | ||
sender: string; | ||
success: boolean; | ||
text: string; | ||
}]; | ||
messages: SmsMessage[]; | ||
sms_type: SmsType; | ||
@@ -133,0 +134,0 @@ success: string; |
@@ -30,4 +30,4 @@ { | ||
"types": "dist/Sms77Client.d.ts", | ||
"version": "1.8.3", | ||
"version": "1.8.4", | ||
"homepage": "https://www.sms77.io/en/docs/gateway/http-api/" | ||
} |
@@ -18,3 +18,3 @@ ![alt text](https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png "sms77") | ||
```html | ||
<script src="https://unpkg.com/browse/sms77-client@1.8.3/dist/Sms77Client.umd.js"></script> | ||
<script src="https://unpkg.com/browse/sms77-client@1.8.4/dist/Sms77Client.umd.js"></script> | ||
``` | ||
@@ -21,0 +21,0 @@ |
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
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
707
33491