Releases: coinbase/coinbase-wallet-sdk
Releases · coinbase/coinbase-wallet-sdk
v4.2.3
v4.2.2
What's Changed
- fix: default import from cjs files causing module resolution errors in webpack by @cb-jake in #1445
- [Version update] v4.2.2 by @github-actions in #1446
Full Changelog: v4.2.1...v4.2.2
v4.2.1
What's Changed
- expose keys-dev as a preference by @spencerstock in #1442
- update sdk to pass location in postmessage by @cb-jake in #1443
- [Version update] v4.2.1 by @github-actions in #1444
Full Changelog: v4.2.0...v4.2.1
v4.2.0
What's Changed
- Update testapp to use sdk latest by @cb-jake in #1408
- add support for any config parameter by @cb-jake in #1402
- Add new utils to interact with the SDK and provider by @cb-jake in #1405
- Add testapp page for testing new config values by @cb-jake in #1404
- Pass preferences with popuploaded event by @cb-jake in #1412
- Fix chainChanged event emitting for walletlink connection by @nateReiners in #1411
- Nate/trivial/playground workaround for v3.9.3 walletlink eventing bug by @nateReiners in #1410
- Improve favicon fetching by guessing favicon url based on convention by @nateReiners in #1415
- Add coop warning by @cb-jake in #1417
- Disable next config headers by @cb-jake in #1418
- remove next config by @cb-jake in #1419
- Update the attribution property by @cb-jake in #1420
- Fix the playground config to use a 16 byte data suffix by @cb-jake in #1422
- Update test matrix (remove node 16 and 18) by @cb-jake in #1424
- merge sdk config demo into main page by @cb-jake in #1425
- [Trivial] use es6 namespaced Number.parseInt by @nateReiners in #1416
- trivial - add linting to playground by @nateReiners in #1426
- Web SDK sending info via searchParams by @fan-zhang-sv in #1427
- fix: project module resolution by @cb-jake in #1428
- Make playground params expand when needed by @spencerstock in #1430
- Add copy button to message examples by @spencerstock in #1432
- fix lint in playground by @cb-jake in #1433
- Add grant permissions example message by @spencerstock in #1434
- remove enable call from playground by @cb-jake in #1437
- Passing SDK config params to injected provider by @fan-zhang-sv in #1436
- Signer
request
should be generic for consumers by @cb-jake in #1438 - [Version update] v4.2.0 by @github-actions in #1439
Full Changelog: v4.1.0...v4.2.0
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