Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Bump Android SDK to 1.1.1" #355

Conversation

sara554-beep
Copy link

Reverts #342

bangtoven and others added 30 commits June 30, 2022 15:26
* first commit

* ios example app scaffolding

* README

* Update README.md

* pod

* integrate pod

* Create .codeflow.yml

* remove example on pod

* cleanup

* cleanup

* handshake

* handshake request encoder / response handler

* ios proof of concept

* Update README.md

* reorg

* host example app

* build settings

* cleanup

* request message renderer

* url rendering

* isCoinbaseWalletInstalled

* refactor

* key manager

* url codable / task manager

pod

* make request

* reintroduce message renderer

* dedup Message with custom coding

* response handler

* key storage

* hmmmmm

* key storage / no error throwing during init

* add domain to key storage

* response handling / error handling

* distinguish request/response types

* access control

* initial request

* host example app

* host

* handle encrypted response

* simplify symkey generation flow

* rename

Update README.md

Update README.md

* update path

* ios 12 support

* make RawRepresentableKey public

* clean up cryptography

* RawRepresentableKey

* make initialzier public

* ugh

* Update README.md

* Update README.md

* Update README.md

* sample host app

* reorg

* Merge remote-tracking branch 'native/master'

# Conflicts:
#	.gitignore

# Conflicts:
#	native/ios/CoinbaseWalletSDK.swift
#	native/ios/Message/Message.swift
#	native/ios/Message/Request/EncryptedRequestContent.swift
#	native/ios/Message/Request/Request.swift
#	native/ios/Message/Request/RequestMessage.swift
#	native/ios/Message/Response/EncryptedResponseContent.swift
#	native/ios/Message/Response/ResponseMessage.swift
#	native/ios/Task/TaskManager.swift

* Merge branch 'master' of github.com:coinbase/coinbase-wallet-sdk

