Skip to content

Commit 010ce60

Browse files
committed
fix: re-generate lockfile
1 parent 6efdb95 commit 010ce60

3 files changed

Lines changed: 108 additions & 853 deletions

File tree

packages/chomp-api-service/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"version": "0.0.0",
44
"description": "Data service for the Chomp API",
55
"keywords": [
6-
"MetaMask",
7-
"Ethereum"
6+
"Ethereum",
7+
"MetaMask"
88
],
99
"homepage": "https://github.com/MetaMask/core/tree/main/packages/chomp-api-service#readme",
1010
"bugs": {
@@ -50,13 +50,12 @@
5050
"@metamask/base-data-service": "^0.1.1",
5151
"@metamask/controller-utils": "^11.20.0",
5252
"@metamask/messenger": "^1.1.1",
53-
"@metamask/profile-sync-controller": "^28.0.2",
5453
"@metamask/superstruct": "^3.1.0",
5554
"@metamask/utils": "^11.9.0",
5655
"@tanstack/query-core": "^4.43.0"
5756
},
5857
"devDependencies": {
59-
"@metamask/auto-changelog": "^3.4.4",
58+
"@metamask/auto-changelog": "^6.0.0",
6059
"@ts-bridge/cli": "^0.6.4",
6160
"@types/jest": "^29.5.14",
6261
"deepmerge": "^4.2.2",

packages/chomp-api-service/src/chomp-api-service.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import type {
77
import type { CreateServicePolicyOptions } from '@metamask/controller-utils';
88
import { HttpError } from '@metamask/controller-utils';
99
import type { Messenger } from '@metamask/messenger';
10-
import type { AuthenticationControllerGetBearerTokenAction } from '@metamask/profile-sync-controller/auth';
1110
import {
1211
array,
1312
boolean,
@@ -77,7 +76,10 @@ export type ChompApiServiceActions =
7776
/**
7877
* Actions from other messengers that {@link ChompApiService} calls.
7978
*/
80-
type AllowedActions = AuthenticationControllerGetBearerTokenAction;
79+
type AllowedActions = {
80+
type: 'AuthenticationController:getBearerToken';
81+
handler: (entropySourceId?: string) => Promise<string>;
82+
};
8183

8284
/**
8385
* Published when {@link ChompApiService}'s cache is updated.
@@ -176,7 +178,7 @@ const CreateWithdrawalResponseStruct = type({
176178
* This service is responsible for communicating with the CHOMP API.
177179
*
178180
* All requests are authenticated via JWT Bearer tokens obtained from the
179-
* {@link AuthenticationControllerGetBearerTokenAction} messenger action.
181+
* `AuthenticationController:getBearerToken` messenger action.
180182
*/
181183
export class ChompApiService extends BaseDataService<
182184
typeof serviceName,

0 commit comments

Comments
 (0)