From 78ee6d390e1303f4fbb80110ff31accc692bd8c4 Mon Sep 17 00:00:00 2001 From: Oleg Lomaka Date: Tue, 15 Aug 2023 12:43:21 -0400 Subject: [PATCH] Upgrade go-schema-processor --- auth.go | 3 ++- go.mod | 4 ++-- go.sum | 8 ++++---- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/auth.go b/auth.go index 2d3d18a..df9e904 100644 --- a/auth.go +++ b/auth.go @@ -21,6 +21,7 @@ import ( "github.com/iden3/go-iden3-auth/v2/pubsignals" "github.com/iden3/go-iden3-auth/v2/state" "github.com/iden3/go-jwz/v2" + spLoaders "github.com/iden3/go-schema-processor/v2/loaders" "github.com/iden3/go-schema-processor/v2/merklize" "github.com/iden3/go-schema-processor/v2/verifiable" "github.com/iden3/iden3comm/v2" @@ -481,5 +482,5 @@ func getDocumentLoader(docLoader ld.DocumentLoader, ipfsCli *shell.Shell, return defaultSchemaLoader } - return merklize.NewDocumentLoader(ipfsCli, ipfsGW) + return spLoaders.NewDocumentLoader(ipfsCli, ipfsGW) } diff --git a/go.mod b/go.mod index cf66a33..5e04d24 100644 --- a/go.mod +++ b/go.mod @@ -13,8 +13,8 @@ require ( github.com/iden3/go-jwz/v2 v2.0.0-20230519132540-75b6744028b1 github.com/iden3/go-rapidsnark/types v0.0.3 github.com/iden3/go-rapidsnark/verifier v0.0.5 - github.com/iden3/go-schema-processor/v2 v2.0.0-20230815084029-5f7db469e023 - github.com/iden3/iden3comm/v2 v2.0.0-20230815081925-096f73ffadc0 + github.com/iden3/go-schema-processor/v2 v2.0.0-20230815163555-a522c86691c2 + github.com/iden3/iden3comm/v2 v2.0.0-20230815163928-2aa42446429f github.com/ipfs/go-ipfs-api v0.6.0 github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f github.com/pkg/errors v0.9.1 diff --git a/go.sum b/go.sum index 045b0f3..f2daebc 100644 --- a/go.sum +++ b/go.sum @@ -125,10 +125,10 @@ github.com/iden3/go-rapidsnark/verifier v0.0.5 h1:J7y0ovrEjDQoWtZmlrp4tgGng1A9fa github.com/iden3/go-rapidsnark/verifier v0.0.5/go.mod h1:KgL3Yr9NehlFDI4EIWVLE3UDUi8ulyjbp7HcXSBfiGI= github.com/iden3/go-rapidsnark/witness v0.0.6 h1:p+6QBymSV3XWm1kB2PL2vlXxKXJN8GyWuqNJv/0PGGU= github.com/iden3/go-rapidsnark/witness v0.0.6/go.mod h1:57IHQpnvx0CeS6cAT07oN/lqwT5LRc4zicYoZ1cnAPE= -github.com/iden3/go-schema-processor/v2 v2.0.0-20230815084029-5f7db469e023 h1:Mgs3oXjhkTwfiMJ2fQvFUneISbBL75uP7GWhNd+DR/w= -github.com/iden3/go-schema-processor/v2 v2.0.0-20230815084029-5f7db469e023/go.mod h1:fuC9+rNfhMtgK9HoFXFt1xvsd6mCdAm8psUJIz80o6o= -github.com/iden3/iden3comm/v2 v2.0.0-20230815081925-096f73ffadc0 h1:vNsFVIXM5b1jjK4K5zz3Wsp+qh68lrUJWC2rn44XpNQ= -github.com/iden3/iden3comm/v2 v2.0.0-20230815081925-096f73ffadc0/go.mod h1:1jgqxr8Sdg6DJwdZ2L2bJ4BuyPP44sQ4iiJ5m8UiEpc= +github.com/iden3/go-schema-processor/v2 v2.0.0-20230815163555-a522c86691c2 h1:6uq3Hpt/kf+QpNTnKAdvkzfImyPQP0J3X1UD/laTxAY= +github.com/iden3/go-schema-processor/v2 v2.0.0-20230815163555-a522c86691c2/go.mod h1:fuC9+rNfhMtgK9HoFXFt1xvsd6mCdAm8psUJIz80o6o= +github.com/iden3/iden3comm/v2 v2.0.0-20230815163928-2aa42446429f h1:B9hw1kg2payF1/vvvlYa7CVwG9NI1e05jWqvCgNtPLQ= +github.com/iden3/iden3comm/v2 v2.0.0-20230815163928-2aa42446429f/go.mod h1:mUpiJahdnGxr73G9IJWKq82hbbcWXF8kxwr2WMsGG1U= github.com/iden3/wasmer-go v0.0.1 h1:TZKh8Se8B/73PvWrcu+FTU9L1k5XYAmtFbioj7l0Uog= github.com/iden3/wasmer-go v0.0.1/go.mod h1:ZnZBAO012M7o+Q1INXLRIxKQgEcH2FuwL0Iga8A4ufg= github.com/ipfs/boxo v0.8.0 h1:UdjAJmHzQHo/j3g3b1bAcAXCj/GM6iTwvSlBDvPBNBs=