@elizaos/plugin-roblox 2.0.3-beta.6 → 2.0.3-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/suite.d.ts +7 -0
- package/dist/__tests__/suite.d.ts.map +1 -0
- package/dist/actions/index.d.ts +5 -0
- package/dist/actions/index.d.ts.map +1 -0
- package/dist/actions/robloxAction.d.ts +4 -0
- package/dist/actions/robloxAction.d.ts.map +1 -0
- package/dist/client/RobloxClient.d.ts +29 -0
- package/dist/client/RobloxClient.d.ts.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1062 -0
- package/dist/index.js.map +19 -0
- package/dist/providers/gameStateProvider.d.ts +3 -0
- package/dist/providers/gameStateProvider.d.ts.map +1 -0
- package/dist/providers/index.d.ts +5 -0
- package/dist/providers/index.d.ts.map +1 -0
- package/dist/services/RobloxService.d.ts +40 -0
- package/dist/services/RobloxService.d.ts.map +1 -0
- package/dist/types/index.d.ts +68 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/config.d.ts +5 -0
- package/dist/utils/config.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suite.d.ts","sourceRoot":"","sources":["../../__tests__/suite.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAIxE,qBAAa,eAAgB,YAAW,SAAS;IAC/C,IAAI,SAAY;IAChB,WAAW,SAAkC;IAE7C,KAAK,EAAE,QAAQ,EAAE,CAkDf;CACH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,YAAY,MAAM,gBAAgB,CAAC;AAE1C,eAAO,MAAM,aAAa,EAAE,MAAM,EAAmB,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"robloxAction.d.ts","sourceRoot":"","sources":["../../actions/robloxAction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,MAAM,EAUZ,MAAM,eAAe,CAAC;AA+YvB,eAAO,MAAM,YAAY,EAAE,MAmI1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { DataStoreEntry, JsonValue, JsonValueOrUndefined, MessagingServiceMessage, RobloxConfig, RobloxExperienceInfo, RobloxUser } from "../types";
|
|
2
|
+
export declare class RobloxApiError extends Error {
|
|
3
|
+
statusCode: number;
|
|
4
|
+
endpoint: string;
|
|
5
|
+
details?: (JsonValue | string) | undefined;
|
|
6
|
+
constructor(message: string, statusCode: number, endpoint: string, details?: (JsonValue | string) | undefined);
|
|
7
|
+
}
|
|
8
|
+
export declare class RobloxClient {
|
|
9
|
+
private config;
|
|
10
|
+
constructor(config: RobloxConfig);
|
|
11
|
+
private request;
|
|
12
|
+
publishMessage(topic: string, data: Record<string, JsonValueOrUndefined>, universeId?: string): Promise<void>;
|
|
13
|
+
sendAgentMessage(message: MessagingServiceMessage): Promise<void>;
|
|
14
|
+
getDataStoreEntry<T extends JsonValue = JsonValue>(datastoreName: string, key: string, scope?: string): Promise<DataStoreEntry<T> | null>;
|
|
15
|
+
setDataStoreEntry<T extends JsonValue = JsonValue>(datastoreName: string, key: string, value: T, scope?: string): Promise<DataStoreEntry<T>>;
|
|
16
|
+
deleteDataStoreEntry(datastoreName: string, key: string, scope?: string): Promise<void>;
|
|
17
|
+
listDataStoreEntries(datastoreName: string, scope?: string, prefix?: string, limit?: number): Promise<{
|
|
18
|
+
keys: string[];
|
|
19
|
+
nextPageCursor?: string;
|
|
20
|
+
}>;
|
|
21
|
+
getUserById(userId: number): Promise<RobloxUser>;
|
|
22
|
+
getUserByUsername(username: string): Promise<RobloxUser | null>;
|
|
23
|
+
getUsersByIds(userIds: number[]): Promise<RobloxUser[]>;
|
|
24
|
+
getAvatarUrl(userId: number, size?: string): Promise<string | undefined>;
|
|
25
|
+
getExperienceInfo(universeId?: string): Promise<RobloxExperienceInfo>;
|
|
26
|
+
getConfig(): Readonly<RobloxConfig>;
|
|
27
|
+
isDryRun(): boolean;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=RobloxClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RobloxClient.d.ts","sourceRoot":"","sources":["../../client/RobloxClient.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,cAAc,EACd,SAAS,EACT,oBAAoB,EACpB,uBAAuB,EACvB,YAAY,EACZ,oBAAoB,EACpB,UAAU,EACX,MAAM,UAAU,CAAC;AAKlB,qBAAa,cAAe,SAAQ,KAAK;IAG9B,UAAU,EAAE,MAAM;IAClB,QAAQ,EAAE,MAAM;IAChB,OAAO,CAAC,GAAE,SAAS,GAAG,MAAM;gBAHnC,OAAO,EAAE,MAAM,EACR,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,GAAE,SAAS,GAAG,MAAM,aAAA;CAKtC;AAED,qBAAa,YAAY;IACvB,OAAO,CAAC,MAAM,CAAe;gBAEjB,MAAM,EAAE,YAAY;YAIlB,OAAO;IAwCf,cAAc,CAClB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,EAC1C,UAAU,CAAC,EAAE,MAAM,GAClB,OAAO,CAAC,IAAI,CAAC;IAgBV,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC;IAUjE,iBAAiB,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,EACrD,aAAa,EAAE,MAAM,EACrB,GAAG,EAA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RobloxClient } from "./client/RobloxClient";
|
|
3
|
+
export { RobloxService } from "./services/RobloxService";
|
|
4
|
+
export declare const robloxPlugin: Plugin;
|
|
5
|
+
export default robloxPlugin;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAiB,MAAM,EAAE,MAAM,eAAe,CAAC;AAM3D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,eAAO,MAAM,YAAY,EAAE,MA2B1B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|