Skip to content

Commit

Permalink
feat: added lobstr package to core
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquinsoza committed Apr 24, 2024
1 parent ff7053b commit ac53933
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@soroban-react/freighter": "^9.0.4",
"@soroban-react/types": "^9.0.4",
"@soroban-react/xbull": "^1.0.1",
"@soroban-react/lobstr": "^1.0.0",
"@stellar/stellar-sdk": "11.1.0"
},
"devDependencies": {
Expand Down
5 changes: 3 additions & 2 deletions packages/core/src/getDefaultConnectors.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import { freighter } from '@soroban-react/freighter'
import { lobstr } from '@soroban-react/lobstr'
import { Connector } from '@soroban-react/types'
import { xbull } from '@soroban-react/xbull'

/**
* Retrieves default wallet connectors.
* These connectors include for now 'freighter' and 'xbull'.
* These connectors include for now 'freighter', 'xbull' and 'lobstr'.
* @returns An array of default connectors.
*/
export const getDefaultConnectors = (): Connector[] => {
const list: Connector[] = [freighter(),xbull()]
const list: Connector[] = [freighter(),xbull(),lobstr()]

return list
}

0 comments on commit ac53933

Please sign in to comment.