Skip to content

Commit

Permalink
v7.1.2: update dependencies and fix ReactDOMClient createRoot warning
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Jun 15, 2022
1 parent 33fb8d3 commit 83d57b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@depay/buttons",
"moduleName": "DePayButtons",
"version": "7.1.1",
"version": "7.1.2",
"description": "A simple button brings Web3 Payments to your website or App. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion with state-of-the-art widgets.",
"main": "./dist/umd/index.js",
"module": "./dist/esm/index.js",
Expand Down Expand Up @@ -35,8 +35,8 @@
},
"dependencies": {},
"peerDependencies": {
"@depay/react-shadow-dom": "^5.0.1",
"@depay/widgets": "^7.1.0",
"@depay/react-shadow-dom": "^5.0.2",
"@depay/widgets": "^7.1.1",
"react": "^18",
"react-dom": "^18"
},
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import DePayButton from './components/DePayButton'
import DePayWidgets from '@depay/widgets'
import init from './init'
import React from 'react'
import { createRoot } from 'react-dom/client'
import * as ReactDOMClient from 'react-dom/client'

let DePayButtons = {
init,
DePayButton,
React,
createRoot,
createRoot: ReactDOMClient.createRoot,
DePayWidgets
}

Expand Down

0 comments on commit 83d57b2

Please sign in to comment.