-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
1,393 additions
and
820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.0.1 | ||
7.4.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## @curvegrid/multibaas-sdk@1.0.0-beta16 | ||
## @curvegrid/multibaas-sdk@1.0.0-beta17 | ||
|
||
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments: | ||
|
||
|
@@ -15,7 +15,7 @@ Module system | |
* CommonJS | ||
* ES6 module system | ||
|
||
It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via `package.json`. ([Reference](http://www.typescriptlang.org/docs/handbook/typings-for-npm-packages.html)) | ||
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html)) | ||
|
||
### Building | ||
|
||
|
@@ -27,7 +27,7 @@ npm run build | |
|
||
### Publishing | ||
|
||
First build the package then run ```npm publish``` | ||
First build the package then run `npm publish` | ||
|
||
### Consuming | ||
|
||
|
@@ -36,10 +36,11 @@ navigate to the folder of your consuming project and run one of the following co | |
_published:_ | ||
|
||
``` | ||
npm install @curvegrid/[email protected]beta16 --save | ||
npm install @curvegrid/[email protected]beta17 --save | ||
``` | ||
|
||
_unPublished (not recommended):_ | ||
|
||
``` | ||
npm install PATH_TO_GENERATED_PACKAGE --save | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
# MultiBaas Typescript SDK example | ||
|
||
To run this code example you will first need to [generate an API key](https://docs.curvegrid.com/multibaas/api/generate-api-keys/) in the `DApp User` group for your MultiBaas deployment. | ||
To run this code example you will first need to [generate an API key](https://docs.curvegrid.com/multibaas/api/generate-api-keys/) in the `DApp User` group for your MultiBaas deployment. | ||
|
||
Once you have generated an API key you can export the key and the MultiBaas deployment URL into environment variables. Example: | ||
|
||
```sh | ||
export MB_BASE_URL="your_deployment.multibaas.com" | ||
export MB_BASE_URL="https://your_deployment.multibaas.com" | ||
export MB_API_KEY="secret" | ||
``` | ||
|
||
Install the dependencies: | ||
|
||
```sh | ||
npm install | ||
``` | ||
|
||
Run the example script: | ||
|
||
```sh | ||
npm run start | ||
``` |
Oops, something went wrong.