pagerduty-pdjs
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "pagerduty-pdjs", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "JavaScript wrapper for the PagerDuty API, maintained by PagerDuty", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,4 @@ | ||
PDJS (PagerDuty base JavaScript API) | ||
PDJS (PagerDuty based JavaScript API) | ||
==== | ||
This is a simple JavaScript wrapper to the [PagerDuty API](https://v2.developer.pagerduty.com/v2/docs) | ||
This is a simple client-side JavaScript wrapper to the [PagerDuty API](https://v2.developer.pagerduty.com/v2/docs). | ||
@@ -8,3 +8,3 @@ ## Making an API request | ||
1. First, you'll need the following dependencies included in your project to utilize PDJS. | ||
* [pdjs.js](https://github.com/PagerDuty/pdjs) | ||
* [pdjs.js](https://github.com/PagerDuty/pdjs) -- you can download it and manually add it to your project. Or, `npm i pagerduty-pdjs`. | ||
1. Create a `PDJSobj` object, setting values for the `subdomain`, `token`, and `api_version` fields on the object. | ||
@@ -132,4 +132,3 @@ ```javascript | ||
* [examples/incidents.html](https://pagerduty.github.io/pdjs/examples/incidents.html) polls the [incidents](http://developer.pagerduty.com/documentation/rest/incidents/list) api and displays the triggered & acknowledged incidents | ||
* [examples/report.html](https://pagerduty.github.io/pdjs/examples/report.html) shows off *api_all* by looping through all the events on my webdemo account for the last 30 days and prints them out as a CSV-esque thing that you could paste into a CSV file. | ||
* [examples/add_contact_method.html](examples/trigger.html) shows how to trigger an incident | ||
* [examples/report.html](https://pagerduty.github.io/pdjs/examples/report.html) shows off *api_all* by looping through all the events on my webdemo account for the last 30 days and prints them out as a CSV-esque thing that you could paste into a CSV file | ||
@@ -142,2 +141,3 @@ ## Compiling the Base Script: | ||
## More info | ||
This project is for client-side JavaScript. If you're looking for a Node library, we recommend the [node-pagerduty](https://github.com/kmart2234/node-pagerduty) library. | ||
@@ -144,0 +144,0 @@ Are you using this library or have questions? Let us know by posting to the [PagerDuty Community Developer Forum](https://community.pagerduty.com/c/dev). |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3
279747
19