Skip to content

Commit fe9137b

Browse files
deploy: 087ecbc
1 parent 267ecdd commit fe9137b

1 file changed

Lines changed: 0 additions & 132 deletions

File tree

schema/staging/schema.json

Lines changed: 0 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -97,36 +97,6 @@
9797
],
9898
"restricted": true
9999
},
100-
{
101-
"name": "snap_endTrace",
102-
"description": "Handler for the `snap_endTrace` method.",
103-
"parameters": [
104-
{
105-
"name": "id",
106-
"type": "string | null",
107-
"description": "The unique identifier of the trace.\nDefaults to 'default' if not provided.",
108-
"required": false
109-
},
110-
{
111-
"name": "name",
112-
"type": "string",
113-
"description": "The name of the trace.",
114-
"required": true
115-
},
116-
{
117-
"name": "timestamp",
118-
"type": "number | null",
119-
"description": "Override the end time of the trace.",
120-
"required": false
121-
}
122-
],
123-
"result": null,
124-
"subjectTypes": [
125-
"snap"
126-
],
127-
"examples": [],
128-
"restricted": false
129-
},
130100
{
131101
"name": "snap_getBackgroundEvents",
132102
"description": null,
@@ -833,93 +803,6 @@
833803
"examples": [],
834804
"restricted": false
835805
},
836-
{
837-
"name": "snap_startTrace",
838-
"description": "Handler for the `snap_startTrace` method.",
839-
"parameters": [
840-
{
841-
"name": "data",
842-
"type": "Record<string, boolean | number | string> | null",
843-
"description": "Custom data to associate with the trace.",
844-
"required": false
845-
},
846-
{
847-
"name": "id",
848-
"type": "string | null",
849-
"description": "A unique identifier when not tracing a callback.\nDefaults to 'default' if not provided.",
850-
"required": false
851-
},
852-
{
853-
"name": "name",
854-
"type": "string",
855-
"description": "The name of the trace.",
856-
"required": true
857-
},
858-
{
859-
"name": "parentContext",
860-
"type": "{ [prop: string]: Json; } | boolean | Json[] | number | string | null",
861-
"description": "The parent context of the trace.\nIf provided, the trace will be nested under the parent trace.",
862-
"required": false
863-
},
864-
{
865-
"name": "startTime",
866-
"type": "number | null",
867-
"description": "Override the start time of the trace.",
868-
"required": false
869-
},
870-
{
871-
"name": "tags",
872-
"type": "Record<string, boolean | number | string> | null",
873-
"description": "Custom tags to associate with the trace.",
874-
"required": false
875-
}
876-
],
877-
"result": null,
878-
"subjectTypes": [
879-
"snap"
880-
],
881-
"examples": [],
882-
"restricted": false
883-
},
884-
{
885-
"name": "snap_trackError",
886-
"description": "Handler for the `snap_trackError` method.",
887-
"parameters": [
888-
{
889-
"name": "error",
890-
"type": "{ name: string; message: string; stack: string | null; cause: TrackableError | null }",
891-
"description": "The error object to track.",
892-
"required": true
893-
}
894-
],
895-
"result": {
896-
"type": "string",
897-
"description": "The result returned by the `snap_trackEvent` method. This is the ID of the\ntracked error, as returned by the Sentry instance in the client."
898-
},
899-
"subjectTypes": [
900-
"snap"
901-
],
902-
"examples": [],
903-
"restricted": false
904-
},
905-
{
906-
"name": "snap_trackEvent",
907-
"description": "Handler for the `snap_trackEvent` method.",
908-
"parameters": [
909-
{
910-
"name": "event",
911-
"type": "{ event: string; properties?: Record<string, Json> | null; sensitiveProperties?: Record<string, Json> | null }",
912-
"description": "Primary payload object containing other metrics properties.",
913-
"required": true
914-
}
915-
],
916-
"result": null,
917-
"subjectTypes": [
918-
"snap"
919-
],
920-
"examples": [],
921-
"restricted": false
922-
},
923806
{
924807
"name": "snap_updateInterface",
925808
"description": null,
@@ -950,21 +833,6 @@
950833
"examples": [],
951834
"restricted": false
952835
},
953-
{
954-
"name": "wallet_getAllSnaps",
955-
"description": "`wallet_getAllSnaps` gets all installed Snaps. Currently, this can only be\ncalled from `https://snaps.metamask.io`.",
956-
"parameters": null,
957-
"result": {
958-
"type": "Record<SnapId, { error: JsonRpcError } | Snap>",
959-
"description": "The result returned by the `wallet_getSnaps` method.\n\nIt consists of a map of Snap IDs to either the Snap object or an error."
960-
},
961-
"subjectTypes": [
962-
"snap",
963-
"website"
964-
],
965-
"examples": [],
966-
"restricted": false
967-
},
968836
{
969837
"name": "wallet_getSnaps",
970838
"description": "`wallet_getSnaps` gets the requester's permitted and installed Snaps.",

0 commit comments

Comments
 (0)