@wvdsh/sdk-js 1.3.6 → 1.3.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/index.d.ts CHANGED
@@ -82,6 +82,7 @@ type LeaderboardEntries = FunctionReturnType<typeof api.sdk.leaderboards.listEnt
82
82
  type UpsertedLeaderboardEntry = FunctionReturnType<typeof api.sdk.leaderboards.upsertLeaderboardEntry>["entry"] & {
83
83
  userId: GenericId<"users">;
84
84
  username: string;
85
+ userAvatarUrl?: string;
85
86
  };
86
87
  type WavedashEvent = (typeof WavedashEvents)[keyof typeof WavedashEvents];
87
88
  interface WavedashConfig {
package/dist/index.js CHANGED
@@ -1098,7 +1098,8 @@ var LeaderboardManager = class extends WavedashManager {
1098
1098
  return {
1099
1099
  ...result.entry,
1100
1100
  userId: this.sdk.wavedashUser.id,
1101
- username: this.sdk.wavedashUser.username
1101
+ username: this.sdk.wavedashUser.username,
1102
+ userAvatarUrl: this.sdk.wavedashUser.avatarUrl
1102
1103
  };
1103
1104
  }
1104
1105
  // ================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wvdsh/sdk-js",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "type": "module",
5
5
  "description": "Wavedash JavaScript SDK",
6
6
  "main": "./dist/client.js",
@@ -49,7 +49,7 @@
49
49
  "typescript-eslint": "^8.52.0"
50
50
  },
51
51
  "dependencies": {
52
- "@wvdsh/api": "^0.1.14",
52
+ "@wvdsh/api": "^0.1.16",
53
53
  "convex": "^1.34.0",
54
54
  "lodash.throttle": "^4.1.1"
55
55
  }