Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
chore: release 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
salimtb committed Dec 16, 2022
1 parent 82d123d commit 5c4ffd7
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 12 deletions.
21 changes: 21 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,27 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v2.0.3](https://github.com/ConsenSys/consensys-sdk/compare/v2.0.2...v2.0.3)

> 16 December 2022
- fix: fix logger [`#125`](https://github.com/ConsenSys/consensys-sdk/pull/125)
- chore: release 2.0.3 [`d309b9e`](https://github.com/ConsenSys/consensys-sdk/commit/d309b9e06f204569c4c765f941386a9431ba7a2a)

#### [v2.0.2](https://github.com/ConsenSys/consensys-sdk/compare/v2.0.1...v2.0.2)

> 6 December 2022
- Improve doc [`#124`](https://github.com/ConsenSys/consensys-sdk/pull/124)
- fix: add github link [`#122`](https://github.com/ConsenSys/consensys-sdk/pull/122)

#### [v2.0.1](https://github.com/ConsenSys/consensys-sdk/compare/v2.0.0...v2.0.1)

> 5 December 2022
- feat: TS migration (#119) [`#120`](https://github.com/ConsenSys/consensys-sdk/pull/120)
- fix: add github link [`ab15290`](https://github.com/ConsenSys/consensys-sdk/commit/ab152903b5582882156f767ef4359873bb1dcc24)

### [v2.0.0](https://github.com/ConsenSys/consensys-sdk/compare/v1.1.2...v2.0.0)

> 5 December 2022
Expand Down
17 changes: 6 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ The current alpha version of the SDK defines common ERC721 and ERC1155 read and
- BSC: Mainnet

You can find method documentation of the Infura SDK at the [infura Docs linked in the sidebar](https://docs.infura.io/infura/infura-custom-apis/nft-sdk).
## Prerequisites

Sign up for the Beta on the [Beta Signup page](https://infura.io/resources/apis/nft-api-beta-signup).
Once accepted, you will be able to use the NFT API and the NFT SDK.

## Initialize a new typescript project

```bash
Expand Down Expand Up @@ -55,7 +50,7 @@ To run the example code, add the following environment variables to a `.env` fil
INFURA_PROJECT_ID=xxx
INFURA_PROJECT_SECRET=xxx
WALLET_PRIVATE_KEY=xxx
EVM_RPC_URL=https://goerli.infura.io/v3/<PROJECT-ID>
EVM_RPC_URL=https://goerli.infura.io/v3/<API-KEY>
```

## Use the SDK
Expand Down Expand Up @@ -124,8 +119,8 @@ Check out [this demo file](https://github.com/ConsenSys/infura-sdk/blob/main/usa

Authenticate using your infura project's information:

- Username: `PROJECT-ID`
- Password: `PROJECT-SECRET`
- Username: `API-KEY`
- Password: `API-KEY-SECRET`

https://docs.api.infura.io/nft/

Expand Down Expand Up @@ -162,7 +157,7 @@ The SDK currently supports the following IPFS API methods under the sdk class:
# Usage Examples
## ERC721 template

```
```ts
import { config as loadEnv } from 'dotenv';
import { SDK, Auth, Metadata, TEMPLATES } from '@infura/sdk';

Expand Down Expand Up @@ -242,7 +237,7 @@ console.log('tokenMetadataResult', tokenMetadataResult);
```
## ERC721 user mintable template

```
```ts
import { config as loadEnv } from 'dotenv';
import { SDK, Auth, Metadata, TEMPLATES } from '@infura/sdk';

Expand Down Expand Up @@ -330,7 +325,7 @@ const mintedNFTERC721 = await txMinted.wait();

## ERC1155 mintable template

```
```ts
import { config as loadEnv } from 'dotenv';
import { SDK, Auth, Metadata, TEMPLATES } from '@infura/sdk';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@infura/sdk",
"version": "2.0.2",
"version": "2.0.3",
"description": "Infura SDK: easily manage, interact with and read smart contract on Mainnet, testnet and local",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
Expand Down

0 comments on commit 5c4ffd7

Please sign in to comment.