Skip to content

Commit de26e3f

Browse files
committed
Fix sendPayment by updating to v0.2.1
1 parent 18e8218 commit de26e3f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"@apollo/server": "^4.11.0",
1818
"@as-integrations/next": "^3.1.0",
1919
"@auth/prisma-adapter": "^2.7.0",
20-
"@breeztech/breez-sdk-spark": "^0.1.9",
20+
"@breeztech/breez-sdk-spark": "^0.2.1",
2121
"@cashu/cashu-ts": "^2.4.1",
2222
"@graphql-tools/schema": "^10.0.6",
2323
"@lightninglabs/lnc-web": "^0.3.2-alpha",

wallets/client/protocols/spark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function withSdk (mnemonic, cb) {
1313

1414
const sdk = await connect({
1515
config,
16-
mnemonic,
16+
seed: { type: 'mnemonic', mnemonic, passphrase: undefined },
1717
// the SDK will create a IndexedDB with this name to store data
1818
storageDir: 'breez-sdk-spark'
1919
})

0 commit comments

Comments
 (0)