Skip to content

Commit cd40385

Browse files
committed
fix error in plugin-tee
1 parent 329e080 commit cd40385

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/plugin-tee/src/vendors/phala.ts

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
import { TeeVendors } from '@elizaos/core';
21
import { phalaRemoteAttestationAction as remoteAttestationAction } from '../actions/remoteAttestationAction';
32
import { phalaDeriveKeyProvider as deriveKeyProvider } from '../providers/deriveKeyProvider';
43
import { phalaRemoteAttestationProvider as remoteAttestationProvider } from '../providers/remoteAttestationProvider';
5-
import type { TeeVendor } from './types';
4+
import { type TeeVendor, TeeVendorNames } from './types';
65

76
/**
87
* A class representing a vendor for Phala TEE.
98
* * @implements { TeeVendor }
10-
* @type {TeeVendors.PHALA}
9+
* @type {TeeVendorNames.PHALA}
1110
*//**
1211
* Get the actions for the PhalaVendor.
1312
* * @returns { Array } An array of actions.
@@ -22,7 +21,7 @@ import type { TeeVendor } from './types';
2221
* * @returns { string } The description of the vendor.
2322
*/
2423
export class PhalaVendor implements TeeVendor {
25-
type = TeeVendors.PHALA;
24+
type = TeeVendorNames.PHALA;
2625

2726
/**
2827
* Returns an array of actions.

0 commit comments

Comments
 (0)