# Conflicts:
#	.github/workflows/codeql-analysis.yml
#	.github/workflows/main.yml
#	.github/workflows/versioning.yml
#	.gitignore
#	README.md
#	host/ios/LICENSE
#	packages/wallet-sdk/.eslintignore
#	packages/wallet-sdk/.eslintrc.js
#	packages/wallet-sdk/.prettierignore
#	packages/wallet-sdk/.prettierrc.yml
#	packages/wallet-sdk/LICENSE
#	packages/wallet-sdk/__tests__/addressStorage.test.js
#	packages/wallet-sdk/__tests__/encryptDecrypt.test.js
#	packages/wallet-sdk/assets/coinbase_wallet_logo_kit.zip
#	packages/wallet-sdk/babel.config.js
#	packages/wallet-sdk/compile-assets.js
#	packages/wallet-sdk/jest.config.ts
#	packages/wallet-sdk/jest.setup.ts
#	packages/wallet-sdk/karma.conf.js
#	packages/wallet-sdk/package.json
#	packages/wallet-sdk/scripts/release.sh
#	packages/wallet-sdk/src/CoinbaseWalletSDK.test.ts
#	packages/wallet-sdk/src/CoinbaseWalletSDK.ts
#	packages/wallet-sdk/src/__mocks__/provider.ts
#	packages/wallet-sdk/src/__mocks__/relay.ts
#	packages/wallet-sdk/src/assets/wallet-logo.ts
#	packages/wallet-sdk/src/components/LinkFlow.test.tsx
#	packages/wallet-sdk/src/components/LinkFlow.tsx
#	packages/wallet-sdk/src/components/QRCode.tsx
#	packages/wallet-sdk/src/components/Snackbar.scss
#	packages/wallet-sdk/src/components/Snackbar.test.tsx
#	packages/wallet-sdk/src/components/Snackbar.tsx
#	packages/wallet-sdk/src/components/SnackbarContainer.test.tsx
#	packages/wallet-sdk/src/components/Spinner.scss
#	packages/wallet-sdk/src/components/Spinner.test.tsx
#	packages/wallet-sdk/src/components/Spinner.tsx
#	packages/wallet-sdk/src/components/TryExtensionLinkDialog.scss
#	packages/wallet-sdk/src/components/TryExtensionLinkDialog.test.tsx
#	packages/wallet-sdk/src/components/TryExtensionLinkDialog.tsx
#	packages/wallet-sdk/src/components/icons/QRLogo.ts
#	packages/wallet-sdk/src/components/icons/globe-icon.svg
#	packages/wallet-sdk/src/components/icons/link-icon.svg
#	packages/wallet-sdk/src/components/icons/lock-icon.svg
#	packages/wallet-sdk/src/connection/ClientMessage.ts
#	packages/wallet-sdk/src/connection/DiagnosticLogger.test.ts
#	packages/wallet-sdk/src/connection/DiagnosticLogger.ts
#	packages/wallet-sdk/src/connection/EventListener.ts
#	packages/wallet-sdk/src/connection/RxWebSocket.test.ts
#	packages/wallet-sdk/src/connection/RxWebSocket.ts
#	packages/wallet-sdk/src/connection/ServerMessage.ts
#	packages/wallet-sdk/src/connection/SessionConfig.ts
#	packages/wallet-sdk/src/connection/WalletSDKConnection.ts
#	packages/wallet-sdk/src/fixtures/provider.ts
#	packages/wallet-sdk/src/index.ts
#	packages/wallet-sdk/src/lib/ScopedLocalStorage.test.ts
#	packages/wallet-sdk/src/lib/ScopedLocalStorage.ts
#	packages/wallet-sdk/src/lib/cssReset.scss
#	packages/wallet-sdk/src/lib/cssReset.ts
#	packages/wallet-sdk/src/provider/CoinbaseWalletProvider.test.ts
#	packages/wallet-sdk/src/provider/CoinbaseWalletProvider.ts
#	packages/wallet-sdk/src/provider/FilterPolyfill.ts
#	packages/wallet-sdk/src/provider/JSONRPC.ts
#	packages/wallet-sdk/src/provider/SubscriptionManager.ts
#	packages/wallet-sdk/src/provider/WalletSDKUI.test.ts
#	packages/wallet-sdk/src/provider/WalletSDKUI.ts
#	packages/wallet-sdk/src/provider/WalletUI.ts
#	packages/wallet-sdk/src/provider/WalletUIError.ts
#	packages/wallet-sdk/src/provider/Web3Provider.ts
#	packages/wallet-sdk/src/relay/EthereumTransactionParams.ts
#	packages/wallet-sdk/src/relay/RelayMessage.ts
#	packages/wallet-sdk/src/relay/Session.ts
#	packages/wallet-sdk/src/relay/WalletSDKRelay.ts
#	packages/wallet-sdk/src/relay/WalletSDKRelayAbstract.ts
#	packages/wallet-sdk/src/relay/WalletSDKRelayEventManager.test.ts
#	packages/wallet-sdk/src/relay/WalletSDKRelayEventManager.ts
#	packages/wallet-sdk/src/relay/Web3Method.ts
#	packages/wallet-sdk/src/relay/Web3Request.ts
#	packages/wallet-sdk/src/relay/Web3RequestCanceledMessage.ts
#	packages/wallet-sdk/src/relay/Web3RequestMessage.ts
#	packages/wallet-sdk/src/relay/Web3Response.ts
#	packages/wallet-sdk/src/relay/Web3ResponseMessage.ts
#	packages/wallet-sdk/src/relay/aes256gcm.test.ts
#	packages/wallet-sdk/src/relay/aes256gcm.ts
#	packages/wallet-sdk/src/types.ts
#	packages/wallet-sdk/src/util.test.ts
#	packages/wallet-sdk/src/util.ts
#	packages/wallet-sdk/src/vendor-js/eth-eip712-util/LICENSE
#	packages/wallet-sdk/src/vendor-js/eth-eip712-util/abi.js
#	packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.d.ts
#	packages/wallet-sdk/src/vendor-js/eth-eip712-util/index.js
#	packages/wallet-sdk/src/vendor-js/eth-eip712-util/util.js
#	packages/wallet-sdk/src/vendor-js/qrcode-svg/LICENSE
#	packages/wallet-sdk/src/vendor-js/qrcode-svg/index.d.ts
#	packages/wallet-sdk/src/vendor-js/qrcode-svg/index.js
#	packages/wallet-sdk/src/version.ts
#	packages/wallet-sdk/tsconfig.build.json
#	packages/wallet-sdk/tsconfig.json
#	packages/wallet-sdk/webpack.config.js
#	packages/wallet-sdk/yarn.lock
#	src/vendor-js/qrcode-svg/LICENSE

