-
Notifications
You must be signed in to change notification settings - Fork 31
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
[Metrics] Add wallet metrics #560
Merged
Merged
Changes from 26 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
10b7548
add wallet metrics, render debug logs
BrettCleary efbbc4c
fix metrics
BrettCleary 903def9
rm unused import
BrettCleary bd7dbaa
fix edge cases, improve connection reporting
BrettCleary 7610e85
rm log
BrettCleary 6646ea7
revert electron extension installer
BrettCleary 92f4341
track wallet connected on backend, fix otp, rm walletstore
BrettCleary 2158643
ignore mm sdk-comm
BrettCleary df3c2ef
revert wallet connected type
BrettCleary 51ea735
rm otp updated handler
BrettCleary 813a698
rm random commented line
BrettCleary 11fba43
rm console log
BrettCleary 5544a2d
rm memo, fix connected screen event multiple sends
BrettCleary 75116ce
refactor walletSelection import screen
BrettCleary a4a7e9b
update mm to 0.12.0
BrettCleary f283239
refactor Import screen into components
BrettCleary 8a7b80a
add back strict mode
BrettCleary be33b58
clean up ImportAndCreateOption
BrettCleary d75397e
onboarding metrics fixes
BrettCleary 46f3acd
patch metamask sdk
BrettCleary 5079d6b
fix postinstall script call
BrettCleary f5b175f
Merge branch 'main' into metrics/wallet_events
BrettCleary af0af9a
prettier
BrettCleary e8f1a4d
fix test
BrettCleary 4559931
fix import, mm sdk type
BrettCleary 5131d9c
handle rejection
BrettCleary c55bba3
add strict mode back
BrettCleary eb9cdfb
refactor profile bg color into function
BrettCleary a29cc7b
add translations and brackets
BrettCleary e4d2fc3
merge submodules
BrettCleary File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
diff --git a/node_modules/@metamask/sdk/dist/browser/es/src/index.d.ts b/node_modules/@metamask/sdk/dist/browser/es/src/index.d.ts | ||
index 431737f..25e4f92 100644 | ||
--- a/node_modules/@metamask/sdk/dist/browser/es/src/index.d.ts | ||
+++ b/node_modules/@metamask/sdk/dist/browser/es/src/index.d.ts | ||
@@ -5,15 +5,6 @@ import { MetaMaskSDK, MetaMaskSDKOptions } from './sdk'; | ||
import { RPC_URLS_MAP } from './services/MetaMaskSDK/InitializerManager/setupReadOnlyRPCProviders'; | ||
import { PROVIDER_UPDATE_TYPE } from './types/ProviderUpdateType'; | ||
import type { SDKLoggingOptions } from './types/SDKLoggingOptions'; | ||
-declare global { | ||
- interface Window { | ||
- ReactNativeWebView?: WebView; | ||
- sdkProvider: SDKProvider; | ||
- ethereum?: SDKProvider; | ||
- extension: unknown; | ||
- MSStream: unknown; | ||
- } | ||
-} | ||
export { CommunicationLayerPreference, ConnectionStatus, DEFAULT_SERVER_URL, EventType, MessageType, RPC_URLS_MAP, MetaMaskSDK, PROVIDER_UPDATE_TYPE, PlatformType, SDKProvider, }; | ||
export type { MetaMaskSDKOptions, SDKLoggingOptions, ServiceStatus }; | ||
export default MetaMaskSDK; | ||
diff --git a/node_modules/@metamask/sdk/dist/node/es/src/index.d.ts b/node_modules/@metamask/sdk/dist/node/es/src/index.d.ts | ||
index 431737f..25e4f92 100644 | ||
--- a/node_modules/@metamask/sdk/dist/node/es/src/index.d.ts | ||
+++ b/node_modules/@metamask/sdk/dist/node/es/src/index.d.ts | ||
@@ -5,15 +5,6 @@ import { MetaMaskSDK, MetaMaskSDKOptions } from './sdk'; | ||
import { RPC_URLS_MAP } from './services/MetaMaskSDK/InitializerManager/setupReadOnlyRPCProviders'; | ||
import { PROVIDER_UPDATE_TYPE } from './types/ProviderUpdateType'; | ||
import type { SDKLoggingOptions } from './types/SDKLoggingOptions'; | ||
-declare global { | ||
- interface Window { | ||
- ReactNativeWebView?: WebView; | ||
- sdkProvider: SDKProvider; | ||
- ethereum?: SDKProvider; | ||
- extension: unknown; | ||
- MSStream: unknown; | ||
- } | ||
-} | ||
export { CommunicationLayerPreference, ConnectionStatus, DEFAULT_SERVER_URL, EventType, MessageType, RPC_URLS_MAP, MetaMaskSDK, PROVIDER_UPDATE_TYPE, PlatformType, SDKProvider, }; | ||
export type { MetaMaskSDKOptions, SDKLoggingOptions, ServiceStatus }; | ||
export default MetaMaskSDK; |
Submodule hyperplay-extension-helper
updated
from 65e6a9 to 11de74
Submodule hyperplay-overlay
updated
from 6d00be to aa8936
Submodule hyperplay-proxy-server
updated
from df8d88 to 483f30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this conflicts with our window.ethereum type definition in the frontend even though this is imported in the main process
There is also no reason for this to be exported by the node.js mm sdk. Created an issue here for it MetaMask/metamask-sdk#491