mirror of
https://github.com/FlipsideCrypto/user_metrics.git
synced 2026-02-06 11:17:49 +00:00
Merge pull request #64 from FlipsideCrypto/upgrade-dynamic
Upgrade dynamic to v19
This commit is contained in:
commit
7bfd22315f
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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) => {
|
||||
|
||||
@ -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
Binary file not shown.
Loading…
Reference in New Issue
Block a user