From b797259b57d8d6f10efe2eef2abc962f2851aa4d Mon Sep 17 00:00:00 2001 From: Kevin Szuchet <31735779+kevinszuchet@users.noreply.github.com> Date: Wed, 29 Jan 2025 11:23:48 -0300 Subject: [PATCH] fix: Missing social service events (#330) --- report/schemas.api.md | 2 +- src/platform/events/base.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/report/schemas.api.md b/report/schemas.api.md index eb82603..739994a 100644 --- a/report/schemas.api.md +++ b/report/schemas.api.md @@ -1165,7 +1165,7 @@ export namespace EthAddress { // Warning: (ae-missing-release-tag) "Event" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) -export type Event = BadgeGrantedEvent | BidAcceptedEvent | BidReceivedEvent | CampaignGasPriceHigherThanExpectedEvent | CampaignOutOfFundsEvent | CampaignOutOfStockEvent | CatalystDeploymentEvent | CollectionCreatedEvent | ItemPublishedEvent | ItemSoldEvent | MoveToParcelEvent | PassportOpenedEvent | RentalEndedEvent | RentalStartedEvent | RewardAssignedEvent | RewardDelayedEvent | RewardInProgressEvent | RoyaltiesEarnedEvent | UsedEmoteEvent | VerticalHeightReachedEvent | WalkedDistanceEvent; +export type Event = BadgeGrantedEvent | BidAcceptedEvent | BidReceivedEvent | CampaignGasPriceHigherThanExpectedEvent | CampaignOutOfFundsEvent | CampaignOutOfStockEvent | CatalystDeploymentEvent | CollectionCreatedEvent | FriendshipRequestEvent | FriendshipAcceptedEvent | ItemPublishedEvent | ItemSoldEvent | MoveToParcelEvent | PassportOpenedEvent | RentalEndedEvent | RentalStartedEvent | RewardAssignedEvent | RewardDelayedEvent | RewardInProgressEvent | RoyaltiesEarnedEvent | UsedEmoteEvent | VerticalHeightReachedEvent | WalkedDistanceEvent; // Warning: (ae-missing-release-tag) "Events" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // diff --git a/src/platform/events/base.ts b/src/platform/events/base.ts index f652fdf..d4d3a44 100644 --- a/src/platform/events/base.ts +++ b/src/platform/events/base.ts @@ -24,7 +24,7 @@ import { CampaignOutOfStockEvent, RewardDelayedEvent } from './rewards' -import { BadgeGrantedEvent } from './services' +import { BadgeGrantedEvent, FriendshipAcceptedEvent, FriendshipRequestEvent } from './services' export namespace Events { export enum Type { @@ -124,6 +124,8 @@ export type Event = | CampaignOutOfStockEvent | CatalystDeploymentEvent | CollectionCreatedEvent + | FriendshipRequestEvent + | FriendshipAcceptedEvent | ItemPublishedEvent | ItemSoldEvent | MoveToParcelEvent