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

openwhisk

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openwhisk - npm Package Compare versions

Comparing version 3.11.0 to 3.12.0

23

lib/namespaces.js

@@ -10,18 +10,13 @@ // Licensed to the Apache Software Foundation (ASF) under one or more contributor

list () {
return this.client.request('GET', `namespaces`)
return this.client.request('GET', 'namespaces')
}
get (options) {
if (typeof options === 'string') {
return this.client.request('GET', `namespaces/${options}`)
}
options = options || {}
const id = options.name || options.namespace
if (!id) {
throw new Error('Missing mandatory parameter: id or namespace.')
}
return this.client.request('GET', `namespaces/${id}`)
get () {
let actions = this.client.request('GET', 'namespaces/_/actions')
let packages = this.client.request('GET', 'namespaces/_/packages')
let triggers = this.client.request('GET', 'namespaces/_/triggers')
let rules = this.client.request('GET', 'namespaces/_/rules')
return Promise
.all([actions, packages, triggers, rules])
.then(([actions, packages, triggers, rules]) => ({actions, packages, triggers, rules}))
}

@@ -28,0 +23,0 @@ }

{
"name": "openwhisk",
"version": "3.11.0",
"version": "3.12.0",
"description": "JavaScript client library for the OpenWhisk platform",

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

@@ -248,3 +248,2 @@ # OpenWhisk Client for JavaScript

ow.rules.get({name: '...'})
ow.namespaces.get({name: '...'})
ow.packages.get({name: '...'})

@@ -251,0 +250,0 @@ ow.feeds.get({name: '...', trigger: '...'})

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