* move under packages

* readme

* sample ios client app

* pod settings

* add `optional` filed to `Action`

* update example app

* Merge branch 'walletsegue' of github.com:coinbase/coinbase-wallet-sdk into walletsegue

* define ReturnType

* Update README.md

Update README.md

* introduce Web3JSONRPC helper

* nested params

* access control

* # This is a combination of 2 commits.
# This is the 1st commit message:

access control

# This is the commit message MobileWalletProtocol#2:

Revert "access control"

This reverts commit c8ea3dac36749ce9632b990708e960e96e230c6e.

* remove public initializers

access control

# This is the commit message MobileWalletProtocol#2:

Revert "access control"

This reverts commit c8ea3dac36749ce9632b990708e960e96e230c6e.

# This is the commit message MobileWalletProtocol#3:

remove public initializers

* use JSONSerialization to simplify Web3JSONRPC encoding

* singleton

* clean up error type

* host example

* ios example app

* example app

* add timestamp to message

* allow custom scheme / keystorage error message

* keystorageerror

* sampel ios app

* response handler

* swizzle

* update request on sample app

* cleanup keymanager implementation

* remove codeflow config

* remove old files

* gitignore

* cleanup

* rename

* missing changes

* sample app name

* update podspec

* author
* Test spm

* Lower swift-tools-version to 5.4

* Test - remove import

* Revert "Test - remove import"

This reverts commit e58f75602b7fd65fabba240b2d9dc3c61f72f4a9.

* Bump pod version
* first commit

* ios example app scaffolding

* README

* Update README.md

* pod

* integrate pod

* Create .codeflow.yml

* remove example on pod

* cleanup

* cleanup

* handshake

* handshake request encoder / response handler

* ios proof of concept

* Update README.md

* reorg

* host example app

* build settings

* cleanup

* request message renderer

* url rendering

* isCoinbaseWalletInstalled

* refactor

* key manager

* url codable / task manager

pod

* make request

* reintroduce message renderer

* dedup Message with custom coding

* response handler

* key storage

* hmmmmm

* key storage / no error throwing during init

* add domain to key storage

* response handling / error handling

* distinguish request/response types

* access control

* initial request

* host example app

* host

* handle encrypted response

* simplify symkey generation flow

* rename

Update README.md

Update README.md

* update path

* ios 12 support

* make RawRepresentableKey public

* clean up cryptography

* RawRepresentableKey

* make initialzier public

* ugh

* hmmmmm

