Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

heroku-client

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heroku-client - npm Package Compare versions

Comparing version 0.7.2 to 0.7.3

16

docs/account.md

@@ -9,4 +9,2 @@ # account

Info for account.
`heroku.account().info({callback});`

@@ -20,4 +18,2 @@

Update account.
`heroku.account().update({attributes}, {callback});`

@@ -29,8 +25,6 @@

### `patch`
### `changeEmail`
Change Email for account.
`heroku.account().changeEmail({attributes}, {callback});`
`heroku.account().patch({attributes}, {callback});`
Method | Path

@@ -40,8 +34,6 @@ --- | ---

### `patch`
### `changePassword`
Change Password for account.
`heroku.account().changePassword({attributes}, {callback});`
`heroku.account().patch({attributes}, {callback});`
Method | Path

@@ -48,0 +40,0 @@ --- | ---

@@ -9,4 +9,2 @@ # account-feature

Info for an existing account feature.
`heroku.account().features({account-feature_id_or_name}).info({callback});`

@@ -20,4 +18,2 @@

List existing account features.
`heroku.account().features().list({callback});`

@@ -31,4 +27,2 @@

Update an existing account feature.
`heroku.account().features({account-feature_id_or_name}).update({attributes}, {callback});`

@@ -35,0 +29,0 @@

@@ -9,4 +9,2 @@ # addon

Create a new add-on.
`heroku.apps({app_id_or_name}).addons().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete an existing add-on.
`heroku.apps({app_id_or_name}).addons({addon_id}).delete({callback});`

@@ -31,4 +27,2 @@

Info for an existing add-on.
`heroku.apps({app_id_or_name}).addons({addon_id}).info({callback});`

@@ -42,4 +36,2 @@

List existing add-ons.
`heroku.apps({app_id_or_name}).addons().list({callback});`

@@ -53,4 +45,2 @@

Update an existing add-on.
`heroku.apps({app_id_or_name}).addons({addon_id}).update({attributes}, {callback});`

@@ -57,0 +47,0 @@

@@ -9,4 +9,2 @@ # addon-service

Info for existing addon-service.
`heroku.addonServices({addon-service_id_or_name}).info({callback});`

@@ -20,4 +18,2 @@

List existing addon-services.
`heroku.addonServices().list({callback});`

@@ -24,0 +20,0 @@

@@ -9,4 +9,2 @@ # app

Create a new app.
`heroku.apps().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete an existing app.
`heroku.apps({app_id_or_name}).delete({callback});`

@@ -31,4 +27,2 @@

Info for existing app.
`heroku.apps({app_id_or_name}).info({callback});`

@@ -42,4 +36,2 @@

List existing apps.
`heroku.apps().list({callback});`

@@ -53,4 +45,2 @@

Update an existing app.
`heroku.apps({app_id_or_name}).update({attributes}, {callback});`

@@ -57,0 +47,0 @@

@@ -9,4 +9,2 @@ # app-feature

Info for an existing app feature.
`heroku.apps({app_id_or_name}).features({app_id_or_name}).info({callback});`

@@ -20,4 +18,2 @@

List existing app features.
`heroku.apps({app_id_or_name}).features().list({callback});`

@@ -31,4 +27,2 @@

Update an existing app feature.
`heroku.apps({app_id_or_name}).features({app_id_or_name}).update({attributes}, {callback});`

@@ -35,0 +29,0 @@

@@ -9,4 +9,2 @@ # app-transfer

Create a new app transfer.
`heroku.account().appTransfers().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete an existing app transfer
`heroku.account().appTransfers({app-transfer_id}).delete({callback});`

@@ -31,4 +27,2 @@

Info for existing app transfer.
`heroku.account().appTransfers({app-transfer_id}).info({callback});`

@@ -42,4 +36,2 @@

List existing apps transfers.
`heroku.account().appTransfers().list({callback});`

@@ -53,4 +45,2 @@

Update an existing app transfer.
`heroku.account().appTransfers({app-transfer_id}).update({attributes}, {callback});`

@@ -57,0 +47,0 @@

@@ -9,4 +9,2 @@ # collaborator

Create a new collaborator.
`heroku.apps({app_id_or_name}).collaborators().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete an existing collaborator.
`heroku.apps({app_id_or_name}).collaborators({collaborator_email_or_id}).delete({callback});`

@@ -31,4 +27,2 @@

Info for existing collaborator.
`heroku.apps({app_id_or_name}).collaborators({collaborator_email_or_id}).info({callback});`

