@zerodev/wallet-react 0.0.1-alpha.15 → 0.0.1-alpha.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerodev/wallet-react",
3
- "version": "0.0.1-alpha.15",
3
+ "version": "0.0.1-alpha.16",
4
4
  "description": "React hooks for ZeroDev Wallet SDK",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/_cjs/index.js",
@@ -30,7 +30,7 @@
30
30
  "wagmi": "^3.0.0",
31
31
  "zustand": "^5.0.3",
32
32
  "ox": "^0.3.0",
33
- "@zerodev/wallet-core": "0.0.1-alpha.14"
33
+ "@zerodev/wallet-core": "0.0.1-alpha.15"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/react": "^19",
package/src/provider.ts CHANGED
@@ -187,7 +187,9 @@ export function createProvider({
187
187
 
188
188
  if (!account) throw new Error('Not authenticated')
189
189
 
190
- return await account.signMessage({ message })
190
+ return await account.signMessage({
191
+ message: { raw: message as `0x${string}` },
192
+ })
191
193
  }
192
194
 
193
195
  case 'eth_signTypedData_v4': {