Fix node build ui issues
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
611d85965d
commit
c331e946a2
|
@ -45,6 +45,9 @@ const nextConfig = {
|
|||
BUILD_ID: JSON.stringify(opts.buildId),
|
||||
},
|
||||
}),
|
||||
new webpack.NormalModuleReplacementPlugin(/^node:/, (resource) => {
|
||||
resource.request = resource.request.replace(/^node:/, '')
|
||||
}),
|
||||
)
|
||||
|
||||
return config
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"dependencies": {
|
||||
"@blockworks-foundation/mango-feeds": "0.1.7",
|
||||
"@blockworks-foundation/mango-mints-redemption": "^0.0.10",
|
||||
"@blockworks-foundation/mango-v4": "0.32.11",
|
||||
"@blockworks-foundation/mango-v4": "0.32.12",
|
||||
"@blockworks-foundation/mango-v4-settings": "0.14.24",
|
||||
"@blockworks-foundation/mangolana": "0.0.17",
|
||||
"@headlessui/react": "1.6.6",
|
||||
|
@ -65,6 +65,7 @@
|
|||
"js-cookie": "3.0.1",
|
||||
"klinecharts": "8.6.3",
|
||||
"lodash": "4.17.21",
|
||||
"net": "1.0.2",
|
||||
"next": "14.0.3",
|
||||
"next-i18next": "15.0.0",
|
||||
"next-plausible": "3.11.1",
|
||||
|
|
|
@ -56,7 +56,7 @@ async function buildClient(rpcUrl: string): Promise<MangoClient | undefined> {
|
|||
'mainnet-beta',
|
||||
MANGO_V4_ID['mainnet-beta'],
|
||||
{
|
||||
idsSource: 'api',
|
||||
idsSource: 'get-program-accounts',
|
||||
},
|
||||
)
|
||||
} catch (e) {
|
||||
|
|
|
@ -136,7 +136,7 @@ const initMangoClient = (
|
|||
new PublicKey('4dusJxxxiYrMTLGYS6cCAyu3gPn2xXLBjS7orMToZHi1'), //mnde
|
||||
],
|
||||
multipleConnections: opts.multipleConnections,
|
||||
idsSource: 'api',
|
||||
idsSource: 'get-program-accounts',
|
||||
prependedGlobalAdditionalInstructions:
|
||||
opts.prependedGlobalAdditionalInstructions,
|
||||
postSendTxCallback: async (txCallbackOptions: TxCallbackOptions) => {
|
||||
|
|
16
yarn.lock
16
yarn.lock
|
@ -386,10 +386,10 @@
|
|||
bn.js "^5.2.1"
|
||||
eslint-config-prettier "^9.0.0"
|
||||
|
||||
"@blockworks-foundation/mango-v4@0.32.11":
|
||||
version "0.32.11"
|
||||
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.32.11.tgz#7af3f2739004f8babe85b2c9dd30bc6aa202df76"
|
||||
integrity sha512-JoDrPe1tBX2ohcZj+EhFr9UnYwWnJr3VqCE1dp8seDcTamtP+fL7YV0AiDQyyEVaVB/8unLxBEZ2OvhaDILwWQ==
|
||||
"@blockworks-foundation/mango-v4@0.32.12":
|
||||
version "0.32.12"
|
||||
resolved "https://registry.yarnpkg.com/@blockworks-foundation/mango-v4/-/mango-v4-0.32.12.tgz#e92a3e0f1d5e3ec4f47eb767655cd6b8d2f1b189"
|
||||
integrity sha512-OjgZ5TW4anb9Fld/T78OZ12cC1VC4ll2CHd5/DiUsa349CcErTzVVaSWLUjwKiagQ1lDpYbfYl8kcoKNHK1d/w==
|
||||
dependencies:
|
||||
"@blockworks-foundation/mango-v4-settings" "0.14.24"
|
||||
"@blockworks-foundation/mangolana" "0.0.18"
|
||||
|
@ -11804,6 +11804,11 @@ near-seed-phrase@^0.2.0:
|
|||
near-hd-key "^1.2.1"
|
||||
tweetnacl "^1.0.2"
|
||||
|
||||
net@1.0.2:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/net/-/net-1.0.2.tgz#d1757ec9a7fb2371d83cf4755ce3e27e10829388"
|
||||
integrity sha512-kbhcj2SVVR4caaVnGLJKmlk2+f+oLkjqdKeQlmUtz6nGzOpbcobwVIeSURNgraV/v3tlmGIX82OcPCl0K6RbHQ==
|
||||
|
||||
netmask@^2.0.2:
|
||||
version "2.0.2"
|
||||
resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7"
|
||||
|
@ -13933,6 +13938,7 @@ string-length@^4.0.1:
|
|||
strip-ansi "^6.0.0"
|
||||
|
||||
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
|
||||
name string-width-cjs
|
||||
version "4.2.3"
|
||||
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
|
||||
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
|
||||
|
@ -14033,6 +14039,7 @@ stringify-entities@^4.0.0:
|
|||
character-entities-legacy "^3.0.0"
|
||||
|
||||
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
|
||||
name strip-ansi-cjs
|
||||
version "6.0.1"
|
||||
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
|
||||
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
|
||||
|
@ -15625,6 +15632,7 @@ wif@^4.0.0:
|
|||
bs58check "^3.0.1"
|
||||
|
||||
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
|
||||
name wrap-ansi-cjs
|
||||
version "7.0.0"
|
||||
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
|
||||
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
|
||||
|
|
Loading…
Reference in New Issue