Merge pull request #64 from FlipsideCrypto/upgrade-dynamic

Upgrade dynamic to v19
This commit is contained in:
Angela 2023-11-27 17:06:13 -05:00 committed by GitHub
commit 7bfd22315f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 123060 additions and 306282 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,11 @@
{
"private": true,
"dependencies": {
"@dynamic-labs/sdk-react": "^0.17.13",
"@dynamic-labs/flow": "^0.19.3",
"@dynamic-labs/sdk-react-core": "^0.19.3",
"react": "^18.2.0",
"reactstrap": "^8.9.0"
"reactstrap": "^8.9.0",
"viem": "1.5.3"
},
"devDependencies": {
"@babel/core": "^7.2.0",
@ -12,11 +14,11 @@
"babel-loader": "^8.0.4",
"css-loader": "^5.0.1",
"style-loader": "^2.0.0",
"webpack": "^4.27.1",
"webpack": "^5.89.0",
"webpack-cli": "^3.1.2"
},
"scripts": {
"watch": "webpack --watch",
"build": "webpack"
}
}
}

View File

@ -1,5 +1,4 @@
import { useDynamicContext } from "@dynamic-labs/sdk-react";
import { Button } from "reactstrap";
import { useDynamicContext } from "@dynamic-labs/sdk-react-core";
import { useEffect } from "react";
const DynamicAppUser = (props) => {

View File

@ -1,5 +1,6 @@
import { reactShinyInput } from "reactR";
import { DynamicContextProvider, DynamicWidget } from "@dynamic-labs/sdk-react";
import { DynamicContextProvider, DynamicWidget } from "@dynamic-labs/sdk-react-core";
import { FlowWalletConnectors } from "@dynamic-labs/flow";
import DynamicAppUser from "./DynamicAppUser.jsx";
@ -15,6 +16,7 @@ const TextInput = ({ configuration, value, setValue }) => {
settings={{
appName: "FlowScored",
environmentId: "c6ef9d8c-6b8d-441a-9f67-72b728cef538", // DANGEROUS: Live environment
walletConnectors: [FlowWalletConnectors],
eventsCallbacks: {
onAuthSuccess: (args) => {
console.log("onAuthSuccess was called", args);

File diff suppressed because it is too large Load Diff