Skip to content
This repository was archived by the owner on Jan 17, 2025. It is now read-only.

Commit 564de13

Browse files
committed
Fix npm package namespace
1 parent 1c38818 commit 564de13

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/COMPOSER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
The [composer](../composer.js) module makes it possible to compose actions programmatically. The module is typically used as illustrated in [samples/demo.js](../samples/demo.js):
44

55
```javascript
6-
const composer = require('@openwhisk/composer')
6+
const composer = require('@ibm-functions/composer')
77

88
// author action composition
99
const app = composer.if('authenticate', /* then */ 'welcome', /* else */ 'login')

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ shell, and instead using `node` directly. In this case, you must
193193
import the `composer` and `compile` the FSM explicitly as shown below.
194194

195195
```javascript
196-
$ npm install @openwhisk/composer
196+
$ npm install @ibm-functions/composer
197197
$ node
198-
const composer = require('@openwhisk/composer')
198+
const composer = require('@ibm-functions/composer')
199199
const app = composer.sequence(args => ({msg: `hello ${args.name}!`}))
200200
composer.compile(app, 'hello.json')
201201
```

samples/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
'use strict'
1818

19-
const composer = require('@openwhisk/composer')
19+
const composer = require('@ibm-functions/composer')
2020

2121
// author action composition
2222
const app = composer.if('authenticate', /* then */ 'welcome', /* else */ 'login')

0 commit comments

Comments
 (0)