Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.

Commit 236b52a

Browse files
authored
Doc Fixes (#3828)
Signed-off-by: Dave Kelsey <[email protected]>
1 parent bc9e33d commit 236b52a

File tree

7 files changed

+21
-8
lines changed

7 files changed

+21
-8
lines changed

packages/composer-documentation/_template/assets.default/systemns-index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,15 @@ The system namespace transactions are:
5656
- StartBusinessNetwork
5757
- ResetBusinessNetwork
5858
- SetLogLevel
59+
60+
## Events
61+
62+
The system namespace events are:
63+
64+
- Event
65+
66+
## Enumerations
67+
68+
The system namespace enumerations are:
69+
70+
- IdentityState

packages/composer-website/jekylldocs/_layouts/default.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
<option>Select version</option>
3030
<option value="/composer/latest/introduction/introduction.html" title="The most stable version of Composer">Latest</option>
3131
<option value="/composer/unstable/introduction/introduction.html" title="The version that will replace Latest">Latest-unstable</option>
32-
<option value="/composer/next/introduction/introduction.html" title="The most ready version of the next generation of Composer, new features (possibly breaking) and many fixes">Next</option>
33-
<option value="/composer/next-unstable/introduction/introduction.html" title="The closest to the development stream of Composer, expect breaking changes">Next-unstable</option>
3432
</select>
3533

3634
<div class="search-form">
1.93 KB
Loading
2.01 KB
Loading

packages/composer-website/jekylldocs/business-network/cloud-wallets.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ will use the file system card store at the location `/home/username/.composer`,
128128
To specify a custom wallet within the API, without the use of a globally exported value, it must be included as an option passed to the connection:
129129

130130
```javascript
131-
132131
const connectionOptions = {
133132
wallet : {
134133
type: 'composer-wallet-filesystem',
@@ -160,7 +159,11 @@ Previously to use the in MemoryCardStore, the code would have been written
160159
This has now changed and Card stores must now be specified differently:
161160

162161
```javascript
163-
const NetworkCardStoreManager= require('composer-common').NetworkCardStoreManager;
164-
const cardStore = NetworkCardStoreManager.getCardStore( { type: 'composer-wallet-inmemory' } );
165-
let adminConnection = new AdminConnection({ cardStore });
162+
const connectionOptions = {
163+
wallet : {
164+
type: 'composer-wallet-inmemory'
165+
}
166+
};
167+
adminConnection = new AdminConnection(connectionOptions);
168+
clientConnection = new BusinessNetworkConnection(connectionOptions);
166169
```

packages/composer-website/jekylldocs/business-network/query.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ query Q18 {
5151
statement:
5252
SELECT org.acme.Driver
5353
WHERE (_$ageParam < age)
54-
ORDER BY [lastName ASC, firstName DESC]
54+
ORDER BY [lastName DESC, firstName DESC]
5555
LIMIT _$limitParam
5656
SKIP _$skipParam
5757
}

packages/composer-website/jekylldocs/reference/query-language.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The `statement` property contains the defining rules of the query, and can have
3939

4040
This query returns all drivers from the default registry whose age is less than the supplied parameter _or_ whose firstName is "Dan", as long as their lastName is not "Selman".
4141

42-
In practical terms, this query returns all drivers who do not have the lastName "Selman", as long as they are under a defined age, or have the firstName Dan, and orders the results by lastName ascending and firstName descending.
42+
In practical terms, this query returns all drivers who do not have the lastName "Selman", as long as they are under a defined age, or have the firstName Dan, and orders the results by lastName ascending and firstName ascending.
4343

4444
```
4545
query Q20{

0 commit comments

Comments
 (0)