@@ -42,4 +36,2 @@

List existing collaborators.
`heroku.apps({app_id_or_name}).collaborators().list({callback});`

@@ -46,0 +38,0 @@

@@ -9,4 +9,2 @@ # config-var

Get config-vars for app.
`heroku.apps({app_id_or_name}).configVars().info({callback});`

@@ -20,4 +18,2 @@

Update config-vars for app.
`heroku.apps({app_id_or_name}).configVars().update({attributes}, {callback});`

@@ -24,0 +20,0 @@

@@ -9,4 +9,2 @@ # domain

Create a new domain.
`heroku.apps({app_id_or_name}).domains().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete an existing domain
`heroku.apps({app_id_or_name}).domains({domain_hostname_or_id}).delete({callback});`

@@ -31,4 +27,2 @@

Info for existing domain.
`heroku.apps({app_id_or_name}).domains({domain_hostname_or_id}).info({callback});`

@@ -42,4 +36,2 @@

List existing domains.
`heroku.apps({app_id_or_name}).domains().list({callback});`

@@ -46,0 +38,0 @@

@@ -9,4 +9,2 @@ # dyno

Create a new dyno.
`heroku.apps({app_id_or_name}).dynos().create({attributes}, {callback});`

@@ -18,8 +16,6 @@

### `delete`
### `restartDyno`
Restart dyno.
`heroku.apps({app_id_or_name}).dynos({dyno_id_or_name}).restartDyno({callback});`
`heroku.apps({app_id_or_name}).dynos({dyno_id_or_name}).delete({callback});`
Method | Path

@@ -29,8 +25,6 @@ --- | ---

### `delete`
### `restartAllDynos`
Restart all dynos
`heroku.apps({app_id_or_name}).dynos().restartAllDynos({callback});`
`heroku.apps({app_id_or_name}).dynos().delete({callback});`
Method | Path

@@ -42,4 +36,2 @@ --- | ---

Info for existing dyno.
`heroku.apps({app_id_or_name}).dynos({dyno_id_or_name}).info({callback});`

@@ -53,4 +45,2 @@

List existing dynos.
`heroku.apps({app_id_or_name}).dynos().list({callback});`

@@ -57,0 +47,0 @@

@@ -9,4 +9,2 @@ # formation

Info for a process type
`heroku.apps({app_id_or_name}).formation({formation_id_or_type}).info({callback});`

@@ -20,4 +18,2 @@

List process type formation
`heroku.apps({app_id_or_name}).formation().list({callback});`

@@ -31,4 +27,2 @@

Update process type
`heroku.apps({app_id_or_name}).formation({formation_id_or_type}).update({attributes}, {callback});`

@@ -35,0 +29,0 @@

@@ -9,4 +9,2 @@ # key

Create a new key.
`heroku.account().keys().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete an existing key
`heroku.account().keys({key_fingerprint_or_id}).delete({callback});`

@@ -31,4 +27,2 @@

Info for existing key.
`heroku.account().keys({key_fingerprint_or_id}).info({callback});`

@@ -42,4 +36,2 @@

List existing keys.
`heroku.account().keys().list({callback});`

@@ -46,0 +38,0 @@

@@ -9,4 +9,2 @@ # log-drain

Create a new log drain.
`heroku.apps({app_id_or_name}).logDrains().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete an existing log drain.
`heroku.apps({app_id_or_name}).logDrains({log-drain_id_or_url}).delete({callback});`

@@ -31,4 +27,2 @@

Info for existing log drain.
`heroku.apps({app_id_or_name}).logDrains({log-drain_id_or_url}).info({callback});`

@@ -42,4 +36,2 @@

List existing log drains.
`heroku.apps({app_id_or_name}).logDrains().list({callback});`

@@ -46,0 +38,0 @@

@@ -9,4 +9,2 @@ # log-session

Create a new log session.
`heroku.apps({app_id_or_name}).logSessions().create({attributes}, {callback});`

@@ -13,0 +11,0 @@

@@ -9,4 +9,2 @@ # oauth-authorization

Create a new OAuth authorization.
`heroku.oauth().authorizations().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete OAuth authorization.
`heroku.oauth().authorizations({oauth-authorization_id}).delete({callback});`

@@ -31,4 +27,2 @@

Info for an OAuth authorization.
`heroku.oauth().authorizations({oauth-authorization_id}).info({callback});`

@@ -42,4 +36,2 @@

