Skip to content
This repository was archived by the owner on Jul 23, 2023. It is now read-only.

Commit f1652aa

Browse files
author
fiatjaf
committed
update so it works with btcpayserver.
1 parent 64013ae commit f1652aa

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dist: $(shell find . -name "*.go") spark-wallet/client/dist
22
mkdir -p dist
3-
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm freebsd/amd64 openbsd/amd64" -output="dist/sparko_{{.OS}}_{{.Arch}}"
3+
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm linux/arm64 freebsd/amd64 openbsd/amd64" -output="dist/sparko_{{.OS}}_{{.Arch}}"
44

55
sparko: $(shell find . -name "*.go") spark-wallet/client/dist/app.js
66
go build -o ./sparko

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ go 1.16
55
require (
66
github.com/NYTimes/gziphandler v1.1.1
77
github.com/fiatjaf/go-lnurl v1.2.0
8-
github.com/fiatjaf/lightningd-gjson-rpc v1.0.1
8+
github.com/fiatjaf/lightningd-gjson-rpc v1.4.0
99
github.com/gorilla/mux v1.7.4
1010
github.com/gorilla/securecookie v1.1.1
1111
github.com/rs/cors v1.7.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ github.com/elazarl/go-bindata-assetfs v1.0.0/go.mod h1:v+YaWX3bdea5J/mo8dSETolEo
6868
github.com/fiatjaf/go-lnurl v1.0.0/go.mod h1:BqA8WXAOzntF7Z3EkVO7DfP4y5rhWUmJ/Bu9KBke+rs=
6969
github.com/fiatjaf/go-lnurl v1.2.0 h1:3x2VYqQN1BIA+m67PhdWJR37PGWcPRZzWQX3BSLLPlY=
7070
github.com/fiatjaf/go-lnurl v1.2.0/go.mod h1:BqA8WXAOzntF7Z3EkVO7DfP4y5rhWUmJ/Bu9KBke+rs=
71-
github.com/fiatjaf/lightningd-gjson-rpc v1.0.1 h1:ERBKSzUyYm1WiFrPNr/TVTOJ8B9iotgG1END4DpelE4=
72-
github.com/fiatjaf/lightningd-gjson-rpc v1.0.1/go.mod h1:SQGA0qcY2qypaMXDQlE5V5+2MnLZzQ7NzfRsScliFeE=
71+
github.com/fiatjaf/lightningd-gjson-rpc v1.4.0 h1:Iv5tt4YuNoSMfR39wiV0tqnHYTJ85omAKuUXbBFvpt0=
72+
github.com/fiatjaf/lightningd-gjson-rpc v1.4.0/go.mod h1:SQGA0qcY2qypaMXDQlE5V5+2MnLZzQ7NzfRsScliFeE=
7373
github.com/fiatjaf/ln-decodepay v1.0.0 h1:1YUMjvLock+BicMNwoZ/OA3oG2ZYEaJ8AzdS6EGVMTQ=
7474
github.com/fiatjaf/ln-decodepay v1.0.0/go.mod h1:/LWK+ZUa3i8MqbRjIMAiVQS2+NbhwKWlwib2n446cMQ=
7575
github.com/frankban/quicktest v1.2.2/go.mod h1:Qh/WofXFeiAFII1aEBu529AtJo6Zg2VHscnEsbBnJ20=
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dist: $(shell find .. -name "*.go")
22
mkdir -p dist
3-
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm freebsd/amd64" -output="dist/invoicewithdescriptionhash_{{.OS}}_{{.Arch}}"
3+
gox -ldflags="-s -w" -osarch="darwin/amd64 linux/386 linux/amd64 linux/arm linux/arm64 freebsd/amd64" -output="dist/invoicewithdescriptionhash_{{.OS}}_{{.Arch}}"
44

55
invoicewithdescriptionhash: $(shell find . -name "*.go")
66
go build -o ./invoicewithdescriptionhash

invoicewithdescriptionhash/cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
func main() {
99
p := plugin.Plugin{
1010
Name: "invoicewithdescriptionhash",
11-
Version: "v1.0",
11+
Version: "v1.2",
1212
Options: []plugin.Option{},
1313
RPCMethods: []plugin.RPCMethod{
1414
invoicewithdescriptionhash.InvoiceWithDescriptionHashMethod,

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var sparkWallet, _ = fs.Sub(static, "spark-wallet/client/dist")
3232
func main() {
3333
p := plugin.Plugin{
3434
Name: "sparko",
35-
Version: "v2.6",
35+
Version: "v2.8",
3636
Options: []plugin.Option{
3737
{"sparko-host", "string", "127.0.0.1", "http(s) server listen address"},
3838
{"sparko-port", "string", DEFAULTPORT, "http(s) server port"},

spark-wallet

0 commit comments

Comments
 (0)