Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
rc.2 → v1
  • Loading branch information
quantum9Innovation committed Jul 24, 2022
1 parent 52f0d5d commit 668f974
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 23 deletions.
10 changes: 5 additions & 5 deletions App/four/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -557,21 +557,21 @@ const logVisit = () => {
let set = () => {

visited = false
Cookies.set('visited', 'rc.2', { expires: 7 })
Cookies.set('visited', 'v1', { expires: 7 })

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

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

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

}
const logWord = () => {
Expand All @@ -594,7 +594,7 @@ const logInteraction = () => {
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'played',
version: 'rc.2',
version: 'v1',
chances: 0,
}))

Expand All @@ -619,7 +619,7 @@ const logWin = () => {
xhttp.open('POST', '../api/analytics', true)
xhttp.send(JSON.stringify({
game: 'four',
version: 'rc.2',
version: 'v1',
recDate: M + '/' + D + '/' + Y,
chances: square[0],
}))
Expand Down
10 changes: 5 additions & 5 deletions App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -587,13 +587,13 @@ const logVisit = () => {
let set = () => {

visited = false
Cookies.set('visited', 'rc.2', { expires: 7 })
Cookies.set('visited', 'v1', { expires: 7 })

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

Expand All @@ -603,7 +603,7 @@ const logVisit = () => {
let visit = Cookies.get('visited')

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

}
const logInteraction = () => {
Expand All @@ -612,7 +612,7 @@ const logInteraction = () => {
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'played',
version: 'rc.2',
version: 'v1',
chances: 0,
}))

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

visited = false
Cookies.set('visited', 'rc.2', { expires: 7 })
Cookies.set('visited', 'v1', { expires: 7 })

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

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

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

}
const logWord = () => {
Expand Down Expand Up @@ -580,7 +580,7 @@ const logWin = () => {
xhttp.open('POST', '../api/analytics', true)
xhttp.send(JSON.stringify({
game: 'practice',
version: 'rc.2',
version: 'v1',
recDate: M + '/' + D + '/' + Y,
chances: square[0],
}))
Expand All @@ -592,7 +592,7 @@ const logInteraction = () => {
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'played',
version: 'rc.2',
version: 'v1',
chances: 0,
}))

Expand Down
10 changes: 5 additions & 5 deletions App/time/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,21 +580,21 @@ const logVisit = () => {
let set = () => {

visited = false
Cookies.set('visited', 'rc.2', { expires: 7 })
Cookies.set('visited', 'v1', { expires: 7 })

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

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

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


// Site visit
Expand Down Expand Up @@ -629,7 +629,7 @@ const logWin = () => {
xhttp.open('POST', '../api/analytics', true)
xhttp.send(JSON.stringify({
game: 'time',
version: 'rc.2',
version: 'v1',
recDate: M + '/' + D + '/' + Y,
chances: nwords,
}))
Expand All @@ -641,7 +641,7 @@ const logInteraction = () => {
xhttp.open('POST', './api/analytics', true)
xhttp.send(JSON.stringify({
game: 'played',
version: 'rc.2',
version: 'v1',
chances: 0,
}))

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-rc.2",
"version": "1.0.0",
"description": "The game of Wordle implemented in Amharic",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down

0 comments on commit 668f974

Please sign in to comment.