update package.json and d.ts for 3.14 (#112) 3.14.0
authorCarlos Santana <csantana23@gmail.com>
Tue, 27 Mar 2018 17:29:12 +0000 (13:29 -0400)
committerJames Thomas <jthomas.uk@gmail.com>
Tue, 27 Mar 2018 17:29:12 +0000 (18:29 +0100)
* update package.json and d.ts  for 3.14

* try to add babel transform-runtime dep

* fix babel stuff

lib/main.d.ts
package.json

index 87b86c4..94ea0e3 100644 (file)
@@ -34,7 +34,7 @@ declare namespace openwhisk {
     // Ressources
 
     interface Actions {
-        list(options?: { namespace?: string; skip?: number; limit?: number; }): Promise<ActionDesc[]>;
+        list(options?: { namespace?: string; skip?: number; limit?: number; count?: boolean; }): Promise<ActionDesc[]>;
         get(options: string): Promise<Action>
         get(options: { name: string; namespace?: string }): Promise<Action>;
         get(options: (string | { name: string; namespace?: string })[]): Promise<Action[]>;
@@ -56,7 +56,7 @@ declare namespace openwhisk {
     }
 
     interface Activations {
-        list(options?: { namespace?: string; name?: string; skip?: number; limit?: number; upto?: number; docs?: boolean; since?: number }): Promise<ActivationDesc[]>;
+        list(options?: { namespace?: string; name?: string; skip?: number; limit?: number; upto?: number; docs?: boolean; since?: number; count?: boolean; }): Promise<ActivationDesc[]>;
         get<T extends Dict>(options: string): Promise<Activation<T>>;
         get<T extends Dict>(options: { name: string; namespace?: string }): Promise<Activation<T>>;
         get(options: string): Promise<Activation<Dict>>;
@@ -75,7 +75,7 @@ declare namespace openwhisk {
     }
 
     interface Packages {
-        list(options?: { namespace?: string; skip?: number; limit?: number; public?: boolean; }): Promise<PackageDesc[]>;
+        list(options?: { namespace?: string; skip?: number; limit?: number; public?: boolean; count?: boolean; }): Promise<PackageDesc[]>;
         get(options: string): Promise<Package>
         get(options: { name: string; namespace?: string }): Promise<Package>;
         get(options: (string | { name: string; namespace?: string })[]): Promise<Package[]>;
@@ -87,7 +87,7 @@ declare namespace openwhisk {
     }
 
     interface Rules {
-        list(options?: { namespace?: string; skip?: number; limit?: number; }): Promise<RuleDesc[]>;
+        list(options?: { namespace?: string; skip?: number; limit?: number; count?: boolean; }): Promise<RuleDesc[]>;
         get(options: string): Promise<Rule>;
         get(options: { name: string; namespace?: string; }): Promise<Rule>;
         get(options: (string | { name: string; namespace?: string; })[]): Promise<Rule[]>;
@@ -101,7 +101,7 @@ declare namespace openwhisk {
     }
 
     interface Triggers {
-        list(options?: { namespace?: string; skip?: number; limit?: number; }): Promise<TriggerDesc[]>;
+        list(options?: { namespace?: string; skip?: number; limit?: number; count?: boolean; }): Promise<TriggerDesc[]>;
         get(options: string): Promise<Trigger>
         get(options: { name: string; namespace?: string; }): Promise<Trigger>;
         get(options: (string | { name: string; namespace?: string; })[]): Promise<Trigger[]>;
@@ -228,13 +228,16 @@ declare namespace openwhisk {
 
     type Kind =
         "" |
+        "java" |
         "nodejs:default" |
         "nodejs:6" |
+        "nodejs:8" |
         "python:default" |
         "python:3" |
         "python:2" |
         "swift:default" |
         "swift:3.1.1" |
+        "swift:4.1" |
         "php:default" |
         "php:7.1";
 
index 7ceaf3b..cc3c540 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "openwhisk",
-  "version": "3.13.1",
+  "version": "3.14.0",
   "description": "JavaScript client library for the OpenWhisk platform",
   "main": "lib/main.js",
   "typings": "lib/main.d.ts",
   },
   "homepage": "https://github.com/openwhisk/openwhisk-client-js#readme",
   "devDependencies": {
-    "ava": "^0.15.2",
-    "babel": "^6.23.0",
-    "babel-cli": "^6.24.1",
-    "codecov": "^2.3.0",
+    "@types/node": "^9.6.0",
+    "@types/swagger-schema-official": "^2.0.6",
+    "ava": "^0.25.0",
+    "babel-cli": "^6.26.0",
+    "babel-plugin-transform-runtime": "^6.23.0",
+    "babel-preset-es2015": "^6.24.1",
+    "codecov": "^3.0.0",
     "jszip": "^3.1.3",
     "nyc": "^11.0.3",
-    "proxyquire": "1.7.4"
+    "proxyquire": "2.0.1"
   },
   "dependencies": {
-    "needle": "^2.1.0",
-    "@types/node": "^8.0.26",
-    "@types/swagger-schema-official": "^2.0.6"
+    "needle": "^2.1.0"
   },
   "babel": {
     "presets": [