sms77-client
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -78,3 +78,2 @@ import { GSM_CODES } from './GSM_CODES'; | ||
format?: 'json' | 'csv'; | ||
type?: 'direct' | 'economy'; | ||
}; | ||
@@ -96,2 +95,3 @@ export declare type SmsParams = { | ||
ttl?: string; | ||
type?: 'direct' | 'economy'; | ||
performance_tracking?: boolean; | ||
@@ -98,0 +98,0 @@ return_msg_id?: boolean; |
{ | ||
"name": "sms77-client", | ||
"version": "1.0.0", | ||
"description": "API client for the sms77.io gateway", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"repository": "https://github.com/sms77io/js-client", | ||
"author": "sms77 e.K.", | ||
"license": "MIT", | ||
"description": "API client for the sms77.io SMS gateway", | ||
"devDependencies": { | ||
"typescript": "^3.7.4" | ||
"browserify": "^16.5.0", | ||
"tsify": "^4.0.1", | ||
"typescript": "^3.7.5" | ||
}, | ||
"files": ["dist/Sms77Client.js", "dist/types.d.ts"], | ||
"license": "MIT", | ||
"main": "dist/bundle.umd.js", | ||
"name": "sms77-client", | ||
"optionalDependencies": { | ||
"isomorphic-fetch": "^2.2.1" | ||
}, | ||
"repository": "https://github.com/sms77io/js-client", | ||
"scripts": { | ||
"prepublishOnly": "tsc" | ||
} | ||
"build": "tsc && npm run bundle", | ||
"bundle": "node build/build.js > dist/bundle.umd.js", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"types": "dist/index.d.ts", | ||
"version": "1.1.0" | ||
} |
@@ -10,12 +10,16 @@ ![alt text](https://www.sms77.io/wp-content/uploads/2019/07/sms77-Logo-400x79.png "sms77") | ||
```shell script | ||
yarn add https://github.com/sms77io/js-client | ||
yarn add sms77-client | ||
``` | ||
Via NPM | ||
```shell script | ||
npm install --save https://github.com/sms77io/js-client | ||
npm install sms77-client | ||
``` | ||
In the Browser | ||
```html | ||
<script src="https://unpkg.com/browse/sms77-client@1.1.0/dist/bundle.umd.js"></script> | ||
``` | ||
### Example | ||
```javascript | ||
import Sms77Client from 'sms77-client'; | ||
//import Sms77Client from 'sms77-client'; // uncomment in NodeJS environments | ||
@@ -22,0 +26,0 @@ new Sms77Client('MY_SUPER_SECRET_SMS77_IO_API_KEY!') |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
34413
707
1
42
3
6
3
2