Skip to content

Commit

Permalink
Merge pull request #6 from zhangjun1113/master
Browse files Browse the repository at this point in the history
fix npm package name
  • Loading branch information
cobosteven authored Aug 13, 2024
2 parents 0de836d + 61be5b5 commit dffc05c
Show file tree
Hide file tree
Showing 10 changed files with 3,259 additions and 67 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ For more information about the WaaS 2.0 API, see [Introduction to WaaS 2.0](http
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: v2
- Package version: 1.1.0
- Package version: 1.1.1
- Generator version: 7.6.0
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
For more information, please visit [https://www.cobo.com/waas](https://www.cobo.com/waas)

## Installation

```shell
npm install cobo-waas2 --save
npm install @cobo/cobo-waas2 --save
```

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down
18 changes: 9 additions & 9 deletions docs/DevelopersWebhooksApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This operation registers a new webhook endpoint for your organization.
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -78,7 +78,7 @@ This operation retrieves the information of a specified webhook endpoint.
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -127,7 +127,7 @@ This operation retrieves the information of a webhook event by the event ID.
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -178,7 +178,7 @@ This operation retrieves the information of all webhook endpoints registered und
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -237,7 +237,7 @@ This operation retrieves all supported webhook event types.
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -282,7 +282,7 @@ This operation retrieves a list of webhook event logs by event ID. Each retry wi
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -341,7 +341,7 @@ This operation retrieves a list of webhook events that have occurred within the
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -402,7 +402,7 @@ This operation retries delivering a webhook event with the specified event ID. Y
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -453,7 +453,7 @@ This operation updates the information of a specified webhook endpoint.
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down
4 changes: 2 additions & 2 deletions docs/OAuthApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Get Access Token
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -73,7 +73,7 @@ Refresh Access Token
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down
20 changes: 10 additions & 10 deletions docs/TransactionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This operation cancels a specified transaction. A transaction can be cancelled i
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -77,7 +77,7 @@ This operation creates a transaction to interact with a smart contract on the bl
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -128,7 +128,7 @@ This operation creates a transaction to sign the provided message using cryptogr
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -179,7 +179,7 @@ The operation transfers your assets from a wallet created on Cobo Protal to anot
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -230,7 +230,7 @@ This operation drops a specified transaction. Dropping a transaction will trig
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -283,7 +283,7 @@ This operation estimates the transaction fee rates of a token transfer or a cont
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -334,7 +334,7 @@ This operation retrieves detailed information about a specified transaction, suc
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -383,7 +383,7 @@ This operation retrieves all the transactions under your organization. You can
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -466,7 +466,7 @@ This operation resends a specified transaction. Resending a transaction initiate
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down Expand Up @@ -519,7 +519,7 @@ This operation accelerates a specified transaction. Speeding up a transaction
### Example

```javascript
const CoboWaas2 = require('cobo-waas2');
const CoboWaas2 = require('@cobo/cobo-waas2');
// initial default api client
const apiClient = CoboWaas2.ApiClient.instance
// for dev env
Expand Down
Loading

0 comments on commit dffc05c

Please sign in to comment.