Skip to content

Commit

Permalink
downgraded react peer dependency to version >=16.13.0 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
poocart authored Oct 17, 2023
1 parent 39f8704 commit e0876f5
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [0.5.0] - 2023-10-17

### Breaking Changes
- Downgraded `react` peer dependency to version `>=16.13.0`

## [0.4.9] - 2023-09-29

### Added
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@etherspot/transaction-kit",
"description": "React Etherspot Transaction Kit",
"version": "0.4.9",
"version": "0.5.0",
"main": "dist/cjs/index.js",
"scripts": {
"rollup:build": "NODE_OPTIONS=--max-old-space-size=8192 rollup -c",
Expand All @@ -28,7 +28,7 @@
"etherspot": "^1.41.2",
"@etherspot/prime-sdk": "^1.2.11",
"lodash.uniq": "^4.5.0",
"react": ">=18.2.0",
"react": "^16.13.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.7"
},
Expand Down Expand Up @@ -63,6 +63,6 @@
"typescript": "^4.7.4"
},
"peerDependencies": {
"react": ">=18.2.0"
"react": ">=16.13.0"
}
}
2 changes: 1 addition & 1 deletion src/contexts/EtherspotBatchContext.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { createContext, Dispatch, SetStateAction } from 'react';
import { createContext, Dispatch, SetStateAction } from 'react';

// types
import { ITransaction } from '../types/EtherspotTransactionKit';
Expand Down
2 changes: 1 addition & 1 deletion src/contexts/EtherspotBatchesContext.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { createContext, Dispatch, SetStateAction } from 'react';
import { createContext, Dispatch, SetStateAction } from 'react';

// types
import { IBatch } from '../types/EtherspotTransactionKit';
Expand Down
2 changes: 1 addition & 1 deletion src/contexts/ProviderWalletContext.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { createContext, Dispatch, SetStateAction } from 'react';
import { createContext, Dispatch, SetStateAction } from 'react';

// types
import {
Expand Down

0 comments on commit e0876f5

Please sign in to comment.