diff --git a/README.md b/README.md index 9ca611a4..05f39296 100644 --- a/README.md +++ b/README.md @@ -435,7 +435,6 @@ The following optional parameters are supported: - `annotations` - object containing annotations for the action (default: `{}`) - `limits` - object containing limits for the action (default: `{}`) - `kind` - runtime environment parameter, ignored when `action` is an object (default: `nodejs:default`) -- `version` - set semantic version of the action. If parameter is empty when create new action openwisk generate 0.0.1 value when update an action increase the patch version. If you pass in an array for the first parameter, the `create` call will be executed for each array item. The function returns a Promise which resolves with the results when all operations have finished. @@ -461,7 +460,6 @@ The following optional parameters are supported: - `params` - object containing default parameters for the action (default: `{}`) - `annotations` - object containing annotations for the action (default: `{}`) - `limits` - object containing limits for the action (default: `{}`) -- `version` - set semantic version of the action. If parameter is empty when create new action openwisk generate 0.0.1 value when update an action increase the patch version. If you pass in an array for the first parameter, the `create` call will be executed for each array item. The function returns a Promise which resolves with the results when all operations have finished. diff --git a/lib/main.d.ts b/lib/main.d.ts index c515554f..6e3c4ade 100644 --- a/lib/main.d.ts +++ b/lib/main.d.ts @@ -55,7 +55,7 @@ declare namespace openwhisk { routes: Routes; } - // Ressources + // Resources interface Actions { list(options?: { namespace?: string; skip?: number; limit?: number; count?: boolean; }): Promise; diff --git a/test/integration/rules.test.js b/test/integration/rules.test.js index fbf03b6b..83579866 100644 --- a/test/integration/rules.test.js +++ b/test/integration/rules.test.js @@ -72,7 +72,7 @@ test('get a non-existing rule, expecting 404', async t => { }) }) -// Running update tests conconcurrently leads to resource conflict errors. +// Running update tests concurrently leads to resource conflict errors. test.serial('create, get and delete a rule', t => { const errors = err => { console.log(err) diff --git a/test/unit/client.test.js b/test/unit/client.test.js index fff7630d..99f473d8 100644 --- a/test/unit/client.test.js +++ b/test/unit/client.test.js @@ -334,7 +334,7 @@ test('should throw errors for non-HTTP response failures', t => { t.throws(() => client.handleErrors({ message: 'error message' }), /error message/) }) -test('should contain x-namespace-id header when namespace in contructor options', async t => { +test('should contain x-namespace-id header when namespace in constructor options', async t => { const authHandler = { getAuthHeader: () => { return Promise.resolve('Bearer access_token')