mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 10:10:30 +08:00
Get the @gnosis.pm/safe-core-sdk package working
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
+5
-1
@@ -10,7 +10,11 @@
|
||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
||||
<link rel="preload" href="/fonts/Inter-Regular.woff" as="font" type="font/woff">
|
||||
<link rel="preload" href="/fonts/Inter-SemiBold.otf" as="font" type="font/otf">
|
||||
|
||||
<script type="text/javascript">
|
||||
// Workaround to get `global` to work in old-school transitive
|
||||
// dependencies.
|
||||
window.global = window;
|
||||
</script>
|
||||
<title>Radicle Interface</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Generated
+852
File diff suppressed because it is too large
Load Diff
@@ -21,7 +21,12 @@
|
||||
"vite-plugin-rewrite-all": "^0.1.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@gnosis.pm/safe-core-sdk": "^0.2.0",
|
||||
"@gnosis.pm/safe-core-sdk-types": "^0.1.1",
|
||||
"@gnosis.pm/safe-service-client": "^0.1.0-alpha.0",
|
||||
"@stardazed/streams": "^3.1.0",
|
||||
"@types/marked": "^2.0.3",
|
||||
"buffer": "^6.0.3",
|
||||
"ethereum-blockies": "^0.1.1",
|
||||
"ethers": "^5.0.31",
|
||||
"marked": "^2.0.7",
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
// This shim is used as a stand-in for the node "stream" library, used by
|
||||
// the "keccack" package depended on by @gnosis.pm/safe-core-sdk.
|
||||
import * as streams from '@stardazed/streams';
|
||||
|
||||
// "Transform" is the old name for "TransformStream".
|
||||
export const Transform = streams.TransformStream;
|
||||
export default streams;
|
||||
@@ -11,6 +11,8 @@ const config: UserConfig = {
|
||||
resolve: {
|
||||
alias: {
|
||||
"@app": path.resolve("./src"),
|
||||
// Polyfill for Node.js "stream" library.
|
||||
"stream": path.resolve("./src/polyfills/stream.ts"),
|
||||
},
|
||||
},
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user