mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
A card subscription took any in-org userId, so a member could open a plan for another member and pay with that member's credits or balance. A caller who is not an org admin, SuperAdmin or service now subscribes their own account whatever userId names; the org's own account stays its admins'. EdgeAuth's strip list is authz.Headers plus authz.Retired, so X-User-IsOrgAdmin and X-Billing-Account-Id can no longer be set by a client; X-User-IsOrgAdmin is minted only from a verified token whose own org the request acts in. Every site the ecosystem rule decides has a test that fails under the old prefix rule, including red's repro tests. Co-authored-by: Hanzo Dev <[email protected]>
200 lines
8.6 KiB
AMPL
200 lines
8.6 KiB
AMPL
module github.com/hanzoai/commerce
|
|
|
|
go 1.27.1
|
|
|
|
require (
|
|
filippo.io/edwards25519 v1.2.0
|
|
github.com/Machiel/slugify v1.0.1
|
|
github.com/aymerick/raymond v2.0.2+incompatible
|
|
github.com/btcsuite/btcd v0.25.0
|
|
github.com/btcsuite/btcd/btcec/v2 v2.3.6
|
|
github.com/btcsuite/btcd/btcutil v1.1.6
|
|
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
|
|
github.com/cenkalti/backoff v2.2.1+incompatible
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc
|
|
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.1
|
|
github.com/dustin/go-humanize v1.0.1
|
|
github.com/flosch/pongo2 v0.0.0-20200913210552-0d938eb266f3
|
|
github.com/golang-jwt/jwt v3.2.2+incompatible
|
|
github.com/google/uuid v1.6.1-0.20241114170450-2d3c2a9cc518
|
|
github.com/gorilla/schema v1.4.1
|
|
github.com/gorilla/sessions v1.4.0
|
|
github.com/hanzo-ds/go v1.0.1
|
|
github.com/hanzoai/account v0.2.0
|
|
github.com/hanzoai/authz v1.10.29
|
|
github.com/hanzoai/base v1.5.18
|
|
github.com/hanzoai/cek v0.2.3
|
|
github.com/hanzoai/decimal v0.1.2
|
|
github.com/hanzoai/goauthorizenet v0.0.0-20180920213706-626992b83568
|
|
github.com/hanzoai/gochimp3 v0.0.0-20241127054040-6051f77e24f1
|
|
github.com/hanzoai/money v0.2.5
|
|
github.com/hanzoai/namespace v1.2.0
|
|
github.com/hanzoai/orm v0.6.26
|
|
github.com/hanzoai/pubsub-go v1.0.0
|
|
github.com/hanzoai/search-go v0.36.0
|
|
github.com/hanzoai/sendgrid-go v1.2.1-0.20260728181054-2fdddb0d8dba
|
|
github.com/hanzoai/sqlite v0.5.2
|
|
github.com/hanzoai/tasks v1.52.9
|
|
github.com/hanzokv/go/v9 v9.22.0
|
|
github.com/hanzos3/go v1.0.1
|
|
github.com/hashicorp/golang-lru/v2 v2.0.7
|
|
github.com/huandu/facebook v2.3.1+incompatible
|
|
github.com/icrowley/fake v0.0.0-20240710202011-f797eb4a99c0
|
|
github.com/keighl/mandrill v0.0.0-20170605120353-1775dd4b3b41
|
|
github.com/lib/pq v1.12.1
|
|
github.com/luxfi/crypto v1.20.2
|
|
github.com/luxfi/geth v1.20.1
|
|
github.com/luxfi/log v1.5.0
|
|
github.com/luxfi/zap v1.2.7
|
|
github.com/mholt/binding v0.3.0
|
|
github.com/mr-tron/base58 v1.3.0
|
|
github.com/netlify/netlify-go v0.1.11
|
|
github.com/onsi/ginkgo/v2 v2.28.1
|
|
github.com/onsi/gomega v1.39.1
|
|
github.com/op/go-logging v0.0.0-20160315200505-970db520ece7
|
|
github.com/pariz/gountries v0.1.6
|
|
github.com/plaid/plaid-go/v15 v15.3.0
|
|
github.com/ryanuber/go-glob v1.0.0
|
|
github.com/sendgrid/rest v2.6.9+incompatible
|
|
github.com/shopspring/decimal v1.4.0
|
|
github.com/speps/go-hashids v2.0.0+incompatible
|
|
github.com/spf13/cobra v1.10.2
|
|
github.com/square/square-go-sdk/v3 v3.0.1
|
|
github.com/valyala/fasthttp v1.72.0
|
|
github.com/zap-proto/fiber/v3 v3.2.1
|
|
github.com/zap-proto/zip v1.37.3
|
|
golang.org/x/crypto v0.54.0
|
|
golang.org/x/sync v0.22.0
|
|
)
|
|
|
|
require (
|
|
github.com/ALTree/bigfloat v0.2.0 // indirect
|
|
github.com/Masterminds/semver/v3 v3.5.0 // indirect
|
|
github.com/andybalholm/brotli v1.2.1 // indirect
|
|
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
|
|
github.com/bits-and-blooms/bitset v1.24.4 // indirect
|
|
github.com/btcsuite/btclog v1.0.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/cloudflare/circl v1.6.3 // indirect
|
|
github.com/consensys/gnark-crypto v0.20.1 // indirect
|
|
github.com/corpix/uarand v0.2.0 // indirect
|
|
github.com/crate-crypto/go-eth-kzg v1.5.0 // indirect
|
|
github.com/cronokirby/saferith v0.33.0 // indirect
|
|
github.com/decred/dcrd/crypto/blake256 v1.1.0 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/disintegration/imaging v1.6.2 // indirect
|
|
github.com/domodwyer/mailyak/v3 v3.6.2 // indirect
|
|
github.com/ethereum/c-kzg-4844/v2 v2.1.7 // indirect
|
|
github.com/fatih/color v1.19.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
|
github.com/fxamacker/cbor/v2 v2.9.1 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
|
|
github.com/ganigeorgiev/fexpr v0.5.0 // indirect
|
|
github.com/go-faster/city v1.0.1 // indirect
|
|
github.com/go-faster/errors v0.7.1 // indirect
|
|
github.com/go-ini/ini v1.67.0 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-ozzo/ozzo-validation/v4 v4.3.0 // indirect
|
|
github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
|
|
github.com/gofiber/schema v1.7.1 // indirect
|
|
github.com/gofiber/utils/v2 v2.0.4 // indirect
|
|
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
|
|
github.com/google/go-cmp v0.7.0 // indirect
|
|
github.com/google/pprof v0.0.0-20260402051712-545e8a4df936 // indirect
|
|
github.com/gorilla/rpc v1.2.1 // indirect
|
|
github.com/gorilla/securecookie v1.1.2 // indirect
|
|
github.com/grandcat/zeroconf v1.0.0 // indirect
|
|
github.com/gtank/merlin v0.1.1 // indirect
|
|
github.com/gtank/ristretto255 v0.2.0 // indirect
|
|
github.com/hanzo-ds/native v0.71.0 // indirect
|
|
github.com/hanzoai/csqlite v0.1.2 // indirect
|
|
github.com/hanzoai/dbx v1.17.2 // indirect
|
|
github.com/hanzoai/sqlcipher v0.1.1 // indirect
|
|
github.com/hanzos3/crc64nvme v1.1.2 // indirect
|
|
github.com/hanzos3/md5-simd v1.1.3 // indirect
|
|
github.com/holiman/uint256 v1.3.2 // indirect
|
|
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/pgx/v5 v5.9.1 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
github.com/klauspost/compress v1.18.6 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/klauspost/crc32 v1.3.0 // indirect
|
|
github.com/luxfi/accel v1.2.4 // indirect
|
|
github.com/luxfi/cache v1.3.1 // indirect
|
|
github.com/luxfi/consensus v1.36.11 // indirect
|
|
github.com/luxfi/constants v1.6.2 // indirect
|
|
github.com/luxfi/container v0.2.1 // indirect
|
|
github.com/luxfi/corona v0.10.4 // indirect
|
|
github.com/luxfi/crypto/ipa v1.2.4 // indirect
|
|
github.com/luxfi/dkg v0.3.5 // indirect
|
|
github.com/luxfi/ids v1.3.2 // indirect
|
|
github.com/luxfi/lattice/v7 v7.1.4 // indirect
|
|
github.com/luxfi/lens v0.2.1 // indirect
|
|
github.com/luxfi/magnetar v1.2.3 // indirect
|
|
github.com/luxfi/math v1.5.1 // indirect
|
|
github.com/luxfi/math/big v0.1.0 // indirect
|
|
github.com/luxfi/mdns v0.1.1 // indirect
|
|
github.com/luxfi/metric v1.10.0 // indirect
|
|
github.com/luxfi/mlwe v0.3.0 // indirect
|
|
github.com/luxfi/mock v0.1.1 // indirect
|
|
github.com/luxfi/pq v1.1.0 // indirect
|
|
github.com/luxfi/pulsar v1.9.2 // indirect
|
|
github.com/luxfi/sampler v1.1.0 // indirect
|
|
github.com/luxfi/threshold v1.12.3 // indirect
|
|
github.com/mattn/go-colorable v0.1.15 // indirect
|
|
github.com/mattn/go-isatty v0.0.22 // indirect
|
|
github.com/miekg/dns v1.1.72 // indirect
|
|
github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b // indirect
|
|
github.com/montanaflynn/stats v0.9.0 // indirect
|
|
github.com/nats-io/nkeys v0.4.15 // indirect
|
|
github.com/nats-io/nuid v1.0.1 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/paulmach/orb v0.13.0 // indirect
|
|
github.com/philhofer/fwd v1.2.0 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.27 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/robfig/cron/v3 v3.0.1 // indirect
|
|
github.com/rs/xid v1.6.0 // indirect
|
|
github.com/segmentio/asm v1.2.1 // indirect
|
|
github.com/sirupsen/logrus v1.9.4 // indirect
|
|
github.com/smartystreets/goconvey v1.8.1 // indirect
|
|
github.com/spf13/cast v1.10.0 // indirect
|
|
github.com/spf13/pflag v1.0.10 // indirect
|
|
github.com/stretchr/testify v1.11.1 // indirect
|
|
github.com/supranational/blst v0.3.16 // indirect
|
|
github.com/tinylib/msgp v1.6.4 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/x448/float16 v0.8.4 // indirect
|
|
github.com/zap-proto/go v1.8.3 // indirect
|
|
github.com/zap-proto/http v0.3.5 // indirect
|
|
github.com/zap-proto/mcp v1.0.5 // indirect
|
|
github.com/zeebo/blake3 v0.2.4 // indirect
|
|
go.opentelemetry.io/otel v1.44.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.44.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.uber.org/mock v0.6.0 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
|
golang.org/x/exp v0.0.0-20260529124908-c761662dc8c9 // indirect
|
|
golang.org/x/image v0.41.0 // indirect
|
|
golang.org/x/mod v0.37.0 // indirect
|
|
golang.org/x/net v0.56.0 // indirect
|
|
golang.org/x/oauth2 v0.36.0 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
golang.org/x/text v0.40.0 // indirect
|
|
golang.org/x/time v0.15.0 // indirect
|
|
golang.org/x/tools v0.47.0 // indirect
|
|
gonum.org/v1/gonum v0.17.0 // indirect
|
|
google.golang.org/protobuf v1.36.11 // indirect
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.72.3 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
modernc.org/sqlite v1.51.0 // indirect
|
|
)
|