Skip to content

Commit

Permalink
Merge pull request #27 from TinEye/update_deps_2023
Browse files Browse the repository at this point in the history
Update Deps for 2023
  • Loading branch information
mokura789 authored Jan 26, 2023
2 parents 0bb5435 + 974cfbf commit b1f3ea7
Show file tree
Hide file tree
Showing 3 changed files with 1,651 additions and 2,534 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ If you were using any version of the TinEye API library before `2.0.0`, you will
to make minor changes to your code.

The API object is now instantiated using a single key, `api_key`. The value
of this key is the same as your previous `private_key`. The public key is no
of this key is the same as your previous `private_key`. The public key is no
longer used.

#### New ✅
#### New ✅

```javascript
// Sandbox key
// Note that this is the same value as the old private_key
Expand All @@ -42,6 +43,7 @@ var api = new TinEye("https://api.tineye.com/rest/", apiKey);
```

#### Old ❌

```javascript
// Sandbox keys
var publicKey = "LCkn,2K7osVwkX95K4Oy";
Expand Down Expand Up @@ -142,6 +144,17 @@ api

# Release history

## 2.0.4
- Updated axios to 1.2.2
- Updated Jest to 29.3.1
- Added prettier to dev deps

## 2.0.3
- No need to import URLSearchParams from url module as it is now exposed as global.
- Updated axios from 0.25.0 -> 0.26.13
- Updated jest from 27.5.0 -> 27.5.1


## 2.0.0

- Swapping HMAC-SHA256 authentication with header key
Expand Down
Loading

0 comments on commit b1f3ea7

Please sign in to comment.