Skip to content

Commit

Permalink
Bump version (beta.2 → rc.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
quantum9Innovation committed May 30, 2022
1 parent 65466be commit 57d664d
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions App/four/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,21 +578,21 @@ const logVisit = () => {

let set = () => {

Cookies.set('visited', 'beta.2', { expires: 7 })
Cookies.set('visited', 'rc.1', { expires: 7 })

let xhttp = new XMLHttpRequest()
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'visit',
version: 'beta.2',
version: 'rc.1',
chances: 0,
}))

}
let visit = Cookies.get('visited')

if ( !visit ) set()
else if ( visit != 'beta.2' ) set()
else if ( visit != 'rc.1' ) set()

}
const logWord = () => {
Expand Down Expand Up @@ -627,7 +627,7 @@ const logWin = () => {
xhttp.open('POST', '../api/analytics', true)
xhttp.send(JSON.stringify({
game: 'four',
version: 'beta.2',
version: 'rc.1',
recDate: M + '/' + D + '/' + Y,
chances: square[0],
}))
Expand Down
8 changes: 4 additions & 4 deletions App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,21 +578,21 @@ const logVisit = () => {

let set = () => {

Cookies.set('visited', 'beta.2', { expires: 7 })
Cookies.set('visited', 'rc.1', { expires: 7 })

let xhttp = new XMLHttpRequest()
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'visit',
version: 'beta.2',
version: 'rc.1',
chances: 0,
}))

}
let visit = Cookies.get('visited')

if ( !visit ) set()
else if ( visit != 'beta.2' ) set()
else if ( visit != 'rc.1' ) set()

}
const logWord = () => {
Expand Down Expand Up @@ -627,7 +627,7 @@ const logWin = () => {
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'standard',
version: 'beta.2',
version: 'rc.1',
recDate: M + '/' + D + '/' + Y,
chances: square[0],
}))
Expand Down
6 changes: 3 additions & 3 deletions App/practice/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,13 @@ const expiryDate = () => {
}
const logVisit = () => {

Cookies.set('visited', 'beta.2', { expires: 7 })
Cookies.set('visited', 'rc.1', { expires: 7 })

let xhttp = new XMLHttpRequest()
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'visit',
version: 'beta.2',
version: 'rc.1',
chances: 0,
}))

Expand Down Expand Up @@ -580,7 +580,7 @@ const logWin = () => {
xhttp.open('POST', '../api/analytics', true)
xhttp.send(JSON.stringify({
game: 'practice',
version: 'beta.2',
version: 'rc.1',
recDate: M + '/' + D + '/' + Y,
chances: square[0],
}))
Expand Down
8 changes: 4 additions & 4 deletions App/time/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -601,21 +601,21 @@ const logVisit = () => {
// Log visit
let set = () => {

Cookies.set('visited', 'beta.2', { expires: 7 })
Cookies.set('visited', 'rc.1', { expires: 7 })

let xhttp = new XMLHttpRequest()
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'visit',
version: 'beta.2',
version: 'rc.1',
chances: 0,
}))

}
let visit = Cookies.get('visited')

if ( !visit ) set()
else if ( visit != 'beta.2' ) set()
else if ( visit != 'rc.1' ) set()


// Site visit
Expand Down Expand Up @@ -650,7 +650,7 @@ const logWin = () => {
xhttp.open('POST', '../api/analytics', true)
xhttp.send(JSON.stringify({
game: 'time',
version: 'beta.2',
version: 'rc.1',
recDate: M + '/' + D + '/' + Y,
chances: nwords,
}))
Expand Down
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": "wordle-am",
"version": "1.0.0-beta.2",
"version": "1.0.0-rc.1",
"description": "The game of Wordle implemented in Amharic",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

1 comment on commit 57d664d

@vercel
Copy link

@vercel vercel bot commented on 57d664d May 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.