Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
bouzuya committed Feb 18, 2023
1 parent df6cc11 commit 7b42548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -13,7 +13,7 @@ npm install wsse
## Usage

```javascript
import wsse from 'wsse';
import wsse, { UsernameToken } from 'wsse';

const token = wsse({ username: 'bob', password: 'taadtaadpstcsm' });

Expand All @@ -40,7 +40,7 @@ console.log(token + '');
// ----- advanced -----

// you can use `UsernameToken` class.
const token2 = new wsse.UsernameToken({
const token2 = new UsernameToken({
username: 'bob', // (required)
password: 'taadtaadpstcsm', // (required)
created: '2003-12-15T14:43:07Z', // (optional) you can specify `craeted`.
Expand Down

0 comments on commit 7b42548

Please sign in to comment.