Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update parser-js to v2 #523

Merged
merged 33 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c7ba693
feat: update parser-js to v2
Souvikns Sep 20, 2023
5c90e5b
chore: fixing tests
Souvikns Sep 20, 2023
c6d4136
fix the tests
Souvikns Sep 21, 2023
c7d50d0
feat: updating adapters
Souvikns Sep 22, 2023
35a7c68
Update client.ts
Souvikns Sep 22, 2023
523b527
fix: some minor issues
Souvikns Sep 22, 2023
0d6f324
fix: code smells
Souvikns Sep 25, 2023
55881a9
fix: minor issues with parsing
Souvikns Sep 26, 2023
1181316
fix: migration mistakes
Souvikns Sep 28, 2023
e1c12f5
fix: security
Souvikns Sep 29, 2023
ddd88f3
fix: channelName and address
Souvikns Oct 2, 2023
acdb3dd
Update index.ts
Souvikns Oct 2, 2023
5124aa7
Update client.ts
Souvikns Oct 2, 2023
93e6466
fix: update parser to latest pre release
Souvikns Oct 6, 2023
1f6ccb5
fix: review changes.
Souvikns Oct 10, 2023
bd0d57a
Merge remote-tracking branch 'upstream/master' into update-parser
Souvikns Oct 11, 2023
c5828af
Update client.ts
Souvikns Oct 11, 2023
4f48945
fix: reverting markdown template
Souvikns Oct 11, 2023
893a03b
fix: review suggestions
Souvikns Oct 12, 2023
617a15c
ignore docs generation for dummy.
KhudaDad414 Oct 12, 2023
a7aec69
better error message
KhudaDad414 Oct 12, 2023
9ddc198
improve types for flight-management example
KhudaDad414 Oct 12, 2023
f2ca30b
ignore docs
KhudaDad414 Oct 12, 2023
cfb3b15
upgrade package-lock
KhudaDad414 Oct 12, 2023
e9b991d
resolve small bug
KhudaDad414 Oct 12, 2023
4a6eff5
fix(hopefully) test error
KhudaDad414 Oct 12, 2023
8bd20ed
ci: upgrade test coverage
KhudaDad414 Oct 12, 2023
c92ac97
discard changes in coverall
KhudaDad414 Oct 12, 2023
b3f57c0
Merge remote-tracking branch 'upstream/master' into pr/Souvikns/523
KhudaDad414 Oct 12, 2023
cd0801d
Update adapter.ts
Souvikns Oct 16, 2023
9715e99
chore: update to latest parser-js pre-release
Souvikns Oct 16, 2023
f0d7d84
upgrade parser
KhudaDad414 Oct 16, 2023
22ec915
Merge remote-tracking branch 'upstream/master' into pr/Souvikns/523
KhudaDad414 Oct 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions examples/crypto-websockets/client/glee.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
export default async function () {
return {
docs: {
enabled: false
},
ws: {
client: {
auth: async ({serverName}) => {
Expand Down
46 changes: 23 additions & 23 deletions examples/crypto-websockets/client/package-lock.json

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

7 changes: 7 additions & 0 deletions examples/crypto-websockets/server/glee.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default async function () {
return {
docs: {
enabled: false
},
}
}
46 changes: 23 additions & 23 deletions examples/crypto-websockets/server/package-lock.json

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

3 changes: 3 additions & 0 deletions examples/dummy/glee.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import fs from 'fs'

export default async function () {
return {
docs: {
enabled: false
},
mqtt: {
auth: async ({serverName}) => {
if(serverName === 'mosquitto') {
Expand Down
2 changes: 1 addition & 1 deletion examples/flight-management/backend/Events/allFlights.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import DatabaseManager from '../helpters/DatabaseManager.js'
import type {GleeFunctionReturn} from '@asyncapi/glee/src/lib'
import type { GleeFunctionReturn } from '@asyncapi/glee'

export default async function getFlights(airportCode: string): Promise<GleeFunctionReturn> {
const flights = await DatabaseManager.getInstance().getFlights(airportCode)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GleeFunctionReturn } from '@asyncapi/glee/src/lib/index.js'
import type { GleeFunctionReturn } from '@asyncapi/glee'
import DatabaseManager from '../helpters/DatabaseManager.js'
export default async function updateFlight(flight):Promise<GleeFunctionReturn> {
const isSuccessful = await DatabaseManager.getInstance().updateFlight(flight)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GleeFunctionReturn } from '@asyncapi/glee'
import type { GleeFunctionReturn } from '@asyncapi/glee'
import allFlights from '../Events/allFlights.js'
import updateFlight from '../Events/updateFlight.js'
export default async function (gleeEvent): Promise<GleeFunctionReturn> {
Expand Down
8 changes: 8 additions & 0 deletions examples/flight-management/backend/glee.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// import customServer from './customServer.js'
export default async function () {
return {
docs: {
enabled: false
},
}
}
Loading
Loading