Releases: coinbase/coinbase-wallet-sdk
Releases · coinbase/coinbase-wallet-sdk
v4.1.0
What's Changed
- #trivial SDK doesn't need to close the popup by @bangtoven in #1280
- #trivial repo clean up by @bangtoven in #1327
- #trivial followup cleanup - lint check is expected to fail by @bangtoven in #1328
- #trivial reenable linter & dedup tsconfig by @bangtoven in #1329
- #trivial remove unnecessary catch / throw by @bangtoven in #1333
- #trivial remove
updateSource
from updateListener by @bangtoven in #1335 - Add ExtensionSigner, handle injected provider events by @nateReiners in #1332
- #trivial clean up & apply prettier changes by @bangtoven in #1340
- Simplify state management by @bangtoven in #1331
- #trivial error serialization, request type check by @bangtoven in #1341
- #trivial Remove unnecessary generics by @bangtoven in #1342
- #trivial simplify handshake return value by @bangtoven in #1343
- replace sha.js and keccak with smaller and more secure @noble/hashes by @talentlessguy in #1336
- Allow consumer to pass in storage object by @vishnumad in #1345
- NativeCommunicator - iOS by @fan-zhang-sv in #1346
- To Use ExpoWebBrowser by @fan-zhang-sv in #1347
- useInitCommunicator hook to listen for inbound deeplinking by @fan-zhang-sv in #1348
- remove react as dev dep for now by @fan-zhang-sv in #1349
- Deprecate method categorization and simplify chain management by @bangtoven in #1344
- Platform specific communicator by @fan-zhang-sv in #1351
- Add ScopedAsyncStorage by @vishnumad in #1352
- Simplify state update callback by @bangtoven in #1350
- Simplify Signer state sync by @bangtoven in #1357
- Remove ExtensionSigner by @nateReiners in #1353
- RN Cipher by @fan-zhang-sv in #1358
- Response handling for native communicator by @vishnumad in #1360
- RN to hook up Cipher in the flow by @fan-zhang-sv in #1362
- Update handleResponse function signature by @vishnumad in #1361
- Revert extension handling changes by @bangtoven in #1365
- Fix: fetchRPCRequest to return server errors by @bangtoven in #1366
- Append SDK path to appDeeplinkUrl by @vishnumad in #1363
- Disconnect to reset state completely by @fan-zhang-sv in #1367
- Signer Cleanup Logic by @fan-zhang-sv in #1368
- RN entry by @fan-zhang-sv in #1364
- [WL refactor] deprecate internal types, remove single use types, consolidate metadata, etc. by @bangtoven in #1369
- [WL refactor] #trivial simplify error handling by @bangtoven in #1370
- [WL refactor] simplify ecRecover requests handling by @bangtoven in #1371
- [WL refactor] simpify sign_typedData/personal_sign by @bangtoven in #1372
- [WL refactor] clean up Relay by @bangtoven in #1374
- [WL refactor] simplify (dis)connection logic & deprecate redundant types by @bangtoven in #1376
- Make WalletLink session id 16 bytes by @vishnumad in #1377
- Allowing Permission Methods in SDK by @fan-zhang-sv in #1380
- add option to pass scwOnboardMode to eth_requestAccounts by @nateReiners in #1383
- Revert #1383: Remove non-standard parameters from basic requests by @bangtoven in #1386
- [Walletlink] Add snackbar toast for switchEthereumChain request by @willnewman-cb in #1387
- Update Communicator to include app metadata by @cb-jake in #1385
- Bump micromatch from 4.0.7 to 4.0.8 in /packages/wallet-sdk by @dependabot in #1381
- Clean up native code by @fan-zhang-sv in #1389
- Pass raw request args to handshake by @nateReiners in #1392
- remove noble package in web sdk by @fan-zhang-sv in #1395
- Auto deploy playground to provide latest SDK implementation by @bangtoven in #1398
- rename apps --> examples by @cb-jake in #1401
- fix noble hash keccak256 usage by @cb-jake in #1406
New Contributors
- @talentlessguy made their first contribution in #1336
Full Changelog: v4.0.4...v4.1.0
v4.0.4
What's Changed
- Adding Tests for SCWSigner by @fan-zhang-sv in #1313
- Test for Communicator by @fan-zhang-sv in #1270
- Re-focus the popup between requests by @arjun-dureja in #1315
- checkout pg branch by @nateReiners in #1318
- Don't throw when grabbing injected provider by @fan-zhang-sv in #1321
- Helper to Get Provider from Top Frame by @fan-zhang-sv in #1322
- style change by @fan-zhang-sv in #1324
- Bump ws from 7.5.9 to 7.5.10 by @dependabot in #1320
- Update README.md by @bangtoven in #1325
- Bump braces from 3.0.2 to 3.0.3 by @dependabot in #1326
- [Version update] v4.0.4 by @github-actions in #1323
Full Changelog: v4.0.3...v4.0.4
v4.0.3
What's Changed
- make eth_chainId comply with spec by returning hex number by @nateReiners in #1310
Full Changelog: v4.0.2...v4.0.3
v4.0.2
What's Changed
Address iOS Safari issues
- Fix popup blocked on Safari by @arjun-dureja in #1294
- Fix popup not opening on iPad by @arjun-dureja in #1301
Full Changelog: v4.0.0...v4.0.2
v4.0.0
CoinbaseWalletSDK and Provider change details: https://www.smartwallet.dev/sdk/v3-to-v4-changes
Full Changelog: v3.7.1...v4.0.0
v3.9.0
What's Changed
Remove dependencies
- Remove RxJS by @bangtoven in #969 #988 #992 #1018
- Extract solana off from the SDK by @bangtoven in #996
- remove: qs package to reduce bundle size by 19.4kb by @VladimirMikulic in #916
- remove: 2 unused dependencies by @VladimirMikulic in #955
- remove bind-decorator dependency by @bangtoven in #1023
- Move eth-sig-util dependency into testapp by @bangtoven in #1082
Mobile support
- MobileRelay by @bangtoven in #903
- Introduce connectAndSignIn by @bangtoven in #908
- Sync check unseen events changes with master by @vishnumad in #991
Set up new dev env
- Convert repo into yarn workspace and move eslint to the root directory by @cb-jake in #932
- Patch/Minor Upgrade of all Dependencies by @cb-jake in #949
- Create Developer Env for SDK by @cb-jake in #942
- Remove safe-event-emitter in favor of eventemitter3 by @cb-jake in #951
- ensure crypto api is referenced off of window object by @cb-jake in #956
- remove examples from repo in favor of docs by @cb-jake in #930
- Update postmessage targetOrigin to window.origin by @cb-jake in #987
- Remove supportsAddressSwitching by @fan-zhang-sv in #1004
- Adding More Methods for Testdapp by @fan-zhang-sv in #1065
Fixes
- fix: prebuild script by @VladimirMikulic in #933
- upgrade: TypeScript to version 5 by @VladimirMikulic in #925
- fix: vite compatibility issue by @VladimirMikulic in #940
- chore: add
sideEffects: false
to package.json by @tmm in #968 - Fix 4902 (unsupportedChain) error getting wrapped as -32603 & Fork eth-rpc-errors by @bangtoven in #954
- throttle eth_blockNumber requests by @bangtoven in #977
- Fix: clean up listeners on disconnection / diagnostic log only when it fails by @bangtoven in #1040
- Parsing ChainId in SendTx by @fan-zhang-sv in #1043
- CoinbaseWalletProvider should NOT listen to 'addressChanged' event by @gaurav-cb in #1045
Refactor
- Deprecating wallet picker by @bangtoven in #1039
- Separate out HTTP API calls as a dedicated file by @bangtoven in #1058
- Refactor session config handling and cryptography logic for improved abstraction by @bangtoven in #1059
- Refactor data models to improve type safety and code usability by @bangtoven in #1064
- Rename files by @bangtoven in #1066
Full Changelog: v3.7.1...v3.9.0-canary.0
v3.8.0-beta.0
What's Changed
- MobileRelay by @bangtoven in #903
- Introduce connectAndSignIn by @bangtoven in #908
- MobileRelayUI by @bangtoven in #904
- Add connectAndSignIn to CBWProvider by @bangtoven in #910
New Contributors
- @ssutch-cb made their first contribution in #886
Full Changelog: v3.7.1...v3.8.0-beta.0
v3.7.1: 1) Update eth-block-tracker version (#863) (bangtoven)
(SHA: 67e10156f3cac18a583e213d06fe7ef29bab1875) 2) v3.7.1 (#867) Co-authored-by: bangtoven <bangtoven@users.noreply.github.com> (github-actions[bot]) (SHA: 19f0e9f0c0411a829af33eca0f3d845420ec60b3)
v3.6.6
What's Changed
- Update eth-block-tracker version by @bangtoven in #863
Full Changelog: v3.6.5...v3.6.6
v3.7.0
What's Changed
- Standard error behavior by @bangtoven in #849
- Update
ethereum
type toany
by @erin-at-work in #839
Full Changelog: v3.6.5...v3.7.0