Skip to content

Commit d26fd4f

Browse files
authored
feat(packages): initial wasm (#295)
1 parent 650e899 commit d26fd4f

File tree

13 files changed

+1023
-7
lines changed

13 files changed

+1023
-7
lines changed

package-lock.json

Lines changed: 286 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

routes/vault/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
".": {
1010
"types": "./src/index.ts",
1111
"default": "./src/index.ts"
12-
}
12+
},
13+
"./wasm/*": "./wasm/*"
1314
},
1415
"scripts": {
1516
"build": "echo 'Skipping build for route package. Bundling happens from the service package.'",

routes/vault/src/VaultLayout.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { useAppKitBridge } from "@babylonlabs-io/wallet-connector";
2-
import { Borrow } from "./components/ui";
1+
import { useAppKitBridge } from '@babylonlabs-io/wallet-connector';
2+
import { Borrow } from './components/ui';
3+
import { PegInTest } from './components/examples/PegInTest';
34

45
// TODO: Uncomment this when we have a way to test the contract queries
56
// import ContractQueryExample from "./components/examples/ContractQueryExample";
@@ -9,9 +10,10 @@ export default function VaultLayout() {
910
useAppKitBridge();
1011

1112
return (
12-
<div className="container mx-auto flex max-w-[760px] flex-1 flex-col gap-12 px-4">
13+
<div className="container mx-auto flex max-w-[760px] flex-1 flex-col gap-12 px-4 py-8">
1314
{/* <ContractQueryExample /> */}
15+
<PegInTest />
1416
<Borrow />
1517
</div>
1618
);
17-
}
19+
}

0 commit comments

Comments
 (0)