List OAuth authorizations.
`heroku.oauth().authorizations().list({callback});`

@@ -46,0 +38,0 @@

@@ -9,4 +9,2 @@ # oauth-client

Create a new OAuth client.
`heroku.oauth().clients().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete OAuth client.
`heroku.oauth().clients({oauth-client_id}).delete({callback});`

@@ -31,4 +27,2 @@

Info for an OAuth client
`heroku.oauth().clients({oauth-client_id}).info({callback});`

@@ -42,4 +36,2 @@

List OAuth clients
`heroku.oauth().clients().list({callback});`

@@ -53,4 +45,2 @@

Update OAuth client
`heroku.oauth().clients({oauth-client_id}).update({attributes}, {callback});`

@@ -57,0 +47,0 @@

@@ -9,4 +9,2 @@ # oauth-token

Create a new OAuth token.
`heroku.oauth().tokens().create({attributes}, {callback});`

@@ -13,0 +11,0 @@

@@ -9,4 +9,2 @@ # plan

Info for existing plan.
`heroku.addonServices({addon-service_id_or_name}).plans({plan_id_or_name}).info({callback});`

@@ -20,4 +18,2 @@

List existing plans.
`heroku.addonServices({addon-service_id_or_name}).plans().list({callback});`

@@ -24,0 +20,0 @@

@@ -9,4 +9,2 @@ # rate-limit

Info for rate limits.
`heroku.account().rateLimits().info({callback});`

@@ -13,0 +11,0 @@

@@ -9,4 +9,2 @@ # region

Info for existing region.
`heroku.regions({region_id_or_name}).info({callback});`

@@ -20,4 +18,2 @@

List existing regions.
`heroku.regions().list({callback});`

@@ -24,0 +20,0 @@

@@ -9,4 +9,2 @@ # release

Info for existing release.
`heroku.apps({app_id_or_name}).releases({release_id_or_version}).info({callback});`

@@ -20,4 +18,2 @@

List existing releases.
`heroku.apps({app_id_or_name}).releases().list({callback});`

@@ -29,8 +25,6 @@

### `post`
### `rollback`
Rollback to an existing release.
`heroku.apps({app_id_or_name}).releases().rollback({attributes}, {callback});`
`heroku.apps({app_id_or_name}).releases().post({attributes}, {callback});`
Method | Path

@@ -37,0 +31,0 @@ --- | ---

@@ -9,4 +9,2 @@ # ssl-endpoint

Create a new SSL endpoint.
`heroku.apps({app_id_or_name}).sslEndpoints().create({attributes}, {callback});`

@@ -20,4 +18,2 @@

Delete existing SSL endpoint.
`heroku.apps({app_id_or_name}).sslEndpoints({ssl-endpoint_id_or_name}).delete({callback});`

@@ -31,4 +27,2 @@

Info for existing SSL endpoint.
`heroku.apps({app_id_or_name}).sslEndpoints({ssl-endpoint_id_or_name}).info({callback});`

@@ -42,4 +36,2 @@

List existing SSL endpoints.
`heroku.apps({app_id_or_name}).sslEndpoints().list({callback});`

@@ -53,4 +45,2 @@

Update an existing SSL endpoint.
`heroku.apps({app_id_or_name}).sslEndpoints({ssl-endpoint_id_or_name}).update({attributes}, {callback});`

@@ -57,0 +47,0 @@

@@ -9,4 +9,2 @@ # stack

Stack info.
`heroku.stacks({stack_id_or_name}).info({callback});`

@@ -20,4 +18,2 @@

List available stacks.
`heroku.stacks().list({callback});`

@@ -24,0 +20,0 @@

@@ -21,3 +21,3 @@ var Heroku = require('./heroku'),

var constructor = getResource(action.href),
actionName = getActionName(action);
actionName = action.title;

@@ -53,13 +53,2 @@ constructor.prototype[getName(actionName)] = function (body, callback) {

function getActionName(action) {
var stdNames = ["Info", "List", "Create", "Update", "Delete"];
if (_.include(stdNames, action.title)) {
return action.title;
}
return action.method[0].toUpperCase() + action.method.slice(1, action.method.length);
}
function getResource(path) {

@@ -66,0 +55,0 @@ var proxy = Heroku,

{
"name": "heroku-client",
"version": "0.7.2",
"version": "0.7.3",
"description": "A wrapper for the Heroku v3 API",

@@ -5,0 +5,0 @@ "main": "./lib/heroku.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc