Skip to content

Commit d22b720

Browse files
committed
update
1 parent cfc91fb commit d22b720

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/src/routes/docs/[...4]wallets/[...5]capsule/+page.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ type CapsuleInitOptions = {
4242
environment: string
4343
apiKey: string
4444
/** @optional capsule object opts */
45-
constructorOpts?: ConstructorOpts
45+
constructorOpts?: Partial<ConstructorOpts>
4646
appName: string
4747
/** @optional capsule modal props */
48-
modalProps?: CapsuleModalV2Props
48+
modalProps?: Partial<CapsuleModalV2Props>
4949
}
5050
```
5151
## Usage

packages/capsule/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@web3-onboard/capsule",
3-
"version": "2.0.2",
3+
"version": "2.0.2-alpha.1",
44
"description": "Capsule SDK wallet module for connecting to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
55
"module": "dist/index.js",
66
"browser": "dist/index.js",

packages/capsule/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ import type { ConstructorOpts, Environment, CapsuleModalV2Props } from '@usecaps
1212
export type CapsuleInitOptions = {
1313
environment: Environment
1414
apiKey: string,
15-
constructorOpts?: ConstructorOpts
16-
modalProps?: CapsuleModalV2Props
15+
constructorOpts?: Partial<ConstructorOpts>
16+
modalProps?: Partial<CapsuleModalV2Props>
1717
}

packages/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@web3-onboard/arcana-auth": "^2.0.0",
3131
"@web3-onboard/bitget": "2.0.1",
3232
"@web3-onboard/blocto": "^2.0.1",
33-
"@web3-onboard/capsule": "2.0.2",
33+
"@web3-onboard/capsule": "2.0.2-alpha.1",
3434
"@web3-onboard/cede-store": "^2.2.0",
3535
"@web3-onboard/core": "^2.21.6",
3636
"@web3-onboard/coinbase": "^2.2.7",

0 commit comments

Comments
 (0)