openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamestho...@apache.org
Subject [incubator-openwhisk-client-js] branch master updated: update package.json and d.ts for 3.14 (#112)
Date Tue, 27 Mar 2018 17:29:15 GMT
This is an automated email from the ASF dual-hosted git repository.

jamesthomas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-client-js.git


The following commit(s) were added to refs/heads/master by this push:
     new fd12c54  update package.json and d.ts  for 3.14 (#112)
fd12c54 is described below

commit fd12c54601abdea73b80cef534c322b46ba56ba0
Author: Carlos Santana <csantana23@gmail.com>
AuthorDate: Tue Mar 27 13:29:12 2018 -0400

    update package.json and d.ts  for 3.14 (#112)
    
    * update package.json and d.ts  for 3.14
    
    * try to add babel transform-runtime dep
    
    * fix babel stuff
---
 lib/main.d.ts | 13 ++++++++-----
 package.json  | 19 ++++++++++---------
 2 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/lib/main.d.ts b/lib/main.d.ts
index 87b86c4..94ea0e3 100644
--- a/lib/main.d.ts
+++ b/lib/main.d.ts
@@ -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";
 
diff --git a/package.json b/package.json
index 7ceaf3b..cc3c540 100644
--- a/package.json
+++ b/package.json
@@ -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",
@@ -33,18 +33,19 @@
   },
   "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": [

-- 
To stop receiving notification emails like this one, please contact
jamesthomas@apache.org.

Mime
View raw message