Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/react peer dep downgrade #56

Merged
merged 8 commits into from
Oct 17, 2023
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