* Add prototype client app and client sdk (MobileWalletProtocol#3)

* refactor associated value structure

* TaskManager

* Update README.md

* Update README.md

* Update README.md

* add field name for encruypted data

* sample host app

* reorg

* move under packages

* readme

* sample ios client app

* pod settings

* add `optional` filed to `Action`

* Update README.md

* update example app

* define ReturnType

* Update README.md

Update README.md

* Add actions to handshake function

* Update return value

* introduce Web3JSONRPC helper

* nested params

* access control

* # This is a combination of 2 commits.
# This is the 1st commit message:

access control

# This is the commit message MobileWalletProtocol#2:

Revert "access control"

This reverts commit c8ea3dac36749ce9632b990708e960e96e230c6e.

* remove public initializers

access control

# This is the commit message MobileWalletProtocol#2:

Revert "access control"

This reverts commit c8ea3dac36749ce9632b990708e960e96e230c6e.

# This is the commit message MobileWalletProtocol#3:

remove public initializers

* use JSONSerialization to simplify Web3JSONRPC encoding

* singleton

* clean up error type

* host example

* Creates WalletSDK Android Demo application (#587)

* Configures view and client side processing to integrate with the coinbase wallet.

Co-authored-by: Amit Goel <[email protected]>

* ios example app

* example app

* Refactor encryption/decryption serializers

* Downgrade gradle version

* add timestamp to message

* allow custom scheme / keystorage error message

* keystorageerror

* resolve missing imports

* ios example app

* Add web3 methods

* sampel ios app

* response handler

* swizzle

* update request on sample app

* cleanup keymanager implementation

* Update json decoding/encoding

* Update Demo App to support RemoveAccount

* small UI changes
* displays appropriate CTA's on connected state

* fix send and sign transaction mapping to WEB3 string

* Reverted sharedpref `apply()` back to `commit()`

* Make java interop nicer

Co-authored-by: Jungho Bang <[email protected]>
Co-authored-by: Amit Goel <[email protected]>
Co-authored-by: Amit Goel <[email protected]>
* Now displays connected state
* ActionsManager to use mocked actions to send in either handshake or request
* Persists eth account info request processing

Co-authored-by: Amit Goel <[email protected]>
* updates Web3JSONRPC modeling for iOS with expected properties

* update demo client app for iOS with correct actions and data

Co-authored-by: Amit Goel <[email protected]>
…630)

* provide Account object

* use address

reset address
* provide Account object

* use address

reset address

* provide Account and chainId on the handshake response callback

* cleanup
* Updates android configuration.

* Moves client app to it's own package.

* Updates android configuration.

* Moves client app to it's own package.

* renamed package root for sdk

Co-authored-by: Amit Goel <[email protected]>
* Create expo wrapper module

* Update react-native/README.md

Co-authored-by: Jungho Bang <[email protected]>

* Remove maven publishing from build.gradle

Co-authored-by: Jungho Bang <[email protected]>
bangtoven and others added 27 commits February 27, 2024 15:11
* update build.gradle

* embed public data
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.18 to 8.4.35.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss@8.4.18...8.4.35)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v5.7.2/CHANGELOG.md)
- [Commits](npm/node-semver@v5.7.1...v5.7.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tocol#307)

Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](indutny/node-ip@v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ocol#309)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.1 to 7.23.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.9/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tocol#308)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.5.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.2...v1.15.5)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rotocol#313)

Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Commits](kornelski/http-cache-semantics@v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.90.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.74.0...v5.90.3)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…col#314)

Bumps [@sideway/formula](https://github.com/sideway/formula) from 3.0.0 to 3.0.1.
- [Commits](hapijs/formula@v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@sideway/formula"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…l#316)

Bumps [ua-parser-js](https://github.com/faisalman/ua-parser-js) from 0.7.32 to 0.7.37.
- [Release notes](https://github.com/faisalman/ua-parser-js/releases)
- [Changelog](https://github.com/faisalman/ua-parser-js/blob/master/CHANGELOG.md)
- [Commits](faisalman/ua-parser-js@0.7.32...0.7.37)

---
updated-dependencies:
- dependency-name: ua-parser-js
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Re-export types in react-native/client (MobileWalletProtocol#297)

* Update CoinbaseWalletSDK.types.ts (MobileWalletProtocol#298)

Match runtime types

---------

Co-authored-by: Tony D'Addeo <[email protected]>
* RN SDK update

* add action source

* add getCoinbaseWalletMWPVersion

* ensure main thread

* expose swift error correctly

* getCoinbaseWalletMWPVersion on Android

* remove tsconfig
…tocol#326)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.5 to 1.15.6.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.15.5...v1.15.6)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tProtocol#328)

Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases)
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md)
- [Commits](webpack/webpack-dev-middleware@v5.3.3...v5.3.4)

---
updated-dependencies:
- dependency-name: webpack-dev-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [express](https://github.com/expressjs/express) from 4.18.2 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](expressjs/express@4.18.2...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…rotocol#332)

Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.13 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.13...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.5 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](ruby/rexml@v3.2.5...v3.2.8)

---
updated-dependencies:
- dependency-name: rexml
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…tocol#339)

Bumps [ws](https://github.com/websockets/ws) from 6.2.2 to 6.2.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@6.2.2...6.2.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…l#338)

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@sara554-beep
Copy link
Author

Reverts #342

60ee96b

@sara554-beep sara554-beep changed the base branch from main to gh-pages October 27, 2024 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants