Skip to content

Commit

Permalink
Merge pull request #240 from KenEucker/develop
Browse files Browse the repository at this point in the history
v3.3.11
  • Loading branch information
KenEucker authored Mar 6, 2025
2 parents e5665b9 + 8b37a0b commit 5efbe14
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "biketag",
"version": "3.3.10",
"version": "3.3.11",
"description": "The Javascript client API for BikeTag Games",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/common/expressions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ export const getSanityImageUrlHashFromTextRegex = RegExp(
/^(?:image-)(.*?(?=-(-png|-jpg|-jpeg|-gif)))/i
)

export const getCreditFromTwitterTextRegex = RegExp(
export const getCreditFromBlueskyTextRegex = RegExp(
/(?:tag\s*)(?:number\s*)?(\d*)?(?:\s*by\s*)(.+?(?=$|\n))/i
)
2 changes: 1 addition & 1 deletion src/common/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export interface Game {
archivehash?: string
queuehash?: string
subreddit?: string
twitter?: string
bluesky?: string
logo: string
region: Region
}
Expand Down
2 changes: 1 addition & 1 deletion src/imgur/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export function getGameDataFromText(
queuehash: gameData[14],
region: { name: gameData[10], description: gameData[3] },
subreddit: gameData[5],
twitter: gameData[7],
bluesky: gameData[7],
})

if (!game.name?.length) {
Expand Down

0 comments on commit 5efbe14

Please sign in to comment.