From 77044b77b87e41faf7b08f5576e51d551ed51411 Mon Sep 17 00:00:00 2001 From: jagnani73 Date: Thu, 23 Feb 2023 01:55:34 +0530 Subject: [PATCH 1/6] feat(client): v2 --- .../organization/onboarding/onboarding.tsx | 27 +++---------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/client/components/organization/onboarding/onboarding.tsx b/client/components/organization/onboarding/onboarding.tsx index c2084e2..69a2fb2 100644 --- a/client/components/organization/onboarding/onboarding.tsx +++ b/client/components/organization/onboarding/onboarding.tsx @@ -14,7 +14,7 @@ const OrganizationOnboarding: React.FC = ({ const socket = useRef(); const [qr, setQr] = useState(linkQR); - const [phase, setPhase] = useState<0 | 1 | 2>(0); + const [phase, setPhase] = useState<0 | 1>(0); const { query: { reqId }, @@ -35,14 +35,9 @@ const OrganizationOnboarding: React.FC = ({ }, }); - socket.current.on("org-auth", (data) => { - setQr(data); - setPhase(1); - }); - socket.current.on("org-claim", (data) => { setQr(data); - setPhase(2); + setPhase(1); }); } @@ -54,7 +49,7 @@ const OrganizationOnboarding: React.FC = ({ { heading: ( <> - 1/3 Connect your Wallet + 1/2 Connect your Wallet Address to deLinZK! ), @@ -78,21 +73,7 @@ const OrganizationOnboarding: React.FC = ({ { heading: ( <> - 2/3 Authenticate your - wallet address! - - ), - description: ( - <> - Once connected, we need to Authenticate your wallet address to - generate a verified claim. - - ), - }, - { - heading: ( - <> - 3/3 Claim your offer as a + 2/2 Claim your offer as a verified organization! ), From 0f6c3be1db2337247c9b9e8c0347d423fe1d17af Mon Sep 17 00:00:00 2001 From: Gita Alekhya Paul <54375111+gitaalekhyapaul@users.noreply.github.com> Date: Wed, 22 Feb 2023 23:21:47 +0530 Subject: [PATCH 2/6] fix: organization verified claim flow --- server/keys/authV2.json | 104 ++ server/keys/credentialAtomicQueryMTPV2.json | 474 +++++ server/keys/credentialAtomicQuerySigV2.json | 474 +++++ server/package.json | 4 +- server/src/index.ts | 2 + server/src/org/org.routes.ts | 2 +- server/src/org/org.service.ts | 59 +- server/src/services/polygonid.service.ts | 78 + server/src/user/user.service.ts | 23 +- server/yarn.lock | 1724 +++---------------- 10 files changed, 1428 insertions(+), 1516 deletions(-) create mode 100644 server/keys/authV2.json create mode 100644 server/keys/credentialAtomicQueryMTPV2.json create mode 100644 server/keys/credentialAtomicQuerySigV2.json create mode 100644 server/src/services/polygonid.service.ts diff --git a/server/keys/authV2.json b/server/keys/authV2.json new file mode 100644 index 0000000..b229c43 --- /dev/null +++ b/server/keys/authV2.json @@ -0,0 +1,104 @@ +{ + "protocol": "groth16", + "curve": "bn128", + "nPublic": 3, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + [ + "1", + "0" + ] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + [ + "1", + "0" + ] + ], + "vk_delta_2": [ + [ + "15934125614912710821614323121670433574627734468332981610453472911976383177228", + "13386788725021602198567425385006899728203544659933593917276469726154154017730" + ], + [ + "8759505107016263108323717548646403750748432711908544803866765373342463765424", + "13205305607413475134301212820100793870092003365382735436692046794406857938024" + ], + [ + "1", + "0" + ] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "12385314984359904314257455036963499193805822249900169493212773820637861017270", + "13455871848617958073752171682190449799364399689372987044617812281838570851280", + "1" + ], + [ + "1493564767784757620464057507283285365409721187164502463730502309417194080296", + "6377944811748764752279954590131952700069491229367911408873461121555475171995", + "1" + ], + [ + "17810471156883173964067651564103955395454521925125801510057769541384109536787", + "5548963437503981062668882632052452068705295424483999545932010198708798592260", + "1" + ], + [ + "13853274336731202523728826661915506795333516652854674163618978302237601632434", + "15420320918214290109713867361085955935385737854012308761626909938871786338011", + "1" + ] + ] +} \ No newline at end of file diff --git a/server/keys/credentialAtomicQueryMTPV2.json b/server/keys/credentialAtomicQueryMTPV2.json new file mode 100644 index 0000000..8a61379 --- /dev/null +++ b/server/keys/credentialAtomicQueryMTPV2.json @@ -0,0 +1,474 @@ +{ + "protocol": "groth16", + "curve": "bn128", + "nPublic": 77, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + [ + "1", + "0" + ] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + [ + "1", + "0" + ] + ], + "vk_delta_2": [ + [ + "1644379255755665639524620157273694289299700443812573873382829766089313318860", + "7556188580549660317988384269627745620737293209908047921156248879248956624707" + ], + [ + "4152535282542204467329585116559762832011400698522986966067931095980290970188", + "16189055543084045005292506154593172627834306869372118812851261475395122300622" + ], + [ + "1", + "0" + ] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "18422857078372859553191448164294665542345065709653989973175579679294287359551", + "19200412732094068217443600300610712526816543050849771388672029576371853469584", + "1" + ], + [ + "8966723725809147921162750050376358833176377832917899053889677861860829963550", + "11341153581665210400343795342393322577490484170009235286254673614120878647101", + "1" + ], + [ + "9879865539447750277224788967575737948914682182107587045349147439108894751377", + "21453364078164924208802775510032568576822274174182360910595757742538922255516", + "1" + ], + [ + "17271376920492004526143567349281665569798920608192890900207570109619938357965", + "17658645521956741541229716428562791784745065800560561182268097024675562826941", + "1" + ], + [ + "19447905090608570348274226795081943117318789418973470654210086113107653241278", + "3042974824199824823166471398866477356543673808199912551478342128204368365801", + "1" + ], + [ + "15156321942657123795505661861540145354490508397591060397451108946953030754823", + "2174001979857398238020783370627974461537581724230646957383343539261668427900", + "1" + ], + [ + "2893784367520422410222380456081140868086719201082394136439924349009961441119", + "6701132256860531139366218617785973102272561389281339326001731135503450776817", + "1" + ], + [ + "2682959541435350505256066121391007731952110231233962493700272969732411696733", + "17209169979288623728661647278876944748718715772457044973402738622703306817989", + "1" + ], + [ + "499562621835133157087010512036306131395989534601985940081517169655947305794", + "16171076175966316991086493265714063940602842446350652041818239810706021681879", + "1" + ], + [ + "5132244909724750316498584905084137056169137672686304456145214374629023392472", + "6546991859900461714197094468917430881377836500486013407027474610681775159396", + "1" + ], + [ + "2668576684563152354350259868353189824258528180056497740408480383980454734066", + "1535738486247883392173175472896261157323461087865457493262219315347601667500", + "1" + ], + [ + "10785473402637955729291841575016422918107164425021911175421942675184558968090", + "11345810119385896301851632457198739313674262335948445894527389358734712913516", + "1" + ], + [ + "1412993008080518728455375349826306781032689703676503984254325722611846888434", + "19781302125889607635883414978668480814071954491775541599692924120980145899599", + "1" + ], + [ + "2543531439810734534018065629410144813897832425457328128967847888580078363455", + "8290575017821769892134912565219366777438869089694072485822723325342666816008", + "1" + ], + [ + "1002922190610148990099887492211004813681538196842215269979191666109888959814", + "20619964733250977362581881412991948675311360234768187166450914392005451730358", + "1" + ], + [ + "15870912960135403856400514545374914694476998269086073865385158549754145963771", + "20684949892083599847849427854173962987156046683062436388401257024101668208599", + "1" + ], + [ + "8831502501719650739624882314498213905138374744030524531789511798263213692297", + "12841757675802823212324373320135070019627481835282469830860284467661624632496", + "1" + ], + [ + "11024979320888031984055829947181451956336570558598363948579563194733939622287", + "18997905406534827287278617121302620290169563192770621622363184450430351660574", + "1" + ], + [ + "16869449048007600468318897118524861382044610982428636771901906750236031314195", + "15438052670706503878189305795226519679700087347809533390683372366897495253782", + "1" + ], + [ + "15918279260795292593956401668763734193558830697313388423850914871334250125739", + "8390709997430195886659648328077505730920457894542918693342626584476768467556", + "1" + ], + [ + "10798377190077256499154897763066112669971641940307492798780438616745102850691", + "3612173055981570065938518906067521507588334568151689656355953453603129645964", + "1" + ], + [ + "10283501512088874941321977823410512484354301327524005689289271531565943800039", + "3413727085936726278666795560940572030581500988023163312691493343929115927124", + "1" + ], + [ + "2296275912278297097224081815998877707798340371647976495099500783107062881957", + "9398410071944512098160808850726511894933677864547346561538382995776881905238", + "1" + ], + [ + "16894600684081728341321342508855178930751254711101008689080082374710936127272", + "12161453909477382567743014045075508805093784837270549401954931244139597225085", + "1" + ], + [ + "6268487288856125630650511644329678106052302875119583489182428159711946592368", + "5841252196480850530373191299721977191681750934584486469365944205706179548638", + "1" + ], + [ + "6852882622300147668192439693377660004185303019132689479493632664567357096830", + "10882891395088061300220569909151852301817335367848038253676795263334452296409", + "1" + ], + [ + "15198590029135566791939530181694358354001166637744293674348864120420627936109", + "9367773651339063637980144228320691148645080564385341249114902167341421601663", + "1" + ], + [ + "11703644592499513786125973700632933001103077563618529422619953827430371965059", + "15268256030107099411721655429931816597474879602558228384538893152110835355985", + "1" + ], + [ + "12524529491165694702027137268186075636174656025287741413565496343080631508399", + "9372786123977825789042012545805363579046088706709621468746585656937388381431", + "1" + ], + [ + "273518393549043472687837864184789086758030869752905336300136035955706181307", + "6816952832511221459658135400694225067096307534852277283270887023904178709525", + "1" + ], + [ + "1645523311170082397413986203809923280266656698291914513085993238167303820895", + "13658793807208210506708310931635228156814129276176152104446631399468550574710", + "1" + ], + [ + "11390639911376397182713391277480364588913655592454794923096928705759144302325", + "16055052215912926403164558682533278933518124603384506647616720186625870372867", + "1" + ], + [ + "10610808074017274236947952765930252005116639779114158879106786968725592243684", + "7671742913687145209037761823969411792683583049858439139887877911509751057658", + "1" + ], + [ + "19573573343843071023372313695512762465067533761458715711343634116068133960793", + "10804759726920349984061008954923558679191390728689650000941045331420650211581", + "1" + ], + [ + "5718892343875260885646810564014097593831900510564153360691631833735918621922", + "19625601349877019059513350672441835825347413964694454283368396699203302112641", + "1" + ], + [ + "17307990529150693210709322957072714804583174025000604461211407702857003931209", + "878943824392207542314091105918684915537006706374524180092127487257207923392", + "1" + ], + [ + "5300465178852377029624865156926876561044162413284703918440541317037871183286", + "2915305225397411194819272200797185193292182665741238385087952771727267597912", + "1" + ], + [ + "9612880527467467068262006535491148962364353213124736729187536416888293209040", + "3691954621663688303277327224518417341158474651376667361300715930069929949328", + "1" + ], + [ + "4659570938283906290187099509474824502769017396752042854687823331171116966970", + "1982129089326682353432961132621675691495027987286282104478652337270349755786", + "1" + ], + [ + "9171669747307433455738879483524091533377393831008081692349023733885425842533", + "14669324918730023540806349394380936953692102382177094137706966731531850185803", + "1" + ], + [ + "8483294380952291849397541046823929049822671375665974488330551974691931088249", + "1118822438360952001976652032058766697856113279956390161343914269934471806948", + "1" + ], + [ + "16954932008548591797390692453664155464993616761337408187450399031436068691451", + "6516092349871725883853494482885384994943299298314659902835087366050305733157", + "1" + ], + [ + "20430623878625162966436844654973340404250438949453265942184796279721889554820", + "15872908111081564877987885319993945765058637105045568563559776178765096589967", + "1" + ], + [ + "175869145740468538971598041440955295445778770215511329335724056103936702436", + "1330941033907902700992214800125843240733815089710216278151743962437271604780", + "1" + ], + [ + "12355335036350381959316132638698183510834366979584100346299938102486333409651", + "4337197899687019529242916561241789784321321108925457005094595191731218061427", + "1" + ], + [ + "11278959974421454971056650663355901207164530384695376373432274315213283549762", + "842554942909243186167969515896707366900091987841678552053050312967563820752", + "1" + ], + [ + "16572128460468464946178932017061778626056300216656975648812312257038874108983", + "7496524676544202112869579855832101560057601523534017922081999640502666099689", + "1" + ], + [ + "19105814082294493715744150358143204382795031020497306458203104403838835752024", + "19715005188048319300645177575714392862985133403160061825416709189094450469753", + "1" + ], + [ + "7636982228945323104243940147526887215043114989501502228623732711434331508800", + "13982738495464494120120460721815986042347354712549997051203158421962713433676", + "1" + ], + [ + "7212703893248058395965164342811600518101083790353044441060046803166922457817", + "15288762786599409245379182027975288580639251667570444798242660670608705209235", + "1" + ], + [ + "11337214755796827361301185036423160584799766990991395953495475417562574313330", + "14282192223568265545782851423843119832895522296025493914034676871057884314807", + "1" + ], + [ + "20746519986905068147748204516567545274983109465248753666405436157746830920177", + "5984414899536508968217223729861686103766469456226858624560779213690681060402", + "1" + ], + [ + "10835401963264758836309175755802257634401811007884975246749069652194030956375", + "20233076666563354044232367680463639678769479105556538410861254285658708703420", + "1" + ], + [ + "243822971707479905147982175532573823409429573088000966949247818912169577321", + "18374229255728581891524420253592041272334490428059631108193678882576242302072", + "1" + ], + [ + "16665621857935932261398090194052412477034502749265485109104610789248649096930", + "4394568938787258691701414254311253333292906501134431595510892416905933008608", + "1" + ], + [ + "9950357876444140202359316333055625078754640885945343863436247592237465119463", + "1138728549048290935207405656653273985530868679095638406347317405009163625829", + "1" + ], + [ + "19863557297411049209678228567424529354877434574079354325913524832101308332526", + "8527626429667860262263355611120470385865138889073590553527605186068830407217", + "1" + ], + [ + "6454931913100737965253376358003045929798488773714456992517887361620467712565", + "5326712240024551961475028927056696314978192616898138298267505948927925263882", + "1" + ], + [ + "15042250519748559882627540875078570819853921036848032840277256701118024280589", + "5649902159571578160463121956645683130679194527097684396257161957099165347806", + "1" + ], + [ + "15096897533276062914425200316068732590699959101665592000874713484494800830431", + "20313177966458554724734066811247575256604932796826056754597405446083708154473", + "1" + ], + [ + "17124672994386643376379203570239948164006585373341602602872802697337228865536", + "1034249982625145986964431636683948940121344443741095836073135426238098732767", + "1" + ], + [ + "6786329514687183326195953834745659119650827869829843528091866552166007413531", + "1993645881458801646027317410951338279337068483818691999503849794459167818711", + "1" + ], + [ + "5601166702091586493063206062643823571727623876835658007413482777129841428409", + "5037705200482483083573800351985604926878171687751572424052471739482784122326", + "1" + ], + [ + "12517743032864053125136342570911419464259163379595553834414011868353108191599", + "15318308882908411135628870052674621303091373949504950064687713217509534263616", + "1" + ], + [ + "2720076584159722030644911803109842442973174751015986695246040593821498987517", + "6073106188050137778500476835712188492016074470565039712583218556941277893695", + "1" + ], + [ + "6072412759015559745976615160843960952517043392197448868050821137463119699799", + "11697820246239769847517681526356370124485294496334591385652822729517455816263", + "1" + ], + [ + "14218939431514583760169339971126914781164242455722086424744905020963433287253", + "1239871915323004456937785384528292474791919374060128150903363984409371850053", + "1" + ], + [ + "8387324433281274425414022898278760672945100111518697527852082193344751454886", + "5589006578670031279992593208025532258965044721350145546467657955535328825951", + "1" + ], + [ + "21615450483089399676059755315641193001798326355023690261884634016377584537760", + "10956155007380443561435691838052280090538388505191022308074967521520083662819", + "1" + ], + [ + "216446200713786284729733446575921700734085159824299226438396861091476902009", + "13844554435458360555419931531505822549409871042801949625799040630213897945120", + "1" + ], + [ + "9845971582412603975624980875697041252601141575674463764818906420682062211318", + "1541017164427640523004714101054634990123563920021310542692226961701567976926", + "1" + ], + [ + "1204229363117598338427021726830976171601871025347145772643221171662262684058", + "3690138767954927564625982017409119462210512389179169664323854093643671574661", + "1" + ], + [ + "17447195784314061576734074992306359578375369517939049547706017414211939990948", + "5224769475162921324539668905049572257714496627544607906446249174566771227829", + "1" + ], + [ + "13126571971650265371015826140101898742548802556718166762709215223240837280512", + "4690349372257300850033015163519866378891105455880081651346259355150267250533", + "1" + ], + [ + "21063429119858892196984159725113911698991549202459080500178175790766238358869", + "7912342920305948383152463874981556321577003229794067565185588863006975486779", + "1" + ], + [ + "1617209403466779091458035238367795741637095004483882576008873822959780975681", + "11949429827523506994129552860898322068244208587609870060632189121669082060574", + "1" + ], + [ + "17419887907072158078351093176677693169251831632205134986750364946088731582087", + "9178252111851939224017025851693510236346605583176672118134620364375005187172", + "1" + ], + [ + "15309663281578759488226592812361926542424721970055480411147967135175426869247", + "13088871215177201383996211899405549173916825387544384325828612069408611872675", + "1" + ] + ] +} \ No newline at end of file diff --git a/server/keys/credentialAtomicQuerySigV2.json b/server/keys/credentialAtomicQuerySigV2.json new file mode 100644 index 0000000..65fc8b5 --- /dev/null +++ b/server/keys/credentialAtomicQuerySigV2.json @@ -0,0 +1,474 @@ +{ + "protocol": "groth16", + "curve": "bn128", + "nPublic": 77, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + [ + "1", + "0" + ] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + [ + "1", + "0" + ] + ], + "vk_delta_2": [ + [ + "94086484245612286241184073311986077918425211631674599706523220655149342939", + "9066276963657894725757757487225537372173116727614372653696187043001221518998" + ], + [ + "3327364283265612114403912214795791325281389316262923243431510926287241284864", + "14359594691603603310505775002171568388983231776478551485379790891637661560036" + ], + [ + "1", + "0" + ] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "82858741371846418102390975654111682337499684659569272071403747441178775094", + "4286912121744489803335872688967541084060786471335097977275283322008748340788", + "1" + ], + [ + "2949292283195261203307481545407020289663288337904117332935641624369320632240", + "4895868961372318516427313051068589418900672425971040539274101100343980810774", + "1" + ], + [ + "4283138832985371893627053916321257875901863688069679108552360851257151597412", + "12301445626126932387280175924125479080740113735715055950924670609729124190207", + "1" + ], + [ + "11403809675918608249249090476998815481360885938257614779638377601415472359725", + "10370383889744288167730128292551983273910856935841190320403487139321945926331", + "1" + ], + [ + "146046474957242547231947902105279535658945942556306365105970828598652582527", + "19316391077135032736180617854925909709408388622932141258157985352356274532963", + "1" + ], + [ + "19392288121313736624150032390760791125928224365133434019677559994823666881089", + "16678649776488360981633823784602747916355420844155287963893744273416034228821", + "1" + ], + [ + "17700244988293823646570920639274788254338288455367989082935279790186368535035", + "9321729693794775981089306312375631163270588069455137620052333218103779355408", + "1" + ], + [ + "6304242739428065891345661929109377623420995931327428546798256748327063014748", + "10780954993779202198998690148500166760839127869483280185479097694857479543720", + "1" + ], + [ + "15890615372155272172271387761362992284949685750813721764642195772457152019165", + "16926364370539068089248210833120023205713972276708964692683476649740531300907", + "1" + ], + [ + "8982718515991384638670171335434300220939254007691698916481977516501727365353", + "19933274338973273645600209826788464024915126306902861441259660444347103717011", + "1" + ], + [ + "13624813441697027269419893255557978801536200641544726966141640956028191608323", + "14568380736652140809608442081925020674177705472939839035342120687477258992462", + "1" + ], + [ + "7287001243757652147041978755465708957323122739823909998863775376965394099650", + "8194529377789992862935644002017654759465911480466382895596098893998234618850", + "1" + ], + [ + "15672609491810685215081462552663762421452118634631233092085621737595234267652", + "2904325643405367825992406778236164206511504644734317609359066533215328475457", + "1" + ], + [ + "915419396354435358079156433856200252628133349566107753168383098995762031654", + "7640503160883357453422046063266912192061137337928989362670501928245645451659", + "1" + ], + [ + "14233801682464959754511413505122573904411742927995284652060293502655728201014", + "16894634587173766457107177463154201142416235583146961458016001995514241600797", + "1" + ], + [ + "865637081385889540821011982382409477264012478881380726208863605069542609927", + "2851681816679478967076297609298375717665401236464133109800669778140378240569", + "1" + ], + [ + "14583623854715049637997176036159291974860261686624791798735868439140771963929", + "6184396208904580798818208852802256520753949645935054330532118256917410168729", + "1" + ], + [ + "7340832411020963493191281149327227244123195086114916154649774645956361514808", + "15074654768397897175094344665304877372038748718786237401937087336643412854581", + "1" + ], + [ + "19226322861612796019283465663964339481922670365980090908059633666493003526920", + "4784769513565224451763088600366892575717723263716353119873721504223139128187", + "1" + ], + [ + "4012352361946387705819729346828208464133226668583289635600033112445603056095", + "16057116501864906353475966636435162596350251241825748835463929049616401925621", + "1" + ], + [ + "17699015327677133433762523603786186670660923725134988336625372092121404781352", + "20779678450565816831584776337126804401686084032081969015904070067714797666579", + "1" + ], + [ + "7110239219642171000502622847102158151023059843711231146792904825853085995446", + "13160112334708882478456144620242292286930388110897910022916805337362636596223", + "1" + ], + [ + "18572966839469907925154251914990082086889869375548359485092736092666901883458", + "2717317841156606824568938974067202962925196229862100442399526546853487033983", + "1" + ], + [ + "18220496879414149572832879223762015215122990853285228408008689887370853115800", + "20936442965528445732757109001578889091199378707564445483449611217812774527300", + "1" + ], + [ + "12232077851023924549383437896602730279522249237260024995597446142400396114435", + "6563047663035805798395574221466154696714942622556424013116465603874844109521", + "1" + ], + [ + "12109591576870421145669126698637125260126292886167173093152618373092533930060", + "4838150475568627509687345029028244688244087639289765225238388542584247749631", + "1" + ], + [ + "11686953332615374166413400118993933874772588790879032818717674616364110119003", + "997777557714243682580030314729391031075903187098529888297775331753993942129", + "1" + ], + [ + "17856019272291166215824899590072473034447333075695359997293931405627546425641", + "20847076087560230989541971055803462020430493691416327989998676442287723694850", + "1" + ], + [ + "3719233446259090602031823947643646288707755415354997947878759420203354178997", + "8365343103859542659965068947238411148203250330874262347086737251125778319916", + "1" + ], + [ + "11510913293380810758607591029811272398780473934028209478267236534219159061926", + "21487940007144748529535209675246355785366971140524949831759963463815763342086", + "1" + ], + [ + "1320866581863043338512589290197401952944129485739535713341560521800016476945", + "2493558738654724256478579784099858256156921863307444062868905210334526715644", + "1" + ], + [ + "17921519492985568040647785518984679305231500205599581370398502174410641627915", + "7509747881493316986520702491460493363464636273816319210975041613994864176359", + "1" + ], + [ + "3430712548343353484542829031470422149014035558383953986112467142255149482517", + "14550495557052814428641743686592474039195116676265817238933308829823014113648", + "1" + ], + [ + "15404982231804436812797545928371130848106957647851884888070752463417657014850", + "4611196330294175143659018144962441564350289800068036864557333922145119754928", + "1" + ], + [ + "15263701692315698223820596911784671235943493678301007311780033091137667408294", + "604902718763398072835765087427553474161374630152901938069702903322739720901", + "1" + ], + [ + "20244489449718281224771972382454688977944613519370226595741543942193818865707", + "19005325000779061572105038900407210855167193186325179384744370456674531846752", + "1" + ], + [ + "17905734409676470389691612532757732246970469909527519932162818478447075527708", + "14786147027096263915511297996292826847659087062694857723516642286999030404099", + "1" + ], + [ + "13170413525057177027118218806689559566136892856728098698757124284101508780041", + "21138656039297587744247525334341823578219773225144796878223492790449265984236", + "1" + ], + [ + "17336985422666489495917434298152259228601087998778158909593038947037047437034", + "17640592272124615371604215593775167886611551365178888179149933534238084536035", + "1" + ], + [ + "13115497681355919008843671294553575734811415225866638680245661303800809177454", + "11101396909544211706087319187611419845994320778819031170997345351820871301500", + "1" + ], + [ + "5062223967757742841418833629304894504824711871486969640422734949713212037564", + "5995745391558201393058938510743066155455293405187491263678494062578649392537", + "1" + ], + [ + "10769448662035944503588756967807107248531839233480897019708757162346507533856", + "17683311668907780400377940051769789887732541265829205574046296993672760170234", + "1" + ], + [ + "18909222506084760520118400904387222253545995580483849260301107047056625024809", + "4739939423481558802886855387063931149245914588665635776355445541037716874191", + "1" + ], + [ + "237258354423629009139604512345017099458104648744590151045267949108836136046", + "8398477677610482726525801716151367352299183871166696265021289782422497361573", + "1" + ], + [ + "21614899156845209369731734601334455382216240765307343061569649838763541939674", + "19737392631718395415895070591908882100913238716433370918711613904255554425863", + "1" + ], + [ + "11583018052272400568802079643913527066888050377899679393339799714495380661286", + "18731342198059952174455684263813783627914005022231316888089150078895916324047", + "1" + ], + [ + "1800355436595083773914109207841543211385162586213879300974211146987134123202", + "13948211457427522096477007682338343714710607448417503368661334375180794438646", + "1" + ], + [ + "12380151495516055715423974838724751018509187196044814610299179374420946317150", + "15604417067169603747798399311766223987091027902169069371143436781729299657321", + "1" + ], + [ + "15586796314575179431439068400563064768255110456857949233401991221744972388290", + "6869029658475871438252091552567541171158916510785162784566374960655529514541", + "1" + ], + [ + "9454259555969046405835114554840573800894460654638881697884905397762877591671", + "15649504506074833196199868121136622617218927420004842806076140919475722131828", + "1" + ], + [ + "10896479167947716665298047581223743449173173843441842077252741245744005867502", + "19466843112239886558867945418277977036987004293914397183376561940538353431523", + "1" + ], + [ + "21093729272413526398302027094496286062183285233963676469751711501691030254808", + "5616302988725848953380515455651462166436866513193168038457367334604897142643", + "1" + ], + [ + "9162526928276135317390642844528140151219934473125754385250619863694467527200", + "2704506477496217427068410968125378104897220198385366379780167188967641057115", + "1" + ], + [ + "2611703957607573998187347531547663551663457287415444888228409918854708173921", + "16503183711195222950599750913705688322318608987024302010766325034010085416942", + "1" + ], + [ + "11144191723062275260143093129552752703141874383079896857211309008338415817157", + "16781709265403451651508663495722707593571471440254748275969368360531033950981", + "1" + ], + [ + "16812964624232834362158259778644306304990898865384873094141859868591196349911", + "13922581405000464856568387775868339864861250228661168312914123793152293400444", + "1" + ], + [ + "7757513072166428505849658731723708923254564692050157984152317397804988815683", + "10596938418787218858764915380828895440118767426036644517687291298143168844310", + "1" + ], + [ + "776963606617916676505305527193906634173028085645966206654629945039284611047", + "10912266632936528293222094364131226803541316295737642239229481058897029295382", + "1" + ], + [ + "16373521723700098997684769703648529905132042031831109132237638798191456108024", + "11103461808206383275179890639579495748275557033587467729454195698739957928818", + "1" + ], + [ + "12824183511411995663633068443784430488868221252426812112737116307753322360649", + "16623259457237877334961209654722086328478084586497591770992246134732053248864", + "1" + ], + [ + "4440204567609318598244879167103963411704795015851735842148385354806120614776", + "439254538132916792300814825054431063060942088144912111780551400772555518726", + "1" + ], + [ + "12550163747027957708679416133057345303366416863124571412695635212042254660231", + "8088733548936346769418714493856651195585281586259855084725506021681259615995", + "1" + ], + [ + "601695970176955369889380617598670451586934521316364158397268786862817318324", + "8177591911722905772853175277543921812590123868553367351838538360889195534445", + "1" + ], + [ + "21420783745411266284334793892673128470907336626528172424997282710543407678562", + "815896668203600154924756799739505300427469299180041621997534085009087797462", + "1" + ], + [ + "5985108217900335996495740885137329434596043615956659372441003017431913541049", + "12400136587102116035870838109370183374536730415523630490626751552251898583723", + "1" + ], + [ + "19164864123547614924145477596845278488377820092261133057871046801697026504830", + "9058096638083409870599642989053208885699231157685473105338357045834902352657", + "1" + ], + [ + "5625208601612291266473410363212052500521534296123171244974430101397304128598", + "20032223272677310984797975395155189489741584704900355338539941675727215575834", + "1" + ], + [ + "19722119258760509259002736097441021306020824312273305874398252765749858625383", + "21476284183336273518938142350498253130780475874465538560639647841713873409967", + "1" + ], + [ + "16214582901276753122992657437576487460434296014671145602237720787074011098320", + "14638014587762532725758011227519785515588402732574136404578917712064567856285", + "1" + ], + [ + "21242009997783861714463438145352831066649780964520311892324662965942254722206", + "17000102442647549832409557151546317734552217997144722436132435910128720474199", + "1" + ], + [ + "3901540629460292660569097126645101425134163883949632616895230751480848213369", + "15462697656409662538566017032586328247938424512432827105504267029364730924622", + "1" + ], + [ + "13589690411326512053318122778970095131969288693012374077657080517788789407345", + "3256080065084142457753800788670092375263661907651111479712628200718368447047", + "1" + ], + [ + "80867775087231075346193177024922594793617447013874226020788299753946699495", + "18692751692376633351750143580480221941277275632746814828053833446777751678844", + "1" + ], + [ + "12208564838188569361021574820173956567515251256529477811689323941001064824558", + "14719028828276200987004700519998864320546393568625959778339171591168779343802", + "1" + ], + [ + "11487733918945328878091426687312208948265605735490434820651127086706421059773", + "12884027668625422693735810500338290593888443327897978424106732856151809328547", + "1" + ], + [ + "20632552305904865953323352410960265689821616276406781145263037394521803318607", + "2807465385289781642965528502072388424070031841212619812619243814164168949956", + "1" + ], + [ + "15762698488851251645720011145875054676705544433397646684075263620983096891945", + "1298669502852138604153414592011225832117552495360099510102598347062068301160", + "1" + ], + [ + "11129488032579072454261600806944244717606891316794143410356402368489165589130", + "17038312956321424279807397639106394935887287800511404015727988253317547071041", + "1" + ] + ] +} \ No newline at end of file diff --git a/server/package.json b/server/package.json index 68bee41..fa97731 100644 --- a/server/package.json +++ b/server/package.json @@ -13,7 +13,7 @@ "@types/jsonwebtoken": "^9.0.1", "@types/localtunnel": "^2.0.1", "@types/multer": "^1.4.7", - "@types/node": "^18.11.18", + "@types/node": "^18.14.0", "@types/nodemailer": "^6.4.7", "@types/uuid": "^9.0.0", "tsc": "^2.0.4", @@ -21,7 +21,7 @@ "typescript": "^4.9.4" }, "dependencies": { - "@iden3/js-iden3-auth": "0.1.6", + "@iden3/js-iden3-auth": "^1.0.0-beta.2", "@supabase/supabase-js": "^2.7.0", "aws-sdk": "^2.1309.0", "axios": "^1.3.1", diff --git a/server/src/index.ts b/server/src/index.ts index f5a7200..ba43a73 100644 --- a/server/src/index.ts +++ b/server/src/index.ts @@ -10,6 +10,7 @@ import SupabaseService from "./services/supabase.service"; import adminRoutes from "./admin/admin.routes"; import EmailService from "./services/email.service"; import TokenService from "./services/token.service"; +import PolygonIDService from "./services/polygonid.service"; import userRoutes from "./user/user.routes"; import jobRoutes from "./jobs/jobs.routes"; @@ -61,6 +62,7 @@ Promise.all([ SupabaseService.initSupabase(), EmailService.initEmailClient(), TokenService.initTokenService(), + PolygonIDService.initService(), ]) .then((_) => { const server = app.listen(process.env.PORT!, async () => { diff --git a/server/src/org/org.routes.ts b/server/src/org/org.routes.ts index f0070c6..80a9be0 100644 --- a/server/src/org/org.routes.ts +++ b/server/src/org/org.routes.ts @@ -178,7 +178,7 @@ const handleOrgSignUpCompleteCallback = async ( console.dir(result, { depth: null }); const orgDid = result?.from!; const orgId = await storeOrgDid(orgDid, sessionId); - await generateOrgClaim(sessionId); + await generateOrgClaim(sessionId, orgDid); await clearSignupCache(orgId, sessionId); res.send("OK"); } catch (err) { diff --git a/server/src/org/org.service.ts b/server/src/org/org.service.ts index e74e17c..abb09dd 100644 --- a/server/src/org/org.service.ts +++ b/server/src/org/org.service.ts @@ -10,6 +10,7 @@ import SupabaseService from "../services/supabase.service"; import EmailService from "../services/email.service"; import { getAdminAuthToken } from "../admin/admin.service"; import TokenService from "../services/token.service"; +import PolygonIDService from "../services/polygonid.service"; export type Attributes = Array<{ attributeKey: string; @@ -19,6 +20,7 @@ export type Attributes = Array<{ export const generateAuthQr = async (sessionId: string) => { const hostUrl = (await TunnelService.getTunnel())?.url; const cache = await CacheService.getCache(); + const issuerDid = await PolygonIDService.getIssuerDID(); const request = auth.createAuthorizationRequestWithMessage( "Sign in as a verified organization into deLinZK.", "I hereby verify that I am an verified organization of deLinZK.", @@ -31,18 +33,15 @@ export const generateAuthQr = async (sessionId: string) => { console.log("Request ID set as:", requestId); const proofRequest: protocol.ZKPRequest = { id: 1, - circuit_id: "credentialAtomicQuerySig", - rules: { - query: { - allowedIssuers: [process.env.POLYGONID_ISSUERDID!], - schema: { - type: "deLinZK Verified Organization", - url: "https://s3.eu-west-1.amazonaws.com/polygonid-schemas/fea6164e-c164-4ce1-b204-4e841698ac33.json-ld", - }, - req: { - verified: { - $eq: 1, - }, + circuitId: "credentialAtomicQuerySigV2", + query: { + allowedIssuers: [issuerDid], + type: "ProofOfdeLinZKVerifiedOrganization", + context: + "https://gist.githubusercontent.com/gitaalekhyapaul/c6d618a224a640655fa0b4c0fed274ec/raw/delinzk-verified-org.json-ld", + credentialSubject: { + isdeLinZKVerified: { + $eq: 1, }, }, }, @@ -74,13 +73,12 @@ export const authVerify = async ( const sLoader = new loaders.UniversalSchemaLoader("ipfs.io"); const ethStateResolver = new resolver.EthStateResolver( `https://polygon-mumbai.g.alchemy.com/v2/${process.env.ALCHEMY_APIKEY}`, - "0x46Fd04eEa588a3EA7e9F055dd691C688c4148ab3" - ); - const verifier = new auth.Verifier( - verificationKeyLoader, - sLoader, - ethStateResolver + "0x134B1BE34911E39A8397ec6289782989729807a4" ); + const resolvers = { + ["polygon:mumbai"]: ethStateResolver, + }; + const verifier = new auth.Verifier(verificationKeyLoader, sLoader, resolvers); try { const authRequest = (await cache?.get( `delinzk:auth-request:${sessionId}` @@ -349,27 +347,12 @@ export const generateClaimAuth = async ( }; }; -export const generateOrgClaim = async (sessionId: string) => { - const claimParams: Attributes = [ - { - attributeKey: "verified", - attributeValue: 1, - }, - ]; - const claimOfferId = await generateClaimOffer( - process.env.POLYGONID_CLAIMSCHEMAID_VERIFIED_ORG!, - claimParams - ); - const { qrCode: claimQr, claimOfferSessionId } = await generateClaimAuth( - claimOfferId - ); +export const generateOrgClaim = async (sessionId: string, orgDid: string) => { + const qrData = await PolygonIDService.createVerifiedOrgClaim(orgDid); const socket = await SocketService.getSocket(); - socket.to(sessionId).emit("org-auth", JSON.stringify(claimQr)); - Promise.all([checkClaimStatus(claimOfferId, claimOfferSessionId)]).then( - (qrCodeData) => { - socket.to(sessionId).emit("org-claim", JSON.stringify(qrCodeData[0])); - } - ); + console.log("Claim generated for verified organization:"); + console.dir(qrData, { depth: null }); + socket.to(sessionId).emit("org-claim", JSON.stringify(qrData)); }; export const checkClaimStatus = async (offerId: string, sessionId: string) => { diff --git a/server/src/services/polygonid.service.ts b/server/src/services/polygonid.service.ts new file mode 100644 index 0000000..8b5ab62 --- /dev/null +++ b/server/src/services/polygonid.service.ts @@ -0,0 +1,78 @@ +import Axios, { AxiosInstance } from "axios"; +class PolygonIDService { + private static apiInstance: AxiosInstance; + private static issuerDid: string; + public static async initService() { + try { + if ( + process.env.POLYGONID_BASEURL && + process.env.POLYGONID_AUTH_USERNAME && + process.env.POLYGONID_AUTH_PASSWORD && + process.env.POLYGONID_ISSUER_DID + ) { + this.issuerDid = process.env.POLYGONID_ISSUER_DID; + this.apiInstance = Axios.create({ + baseURL: + `${process.env.POLYGONID_BASEURL}/v1/${process.env.POLYGONID_ISSUER_DID}`!, + auth: { + username: process.env.POLYGONID_AUTH_USERNAME!, + password: process.env.POLYGONID_AUTH_PASSWORD!, + }, + }); + const { data } = await this.apiInstance.post(`/state/publish`); + console.log( + "Polygon ID Service initiated! Issuer identity publish state results:" + ); + console.log(JSON.stringify(data)); + } else { + console.error( + "Variables not set! Please set the following environmental variables: POLYGONID_BASEURL, POLYGONID_AUTH_USERNAME, POLYGONID_AUTH_PASSWORD, POLYGONID_ISSUER_DID" + ); + process.exit(1); + } + } catch (err) { + console.error("PolygonIDService not initialized:", err); + process.exit(1); + } + } + public static async getService() { + if (!this.apiInstance) { + await this.initService(); + } + return this.apiInstance; + } + public static async getIssuerDID() { + if (!this.issuerDid) { + await this.initService(); + } + return this.issuerDid; + } + public static async createVerifiedOrgClaim(orgDid: string) { + try { + const { data } = await this.apiInstance.post("/claims", { + credentialSchema: process.env.POLYGONID_CLAIMSCHEMA_VERIFIED_ORG!, + type: "ProofOfdeLinZKVerifiedOrganization", + credentialSubject: { + id: orgDid, + isdeLinZKVerified: 1, + }, + }); + const claimId = data.id; + const { data: qrData } = await this.apiInstance.get( + `/claims/${claimId}/qrcode` + ); + return qrData; + } catch (err) { + console.error("Error in creating verified organization claim!"); + console.error(err); + throw { + errorCode: 500, + name: "Polygon ID Error", + message: "Error in creating verified organization claim!", + polygonIdError: err, + }; + } + } +} + +export default PolygonIDService; diff --git a/server/src/user/user.service.ts b/server/src/user/user.service.ts index 698dcd8..6b1749a 100644 --- a/server/src/user/user.service.ts +++ b/server/src/user/user.service.ts @@ -7,6 +7,7 @@ import { auth, protocol } from "@iden3/js-iden3-auth"; import SupabaseService from "../services/supabase.service"; import EmailService from "../services/email.service"; import KeyServices from "../services/key.service"; +import PolygonIDService from "../services/polygonid.service"; export interface UpdateUserData { about: string; @@ -298,6 +299,7 @@ export const generateProofQr = async ( ) => { const hostUrl = (await TunnelService.getTunnel())?.url; const cache = await CacheService.getCache(); + const issuerDid = await PolygonIDService.getIssuerDID(); const request = auth.createAuthorizationRequestWithMessage( "Verify your Proof-of-Employment issued via deLinZK.", "I hereby verify that I have a Proof-of-Employment issued by a deLinZK verified organization.", @@ -313,18 +315,15 @@ export const generateProofQr = async ( const proofRequest: protocol.ZKPRequest = { id: 1, - circuit_id: "credentialAtomicQuerySig", - rules: { - query: { - allowedIssuers: [process.env.POLYGONID_ISSUERDID!], - schema: { - type: "deLinZK Proof-of-Employment", - url: "https://s3.eu-west-1.amazonaws.com/polygonid-schemas/77ea9cef-ebf0-4a71-9f49-d9fa7f4c6711.json-ld", - }, - req: { - poeHash: { - $eq: poeHash, - }, + circuitId: "credentialAtomicQuerySigV2", + query: { + allowedIssuers: [issuerDid], + type: "deLinZKProofOfEmployment", + context: + "https://gist.githubusercontent.com/gitaalekhyapaul/d13f9429ba2dabbb3764f3ff2656d29c/raw/delinzk-proof-of-employment.json-ld", + credentialSubject: { + poeHash: { + $eq: poeHash, }, }, }, diff --git a/server/yarn.lock b/server/yarn.lock index 90f662b..6b2f342 100644 --- a/server/yarn.lock +++ b/server/yarn.lock @@ -9,31 +9,16 @@ dependencies: regenerator-runtime "^0.13.11" -"@ethereumjs/common@2.5.0": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.5.0.tgz#ec61551b31bef7a69d1dc634d8932468866a4268" - integrity sha512-DEHjW6e38o+JmB/NO3GZBpW4lpaiBpkFgXF6jLcJ6gETBYpEyaA5nTimsWBUJR3Vmtm/didUEbNjajskugZORg== - dependencies: - crc-32 "^1.2.0" - ethereumjs-util "^7.1.1" - -"@ethereumjs/common@^2.5.0": - version "2.6.5" - resolved "https://registry.yarnpkg.com/@ethereumjs/common/-/common-2.6.5.tgz#0a75a22a046272579d91919cb12d84f2756e8d30" - integrity sha512-lRyVQOeCDaIVtgfbowla32pzeDv2Obr8oR8Put5RdUBNRGr1VGPGQNGP6elWIpgK3YdpzqTOh4GyUGOureVeeA== - dependencies: - crc-32 "^1.2.0" - ethereumjs-util "^7.1.5" - -"@ethereumjs/tx@3.3.2": - version "3.3.2" - resolved "https://registry.yarnpkg.com/@ethereumjs/tx/-/tx-3.3.2.tgz#348d4624bf248aaab6c44fec2ae67265efe3db00" - integrity sha512-6AaJhwg4ucmwTvw/1qLaZUX5miWrwZ4nLOUsKyb/HtzS3BMw/CasKhdi1ims9mBKeK9sOJCH4qGKOBGyJCeeog== +"@digitalbazaar/http-client@^3.2.0": + version "3.3.0" + resolved "https://registry.yarnpkg.com/@digitalbazaar/http-client/-/http-client-3.3.0.tgz#2748c647fc002c022b4b808aaf487b53f1a57667" + integrity sha512-xg/DFl+TsgkFi7xsH9AIU0wGPaw3AhwhVC8Gs2/v1h/XnvImIc8fKFGpW9uU0nP9EXw/N4jEEhkOY1oe8Nv4Cw== dependencies: - "@ethereumjs/common" "^2.5.0" - ethereumjs-util "^7.1.2" + ky "^0.33.2" + ky-universal "^0.11.0" + undici "^5.15.0" -"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0": +"@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== @@ -308,7 +293,7 @@ "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.6.2", "@ethersproject/transactions@^5.7.0": +"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== @@ -388,12 +373,23 @@ fastfile "0.0.20" ffjavascript "^0.2.48" -"@iden3/js-iden3-auth@^0.1.6": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@iden3/js-iden3-auth/-/js-iden3-auth-0.1.6.tgz#c9f2bad14860b1ade283c82b39898e85b84ded60" - integrity sha512-Ws7Kk4U7Pxz5NsD2HO3N4Nuf4c4w3CMY3sHECI7iS0GD0q9yudOzx25l/UFM0KEpJSHX33QCrXnOMSWq9NH8nw== +"@iden3/js-crypto@1.0.0-beta.0", "@iden3/js-crypto@v1.0.0-beta.0": + version "1.0.0-beta.0" + resolved "https://registry.yarnpkg.com/@iden3/js-crypto/-/js-crypto-1.0.0-beta.0.tgz#97722ec63b12d93fa57c98e13c90a9c1ca6808f8" + integrity sha512-T+aC/MInoAPhutGTSCIUN7dwSS72C4QrXF0Cjd5OlQdlv7HpamFRo4ma+trMGSIwgCvhmjDrslP4uhSMxWLYww== dependencies: - "@iden3/js-jwz" "0.1.3" + blake-hash "^2.0.0" + ffjavascript "^0.2.57" + +"@iden3/js-iden3-auth@^1.0.0-beta.2": + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/@iden3/js-iden3-auth/-/js-iden3-auth-1.0.0-beta.2.tgz#5ae4432014511b3e9c1eaadb5246f27dbef99bd6" + integrity sha512-/g/bvD6pg0kvYqvFz6NfXp3xe0remHC1DYXC05n+ywUqkCGU+vUmDW1JBNwGGo+PeToOVLnejxO3NlAi6cbahg== + dependencies: + "@iden3/js-iden3-core" "1.0.0-beta.0" + "@iden3/js-jsonld-merklization" "^1.0.0-beta.0" + "@iden3/js-jwz" "1.0.0-beta.1" + "@iden3/js-merkletree" "1.0.0-beta.0" axios "^0.27.2" base58-js "^1.0.0" cross-sha256 "^1.2.0" @@ -406,17 +402,45 @@ tslib "^2.4.0" uuid "^8.3.2" -"@iden3/js-jwz@0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@iden3/js-jwz/-/js-jwz-0.1.3.tgz#4be54d9ecbe3b0e912aef1b59f975556bcd3a1dd" - integrity sha512-wk/W4/RdpTpoNz6Ps4GO7jm7FD2tz0ryas6WyVV/NRy9g+El45TytSKRUCWi140fXKptuqNNer37mMTiBObvew== +"@iden3/js-iden3-core@1.0.0-beta.0": + version "1.0.0-beta.0" + resolved "https://registry.yarnpkg.com/@iden3/js-iden3-core/-/js-iden3-core-1.0.0-beta.0.tgz#4c13447272642714da65b6b0f38fa4d05788e955" + integrity sha512-+xxJcKFDJuz5hLMIDGxeC8w+TPeOqndgphnqGviGR0H4jlXs9xmdQUarH+x6IEndhn3Y7MbpXEnNBnA6xIZCTQ== dependencies: + "@iden3/js-crypto" "1.0.0-beta.0" + base58-js "^1.0.4" + cross-sha256 "^1.2.0" + +"@iden3/js-jsonld-merklization@^1.0.0-beta.0": + version "1.0.0-beta.1" + resolved "https://registry.yarnpkg.com/@iden3/js-jsonld-merklization/-/js-jsonld-merklization-1.0.0-beta.1.tgz#643b8ac2038ba36a7834beee437621eca8400985" + integrity sha512-sxjk9HvlIWSujFNVmb30bmqK+ZSFSwybK2zyUT3r977IkFklrJNcGgvnOm+Q/tztmGfOKNbkhfdjV7u/bXvb7Q== + dependencies: + "@iden3/js-crypto" v1.0.0-beta.0 + "@iden3/js-merkletree" v1.0.0-beta.0 + jsonld "8.1.0" + jsonld-context-parser "^2.2.2" + n3 "^1.16.3" + +"@iden3/js-jwz@1.0.0-beta.1": + version "1.0.0-beta.1" + resolved "https://registry.yarnpkg.com/@iden3/js-jwz/-/js-jwz-1.0.0-beta.1.tgz#d0e14816d299a4bf764c2f8d230a9d417294be13" + integrity sha512-dYWxjcg0DIyMxXwcTCXx5cKJgntLMjNAtwbq1yj4IHmWkBuB2g1bdc1GHhNYNzNZWMBydHWPxW8WEgigCS7yFw== + dependencies: + "@iden3/js-crypto" "1.0.0-beta.0" + "@iden3/js-iden3-core" "1.0.0-beta.0" + "@iden3/js-merkletree" "1.0.0-beta.0" base58-js "^1.0.0" - circomlibjs "0.0.8" cross-sha256 "^1.2.0" - ffjavascript "^0.2.54" rfc4648 "^1.5.2" - snarkjs "^0.4.19" + snarkjs "0.5.0" + +"@iden3/js-merkletree@1.0.0-beta.0", "@iden3/js-merkletree@v1.0.0-beta.0": + version "1.0.0-beta.0" + resolved "https://registry.yarnpkg.com/@iden3/js-merkletree/-/js-merkletree-1.0.0-beta.0.tgz#7b211e04b72887e4a3b50a57c596c9435e29c8dc" + integrity sha512-1CGhecr4TgD8/jbTKO0cONj/poDVd2tToVSnu4XKjWlUTbuxw1CZEL7yi3g0V5nuhFuAGqcIZhCZmVucBdYxsw== + dependencies: + "@iden3/js-crypto" "1.0.0-beta.0" "@ipld/dag-cbor@^6.0.3": version "6.0.15" @@ -551,11 +575,6 @@ resolved "https://registry.yarnpkg.com/@redis/time-series/-/time-series-1.0.4.tgz#af85eb080f6934580e4d3b58046026b6c2b18717" integrity sha512-ThUIgo2U/g7cCuZavucQTQzA9g9JbDDY2f64u3AbAoz/8vE2lt2U37LamDUVChhaDA3IRT9R6VvJwqnUfTJzng== -"@sindresorhus/is@^4.0.0", "@sindresorhus/is@^4.6.0": - version "4.6.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" - integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== - "@socket.io/component-emitter@~3.1.0": version "3.1.0" resolved "https://registry.yarnpkg.com/@socket.io/component-emitter/-/component-emitter-3.1.0.tgz#96116f2a912e0c02817345b3c10751069920d553" @@ -609,20 +628,6 @@ "@supabase/storage-js" "^2.1.0" cross-fetch "^3.1.5" -"@szmarczak/http-timer@^4.0.5": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-4.0.6.tgz#b4a914bb62e7c272d4e5989fe4440f812ab1d807" - integrity sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w== - dependencies: - defer-to-connect "^2.0.0" - -"@szmarczak/http-timer@^5.0.1": - version "5.0.1" - resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a" - integrity sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw== - dependencies: - defer-to-connect "^2.0.1" - "@types/axios@^0.14.0": version "0.14.0" resolved "https://registry.yarnpkg.com/@types/axios/-/axios-0.14.0.tgz#ec2300fbe7d7dddd7eb9d3abf87999964cafce46" @@ -637,13 +642,6 @@ dependencies: "@types/node" "*" -"@types/bn.js@^5.1.0": - version "5.1.1" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.1.tgz#b51e1b55920a4ca26e9285ff79936bbdec910682" - integrity sha512-qNrYbZqMx0uJAfKnKclPh+dTwK33KfLHYqtyODwd5HnXOjnkhc4qgn3BrK6RWyGZm5+sIFE7Q7Vz6QQtJB7w7g== - dependencies: - "@types/node" "*" - "@types/body-parser@*": version "1.19.2" resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" @@ -652,16 +650,6 @@ "@types/connect" "*" "@types/node" "*" -"@types/cacheable-request@^6.0.1", "@types/cacheable-request@^6.0.2": - version "6.0.3" - resolved "https://registry.yarnpkg.com/@types/cacheable-request/-/cacheable-request-6.0.3.tgz#a430b3260466ca7b5ca5bfd735693b36e7a9d183" - integrity sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw== - dependencies: - "@types/http-cache-semantics" "*" - "@types/keyv" "^3.1.4" - "@types/node" "*" - "@types/responselike" "^1.0.0" - "@types/connect@*": version "3.4.35" resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" @@ -712,10 +700,12 @@ "@types/qs" "*" "@types/serve-static" "*" -"@types/http-cache-semantics@*": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz#0ea7b61496902b95890dc4c3a116b60cb8dae812" - integrity sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ== +"@types/http-link-header@^1.0.1": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@types/http-link-header/-/http-link-header-1.0.3.tgz#899adf1d8d2036074514f3dbd148fb901ceff920" + integrity sha512-y8HkoD/vyid+5MrJ3aas0FvU3/BVBGcyG9kgxL0Zn4JwstA8CglFPnrR0RuzOjRCXwqzL5uxWC2IO7Ub0rMU2A== + dependencies: + "@types/node" "*" "@types/jsonwebtoken@^9.0.1": version "9.0.1" @@ -724,13 +714,6 @@ dependencies: "@types/node" "*" -"@types/keyv@^3.1.4": - version "3.1.4" - resolved "https://registry.yarnpkg.com/@types/keyv/-/keyv-3.1.4.tgz#3ccdb1c6751b0c7e52300bcdacd5bcbf8faa75b6" - integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg== - dependencies: - "@types/node" "*" - "@types/localtunnel@^2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/localtunnel/-/localtunnel-2.0.1.tgz#c28a067de1da81b0b4730a9fc2f98e067f973996" @@ -765,15 +748,15 @@ dependencies: "@types/express" "*" -"@types/node@*", "@types/node@>=10.0.0", "@types/node@>=13.7.0", "@types/node@^18.11.18": +"@types/node@*", "@types/node@>=10.0.0", "@types/node@>=13.7.0": version "18.11.18" resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.18.tgz#8dfb97f0da23c2293e554c5a50d61ef134d7697f" integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== -"@types/node@^12.12.6": - version "12.20.55" - resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" - integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== +"@types/node@^18.0.0", "@types/node@^18.14.0": + version "18.14.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.14.0.tgz#94c47b9217bbac49d4a67a967fdcdeed89ebb7d0" + integrity sha512-5EWrvLmglK+imbCJY0+INViFWUHg1AHel1sq4ZVSfdcNqGy9Edv3UB9IIzzg+xPaUcAgZYcfVs2fBcwDeZzU0A== "@types/nodemailer@^6.4.7": version "6.4.7" @@ -782,13 +765,6 @@ dependencies: "@types/node" "*" -"@types/pbkdf2@^3.0.0": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@types/pbkdf2/-/pbkdf2-3.1.0.tgz#039a0e9b67da0cdc4ee5dab865caa6b267bb66b1" - integrity sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ== - dependencies: - "@types/node" "*" - "@types/phoenix@^1.5.4": version "1.5.4" resolved "https://registry.yarnpkg.com/@types/phoenix/-/phoenix-1.5.4.tgz#c08a1da6d7b4e365f6a1fe1ff9aada55f5356d24" @@ -804,20 +780,6 @@ resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== -"@types/responselike@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" - integrity sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA== - dependencies: - "@types/node" "*" - -"@types/secp256k1@^4.0.1": - version "4.0.3" - resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.3.tgz#1b8e55d8e00f08ee7220b4d59a6abe89c37a901c" - integrity sha512-Da66lEIFeIz9ltsdMZcpQvmrmmoqrfju8pm1BH8WbYjZSwUgCwXLb9C+9XYogwBITnbsSaMdVPb2ekf7TV+03w== - dependencies: - "@types/node" "*" - "@types/serve-static@*": version "1.15.0" resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.15.0.tgz#c7930ff61afb334e121a9da780aac0d9b8f34155" @@ -836,10 +798,12 @@ abbrev@1: resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== -abortcontroller-polyfill@^1.7.3: - version "1.7.5" - resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz#6738495f4e901fbb57b6c0611d0c75f76c485bed" - integrity sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ== +abort-controller@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392" + integrity sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg== + dependencies: + event-target-shim "^5.0.0" accepts@~1.3.4, accepts@~1.3.8: version "1.3.8" @@ -861,16 +825,6 @@ agent-base@6: dependencies: debug "4" -ajv@^6.12.3: - version "6.12.6" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" - integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== - dependencies: - fast-deep-equal "^3.1.1" - fast-json-stable-stringify "^2.0.0" - json-schema-traverse "^0.4.1" - uri-js "^4.2.2" - ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" @@ -911,23 +865,6 @@ array-flatten@1.1.1: resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== -asn1@~0.2.3: - version "0.2.6" - resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.6.tgz#0d3a7bb6e64e02a90c0303b31f292868ea09a08d" - integrity sha512-ix/FxPn0MDjeyJ7i/yoHGFt/EX6LyNbxSEhPPXODPL+KB0VPk86UYfL0lMdy+KCnv+fmvIzySwaK5COwqVbWTQ== - dependencies: - safer-buffer "~2.1.0" - -assert-plus@1.0.0, assert-plus@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" - integrity sha512-NfJ4UzBCcQGLDlQq7nHxH+tv3kyZ0hHQqF5BO6J7tNJeP5do1llPr8dZ8zHonfhAu0PHAdMkSo+8o0wxg9lZWw== - -async-limiter@~1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/async-limiter/-/async-limiter-1.0.1.tgz#dd379e94f0db8310b08291f9d64c3209766617fd" - integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ== - async@^3.2.3: version "3.2.4" resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" @@ -959,16 +896,6 @@ aws-sdk@^2.1309.0: uuid "8.0.0" xml2js "0.4.19" -aws-sign2@~0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" - integrity sha512-08kcGqnYf/YmjoRhfxyu+CLxBjUtHLXLXX/vUfx9l2LYzG3c1m61nrpyFUZI6zeS+Li/wWMMidD9KgrqtGq3mA== - -aws4@^1.8.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.12.0.tgz#ce1c9d143389679e253b314241ea9aa5cec980d3" - integrity sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg== - axios@*, axios@^1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/axios/-/axios-1.3.1.tgz#80bf6c8dbb46e6db1fa8fe9ab114c1ca7405c2ee" @@ -1003,14 +930,7 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base-x@^3.0.2, base-x@^3.0.8: - version "3.0.9" - resolved "https://registry.yarnpkg.com/base-x/-/base-x-3.0.9.tgz#6349aaabb58526332de9f60995e548a53fe21320" - integrity sha512-H7JU6iBHTal1gp56aKoaa//YUxEaAOUiydvrV/pILqIHXTtqxSkATOnDA2u+jZ/61sD+L/412+7kzXRtWukhpQ== - dependencies: - safe-buffer "^5.0.1" - -base58-js@^1.0.0: +base58-js@^1.0.0, base58-js@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/base58-js/-/base58-js-1.0.5.tgz#00697bff954aa85007fa45ce76b699b7960768cd" integrity sha512-LkkAPP8Zu+c0SVNRTRVDyMfKVORThX+rCViget00xdgLRrKkClCTz1T7cIrpr69ShwV5XJuuoZvMvJ43yURwkA== @@ -1025,13 +945,6 @@ base64id@2.0.0, base64id@~2.0.0: resolved "https://registry.yarnpkg.com/base64id/-/base64id-2.0.0.tgz#2770ac6bc47d312af97a8bf9a634342e0cd25cb6" integrity sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog== -bcrypt-pbkdf@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" - integrity sha512-qeFIXtP4MSoi6NLqO12WfqARWWuCKi2Rn/9hJLEmtB5yTNr9DqFWkJRCf2qShWzPeAMRnOgCrq0sg/KLv5ES9w== - dependencies: - tweetnacl "^0.14.3" - bcrypt@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/bcrypt/-/bcrypt-5.1.0.tgz#bbb27665dbc400480a524d8991ac7434e8529e17" @@ -1060,11 +973,6 @@ big-integer@^1.6.42, big-integer@^1.6.48: resolved "https://registry.yarnpkg.com/big-integer/-/big-integer-1.6.51.tgz#0df92a5d9880560d3ff2d5fd20245c889d130686" integrity sha512-GPEid2Y9QU1Exl1rpO9B2IPJGHPSupF5GnVIP0blYvNOMer2bTvSWs1jGOUg04hTmu67nmLsQ9TBo1puaotBHg== -bignumber.js@^9.0.0: - version "9.1.1" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.1.tgz#c4df7dc496bd849d4c9464344c1aa74228b4dac6" - integrity sha512-pHm4LsMJ6lzgNGVfZHjMoO8sdoRhOzOH4MLmY65Jg70bpxCKu5iOHNJyfF6OyvYw7t8Fpf35RuzUyqnQsj8Vig== - blake-hash@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/blake-hash/-/blake-hash-2.0.0.tgz#af184dce641951126d05b7d1c3de3224f538d66e" @@ -1082,14 +990,6 @@ blake2b-wasm@^2.4.0: b4a "^1.0.1" nanoassert "^2.0.0" -blake2b@^2.1.3: - version "2.1.4" - resolved "https://registry.yarnpkg.com/blake2b/-/blake2b-2.1.4.tgz#817d278526ddb4cd673bfb1af16d1ad61e393ba3" - integrity sha512-AyBuuJNI64gIvwx13qiICz6H6hpmjvYS5DGkG6jbXMOT8Z3WUJ3V1X0FlhIoT1b/5JtHE3ki+xjtMvu1nn+t9A== - dependencies: - blake2b-wasm "^2.4.0" - nanoassert "^2.0.0" - blakejs@^1.1.0: version "1.2.1" resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" @@ -1102,27 +1002,22 @@ blob-to-it@^1.0.1: dependencies: browser-readablestream-to-it "^1.0.3" -bluebird@^3.5.0, bluebird@^3.5.5: +bluebird@^3.5.5: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -bn.js@4.11.6: - version "4.11.6" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" - integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== - -bn.js@^4.11.6, bn.js@^4.11.9: +bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.1.2, bn.js@^5.2.0, bn.js@^5.2.1: +bn.js@^5.2.0, bn.js@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== -body-parser@1.20.1, body-parser@^1.16.0: +body-parser@1.20.1: version "1.20.1" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== @@ -1165,34 +1060,6 @@ browser-readablestream-to-it@^1.0.0, browser-readablestream-to-it@^1.0.1, browse resolved "https://registry.yarnpkg.com/browser-readablestream-to-it/-/browser-readablestream-to-it-1.0.3.tgz#ac3e406c7ee6cdf0a502dd55db33bab97f7fba76" integrity sha512-+12sHB+Br8HIh6VAMVEG5r3UXCyESIgDW7kzk3BjIXa43DVqVwL7GC5TW3jeh+72dtcH99pPVpw0X8i0jt+/kw== -browserify-aes@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" - integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== - dependencies: - buffer-xor "^1.0.3" - cipher-base "^1.0.0" - create-hash "^1.1.0" - evp_bytestokey "^1.0.3" - inherits "^2.0.1" - safe-buffer "^5.0.1" - -bs58@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/bs58/-/bs58-4.0.1.tgz#be161e76c354f6f788ae4071f63f34e8c4f0a42a" - integrity sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw== - dependencies: - base-x "^3.0.2" - -bs58check@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" - integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== - dependencies: - bs58 "^4.0.0" - create-hash "^1.1.0" - safe-buffer "^5.1.2" - buffer-equal-constant-time@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz#f8e71132f7ffe6e01a5c9697a4c6f3e48d5cc819" @@ -1203,16 +1070,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-to-arraybuffer@^0.0.5: - version "0.0.5" - resolved "https://registry.yarnpkg.com/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz#6064a40fa76eb43c723aba9ef8f6e1216d10511a" - integrity sha512-3dthu5CYiVB1DEJp61FtApNnNndTckcqe4pFcLdvHtrpG+kcyekCJKg4MRiDcFW7A6AODnXB9U4dwQiCW5kzJQ== - -buffer-xor@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" - integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ== - buffer@4.9.2: version "4.9.2" resolved "https://registry.yarnpkg.com/buffer/-/buffer-4.9.2.tgz#230ead344002988644841ab0244af8c44bbe3ef8" @@ -1222,7 +1079,7 @@ buffer@4.9.2: ieee754 "^1.1.4" isarray "^1.0.0" -buffer@^5.0.5, buffer@^5.5.0, buffer@^5.6.0: +buffer@^5.6.0: version "5.7.1" resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== @@ -1245,7 +1102,7 @@ bufferutil@^4.0.1: dependencies: node-gyp-build "^4.3.0" -busboy@^1.0.0: +busboy@^1.0.0, busboy@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/busboy/-/busboy-1.6.0.tgz#966ea36a9502e43cdb9146962523b92f531f6893" integrity sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA== @@ -1257,29 +1114,6 @@ bytes@3.1.2: resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== -cacheable-lookup@^5.0.3: - version "5.0.4" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz#5a6b865b2c44357be3d5ebc2a467b032719a7005" - integrity sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA== - -cacheable-lookup@^6.0.4: - version "6.1.0" - resolved "https://registry.yarnpkg.com/cacheable-lookup/-/cacheable-lookup-6.1.0.tgz#0330a543471c61faa4e9035db583aad753b36385" - integrity sha512-KJ/Dmo1lDDhmW2XDPMo+9oiy/CeqosPguPCrgcVzKyZrL6pM1gU2GmPY/xo6OQPTUaA/c0kwHuywB4E6nmT9ww== - -cacheable-request@^7.0.2: - version "7.0.2" - resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-7.0.2.tgz#ea0d0b889364a25854757301ca12b2da77f91d27" - integrity sha512-pouW8/FmiPQbuGpkXQ9BAPv/Mo5xDGANgSNXzTzJ8DrKGuXOssM4wIQRjfanNRh3Yu5cfYPvcorqbhg2KIJtew== - dependencies: - clone-response "^1.0.2" - get-stream "^5.1.0" - http-cache-semantics "^4.0.0" - keyv "^4.0.0" - lowercase-keys "^2.0.0" - normalize-url "^6.0.1" - responselike "^2.0.0" - call-bind@^1.0.0, call-bind@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" @@ -1288,10 +1122,10 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" -caseless@~0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" - integrity sha512-4tYFyifaFfGacoiObjJegolkwSU4xQNGbVgUiNYVUxbQ2x2lUsFvY4hVgVzGiIe6WLOPqycWXA40l+PWsxthUw== +canonicalize@^1.0.1: + version "1.0.8" + resolved "https://registry.yarnpkg.com/canonicalize/-/canonicalize-1.0.8.tgz#24d1f1a00ed202faafd9bf8e63352cd4450c6df1" + integrity sha512-0CNTVCLZggSh7bc5VkX5WWPWO+cyZbNd07IHIsSXLia/eAq+r836hgk+8BKoEh7949Mda87VUOitx5OddVj64A== cborg@^1.5.4, cborg@^1.6.0: version "1.10.0" @@ -1311,35 +1145,11 @@ check-types@^11.1.1: resolved "https://registry.yarnpkg.com/check-types/-/check-types-11.2.2.tgz#7afc0b6a860d686885062f2dba888ba5710335b4" integrity sha512-HBiYvXvn9Z70Z88XKjz3AEKd4HJhBXsa3j7xFnITAzoS8+q6eIGi8qDB8FKPBAjtuxjI/zFpwuiCb8oDtKOYrA== -chownr@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" - integrity sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg== - chownr@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== -cids@^0.7.1: - version "0.7.5" - resolved "https://registry.yarnpkg.com/cids/-/cids-0.7.5.tgz#60a08138a99bfb69b6be4ceb63bfef7a396b28b2" - integrity sha512-zT7mPeghoWAu+ppn8+BS1tQ5qGmbMfB4AregnQjA/qHY3GC1m1ptI9GkWNlgeu38r7CuRdXB47uY2XgAYt6QVA== - dependencies: - buffer "^5.5.0" - class-is "^1.1.0" - multibase "~0.6.0" - multicodec "^1.0.0" - multihashes "~0.4.15" - -cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" - integrity sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - circom_runtime@0.1.20: version "0.1.20" resolved "https://registry.yarnpkg.com/circom_runtime/-/circom_runtime-0.1.20.tgz#14411846448b541bcb71548a23e6d982e7a051a6" @@ -1347,21 +1157,12 @@ circom_runtime@0.1.20: dependencies: ffjavascript "0.2.55" -circomlibjs@0.0.8: - version "0.0.8" - resolved "https://registry.yarnpkg.com/circomlibjs/-/circomlibjs-0.0.8.tgz#c2d1130d2d99fbb22f3d40ac19f347d768eace76" - integrity sha512-oZFYapLO0mfiA+i2GU/V7bRNEEPjVcwV4M444nU5lNsdSJpqLwD57m9zxTD5m/KeY7WQ3lEAC9NNKEPQHu7s1w== +circom_runtime@0.1.21: + version "0.1.21" + resolved "https://registry.yarnpkg.com/circom_runtime/-/circom_runtime-0.1.21.tgz#0ee93bb798b5afb8ecec30725ed14d94587a999b" + integrity sha512-qTkud630B/GK8y76hnOaaS1aNuF6prfV0dTrkeRsiJKnlP1ryQbP2FWLgDOPqn6aKyaPlam+Z+DTbBhkEzh8dA== dependencies: - blake-hash "^2.0.0" - blake2b "^2.1.3" - ffjavascript "^0.2.38" - web3 "^1.6.0" - web3-utils "^1.6.0" - -class-is@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/class-is/-/class-is-1.1.0.tgz#9d3c0fba0440d211d843cec3dedfa48055005825" - integrity sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw== + ffjavascript "0.2.56" cliui@^7.0.2: version "7.0.4" @@ -1372,13 +1173,6 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -clone-response@^1.0.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.3.tgz#af2032aa47816399cf5f0a1d0db902f517abb8c3" - integrity sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA== - dependencies: - mimic-response "^1.0.0" - cluster-key-slot@1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz#88ddaa46906e303b5de30d3153b7d9fe0a0c19ac" @@ -1401,7 +1195,7 @@ color-support@^1.1.2: resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== -combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6: +combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg== @@ -1435,15 +1229,6 @@ content-disposition@0.5.4: dependencies: safe-buffer "5.2.1" -content-hash@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/content-hash/-/content-hash-2.5.2.tgz#bbc2655e7c21f14fd3bfc7b7d4bfe6e454c9e211" - integrity sha512-FvIQKy0S1JaWV10sMsA7TRx8bpU+pqPkhbsfvOJAdjRXvYxEckAwQWGwtRjiaJfh+E0DvcWUGqcdjwMGFjsSdw== - dependencies: - cids "^0.7.1" - multicodec "^0.5.5" - multihashes "^0.4.15" - content-type@~1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" @@ -1464,17 +1249,12 @@ cookie@~0.4.1: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== -core-util-is@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" - integrity sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ== - core-util-is@~1.0.0: version "1.0.3" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cors@^2.8.1, cors@^2.8.5, cors@~2.8.5: +cors@^2.8.5, cors@~2.8.5: version "2.8.5" resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== @@ -1482,35 +1262,7 @@ cors@^2.8.1, cors@^2.8.5, cors@~2.8.5: object-assign "^4" vary "^1" -crc-32@^1.2.0: - version "1.2.2" - resolved "https://registry.yarnpkg.com/crc-32/-/crc-32-1.2.2.tgz#3cad35a934b8bf71f25ca524b6da51fb7eace2ff" - integrity sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ== - -create-hash@^1.1.0, create-hash@^1.1.2, create-hash@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/create-hash/-/create-hash-1.2.0.tgz#889078af11a63756bcfb59bd221996be3a9ef196" - integrity sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg== - dependencies: - cipher-base "^1.0.1" - inherits "^2.0.1" - md5.js "^1.3.4" - ripemd160 "^2.0.1" - sha.js "^2.4.0" - -create-hmac@^1.1.4, create-hmac@^1.1.7: - version "1.1.7" - resolved "https://registry.yarnpkg.com/create-hmac/-/create-hmac-1.1.7.tgz#69170c78b3ab957147b2b8b04572e47ead2243ff" - integrity sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg== - dependencies: - cipher-base "^1.0.3" - create-hash "^1.1.0" - inherits "^2.0.1" - ripemd160 "^2.0.0" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -cross-fetch@^3.1.4, cross-fetch@^3.1.5: +cross-fetch@^3.0.6, cross-fetch@^3.1.5: version "3.1.5" resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== @@ -1549,12 +1301,10 @@ dag-jose@^1.0.0: "@ipld/dag-cbor" "^6.0.3" multiformats "^9.0.2" -dashdash@^1.12.0: - version "1.14.1" - resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" - integrity sha512-jRFi8UDGo6j+odZiEpjazZaWqEal3w/basFjQHQEwVtZJGDpxbH1MeYluwCS8Xq5wmLJooDlMgvVarmWfGM44g== - dependencies: - assert-plus "^1.0.0" +data-uri-to-buffer@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-4.0.1.tgz#d8feb2b2881e6a4f58c2e08acfd0e2834e26222e" + integrity sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A== debug@2.6.9, debug@^2.2.0: version "2.6.9" @@ -1577,30 +1327,6 @@ debug@4.3.2: dependencies: ms "2.1.2" -decode-uri-component@^0.2.0: - version "0.2.2" - resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9" - integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ== - -decompress-response@^3.3.0: - version "3.3.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" - integrity sha512-BzRPQuY1ip+qDonAOz42gRm/pg9F768C+npV/4JOsxRC2sq+Rlk+Q4ZCAsOhnIaMrgarILY+RMUIvMmmX1qAEA== - dependencies: - mimic-response "^1.0.0" - -decompress-response@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" - integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== - dependencies: - mimic-response "^3.1.0" - -defer-to-connect@^2.0.0, defer-to-connect@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" - integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== - delayed-stream@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" @@ -1635,11 +1361,6 @@ dns-over-http-resolver@^1.2.3: native-fetch "^3.0.0" receptacle "^1.3.2" -dom-walk@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/dom-walk/-/dom-walk-0.1.2.tgz#0c548bef048f4d1f2a97249002236060daa3fd84" - integrity sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w== - dotenv@*, dotenv@^16.0.3: version "16.0.3" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" @@ -1650,14 +1371,6 @@ duplexer@~0.1.1: resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== -ecc-jsbn@~0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" - integrity sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw== - dependencies: - jsbn "~0.1.0" - safer-buffer "^2.1.0" - ecdsa-sig-formatter@1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/ecdsa-sig-formatter/-/ecdsa-sig-formatter-1.0.11.tgz#ae0f0fa2d85045ef14a817daa3ce9acd0489e5bf" @@ -1684,7 +1397,7 @@ electron-fetch@^1.7.2: dependencies: encoding "^0.1.13" -elliptic@6.5.4, elliptic@^6.4.0, elliptic@^6.5.4: +elliptic@6.5.4: version "6.5.4" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== @@ -1714,13 +1427,6 @@ encoding@^0.1.13: dependencies: iconv-lite "^0.6.2" -end-of-stream@^1.1.0: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - engine.io-parser@~5.0.3: version "5.0.6" resolved "https://registry.yarnpkg.com/engine.io-parser/-/engine.io-parser-5.0.6.tgz#7811244af173e157295dec9b2718dfe42a64ef45" @@ -1765,11 +1471,6 @@ es6-iterator@^2.0.3: es5-ext "^0.10.35" es6-symbol "^3.1.1" -es6-promise@^4.2.8: - version "4.2.8" - resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" - integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== - es6-symbol@^3.1.1, es6-symbol@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" @@ -1793,74 +1494,6 @@ etag@~1.8.1: resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== -eth-ens-namehash@2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz#229ac46eca86d52e0c991e7cb2aef83ff0f68bcf" - integrity sha512-VWEI1+KJfz4Km//dadyvBBoBeSQ0MHTXPvr8UIXiLW6IanxvAV+DmlZAijZwAyggqGUfwQBeHf7tc9wzc1piSw== - dependencies: - idna-uts46-hx "^2.3.1" - js-sha3 "^0.5.7" - -eth-lib@0.2.8: - version "0.2.8" - resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.2.8.tgz#b194058bef4b220ad12ea497431d6cb6aa0623c8" - integrity sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw== - dependencies: - bn.js "^4.11.6" - elliptic "^6.4.0" - xhr-request-promise "^0.1.2" - -eth-lib@^0.1.26: - version "0.1.29" - resolved "https://registry.yarnpkg.com/eth-lib/-/eth-lib-0.1.29.tgz#0c11f5060d42da9f931eab6199084734f4dbd1d9" - integrity sha512-bfttrr3/7gG4E02HoWTDUcDDslN003OlOoBxk9virpAZQ1ja/jDgwkWB8QfJF7ojuEowrqy+lzp9VcJG7/k5bQ== - dependencies: - bn.js "^4.11.6" - elliptic "^6.4.0" - nano-json-stream-parser "^0.1.2" - servify "^0.1.12" - ws "^3.0.0" - xhr-request-promise "^0.1.2" - -ethereum-bloom-filters@^1.0.6: - version "1.0.10" - resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" - integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== - dependencies: - js-sha3 "^0.8.0" - -ethereum-cryptography@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz#8d6143cfc3d74bf79bbd8edecdf29e4ae20dd191" - integrity sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ== - dependencies: - "@types/pbkdf2" "^3.0.0" - "@types/secp256k1" "^4.0.1" - blakejs "^1.1.0" - browserify-aes "^1.2.0" - bs58check "^2.1.2" - create-hash "^1.2.0" - create-hmac "^1.1.7" - hash.js "^1.1.7" - keccak "^3.0.0" - pbkdf2 "^3.0.17" - randombytes "^2.1.0" - safe-buffer "^5.1.2" - scrypt-js "^3.0.0" - secp256k1 "^4.0.1" - setimmediate "^1.0.5" - -ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.1, ethereumjs-util@^7.1.2, ethereumjs-util@^7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" - integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== - dependencies: - "@types/bn.js" "^5.1.0" - bn.js "^5.1.2" - create-hash "^1.1.2" - ethereum-cryptography "^0.1.3" - rlp "^2.2.4" - ethers@^5.4.0: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" @@ -1897,14 +1530,6 @@ ethers@^5.4.0: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" -ethjs-unit@0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" - integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== - dependencies: - bn.js "4.11.6" - number-to-bn "1.7.0" - event-stream@=3.3.4: version "3.3.4" resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" @@ -1918,25 +1543,22 @@ event-stream@=3.3.4: stream-combiner "~0.0.4" through "~2.3.1" -eventemitter3@4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384" - integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ== +event-target-shim@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789" + integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ== events@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" integrity sha512-kEcvvCBByWXGnZy6JUlgAp2gBIUjfCAV6P6TgT1/aaQKcmuAEC4OZTV1I4EWQLz2gxZw76atuVyvHhTxvi0Flw== -evp_bytestokey@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz#7fcbdb198dc71959432efe13842684e0525acb02" - integrity sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA== - dependencies: - md5.js "^1.3.4" - safe-buffer "^5.1.1" +events@^3.3.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== -express@^4.14.0, express@^4.18.2: +express@^4.18.2: version "4.18.2" resolved "https://registry.yarnpkg.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== @@ -1980,41 +1602,24 @@ ext@^1.1.2: dependencies: type "^2.7.2" -extend@~3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" - integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== - -extsprintf@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" - integrity sha512-11Ndz7Nv+mvAC1j0ktTa7fAb0vLyGGX+rMHNBYQviQDGU0Hw7lhctJANqbPhu9nV9/izT/IntTgZ7Im/9LJs9g== - -extsprintf@^1.2.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.1.tgz#8d172c064867f235c0c84a596806d279bf4bcc07" - integrity sha512-Wrk35e8ydCKDj/ArClo1VrPVmN8zph5V4AtHwIuHhvMXsKf73UT3BOD+azBIW+3wOJ4FhEH7zyaJCFvChjYvMA== - -fast-deep-equal@^3.1.1: - version "3.1.3" - resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" - integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== - fast-fifo@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.1.0.tgz#17d1a3646880b9891dfa0c54e69c5fef33cad779" integrity sha512-Kl29QoNbNvn4nhDsLYjyIAaIqaJB6rBx5p3sL9VjaefJ+eMFBWVZiaoguaoZfzEKr5RhAti0UgM8703akGPJ6g== -fast-json-stable-stringify@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" - integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== - fastfile@0.0.20: version "0.0.20" resolved "https://registry.yarnpkg.com/fastfile/-/fastfile-0.0.20.tgz#794a143d58cfda2e24c298e5ef619c748c8a1879" integrity sha512-r5ZDbgImvVWCP0lA/cGNgQcZqR+aYdFx3u+CtJqUE510pBUVGMn4ulL/iRTI4tACTYsNJ736uzFxEBXesPAktA== +fetch-blob@^3.1.2, fetch-blob@^3.1.4: + version "3.2.0" + resolved "https://registry.yarnpkg.com/fetch-blob/-/fetch-blob-3.2.0.tgz#f09b8d4bbd45adc6f0c20b7e787e793e309dcce9" + integrity sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ== + dependencies: + node-domexception "^1.0.0" + web-streams-polyfill "^3.0.3" + ffjavascript@0.2.55: version "0.2.55" resolved "https://registry.yarnpkg.com/ffjavascript/-/ffjavascript-0.2.55.tgz#fb4bc53265501526a2916d6a20bbbc06d113d7be" @@ -2025,7 +1630,16 @@ ffjavascript@0.2.55: wasmcurves "0.1.0" web-worker "^1.2.0" -ffjavascript@^0.2.38, ffjavascript@^0.2.48, ffjavascript@^0.2.54: +ffjavascript@0.2.56: + version "0.2.56" + resolved "https://registry.yarnpkg.com/ffjavascript/-/ffjavascript-0.2.56.tgz#3509f98fcbd3e44ea93cd23519071b76d6eae433" + integrity sha512-em6G5Lrj7ucIqj4TYEgyoHs/j99Urwwqa4+YxEVY2hggnpRimVj+noX5pZQTxI1pvtiekZI4rG65JBf0xraXrg== + dependencies: + wasmbuilder "0.0.16" + wasmcurves "0.2.0" + web-worker "^1.2.0" + +ffjavascript@^0.2.48, ffjavascript@^0.2.57: version "0.2.57" resolved "https://registry.yarnpkg.com/ffjavascript/-/ffjavascript-0.2.57.tgz#ba1be96015b2688192e49f2f4de2cc5150fd8594" integrity sha512-V+vxZ/zPNcthrWmqfe/1YGgqdkTamJeXiED0tsk7B84g40DKlrTdx47IqZuiygqAVG6zMw4qYuvXftIJWsmfKQ== @@ -2066,16 +1680,6 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" -forever-agent@~0.6.1: - version "0.6.1" - resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" - integrity sha512-j0KLYPhm6zeac4lz3oJ3o65qvgQCcPubiyotZrXqEaG4hNagNYO8qdlUrX5vwqv9ohqeT/Z3j6+yW067yWWdUw== - -form-data-encoder@1.7.1: - version "1.7.1" - resolved "https://registry.yarnpkg.com/form-data-encoder/-/form-data-encoder-1.7.1.tgz#ac80660e4f87ee0d3d3c3638b7da8278ddb8ec96" - integrity sha512-EFRDrsMm/kyqbTQocNvRXMLjc7Es2Vk+IQFx/YW7hkUH1eBl4J1fqiP34l74Yt0pFLCNpc06fkbVk00008mzjg== - form-data@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" @@ -2085,14 +1689,12 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -form-data@~2.3.2: - version "2.3.3" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" - integrity sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ== +formdata-polyfill@^4.0.10: + version "4.0.10" + resolved "https://registry.yarnpkg.com/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz#24807c31c9d402e002ab3d8c720144ceb8848423" + integrity sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g== dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.6" - mime-types "^2.1.12" + fetch-blob "^3.1.2" forwarded@0.2.0: version "0.2.0" @@ -2109,22 +1711,6 @@ from@~0: resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" integrity sha512-twe20eF1OxVxp/ML/kq2p1uc6KvFK/+vs8WjEbeKmV2He22MKm7YF2ANIt+EOqhJ5L3K/SuuPhk0hWQDjOM23g== -fs-extra@^4.0.2: - version "4.0.3" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" - integrity sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - -fs-minipass@^1.2.7: - version "1.2.7" - resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7" - integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA== - dependencies: - minipass "^2.6.0" - fs-minipass@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" @@ -2186,25 +1772,6 @@ get-iterator@^1.0.2: resolved "https://registry.yarnpkg.com/get-iterator/-/get-iterator-1.0.2.tgz#cd747c02b4c084461fac14f48f6b45a80ed25c82" integrity sha512-v+dm9bNVfOYsY1OrhaCrmyOcYoSeVvbt+hHZ0Au+T+p1y+0Uyj9aMaGIeUTT6xdpRbWzDeYKvfOslPhggQMcsg== -get-stream@^5.1.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-5.2.0.tgz#4966a1795ee5ace65e706c4b7beb71257d6e22d3" - integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== - dependencies: - pump "^3.0.0" - -get-stream@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - -getpass@^0.1.1: - version "0.1.7" - resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" - integrity sha512-0fzj9JxOLfJ+XGLhR8ze3unN0KZCgZwiSSDz168VERjK8Wl8kVSdcu2kspd4s4wtAa1y/qrVRiAA0WclVsu0ng== - dependencies: - assert-plus "^1.0.0" - glob@^7.1.3: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -2217,14 +1784,6 @@ glob@^7.1.3: once "^1.3.0" path-is-absolute "^1.0.0" -global@~4.4.0: - version "4.4.0" - resolved "https://registry.yarnpkg.com/global/-/global-4.4.0.tgz#3e7b105179006a323ed71aafca3e9c57a5cc6406" - integrity sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w== - dependencies: - min-document "^2.19.0" - process "^0.11.10" - gopd@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" @@ -2232,60 +1791,6 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -got@12.1.0: - version "12.1.0" - resolved "https://registry.yarnpkg.com/got/-/got-12.1.0.tgz#099f3815305c682be4fd6b0ee0726d8e4c6b0af4" - integrity sha512-hBv2ty9QN2RdbJJMK3hesmSkFTjVIHyIDDbssCKnSmq62edGgImJWD10Eb1k77TiV1bxloxqcFAVK8+9pkhOig== - dependencies: - "@sindresorhus/is" "^4.6.0" - "@szmarczak/http-timer" "^5.0.1" - "@types/cacheable-request" "^6.0.2" - "@types/responselike" "^1.0.0" - cacheable-lookup "^6.0.4" - cacheable-request "^7.0.2" - decompress-response "^6.0.0" - form-data-encoder "1.7.1" - get-stream "^6.0.1" - http2-wrapper "^2.1.10" - lowercase-keys "^3.0.0" - p-cancelable "^3.0.0" - responselike "^2.0.0" - -got@^11.8.5: - version "11.8.6" - resolved "https://registry.yarnpkg.com/got/-/got-11.8.6.tgz#276e827ead8772eddbcfc97170590b841823233a" - integrity sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g== - dependencies: - "@sindresorhus/is" "^4.0.0" - "@szmarczak/http-timer" "^4.0.5" - "@types/cacheable-request" "^6.0.1" - "@types/responselike" "^1.0.0" - cacheable-lookup "^5.0.3" - cacheable-request "^7.0.2" - decompress-response "^6.0.0" - http2-wrapper "^1.0.0-beta.5.2" - lowercase-keys "^2.0.0" - p-cancelable "^2.0.0" - responselike "^2.0.0" - -graceful-fs@^4.1.2, graceful-fs@^4.1.6: - version "4.2.10" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" - integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== - -har-schema@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" - integrity sha512-Oqluz6zhGX8cyRaTQlFMPw80bSJVG2x/cFb8ZPhUILGgHka9SsokCCOQgpveePerqidZOrT14ipqfJb7ILcW5Q== - -har-validator@~5.1.3: - version "5.1.5" - resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.5.tgz#1f0803b9f8cb20c0fa13822df1ecddb36bde1efd" - integrity sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w== - dependencies: - ajv "^6.12.3" - har-schema "^2.0.0" - has-flag@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" @@ -2315,16 +1820,7 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -hash-base@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/hash-base/-/hash-base-3.1.0.tgz#55c381d9e06e1d2997a883b4a3fddfe7f0d3af33" - integrity sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA== - dependencies: - inherits "^2.0.4" - readable-stream "^3.6.0" - safe-buffer "^5.2.0" - -hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3, hash.js@^1.1.7: +hash.js@1.1.7, hash.js@^1.0.0, hash.js@^1.0.3: version "1.1.7" resolved "https://registry.yarnpkg.com/hash.js/-/hash.js-1.1.7.tgz#0babca538e8d4ee4a0f8988d68866537a003cf42" integrity sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA== @@ -2346,11 +1842,6 @@ hoopy@^0.1.4: resolved "https://registry.yarnpkg.com/hoopy/-/hoopy-0.1.4.tgz#609207d661100033a9a9402ad3dea677381c1b1d" integrity sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ== -http-cache-semantics@^4.0.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" - integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== - http-errors@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" @@ -2362,35 +1853,10 @@ http-errors@2.0.0: statuses "2.0.1" toidentifier "1.0.1" -http-https@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/http-https/-/http-https-1.0.0.tgz#2f908dd5f1db4068c058cd6e6d4ce392c913389b" - integrity sha512-o0PWwVCSp3O0wS6FvNr6xfBCHgt0m1tvPLFOCc2iFDKTRAXhB7m8klDf7ErowFH8POa6dVdGatKU5I1YYwzUyg== - -http-signature@~1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" - integrity sha512-CAbnr6Rz4CYQkLYUtSNXxQPUH2gK8f3iWexVlsnMeD+GjlsQ0Xsy1cOX+mN3dtxYomRy21CiOzU8Uhw6OwncEQ== - dependencies: - assert-plus "^1.0.0" - jsprim "^1.2.2" - sshpk "^1.7.0" - -http2-wrapper@^1.0.0-beta.5.2: - version "1.0.3" - resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-1.0.3.tgz#b8f55e0c1f25d4ebd08b3b0c2c079f9590800b3d" - integrity sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg== - dependencies: - quick-lru "^5.1.1" - resolve-alpn "^1.0.0" - -http2-wrapper@^2.1.10: - version "2.2.0" - resolved "https://registry.yarnpkg.com/http2-wrapper/-/http2-wrapper-2.2.0.tgz#b80ad199d216b7d3680195077bd7b9060fa9d7f3" - integrity sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ== - dependencies: - quick-lru "^5.1.1" - resolve-alpn "^1.2.0" +http-link-header@^1.0.2: + version "1.1.0" + resolved "https://registry.yarnpkg.com/http-link-header/-/http-link-header-1.1.0.tgz#a1ca87efdbcb7778d8d0d4525de1e6964ec1f129" + integrity sha512-pj6N1yxOz/ANO8HHsWGg/OoIL1kmRYvQnXQ7PIRpgp+15AnEsRH8fmIJE6D1OdWG2Bov+BJHVla1fFXxg1JbbA== https-proxy-agent@^5.0.0: version "5.0.1" @@ -2414,13 +1880,6 @@ iconv-lite@^0.6.2: dependencies: safer-buffer ">= 2.1.2 < 3.0.0" -idna-uts46-hx@^2.3.1: - version "2.3.1" - resolved "https://registry.yarnpkg.com/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz#a1dc5c4df37eee522bf66d969cc980e00e8711f9" - integrity sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA== - dependencies: - punycode "2.1.0" - ieee754@1.1.13: version "1.1.13" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.13.tgz#ec168558e95aa181fd87d37f55c32bbcb6708b84" @@ -2439,7 +1898,7 @@ inflight@^1.0.4: once "^1.3.0" wrappy "1" -inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: +inherits@2, inherits@2.0.4, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.3: version "2.0.4" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== @@ -2582,11 +2041,6 @@ is-fullwidth-code-point@^3.0.0: resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== -is-function@^1.0.1: - version "1.0.2" - resolved "https://registry.yarnpkg.com/is-function/-/is-function-1.0.2.tgz#4f097f30abf6efadac9833b17ca5dc03f8144e08" - integrity sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ== - is-generator-function@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/is-generator-function/-/is-generator-function-1.0.10.tgz#f1558baf1ac17e0deea7c0415c438351ff2b3c72" @@ -2594,11 +2048,6 @@ is-generator-function@^1.0.7: dependencies: has-tostringtag "^1.0.0" -is-hex-prefixed@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" - integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== - is-ip@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/is-ip/-/is-ip-3.1.0.tgz#2ae5ddfafaf05cb8008a62093cf29734f657c5d8" @@ -2622,7 +2071,7 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.3: gopd "^1.0.1" has-tostringtag "^1.0.0" -is-typedarray@^1.0.0, is-typedarray@~1.0.0: +is-typedarray@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== @@ -2642,11 +2091,6 @@ iso-url@^1.1.5: resolved "https://registry.yarnpkg.com/iso-url/-/iso-url-1.2.1.tgz#db96a49d8d9a64a1c889fc07cc525d093afb1811" integrity sha512-9JPDgCN4B7QPkLtYAAOrEuAWvP9rWvR5offAr0/SeF046wIkglqH3VXgYYP6NcsKslH80UIVgmPqNe3j7tG2ng== -isstream@~0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" - integrity sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g== - it-all@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/it-all/-/it-all-1.0.6.tgz#852557355367606295c4c3b7eff0136f07749335" @@ -2717,42 +2161,27 @@ js-sha3@0.8.0, js-sha3@^0.8.0: resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== -js-sha3@^0.5.7: - version "0.5.7" - resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.5.7.tgz#0d4ffd8002d5333aabaf4a23eed2f6374c9f28e7" - integrity sha512-GII20kjaPX0zJ8wzkTbNDYMY7msuZcTWk8S5UOh6806Jq/wz1J8/bnr8uGU0DAUmYDjj2Mr4X1cW8v/GLYnR+g== - -jsbn@~0.1.0: - version "0.1.1" - resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" - integrity sha512-UVU9dibq2JcFWxQPA6KCqj5O42VOmAY3zQUfEKxU0KpTGXwNoCjkX1e13eHNvw/xPynt6pU0rZ1htjWTNTSXsg== - -json-buffer@3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" - integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== - -json-schema-traverse@^0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" - integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== - -json-schema@0.4.0: - version "0.4.0" - resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.4.0.tgz#f7de4cf6efab838ebaeb3236474cbba5a1930ab5" - integrity sha512-es94M3nTIfsEPisRafak+HDLfHXnKBhV3vU5eqPcS3flIWqcxJWgXHXiey3YrpaNsanY5ei1VoYEbOzijuq9BA== - -json-stringify-safe@~5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== - optionalDependencies: - graceful-fs "^4.1.6" +jsonld-context-parser@^2.2.2: + version "2.3.0" + resolved "https://registry.yarnpkg.com/jsonld-context-parser/-/jsonld-context-parser-2.3.0.tgz#423a36114bd7876477dabef105efe49cc79fb59b" + integrity sha512-c6w2GE57O26eWFjcPX6k6G86ootsIfpuVwhZKjCll0bVoDGBxr1P4OuU+yvgfnh1GJhAGErolfC7W1BklLjWMg== + dependencies: + "@types/http-link-header" "^1.0.1" + "@types/node" "^18.0.0" + canonicalize "^1.0.1" + cross-fetch "^3.0.6" + http-link-header "^1.0.2" + relative-to-absolute-iri "^1.0.5" + +jsonld@8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/jsonld/-/jsonld-8.1.0.tgz#06c71c0c1eff9be81140843362ce77622d90d67a" + integrity sha512-6tYhiEVYO3rTcoYCGCArw8SqawuW0hf/cqmaE5WbX44CGb7d8N2UFvmUj9OYkJhChD98bfdPljUj7S39MrzsHg== + dependencies: + "@digitalbazaar/http-client" "^3.2.0" + canonicalize "^1.0.1" + lru-cache "^6.0.0" + rdf-canonize "^3.0.0" jsonwebtoken@^9.0.0: version "9.0.0" @@ -2764,16 +2193,6 @@ jsonwebtoken@^9.0.0: ms "^2.1.1" semver "^7.3.8" -jsprim@^1.2.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.2.tgz#712c65533a15c878ba59e9ed5f0e26d5b77c5feb" - integrity sha512-P2bSOMAc/ciLz6DzgjVlGJP9+BrJWu5UDGK70C2iweC5QBIeFf0ZXRvGjEj2uYgrY2MkAAhsSWHDWlFtEroZWw== - dependencies: - assert-plus "1.0.0" - extsprintf "1.3.0" - json-schema "0.4.0" - verror "1.10.0" - jssha@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/jssha/-/jssha-3.3.0.tgz#44b5531bcf55a12f4a388476c647a9a1cca92839" @@ -2805,7 +2224,7 @@ keccak256@^1.0.6: buffer "^6.0.3" keccak "^3.0.2" -keccak@^3.0.0, keccak@^3.0.2: +keccak@^3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.3.tgz#4bc35ad917be1ef54ff246f904c2bbbf9ac61276" integrity sha512-JZrLIAJWuZxKbCilMpNz5Vj7Vtb4scDG3dMXLOsbzBmQGyjwE61BbW7bJkfKKCShXiQZt3T6sBgALRtmd+nZaQ== @@ -2814,12 +2233,18 @@ keccak@^3.0.0, keccak@^3.0.2: node-gyp-build "^4.2.0" readable-stream "^3.6.0" -keyv@^4.0.0: - version "4.5.2" - resolved "https://registry.yarnpkg.com/keyv/-/keyv-4.5.2.tgz#0e310ce73bf7851ec702f2eaf46ec4e3805cce56" - integrity sha512-5MHbFaKn8cNSmVW7BYnijeAVlE4cYA/SVkifVgrh7yotnfhKmjuXpDKjrABLnT0SfHWV21P8ow07OGfRrNDg8g== +ky-universal@^0.11.0: + version "0.11.0" + resolved "https://registry.yarnpkg.com/ky-universal/-/ky-universal-0.11.0.tgz#f5edf857865aaaea416a1968222148ad7d9e4017" + integrity sha512-65KyweaWvk+uKKkCrfAf+xqN2/epw1IJDtlyCPxYffFCMR8u1sp2U65NtWpnozYfZxQ6IUzIlvUcw+hQ82U2Xw== dependencies: - json-buffer "3.0.1" + abort-controller "^3.0.0" + node-fetch "^3.2.10" + +ky@^0.33.2: + version "0.33.2" + resolved "https://registry.yarnpkg.com/ky/-/ky-0.33.2.tgz#76ad8f0403d1e6531f1a5931c79716ed420492b5" + integrity sha512-f6oS2rKUcPu5FzdqCDbFpmzis/JlqFZw8uIHm/jf8Kc3vtnW+VDhuashOAKyBZv8bFiZFZUMNxTC0JtahEvujA== localtunnel@^2.0.2: version "2.0.2" @@ -2851,16 +2276,6 @@ long@^4.0.0: resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== -lowercase-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" - integrity sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA== - -lowercase-keys@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-3.0.0.tgz#c5e7d442e37ead247ae9db117a9d0a467c89d4f2" - integrity sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ== - lru-cache@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" @@ -2880,15 +2295,6 @@ map-stream@~0.1.0: resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194" integrity sha512-CkYQrPYZfWnu/DAmVCpTSX/xHpKZ80eKh2lAkyA6AJTef6bW+6JpbQZN5rofum7da+SyN1bi5ctTm+lTfcCW3g== -md5.js@^1.3.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/md5.js/-/md5.js-1.3.5.tgz#b5d07b8e3216e3e27cd728d72f70d1e6a342005f" - integrity sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - safe-buffer "^5.1.2" - media-typer@0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" @@ -2916,7 +2322,7 @@ mime-db@1.52.0: resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== -mime-types@^2.1.12, mime-types@^2.1.16, mime-types@~2.1.19, mime-types@~2.1.24, mime-types@~2.1.34: +mime-types@^2.1.12, mime-types@~2.1.24, mime-types@~2.1.34: version "2.1.35" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== @@ -2928,23 +2334,6 @@ mime@1.6.0: resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== -mimic-response@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.1.tgz#4923538878eef42063cb8a3e3b0798781487ab1b" - integrity sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ== - -mimic-response@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" - integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== - -min-document@^2.19.0: - version "2.19.0" - resolved "https://registry.yarnpkg.com/min-document/-/min-document-2.19.0.tgz#7bd282e3f5842ed295bb748cdd9f1ffa2c824685" - integrity sha512-9Wy1B3m3f66bPPmU5hdA4DR4PB2OfDU/+GS3yAB7IQozE3tqXaVv2zOjgla7MEGSRv95+ILmOuvhLkOK6wJtCQ== - dependencies: - dom-walk "^0.1.0" - minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -2974,14 +2363,6 @@ minimist@^1.2.6: resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== -minipass@^2.6.0, minipass@^2.9.0: - version "2.9.0" - resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6" - integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg== - dependencies: - safe-buffer "^5.1.2" - yallist "^3.0.0" - minipass@^3.0.0: version "3.3.6" resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" @@ -2994,13 +2375,6 @@ minipass@^4.0.0: resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.0.1.tgz#2b9408c6e81bb8b338d600fb3685e375a370a057" integrity sha512-V9esFpNbK0arbN3fm2sxDKqMYgIp7XtVdE4Esj+PE4Qaaxdg1wIw48ITQIOn1sc8xXSmUviVL3cyjMqPlrVkiA== -minizlib@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d" - integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q== - dependencies: - minipass "^2.9.0" - minizlib@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" @@ -3009,19 +2383,7 @@ minizlib@^2.1.1: minipass "^3.0.0" yallist "^4.0.0" -mkdirp-promise@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/mkdirp-promise/-/mkdirp-promise-5.0.1.tgz#e9b8f68e552c68a9c1713b84883f7a1dd039b8a1" - integrity sha512-Hepn5kb1lJPtVW84RFT40YG1OddBNTOVUZR2bzQUHc+Z03en8/3uX0+060JDhcEzyO08HmipsN9DcnFMxhIL9w== - dependencies: - mkdirp "*" - -mkdirp@*: - version "2.1.3" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-2.1.3.tgz#b083ff37be046fd3d6552468c1f0ff44c1545d1f" - integrity sha512-sjAkg21peAG9HS+Dkx7hlG9Ztx7HLeKnvB3NQRcu/mltCVmvkF0pisbiTSfDVYTT86XEfZrTUosLdZLStquZUw== - -mkdirp@^0.5.4, mkdirp@^0.5.5: +mkdirp@^0.5.4: version "0.5.6" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== @@ -3033,11 +2395,6 @@ mkdirp@^1.0.3: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== -mock-fs@^4.1.0: - version "4.14.0" - resolved "https://registry.yarnpkg.com/mock-fs/-/mock-fs-4.14.0.tgz#ce5124d2c601421255985e6e94da80a7357b1b18" - integrity sha512-qYvlv/exQ4+svI3UOvPUpLDF0OMX5euvUH0Ny4N5QyRyhNdgAgUrVH3iUINSzEPLvx0kbo/Bp28GJKIqvE7URw== - ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" @@ -3085,55 +2442,18 @@ multiaddr@^10.0.0: uint8arrays "^3.0.0" varint "^6.0.0" -multibase@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/multibase/-/multibase-0.7.0.tgz#1adfc1c50abe05eefeb5091ac0c2728d6b84581b" - integrity sha512-TW8q03O0f6PNFTQDvh3xxH03c8CjGaaYrjkl9UQPG6rz53TQzzxJVCIWVjzcbN/Q5Y53Zd0IBQBMVktVgNx4Fg== - dependencies: - base-x "^3.0.8" - buffer "^5.5.0" - -multibase@~0.6.0: - version "0.6.1" - resolved "https://registry.yarnpkg.com/multibase/-/multibase-0.6.1.tgz#b76df6298536cc17b9f6a6db53ec88f85f8cc12b" - integrity sha512-pFfAwyTjbbQgNc3G7D48JkJxWtoJoBMaR4xQUOuB8RnCgRqaYmWNFeJTTvrJ2w51bjLq2zTby6Rqj9TQ9elSUw== - dependencies: - base-x "^3.0.8" - buffer "^5.5.0" - -multicodec@^0.5.5: - version "0.5.7" - resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-0.5.7.tgz#1fb3f9dd866a10a55d226e194abba2dcc1ee9ffd" - integrity sha512-PscoRxm3f+88fAtELwUnZxGDkduE2HD9Q6GHUOywQLjOGT/HAdhjLDYNZ1e7VR0s0TP0EwZ16LNUTFpoBGivOA== - dependencies: - varint "^5.0.0" - -multicodec@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-1.0.4.tgz#46ac064657c40380c28367c90304d8ed175a714f" - integrity sha512-NDd7FeS3QamVtbgfvu5h7fd1IlbaC4EQ0/pgU4zqE2vdHCmBGsUa0TiM8/TdSeG6BMPC92OOCf8F1ocE/Wkrrg== - dependencies: - buffer "^5.6.0" - varint "^5.0.0" - multiformats@^9.0.2, multiformats@^9.4.2, multiformats@^9.4.5, multiformats@^9.5.1, multiformats@^9.5.4: version "9.9.0" resolved "https://registry.yarnpkg.com/multiformats/-/multiformats-9.9.0.tgz#c68354e7d21037a8f1f8833c8ccd68618e8f1d37" integrity sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg== -multihashes@^0.4.15, multihashes@~0.4.15: - version "0.4.21" - resolved "https://registry.yarnpkg.com/multihashes/-/multihashes-0.4.21.tgz#dc02d525579f334a7909ade8a122dabb58ccfcb5" - integrity sha512-uVSvmeCWf36pU2nB4/1kzYZjsXD9vofZKpgudqkceYY5g2aZZXJ5r9lxuzoRLl1OAp28XljXsEJ/X/85ZsKmKw== +n3@^1.16.3: + version "1.16.3" + resolved "https://registry.yarnpkg.com/n3/-/n3-1.16.3.tgz#d339dca14c79648b1595a3252c5410b800b896f8" + integrity sha512-9caLSZuMW1kdlPxEN4ka6E4E8a5QKoZ2emxpW+zHMofI+Bo92nJhN//wNub15S5T9I4c6saEqdGEu+YXJqMZVA== dependencies: - buffer "^5.5.0" - multibase "^0.7.0" - varint "^5.0.0" - -nano-json-stream-parser@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/nano-json-stream-parser/-/nano-json-stream-parser-0.1.2.tgz#0cc8f6d0e2b622b479c40d499c46d64b755c6f5f" - integrity sha512-9MqxMH/BSJC7dnLsEMPyfN5Dvoo49IsPFYMcHw3Bcfc2kN0lpHRBSzlMSVx4HGyJ7s9B31CyBTVehWJoQ8Ctew== + queue-microtask "^1.1.2" + readable-stream "^4.0.0" nanoassert@^2.0.0: version "2.0.0" @@ -3190,6 +2510,11 @@ node-cleanup@^2.1.2: resolved "https://registry.yarnpkg.com/node-cleanup/-/node-cleanup-2.1.2.tgz#7ac19abd297e09a7f72a71545d951b517e4dde2c" integrity sha512-qN8v/s2PAJwGUtr1/hYTpNKlD6Y9rc4p8KSmJXyGdYGZsDGKXrGThikLFP9OCHFeLeEpQzPwiAtdIvBLqm//Hw== +node-domexception@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/node-domexception/-/node-domexception-1.0.0.tgz#6888db46a1f71c0b76b3f7555016b63fe64766e5" + integrity sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ== + node-fetch@2.6.7: version "2.6.7" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" @@ -3204,6 +2529,15 @@ node-fetch@^2.6.7, node-fetch@^2.6.8: dependencies: whatwg-url "^5.0.0" +node-fetch@^3.2.10: + version "3.3.0" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.0.tgz#37e71db4ecc257057af828d523a7243d651d91e4" + integrity sha512-BKwRP/O0UvoMKp7GNdwPlObhYGB5DQqwhEDQlNKuoqwVYSxkSZCSbHjnFFmUEtwSKRPU4kNK8PbDYYitwaE3QA== + dependencies: + data-uri-to-buffer "^4.0.0" + fetch-blob "^3.1.4" + formdata-polyfill "^4.0.10" + node-gyp-build@^4.2.0, node-gyp-build@^4.2.2, node-gyp-build@^4.3.0: version "4.6.0" resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" @@ -3221,11 +2555,6 @@ nopt@^5.0.0: dependencies: abbrev "1" -normalize-url@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" - integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== - npmlog@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-5.0.1.tgz#f06678e80e29419ad67ab964e0fa69959c1eb8b0" @@ -3236,20 +2565,7 @@ npmlog@^5.0.1: gauge "^3.0.0" set-blocking "^2.0.0" -number-to-bn@1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" - integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== - dependencies: - bn.js "4.11.6" - strip-hex-prefix "1.0.0" - -oauth-sign@~0.9.0: - version "0.9.0" - resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" - integrity sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ== - -object-assign@^4, object-assign@^4.1.0, object-assign@^4.1.1: +object-assign@^4, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== @@ -3259,13 +2575,6 @@ object-inspect@^1.9.0: resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== -oboe@2.1.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/oboe/-/oboe-2.1.5.tgz#5554284c543a2266d7a38f17e073821fbde393cd" - integrity sha512-zRFWiF+FoicxEs3jNI/WYUrVEgA7DeET/InK0XQuudGHRg8iIob3cNPrJTKaz4004uaA9Pbe+Dwa8iluhjLZWA== - dependencies: - http-https "^1.0.0" - on-finished@2.4.1: version "2.4.1" resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" @@ -3273,7 +2582,7 @@ on-finished@2.4.1: dependencies: ee-first "1.1.1" -once@^1.3.0, once@^1.3.1, once@^1.4.0: +once@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== @@ -3285,16 +2594,6 @@ openurl@1.1.1: resolved "https://registry.yarnpkg.com/openurl/-/openurl-1.1.1.tgz#3875b4b0ef7a52c156f0db41d4609dbb0f94b387" integrity sha512-d/gTkTb1i1GKz5k3XE3XFV/PxQ1k45zDqGP2OA7YhgsaLoqm6qRvARAZOFer1fcXritWlGBRCu/UgeS4HAnXAA== -p-cancelable@^2.0.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-2.1.1.tgz#aab7fbd416582fa32a3db49859c122487c5ed2cf" - integrity sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg== - -p-cancelable@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-3.0.0.tgz#63826694b54d61ca1c20ebcb6d3ecf5e14cd8050" - integrity sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw== - p-defer@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-3.0.0.tgz#d1dceb4ee9b2b604b1d94ffec83760175d4e6f83" @@ -3313,11 +2612,6 @@ parse-duration@^1.0.0: resolved "https://registry.yarnpkg.com/parse-duration/-/parse-duration-1.0.2.tgz#b9aa7d3a1363cc7e8845bea8fd3baf8a11df5805" integrity sha512-Dg27N6mfok+ow1a2rj/nRjtCfaKrHUZV2SJpEn/s8GaVUSlf4GGRCRP1c13Hj+wfPKVMrFDqLMLITkYKgKxyyg== -parse-headers@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/parse-headers/-/parse-headers-2.0.5.tgz#069793f9356a54008571eb7f9761153e6c770da9" - integrity sha512-ft3iAoLOB/MlwbNXgzy43SWGP6sQki2jQvAyBg/zDFAgr9bfNWZIUj42Kw2eJIl8kEi4PbgE6U1Zau/HwI75HA== - parseurl@~1.3.3: version "1.3.3" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" @@ -3345,22 +2639,6 @@ pause-stream@0.0.11: dependencies: through "~2.3" -pbkdf2@^3.0.17: - version "3.1.2" - resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" - integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== - dependencies: - create-hash "^1.1.2" - create-hmac "^1.1.4" - ripemd160 "^2.0.1" - safe-buffer "^5.0.1" - sha.js "^2.4.8" - -performance-now@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" - integrity sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow== - process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" @@ -3415,34 +2693,11 @@ ps-tree@^1.2.0: dependencies: event-stream "=3.3.4" -psl@^1.1.28: - version "1.9.0" - resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" - integrity sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag== - -pump@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" - integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== - dependencies: - end-of-stream "^1.1.0" - once "^1.3.1" - punycode@1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" integrity sha512-RofWgt/7fL5wP1Y7fxE7/EmTLzQVnB0ycyibJ0OOHIlJqTNzglYFxVwETOcIoJqJmpDXJ9xImDv+Fq34F/d4Dw== -punycode@2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.0.tgz#5f863edc89b96db09074bad7947bf09056ca4e7d" - integrity sha512-Yxz2kRwT90aPiWEMHVYnEf4+rhwF1tBmmZ4KepCP+Wkium9JxtWnUm1nqGwpiAHr/tnTSeHqr3wb++jgSkXjhA== - -punycode@^2.1.0, punycode@^2.1.1: - version "2.3.0" - resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" - integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== - qs@6.11.0: version "6.11.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" @@ -3450,29 +2705,15 @@ qs@6.11.0: dependencies: side-channel "^1.0.4" -qs@~6.5.2: - version "6.5.3" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.3.tgz#3aeeffc91967ef6e35c0e488ef46fb296ab76aad" - integrity sha512-qxXIEh4pCGfHICj1mAJQ2/2XVZkjCDTcEgfoSQxc/fYivUZxTkk7L3bDBJSoNrEzXI17oUO5Dp07ktqE5KzczA== - -query-string@^5.0.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.1.1.tgz#a78c012b71c17e05f2e3fa2319dd330682efb3cb" - integrity sha512-gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw== - dependencies: - decode-uri-component "^0.2.0" - object-assign "^4.1.0" - strict-uri-encode "^1.0.0" - querystring@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620" integrity sha512-X/xY82scca2tau62i9mDyU9K+I+djTMUsvwf7xnUX5GLvVzgJybOJf4Y6o9Zx3oJK/LSXg5tTZBjwzqVPaPO2g== -quick-lru@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" - integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== +queue-microtask@^1.1.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== r1csfile@0.0.40: version "0.0.40" @@ -3484,12 +2725,15 @@ r1csfile@0.0.40: fastfile "0.0.20" ffjavascript "0.2.55" -randombytes@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" - integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== +r1csfile@0.0.41: + version "0.0.41" + resolved "https://registry.yarnpkg.com/r1csfile/-/r1csfile-0.0.41.tgz#e3d2709d36923156dd1fc2db9858987b30c92948" + integrity sha512-Q1WDF3u1vYeAwjHo4YuddkA8Aq0TulbKjmGm99+Atn13Lf5fTsMZBnBV9T741w8iSyPFG6Uh6sapQby77sREqA== dependencies: - safe-buffer "^5.1.0" + "@iden3/bigarray" "0.0.2" + "@iden3/binfileutils" "0.0.11" + fastfile "0.0.20" + ffjavascript "0.2.56" range-parser@~1.2.1: version "1.2.1" @@ -3506,6 +2750,13 @@ raw-body@2.5.1, raw-body@^2.5.1: iconv-lite "0.4.24" unpipe "1.0.0" +rdf-canonize@^3.0.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/rdf-canonize/-/rdf-canonize-3.3.0.tgz#366ef1be17e7a396570bdb75be46446b514a0b04" + integrity sha512-gfSNkMua/VWC1eYbSkVaL/9LQhFeOh0QULwv7Or0f+po8pMgQ1blYQFe1r9Mv2GJZXw88Cz/drnAnB9UlNnHfQ== + dependencies: + setimmediate "^1.0.5" + react-native-fetch-api@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/react-native-fetch-api/-/react-native-fetch-api-3.0.0.tgz#81e1bb6562c292521bc4eca52fe1097f4c1ebab5" @@ -3535,6 +2786,16 @@ readable-stream@^3.6.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" +readable-stream@^4.0.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-4.3.0.tgz#0914d0c72db03b316c9733bb3461d64a3cc50cba" + integrity sha512-MuEnA0lbSi7JS8XM+WNJlWZkHAAdm7gETHdFK//Q/mChGyj2akEFtdLZh32jSdkWGbRwCW9pn6g3LWDdDeZnBQ== + dependencies: + abort-controller "^3.0.0" + buffer "^6.0.3" + events "^3.3.0" + process "^0.11.10" + receptacle@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/receptacle/-/receptacle-1.3.2.tgz#a7994c7efafc7a01d0e2041839dab6c4951360d2" @@ -3559,49 +2820,16 @@ regenerator-runtime@^0.13.11: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== -request@^2.79.0: - version "2.88.2" - resolved "https://registry.yarnpkg.com/request/-/request-2.88.2.tgz#d73c918731cb5a87da047e207234146f664d12b3" - integrity sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw== - dependencies: - aws-sign2 "~0.7.0" - aws4 "^1.8.0" - caseless "~0.12.0" - combined-stream "~1.0.6" - extend "~3.0.2" - forever-agent "~0.6.1" - form-data "~2.3.2" - har-validator "~5.1.3" - http-signature "~1.2.0" - is-typedarray "~1.0.0" - isstream "~0.1.2" - json-stringify-safe "~5.0.1" - mime-types "~2.1.19" - oauth-sign "~0.9.0" - performance-now "^2.1.0" - qs "~6.5.2" - safe-buffer "^5.1.2" - tough-cookie "~2.5.0" - tunnel-agent "^0.6.0" - uuid "^3.3.2" +relative-to-absolute-iri@^1.0.5: + version "1.0.7" + resolved "https://registry.yarnpkg.com/relative-to-absolute-iri/-/relative-to-absolute-iri-1.0.7.tgz#f2fd6ee60c78d9ffc4926bd20bdf84479b91d765" + integrity sha512-Xjyl4HmIzg2jzK/Un2gELqbcE8Fxy85A/aLSHE6PE/3+OGsFwmKVA1vRyGaz6vLWSqLDMHA+5rjD/xbibSQN1Q== require-directory@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== -resolve-alpn@^1.0.0, resolve-alpn@^1.2.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" - integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== - -responselike@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/responselike/-/responselike-2.0.1.tgz#9a0bc8fdc252f3fb1cca68b016591059ba1422bc" - integrity sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw== - dependencies: - lowercase-keys "^2.0.0" - retimer@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/retimer/-/retimer-3.0.0.tgz#98b751b1feaf1af13eb0228f8ea68b8f9da530df" @@ -3619,21 +2847,6 @@ rimraf@^3.0.2: dependencies: glob "^7.1.3" -ripemd160@^2.0.0, ripemd160@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" - integrity sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA== - dependencies: - hash-base "^3.0.0" - inherits "^2.0.1" - -rlp@^2.2.4: - version "2.2.7" - resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.2.7.tgz#33f31c4afac81124ac4b283e2bd4d9720b30beaf" - integrity sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ== - dependencies: - bn.js "^5.2.0" - rollup@^2.72.1: version "2.79.1" resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7" @@ -3641,7 +2854,7 @@ rollup@^2.72.1: optionalDependencies: fsevents "~2.3.2" -safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@^5.1.2, safe-buffer@^5.2.0, safe-buffer@^5.2.1, safe-buffer@~5.2.0: +safe-buffer@5.2.1, safe-buffer@^5.0.1, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== @@ -3651,7 +2864,7 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1: resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0", safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: +"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -3666,20 +2879,11 @@ sax@>=0.6.0: resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw== -scrypt-js@3.0.1, scrypt-js@^3.0.0, scrypt-js@^3.0.1: +scrypt-js@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== -secp256k1@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" - integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== - dependencies: - elliptic "^6.5.4" - node-addon-api "^2.0.0" - node-gyp-build "^4.2.0" - semver@^6.0.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" @@ -3721,17 +2925,6 @@ serve-static@1.15.0: parseurl "~1.3.3" send "0.18.0" -servify@^0.1.12: - version "0.1.12" - resolved "https://registry.yarnpkg.com/servify/-/servify-0.1.12.tgz#142ab7bee1f1d033b66d0707086085b17c06db95" - integrity sha512-/xE6GvsKKqyo1BAY+KxOWXcLpPsUUyji7Qg3bVD7hh1eRze5bR1uYiuDA/k3Gof1s9BTzQZEJK8sNcNGFIzeWw== - dependencies: - body-parser "^1.16.0" - cors "^2.8.1" - express "^4.14.0" - request "^2.79.0" - xhr "^2.3.3" - set-blocking@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" @@ -3747,14 +2940,6 @@ setprototypeof@1.2.0: resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== -sha.js@^2.4.0, sha.js@^2.4.8: - version "2.4.11" - resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.11.tgz#37a5cf0b81ecbc6943de109ba2960d1b26584ae7" - integrity sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ== - dependencies: - inherits "^2.0.1" - safe-buffer "^5.0.1" - shebang-command@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" @@ -3781,21 +2966,23 @@ signal-exit@^3.0.0: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== -simple-concat@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/simple-concat/-/simple-concat-1.0.1.tgz#f46976082ba35c2263f1c8ab5edfe26c41c9552f" - integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== - -simple-get@^2.7.0: - version "2.8.2" - resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.2.tgz#5708fb0919d440657326cd5fe7d2599d07705019" - integrity sha512-Ijd/rV5o+mSBBs4F/x9oDPtTx9Zb6X9brmnXvMW4J7IR15ngi9q5xxqWBKU744jTZiaXtxaPL7uHG6vtN8kUkw== +snarkjs@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/snarkjs/-/snarkjs-0.5.0.tgz#cf26bf1d3835eb16b4b330a438bad9824837d6b0" + integrity sha512-KWz8mZ2Y+6wvn6GGkQo6/ZlKwETdAGohd40Lzpwp5TUZCn6N6O4Az1SuX1rw/qREGL6Im+ycb19suCFE8/xaKA== dependencies: - decompress-response "^3.3.0" - once "^1.3.1" - simple-concat "^1.0.0" + "@iden3/binfileutils" "0.0.11" + bfj "^7.0.2" + blake2b-wasm "^2.4.0" + circom_runtime "0.1.21" + ejs "^3.1.6" + fastfile "0.0.20" + ffjavascript "0.2.56" + js-sha3 "^0.8.0" + logplease "^1.2.15" + r1csfile "0.0.41" -snarkjs@^0.4.16, snarkjs@^0.4.19: +snarkjs@^0.4.16: version "0.4.27" resolved "https://registry.yarnpkg.com/snarkjs/-/snarkjs-0.4.27.tgz#6f00e17e2b0b197dd69029a65ee570085b49a5f0" integrity sha512-2CH4JpOIkaoEiPvc/d9eiA7Vs0mC2ZnQAhFIFF+qp8eVxhHpDXFZn50hEZhcb8lypGry8ZiiEQ73a3hOFOUbYQ== @@ -3843,21 +3030,6 @@ split@0.3: dependencies: through "2" -sshpk@^1.7.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.17.0.tgz#578082d92d4fe612b13007496e543fa0fbcbe4c5" - integrity sha512-/9HIEs1ZXGhSPE8X6Ccm7Nam1z8KcoCqPdI7ecm1N33EzAetWahvQWVqLZtaZQ+IDKX4IyA2o0gBzqIMkAagHQ== - dependencies: - asn1 "~0.2.3" - assert-plus "^1.0.0" - bcrypt-pbkdf "^1.0.0" - dashdash "^1.12.0" - ecc-jsbn "~0.1.1" - getpass "^0.1.1" - jsbn "~0.1.0" - safer-buffer "^2.0.2" - tweetnacl "~0.14.0" - statuses@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" @@ -3882,11 +3054,6 @@ streamsearch@^1.1.0: resolved "https://registry.yarnpkg.com/streamsearch/-/streamsearch-1.1.0.tgz#404dd1e2247ca94af554e841a8ef0eaa238da764" integrity sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg== -strict-uri-encode@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" - integrity sha512-R3f198pcvnB+5IpnBlRkphuE9n46WyVl8I39W/ZUTZLz4nqSP/oLYUrcnJrw462Ds8he4YKMov2efsTIw1BDGQ== - string-argv@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/string-argv/-/string-argv-0.3.1.tgz#95e2fbec0427ae19184935f816d74aaa4c5c19da" @@ -3922,13 +3089,6 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" -strip-hex-prefix@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" - integrity sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A== - dependencies: - is-hex-prefixed "1.0.0" - supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" @@ -3936,36 +3096,6 @@ supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -swarm-js@^0.1.40: - version "0.1.42" - resolved "https://registry.yarnpkg.com/swarm-js/-/swarm-js-0.1.42.tgz#497995c62df6696f6e22372f457120e43e727979" - integrity sha512-BV7c/dVlA3R6ya1lMlSSNPLYrntt0LUq4YMgy3iwpCIc6rZnS5W2wUoctarZ5pXlpKtxDDf9hNziEkcfrxdhqQ== - dependencies: - bluebird "^3.5.0" - buffer "^5.0.5" - eth-lib "^0.1.26" - fs-extra "^4.0.2" - got "^11.8.5" - mime-types "^2.1.16" - mkdirp-promise "^5.0.1" - mock-fs "^4.1.0" - setimmediate "^1.0.5" - tar "^4.0.2" - xhr-request "^1.0.1" - -tar@^4.0.2: - version "4.4.19" - resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.19.tgz#2e4d7263df26f2b914dee10c825ab132123742f3" - integrity sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA== - dependencies: - chownr "^1.1.4" - fs-minipass "^1.2.7" - minipass "^2.9.0" - minizlib "^1.3.3" - mkdirp "^0.5.5" - safe-buffer "^5.2.1" - yallist "^3.1.1" - tar@^6.1.11: version "6.1.13" resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.13.tgz#46e22529000f612180601a6fe0680e7da508847b" @@ -3983,11 +3113,6 @@ through@2, through@~2.3, through@~2.3.1: resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== -timed-out@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" - integrity sha512-G7r3AhovYtr5YKOWQkta8RKAPb+J9IsO4uVmzjl8AZwfhs8UcUwTiD6gcJYSgOtzyjvQKrKYn41syHbUWMkafA== - timeout-abort-controller@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/timeout-abort-controller/-/timeout-abort-controller-3.0.0.tgz#dd57ffca041652c03769904f8d95afd93fb95595" @@ -4005,14 +3130,6 @@ toposort@^2.0.2: resolved "https://registry.yarnpkg.com/toposort/-/toposort-2.0.2.tgz#ae21768175d1559d48bef35420b2f4962f09c330" integrity sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg== -tough-cookie@~2.5.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.5.0.tgz#cd9fb2a0aa1d5a12b473bd9fb96fa3dcff65ade2" - integrity sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g== - dependencies: - psl "^1.1.28" - punycode "^2.1.1" - tr46@~0.0.3: version "0.0.3" resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" @@ -4043,18 +3160,6 @@ tslib@^2.4.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== -tunnel-agent@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" - integrity sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w== - dependencies: - safe-buffer "^5.0.1" - -tweetnacl@^0.14.3, tweetnacl@~0.14.0: - version "0.14.5" - resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" - integrity sha512-KXXFFdAbFXY4geFIwoyNK+f5Z1b7swfXABfL7HXCmoIWMKU3dmS26672A4EeQtDzLKy7SXmfBu51JolvEKwtGA== - type-is@^1.6.4, type-is@~1.6.18: version "1.6.18" resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" @@ -4097,33 +3202,18 @@ uint8arrays@^3.0.0: dependencies: multiformats "^9.4.2" -ultron@~1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/ultron/-/ultron-1.1.1.tgz#9fe1536a10a664a65266a1e3ccf85fd36302bc9c" - integrity sha512-UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og== - -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== +undici@^5.15.0: + version "5.20.0" + resolved "https://registry.yarnpkg.com/undici/-/undici-5.20.0.tgz#6327462f5ce1d3646bcdac99da7317f455bcc263" + integrity sha512-J3j60dYzuo6Eevbawwp1sdg16k5Tf768bxYK4TUJRH7cBM4kFCbf3mOnM/0E3vQYXvpxITbbWmBafaDbxLDz3g== + dependencies: + busboy "^1.6.0" unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== -uri-js@^4.2.2: - version "4.4.1" - resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" - integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== - dependencies: - punycode "^2.1.0" - -url-set-query@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/url-set-query/-/url-set-query-1.0.0.tgz#016e8cfd7c20ee05cafe7795e892bd0702faa339" - integrity sha512-3AChu4NiXquPfeckE5R5cGdiHCMWJx1dwCWOmWIL4KHAziJNOFIYJlpGFeKDvwLPHovZRCxK3cYlwzqI9Vp+Gg== - url@0.10.3: version "0.10.3" resolved "https://registry.yarnpkg.com/url/-/url-0.10.3.tgz#021e4d9c7705f21bbf37d03ceb58767402774c64" @@ -4139,17 +3229,12 @@ utf-8-validate@^5.0.2: dependencies: node-gyp-build "^4.3.0" -utf8@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" - integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== - util-deprecate@^1.0.1, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== -util@^0.12.4, util@^0.12.5: +util@^0.12.4: version "0.12.5" resolved "https://registry.yarnpkg.com/util/-/util-0.12.5.tgz#5f17a6059b73db61a875668781a1c2b136bd6fbc" integrity sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA== @@ -4170,11 +3255,6 @@ uuid@8.0.0: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.0.0.tgz#bc6ccf91b5ff0ac07bbcdbf1c7c4e150db4dbb6c" integrity sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw== -uuid@^3.3.2: - version "3.4.0" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" - integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A== - uuid@^8.3.2: version "8.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" @@ -4185,11 +3265,6 @@ uuid@^9.0.0: resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.0.tgz#592f550650024a38ceb0c562f2f6aa435761efb5" integrity sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg== -varint@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/varint/-/varint-5.0.2.tgz#5b47f8a947eb668b848e034dcfa87d0ff8a7f7a4" - integrity sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow== - varint@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/varint/-/varint-6.0.0.tgz#9881eb0ce8feaea6512439d19ddf84bf551661d0" @@ -4200,15 +3275,6 @@ vary@^1, vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -verror@1.10.0: - version "1.10.0" - resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" - integrity sha512-ZZKSmDAEFOijERBLkmYfJ+vmk3w+7hOLYDNkRCuRuMJGEmqYNCNLyBBFwWKVMhfwaEF3WOd0Zlw86U/WC/+nYw== - dependencies: - assert-plus "^1.0.0" - core-util-is "1.0.2" - extsprintf "^1.2.0" - wasmbuilder@0.0.16: version "0.0.16" resolved "https://registry.yarnpkg.com/wasmbuilder/-/wasmbuilder-0.0.16.tgz#f34c1f2c047d2f6e1065cbfec5603988f16d8549" @@ -4236,246 +3302,22 @@ wasmcurves@0.2.0: dependencies: wasmbuilder "0.0.16" +web-streams-polyfill@^3.0.3: + version "3.2.1" + resolved "https://registry.yarnpkg.com/web-streams-polyfill/-/web-streams-polyfill-3.2.1.tgz#71c2718c52b45fd49dbeee88634b3a60ceab42a6" + integrity sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q== + web-worker@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/web-worker/-/web-worker-1.2.0.tgz#5d85a04a7fbc1e7db58f66595d7a3ac7c9c180da" integrity sha512-PgF341avzqyx60neE9DD+XS26MMNMoUQRz9NOZwW32nPQrF6p77f1htcnjBSEV8BGMKZ16choqUG4hyI0Hx7mA== -web3-bzz@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-bzz/-/web3-bzz-1.8.2.tgz#67ea1c775874056250eece551ded22905ed08784" - integrity sha512-1EEnxjPnFnvNWw3XeeKuTR8PBxYd0+XWzvaLK7OJC/Go9O8llLGxrxICbKV+8cgIE0sDRBxiYx02X+6OhoAQ9w== - dependencies: - "@types/node" "^12.12.6" - got "12.1.0" - swarm-js "^0.1.40" - -web3-core-helpers@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.8.2.tgz#82066560f8085e6c7b93bcc8e88b441289ea9f9f" - integrity sha512-6B1eLlq9JFrfealZBomd1fmlq1o4A09vrCVQSa51ANoib/jllT3atZrRDr0zt1rfI7TSZTZBXdN/aTdeN99DWw== - dependencies: - web3-eth-iban "1.8.2" - web3-utils "1.8.2" - -web3-core-method@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.8.2.tgz#ba5ec68084e903f0516415010477618be017eac2" - integrity sha512-1qnr5mw5wVyULzLOrk4B+ryO3gfGjGd/fx8NR+J2xCGLf1e6OSjxT9vbfuQ3fErk/NjSTWWreieYWLMhaogcRA== - dependencies: - "@ethersproject/transactions" "^5.6.2" - web3-core-helpers "1.8.2" - web3-core-promievent "1.8.2" - web3-core-subscriptions "1.8.2" - web3-utils "1.8.2" - -web3-core-promievent@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.8.2.tgz#e670d6b4453632e6ecfd9ad82da44f77ac1585c9" - integrity sha512-nvkJWDVgoOSsolJldN33tKW6bKKRJX3MCPDYMwP5SUFOA/mCzDEoI88N0JFofDTXkh1k7gOqp1pvwi9heuaxGg== - dependencies: - eventemitter3 "4.0.4" - -web3-core-requestmanager@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.8.2.tgz#dda95e83ca4808949612a41e54ecea557f78ef26" - integrity sha512-p1d090RYs5Mu7DK1yyc3GCBVZB/03rBtFhYFoS2EruGzOWs/5Q0grgtpwS/DScdRAm8wB8mYEBhY/RKJWF6B2g== - dependencies: - util "^0.12.5" - web3-core-helpers "1.8.2" - web3-providers-http "1.8.2" - web3-providers-ipc "1.8.2" - web3-providers-ws "1.8.2" - -web3-core-subscriptions@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.8.2.tgz#0c8bd49439d83c6f0a03c70f00b24a915a70a5ed" - integrity sha512-vXQogHDmAIQcKpXvGiMddBUeP9lnKgYF64+yQJhPNE5PnWr1sAibXuIPV7mIPihpFr/n/DORRj6Wh1pUv9zaTw== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.8.2" - -web3-core@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.8.2.tgz#333e93d7872b1a36efe758ed8b89a7acbdd962c2" - integrity sha512-DJTVEAYcNqxkqruJE+Rxp3CIv0y5AZMwPHQmOkz/cz+MM75SIzMTc0AUdXzGyTS8xMF8h3YWMQGgGEy8SBf1PQ== - dependencies: - "@types/bn.js" "^5.1.0" - "@types/node" "^12.12.6" - bignumber.js "^9.0.0" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-core-requestmanager "1.8.2" - web3-utils "1.8.2" - -web3-eth-abi@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-abi/-/web3-eth-abi-1.8.2.tgz#16e1e9be40e2527404f041a4745111211488f31a" - integrity sha512-Om9g3kaRNjqiNPAgKwGT16y+ZwtBzRe4ZJFGjLiSs6v5I7TPNF+rRMWuKnR6jq0azQZDj6rblvKFMA49/k48Og== - dependencies: - "@ethersproject/abi" "^5.6.3" - web3-utils "1.8.2" - -web3-eth-accounts@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-accounts/-/web3-eth-accounts-1.8.2.tgz#b894f5d5158fcae429da42de75d96520d0712971" - integrity sha512-c367Ij63VCz9YdyjiHHWLFtN85l6QghgwMQH2B1eM/p9Y5lTlTX7t/Eg/8+f1yoIStXbk2w/PYM2lk+IkbqdLA== - dependencies: - "@ethereumjs/common" "2.5.0" - "@ethereumjs/tx" "3.3.2" - eth-lib "0.2.8" - ethereumjs-util "^7.1.5" - scrypt-js "^3.0.1" - uuid "^9.0.0" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-utils "1.8.2" - -web3-eth-contract@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-contract/-/web3-eth-contract-1.8.2.tgz#5388b7130923d2b790c09a420391a81312a867fb" - integrity sha512-ID5A25tHTSBNwOPjiXSVzxruz006ULRIDbzWTYIFTp7NJ7vXu/kynKK2ag/ObuTqBpMbobP8nXcA9b5EDkIdQA== - dependencies: - "@types/bn.js" "^5.1.0" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-core-promievent "1.8.2" - web3-core-subscriptions "1.8.2" - web3-eth-abi "1.8.2" - web3-utils "1.8.2" - -web3-eth-ens@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-ens/-/web3-eth-ens-1.8.2.tgz#0a086ad4d919102e28b9fd3036df246add9df22a" - integrity sha512-PWph7C/CnqdWuu1+SH4U4zdrK4t2HNt0I4XzPYFdv9ugE8EuojselioPQXsVGvjql+Nt3jDLvQvggPqlMbvwRw== - dependencies: - content-hash "^2.5.2" - eth-ens-namehash "2.0.8" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-promievent "1.8.2" - web3-eth-abi "1.8.2" - web3-eth-contract "1.8.2" - web3-utils "1.8.2" - -web3-eth-iban@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.8.2.tgz#5cb3022234b13986f086353b53f0379a881feeaf" - integrity sha512-h3vNblDWkWMuYx93Q27TAJz6lhzpP93EiC3+45D6xoz983p6si773vntoQ+H+5aZhwglBtoiBzdh7PSSOnP/xQ== - dependencies: - bn.js "^5.2.1" - web3-utils "1.8.2" - -web3-eth-personal@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth-personal/-/web3-eth-personal-1.8.2.tgz#3526c1ebaa4e7bf3a0a8ec77e34f067cc9a750b2" - integrity sha512-Vg4HfwCr7doiUF/RC+Jz0wT4+cYaXcOWMAW2AHIjHX6Z7Xwa8nrURIeQgeEE62qcEHAzajyAdB1u6bJyTfuCXw== - dependencies: - "@types/node" "^12.12.6" - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-net "1.8.2" - web3-utils "1.8.2" - -web3-eth@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-eth/-/web3-eth-1.8.2.tgz#8562287ae1803c30eb54dc7d832092e5739ce06a" - integrity sha512-JoTiWWc4F4TInpbvDUGb0WgDYJsFhuIjJlinc5ByjWD88Gvh+GKLsRjjFdbqe5YtwIGT4NymwoC5LQd1K6u/QQ== - dependencies: - web3-core "1.8.2" - web3-core-helpers "1.8.2" - web3-core-method "1.8.2" - web3-core-subscriptions "1.8.2" - web3-eth-abi "1.8.2" - web3-eth-accounts "1.8.2" - web3-eth-contract "1.8.2" - web3-eth-ens "1.8.2" - web3-eth-iban "1.8.2" - web3-eth-personal "1.8.2" - web3-net "1.8.2" - web3-utils "1.8.2" - -web3-net@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-net/-/web3-net-1.8.2.tgz#97e1e0015fabc4cda31017813e98d0b5468dd04f" - integrity sha512-1itkDMGmbgb83Dg9nporFes9/fxsU7smJ3oRXlFkg4ZHn8YJyP1MSQFPJWWwSc+GrcCFt4O5IrUTvEkHqE3xag== - dependencies: - web3-core "1.8.2" - web3-core-method "1.8.2" - web3-utils "1.8.2" - -web3-providers-http@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.8.2.tgz#fbda3a3bbc8db004af36e91bec35f80273b37885" - integrity sha512-2xY94IIEQd16+b+vIBF4IC1p7GVaz9q4EUFscvMUjtEq4ru4Atdzjs9GP+jmcoo49p70II0UV3bqQcz0TQfVyQ== - dependencies: - abortcontroller-polyfill "^1.7.3" - cross-fetch "^3.1.4" - es6-promise "^4.2.8" - web3-core-helpers "1.8.2" - -web3-providers-ipc@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.8.2.tgz#e52a7250f40c83b99a2482ec5b4cf2728377ae5c" - integrity sha512-p6fqKVGFg+WiXGHWnB1hu43PbvPkDHTz4RgoEzbXugv5rtv5zfYLqm8Ba6lrJOS5ks9kGKR21a0y3NzE3u7V4w== - dependencies: - oboe "2.1.5" - web3-core-helpers "1.8.2" - -web3-providers-ws@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.8.2.tgz#56a2b701387011aca9154ca4bc06ea4b5f27e4ef" - integrity sha512-3s/4K+wHgbiN+Zrp9YjMq2eqAF6QGABw7wFftPdx+m5hWImV27/MoIx57c6HffNRqZXmCHnfWWFCNHHsi7wXnA== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.8.2" - websocket "^1.0.32" - -web3-shh@1.8.2: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-shh/-/web3-shh-1.8.2.tgz#217a417f0d6e243dd4d441848ffc2bd164cea8a0" - integrity sha512-uZ+3MAoNcaJsXXNCDnizKJ5viBNeHOFYsCbFhV755Uu52FswzTOw6DtE7yK9nYXMtIhiSgi7nwl1RYzP8pystw== - dependencies: - web3-core "1.8.2" - web3-core-method "1.8.2" - web3-core-subscriptions "1.8.2" - web3-net "1.8.2" - -web3-utils@1.8.2, web3-utils@^1.6.0: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.8.2.tgz#c32dec5e9b955acbab220eefd7715bc540b75cc9" - integrity sha512-v7j6xhfLQfY7xQDrUP0BKbaNrmZ2/+egbqP9q3KYmOiPpnvAfol+32slgL0WX/5n8VPvKCK5EZ1HGrAVICSToA== - dependencies: - bn.js "^5.2.1" - ethereum-bloom-filters "^1.0.6" - ethereumjs-util "^7.1.0" - ethjs-unit "0.1.6" - number-to-bn "1.7.0" - randombytes "^2.1.0" - utf8 "3.0.0" - -web3@^1.6.0: - version "1.8.2" - resolved "https://registry.yarnpkg.com/web3/-/web3-1.8.2.tgz#95a4e5398fd0f01325264bf8e5e8cdc69a7afe86" - integrity sha512-92h0GdEHW9wqDICQQKyG4foZBYi0OQkyg4CRml2F7XBl/NG+fu9o6J19kzfFXzSBoA4DnJXbyRgj/RHZv5LRiw== - dependencies: - web3-bzz "1.8.2" - web3-core "1.8.2" - web3-eth "1.8.2" - web3-eth-personal "1.8.2" - web3-net "1.8.2" - web3-shh "1.8.2" - web3-utils "1.8.2" - webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== -websocket@^1.0.32, websocket@^1.0.34: +websocket@^1.0.34: version "1.0.34" resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.34.tgz#2bdc2602c08bf2c82253b730655c0ef7dcab3111" integrity sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ== @@ -4540,50 +3382,11 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== -ws@^3.0.0: - version "3.3.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-3.3.3.tgz#f1cf84fe2d5e901ebce94efaece785f187a228f2" - integrity sha512-nnWLa/NwZSt4KQJu51MYlCcSQ5g7INpOrOMt4XV8j4dqTXdmlUmSHQ8/oLC069ckre0fRsgfvsKwbTdtKLCDkA== - dependencies: - async-limiter "~1.0.0" - safe-buffer "~5.1.0" - ultron "~1.1.0" - ws@~8.2.3: version "8.2.3" resolved "https://registry.yarnpkg.com/ws/-/ws-8.2.3.tgz#63a56456db1b04367d0b721a0b80cae6d8becbba" integrity sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA== -xhr-request-promise@^0.1.2: - version "0.1.3" - resolved "https://registry.yarnpkg.com/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz#2d5f4b16d8c6c893be97f1a62b0ed4cf3ca5f96c" - integrity sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg== - dependencies: - xhr-request "^1.1.0" - -xhr-request@^1.0.1, xhr-request@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/xhr-request/-/xhr-request-1.1.0.tgz#f4a7c1868b9f198723444d82dcae317643f2e2ed" - integrity sha512-Y7qzEaR3FDtL3fP30k9wO/e+FBnBByZeybKOhASsGP30NIkRAAkKD/sCnLvgEfAIEC1rcmK7YG8f4oEnIrrWzA== - dependencies: - buffer-to-arraybuffer "^0.0.5" - object-assign "^4.1.1" - query-string "^5.0.1" - simple-get "^2.7.0" - timed-out "^4.0.1" - url-set-query "^1.0.0" - xhr "^2.0.4" - -xhr@^2.0.4, xhr@^2.3.3: - version "2.6.0" - resolved "https://registry.yarnpkg.com/xhr/-/xhr-2.6.0.tgz#b69d4395e792b4173d6b7df077f0fc5e4e2b249d" - integrity sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA== - dependencies: - global "~4.4.0" - is-function "^1.0.1" - parse-headers "^2.0.0" - xtend "^4.0.0" - xml2js@0.4.19: version "0.4.19" resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.19.tgz#686c20f213209e94abf0d1bcf1efaa291c7827a7" @@ -4617,11 +3420,6 @@ yallist@4.0.0, yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yallist@^3.0.0, yallist@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" - integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== - yargs-parser@^20.2.2: version "20.2.9" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" From 885640650dcdde5d103f2ec68915188df9eed2c1 Mon Sep 17 00:00:00 2001 From: Gita Alekhya Paul <54375111+gitaalekhyapaul@users.noreply.github.com> Date: Thu, 23 Feb 2023 01:55:01 +0530 Subject: [PATCH 3/6] feat: user poe claim flow --- server/src/org/org.routes.ts | 16 +----- server/src/org/org.service.ts | 69 +----------------------- server/src/services/polygonid.service.ts | 26 +++++++++ server/src/user/user.routes.ts | 41 +++++++++++--- server/src/user/user.service.ts | 61 ++++++++++++++------- 5 files changed, 105 insertions(+), 108 deletions(-) diff --git a/server/src/org/org.routes.ts b/server/src/org/org.routes.ts index 80a9be0..434d216 100644 --- a/server/src/org/org.routes.ts +++ b/server/src/org/org.routes.ts @@ -14,9 +14,7 @@ import { storeOrgDid, clearSignupCache, generateOrgClaim, - Attributes, - generateClaimOffer, - storeClaimOffer, + storeClaimPoeHash, sendClaimOfferEmail, sendOrganizationSignupCompleteEmail, getOrgsData, @@ -196,17 +194,7 @@ const handleOrgCreatePoe = async ( req.body as orgCreatePoeRequest; const { id, did } = res.locals.org; const poeHash = KeyServices.createPoeHashKey(tenure, id); - const attributes: Attributes = [ - { - attributeKey: "poeHash", - attributeValue: poeHash, - }, - ]; - const claimOfferId = await generateClaimOffer( - process.env.POLYGONID_CLAIMSCHEMAID_PROOF_OF_EMPLOYMENT!, - attributes - ); - const reqId = await storeClaimOffer(claimOfferId); + const reqId = await storeClaimPoeHash(poeHash); await sendClaimOfferEmail(email, reqId); res.json({ success: true, diff --git a/server/src/org/org.service.ts b/server/src/org/org.service.ts index abb09dd..95e726b 100644 --- a/server/src/org/org.service.ts +++ b/server/src/org/org.service.ts @@ -308,45 +308,6 @@ export const clearSignupCache = async (orgId: number, sessionId: string) => { await cache?.DEL(`delinzk:verification-pending:${orgId}`); }; -export const generateClaimOffer = async ( - schemaId: string, - attributes: Attributes -) => { - const authToken = await getAdminAuthToken(); - const { data } = await axios.post( - `https://api-staging.polygonid.com/v1/issuers/${process.env.POLYGONID_ISSUERID}/schemas/${schemaId}/offers`, - { - attributes: attributes, - }, - { - headers: { - Authorization: `Bearer ${authToken}`, - }, - } - ); - return data.id; -}; - -export const generateClaimAuth = async ( - claimOfferId: string -): Promise<{ - qrCode: Record; - claimOfferSessionId: string; -}> => { - console.log("Claim offer ID:", claimOfferId); - const { data } = await axios.post( - `https://api-staging.polygonid.com/v1/offers-qrcode/${claimOfferId}` - ); - const qrCode = data.qrcode; - const claimOfferSessionId = data.sessionID; - console.log("Claim offer auth generated:"); - console.dir(qrCode, { depth: null }); - return { - qrCode: qrCode, - claimOfferSessionId: claimOfferSessionId, - }; -}; - export const generateOrgClaim = async (sessionId: string, orgDid: string) => { const qrData = await PolygonIDService.createVerifiedOrgClaim(orgDid); const socket = await SocketService.getSocket(); @@ -355,36 +316,10 @@ export const generateOrgClaim = async (sessionId: string, orgDid: string) => { socket.to(sessionId).emit("org-claim", JSON.stringify(qrData)); }; -export const checkClaimStatus = async (offerId: string, sessionId: string) => { - while (true) { - try { - const { data } = await axios.get( - `https://api-staging.polygonid.com/v1/offers-qrcode/${offerId}?sessionID=${sessionId}` - ); - if (data.status === "done") { - console.log( - "Claim offer ID", - offerId, - "session ID", - sessionId, - "QR generated:" - ); - console.dir(data.qrcode, { depth: null }); - return data.qrcode; - } - await new Promise((resolve, reject) => - setTimeout(() => resolve(0), 1000) - ); - } catch (err) { - break; - } - } -}; - -export const storeClaimOffer = async (claimOfferId: string) => { +export const storeClaimPoeHash = async (poeHash: number) => { const reqId = v4(); const cache = await CacheService.getCache(); - await cache?.set(`delinzk:claim-pending:${reqId}`, claimOfferId, { + await cache?.set(`delinzk:claim-pending:${reqId}`, poeHash, { EX: 604800, }); return reqId; diff --git a/server/src/services/polygonid.service.ts b/server/src/services/polygonid.service.ts index 8b5ab62..2939fa8 100644 --- a/server/src/services/polygonid.service.ts +++ b/server/src/services/polygonid.service.ts @@ -73,6 +73,32 @@ class PolygonIDService { }; } } + public static async createVerifiedPoeClaim(userDid: string, poeHash: number) { + try { + const { data } = await this.apiInstance.post("/claims", { + credentialSchema: process.env.POLYGONID_CLAIMSCHEMA_VERIFIED_POE!, + type: "deLinZKProofOfEmployment", + credentialSubject: { + id: userDid, + poeHash: poeHash, + }, + }); + const claimId = data.id; + const { data: qrData } = await this.apiInstance.get( + `/claims/${claimId}/qrcode` + ); + return qrData; + } catch (err) { + console.error("Error in creating verified Proof-of-Employment claim!"); + console.error(err); + throw { + errorCode: 500, + name: "Polygon ID Error", + message: "Error in creating verified Proof-of-Employment claim!", + polygonIdError: err, + }; + } + } } export default PolygonIDService; diff --git a/server/src/user/user.routes.ts b/server/src/user/user.routes.ts index 24ce369..929965b 100644 --- a/server/src/user/user.routes.ts +++ b/server/src/user/user.routes.ts @@ -20,7 +20,6 @@ import { fetchUserPrivateDetails, fetchUserPublicDetails, generateAuthQr, - listenForClaimAuthComplete, sendUserSignupCompleteEmail, storeUserPhoto, updateUserDetails, @@ -29,11 +28,14 @@ import { userApplyJob, userGetApplications, getAllJobsByUser, + generateClaimAuth, + createUserPoeClaim, } from "./user.service"; -import { authVerify, generateClaimAuth } from "../org/org.service"; +import { authVerify } from "../org/org.service"; import getRawBody from "raw-body"; import { parseUserPhoto } from "../middleware/multer.middleware"; import verifyUser from "../middleware/verify-user.middleware"; +import SocketService from "../services/socket.service"; const router = Router(); @@ -43,21 +45,45 @@ const handleClaimPoe = async ( next: NextFunction ) => { const { reqId } = req.query as userClaimPoeRequest; - const { available, claimOfferId } = await checkIfClaimOfferExists(reqId); + const { available, claimPoeHash } = await checkIfClaimOfferExists(reqId); if (!available) { return res.status(404).json({ success: false, message: `Link has expired / has been already claimed.`, }); } else { - const { claimOfferSessionId, qrCode } = await generateClaimAuth( - claimOfferId! - ); - await listenForClaimAuthComplete(reqId, claimOfferId!, claimOfferSessionId); + const qrCode = await generateClaimAuth(reqId!); res.json(qrCode); } }; +const handleClaimPoeCallback = async ( + req: Request, + res: Response, + next: NextFunction +) => { + try { + const sessionId = req.query.sessionId; + console.log("Callback session ID:", sessionId); + const raw = await getRawBody(req); + const jwz = raw.toString().trim(); + console.log("JWZ Received:"); + console.dir(jwz, { depth: null }); + const result = await authVerify(sessionId as string, jwz, false); + console.log("handleOrgSignInCallback authResponse:"); + console.dir(result, { depth: null }); + const userDid = result?.from; + const qrData = await createUserPoeClaim(sessionId! as string, userDid!); + console.log("User PoE claim generated for session ID", sessionId, ":"); + console.dir(qrData, { depth: null }); + const socket = SocketService.getSocket(); + socket.to(sessionId as string).emit("user-claim", JSON.stringify(qrData)); + res.send("OK"); + } catch (err) { + next(err); + } +}; + const handleUserSignUp = async ( req: Request, res: Response, @@ -351,6 +377,7 @@ router.get( validateQuery("query", userClaimPoeRequestSchema), handleClaimPoe ); +router.post("/claim-poe-callback", handleClaimPoeCallback); router.get("/sign-up", injectSessionId, handleUserSignUp); router.get("/sign-in", injectSessionId, handleUserSignIn); router.post("/sign-up-callback", handleUserSignUpCallback); diff --git a/server/src/user/user.service.ts b/server/src/user/user.service.ts index 6b1749a..58d1153 100644 --- a/server/src/user/user.service.ts +++ b/server/src/user/user.service.ts @@ -1,6 +1,5 @@ import CacheService from "../services/cache.service"; import SocketService from "../services/socket.service"; -import { checkClaimStatus } from "../org/org.service"; import { v4 } from "uuid"; import TunnelService from "../services/tunnel.service"; import { auth, protocol } from "@iden3/js-iden3-auth"; @@ -31,13 +30,13 @@ export interface UserData extends UpdateUserData { export const checkIfClaimOfferExists = async ( reqId: string -): Promise<{ available: boolean; claimOfferId?: string }> => { +): Promise<{ available: boolean; claimPoeHash?: string }> => { const cache = await CacheService.getCache(); - const claimOfferId = await cache?.get(`delinzk:claim-pending:${reqId}`); - if (claimOfferId) { + const claimPoeHash = await cache?.get(`delinzk:claim-pending:${reqId}`); + if (claimPoeHash) { return { available: true, - claimOfferId: claimOfferId, + claimPoeHash: claimPoeHash, }; } else { return { @@ -46,21 +45,6 @@ export const checkIfClaimOfferExists = async ( } }; -export const listenForClaimAuthComplete = async ( - reqId: string, - claimOfferId: string, - claimOfferSessionId: string -) => { - const socket = await SocketService.getSocket(); - const cache = await CacheService.getCache(); - Promise.all([checkClaimStatus(claimOfferId, claimOfferSessionId)]).then( - async (qrCodeData) => { - socket.to(reqId).emit("user-claim", JSON.stringify(qrCodeData[0])); - await cache?.DEL(`delinzk:claim-pending:${reqId}`); - } - ); -}; - export const generateAuthQr = async ( sessionId: string, action: "sign-up" | "sign-in" @@ -464,3 +448,40 @@ export const getAllJobsByUser = async (applicationIds: string[]) => { }); return parsedData; }; + +export const generateClaimAuth = async (reqId: string) => { + const hostUrl = (await TunnelService.getTunnel())?.url; + const cache = await CacheService.getCache(); + const request = auth.createAuthorizationRequestWithMessage( + "Verify your Polygon ID wallet.", + "I hereby verify that I possess a valid DID.", + process.env.POLYGONID_ISSUERDID!, + `${hostUrl}/api/v1/user/claim-poe-callback?sessionId=${reqId}` + ); + const requestId = v4(); + request.id = requestId; + request.thid = requestId; + console.log("Basic Auth Request ID set as:", requestId); + await cache?.set(`delinzk:auth-request:${reqId}`, JSON.stringify(request), { + EX: 1800, + }); + console.log("Request cached for basic auth session", reqId, ":"); + console.dir(request, { depth: null }); + return request; +}; + +export const createUserPoeClaim = async ( + sessionId: string, + userDid: string +) => { + const cache = await CacheService.getCache(); + const poeHash = +( + (await cache?.get(`delinzk:claim-pending:${sessionId}`)) ?? "0" + ); + await cache?.DEL(`delinzk:claim-pending:${sessionId}`); + const qrData = await PolygonIDService.createVerifiedPoeClaim( + userDid, + poeHash + ); + return qrData; +}; From 1be10e0bdc8d1a3ccc7ebc5f578d505f67a6b51a Mon Sep 17 00:00:00 2001 From: Gita Alekhya Paul <54375111+gitaalekhyapaul@users.noreply.github.com> Date: Thu, 23 Feb 2023 02:00:23 +0530 Subject: [PATCH 4/6] feat: code cleanup --- server/.env.example | 12 ++++++------ server/src/admin/admin.service.ts | 20 -------------------- server/src/org/org.service.ts | 6 +++--- server/src/user/user.service.ts | 8 +++++--- 4 files changed, 14 insertions(+), 32 deletions(-) diff --git a/server/.env.example b/server/.env.example index 1cf88e5..43c1fc2 100644 --- a/server/.env.example +++ b/server/.env.example @@ -19,12 +19,12 @@ AWS_SAK= SUBDOMAIN_FE= SUBDOMAIN_BE= -POLYGONID_ISSUERDID= -POLYGONID_ADMIN_EMAIL= -POLYGONID_ADMIN_PASSWORD= -POLYGONID_ISSUERID= -POLYGONID_CLAIMSCHEMAID_VERIFIED_ORG= -POLYGONID_CLAIMSCHEMAID_PROOF_OF_EMPLOYMENT= +POLYGONID_BASEURL= +POLYGONID_AUTH_USERNAME= +POLYGONID_AUTH_PASSWORD= +POLYGONID_ISSUER_DID= +POLYGONID_CLAIMSCHEMA_VERIFIED_ORG= +POLYGONID_CLAIMSCHEMA_VERIFIED_POE= ALCHEMY_APIKEY= diff --git a/server/src/admin/admin.service.ts b/server/src/admin/admin.service.ts index cb51c6f..88091db 100644 --- a/server/src/admin/admin.service.ts +++ b/server/src/admin/admin.service.ts @@ -91,23 +91,3 @@ export const fetchOrganizations = async () => { return data; }; - -export const getAdminAuthToken = async (): Promise => { - const cache = await CacheService.getCache(); - const authToken = await cache?.get("delinzk:admin:auth-token"); - if (authToken) { - return authToken; - } else { - const { data } = await axios.post( - "https://api-staging.polygonid.com/v1/orgs/sign-in", - { - email: process.env.POLYGONID_ADMIN_EMAIL!, - password: process.env.POLYGONID_ADMIN_PASSWORD!, - } - ); - await cache?.set("delinzk:admin:auth-token", data.token, { - EX: 86400, - }); - return data.token; - } -}; diff --git a/server/src/org/org.service.ts b/server/src/org/org.service.ts index 95e726b..13c1ce7 100644 --- a/server/src/org/org.service.ts +++ b/server/src/org/org.service.ts @@ -8,7 +8,6 @@ import CacheService from "../services/cache.service"; import SocketService from "../services/socket.service"; import SupabaseService from "../services/supabase.service"; import EmailService from "../services/email.service"; -import { getAdminAuthToken } from "../admin/admin.service"; import TokenService from "../services/token.service"; import PolygonIDService from "../services/polygonid.service"; @@ -24,7 +23,7 @@ export const generateAuthQr = async (sessionId: string) => { const request = auth.createAuthorizationRequestWithMessage( "Sign in as a verified organization into deLinZK.", "I hereby verify that I am an verified organization of deLinZK.", - process.env.POLYGONID_ISSUERDID!, + issuerDid, `${hostUrl}/api/v1/org/sign-in-callback?sessionId=${sessionId}` ); const requestId = v4(); @@ -257,10 +256,11 @@ export const sendEmailToOrganization = async ( export const generateBasicAuthQr = async (reqId: string) => { const hostUrl = (await TunnelService.getTunnel())?.url; const cache = await CacheService.getCache(); + const issuerDid = await PolygonIDService.getIssuerDID(); const request = auth.createAuthorizationRequestWithMessage( "Verify your Polygon ID wallet.", "I hereby verify that I possess a valid DID.", - process.env.POLYGONID_ISSUERDID!, + issuerDid, `${hostUrl}/api/v1/org/sign-up-complete-callback?sessionId=${reqId}` ); const requestId = v4(); diff --git a/server/src/user/user.service.ts b/server/src/user/user.service.ts index 58d1153..46e8884 100644 --- a/server/src/user/user.service.ts +++ b/server/src/user/user.service.ts @@ -51,10 +51,11 @@ export const generateAuthQr = async ( ) => { const hostUrl = (await TunnelService.getTunnel())?.url; const cache = await CacheService.getCache(); + const issuerDid = await PolygonIDService.getIssuerDID(); const request = auth.createAuthorizationRequestWithMessage( "Verify your Polygon ID wallet.", "I hereby verify that I possess a valid DID.", - process.env.POLYGONID_ISSUERDID!, + issuerDid, `${hostUrl}/api/v1/user/${action}-callback?sessionId=${sessionId}` ); const requestId = v4(); @@ -287,7 +288,7 @@ export const generateProofQr = async ( const request = auth.createAuthorizationRequestWithMessage( "Verify your Proof-of-Employment issued via deLinZK.", "I hereby verify that I have a Proof-of-Employment issued by a deLinZK verified organization.", - process.env.POLYGONID_ISSUERDID!, + issuerDid, `${hostUrl}/api/v1/user/add-poe-callback?sessionId=${sessionId}` ); const requestId = v4(); @@ -452,10 +453,11 @@ export const getAllJobsByUser = async (applicationIds: string[]) => { export const generateClaimAuth = async (reqId: string) => { const hostUrl = (await TunnelService.getTunnel())?.url; const cache = await CacheService.getCache(); + const issuerDid = await PolygonIDService.getIssuerDID(); const request = auth.createAuthorizationRequestWithMessage( "Verify your Polygon ID wallet.", "I hereby verify that I possess a valid DID.", - process.env.POLYGONID_ISSUERDID!, + issuerDid, `${hostUrl}/api/v1/user/claim-poe-callback?sessionId=${reqId}` ); const requestId = v4(); From e4ad2189b89537c338b7fbb076a9a1f798e6d3e9 Mon Sep 17 00:00:00 2001 From: Gita Alekhya Paul <54375111+gitaalekhyapaul@users.noreply.github.com> Date: Thu, 23 Feb 2023 02:02:44 +0530 Subject: [PATCH 5/6] fix Migrate to Iden3 V2 and Polygon ID V2 #38 --- CONTRIBUTING.md | 2 +- README.md | 392 ++++---- server/keys/authV2.json | 185 ++-- server/keys/credentialAtomicQueryMTPV2.json | 935 ++++++++++---------- server/keys/credentialAtomicQuerySigV2.json | 935 ++++++++++---------- 5 files changed, 1211 insertions(+), 1238 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 48534ec..a1defcb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -89,4 +89,4 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi available at [http://contributor-covenant.org/version/1/4][version] [homepage]: http://contributor-covenant.org -[version]: http://contributor-covenant.org/version/1/4/ \ No newline at end of file +[version]: http://contributor-covenant.org/version/1/4/ diff --git a/README.md b/README.md index 47274de..0a516d9 100644 --- a/README.md +++ b/README.md @@ -1,196 +1,196 @@ -
- ETHForAll Online VIII -
-
-
- deLinZK by DreamTeam -
- -
-

-Team DreamTeam present deLinZK. -
-BUIDLing a VinCredible Network - -

-
- Built with ❤️, delivered on ☕, verified by Polygon 🆔 at ETHForAll Online VIII. -
- -# ⚠️ **DISCLAIMER:** The web application is compatible with PolygonID mobile app v1.0.3 - -During the creation of this platform, [`@iden3/js-iden3-auth`](https://github.com/iden3/js-iden3-auth/tree/v0.1.6) was in `v0.1.6`, and PolygonID mobile app was at `v1.0.3`. Due to the recent changes in Iden3 circuits, and Polygon ID mobile app shifting from a custom claim format to a W3C Verifiable Credentials, the web application is incompatible in recent times. - -**But,** we are actively working on it! Track our progress here ✨ [**#38**](https://github.com/jagnani73/ethforall-delinzk/issues/38) - -


Video Demo 📼: HERE


- -# 💡 **Problem Statement** - -The problem with the current networking platforms are that there is no surety in the work experience which users claim to have. The users can also fake their way through, having forged certificates or even having certificates from pseudo-companies, which do not even exist. This is why recruiters resort to using different B2B credential verifiers, which not only charge an absurd amount of money, but also extract a lot of PII (Personal Identifiable Information) from the applicants who apply to these organizations. - -So, there was a need to find a platform which could have credential-verification in-built, and take as less PII from the applicants. - -### 🥁🥁 **Drumroll, please...enter deLinZK 🔥🔥** - -deLinZK is a Zero-Knowledge solution to the above problem, providing a platform both for organizations and employees or users of the platform, to accurately issue Verifiable Credentials which serve as Proof-of-Employments, and for employees it also serves as a proof of work experience after they finish tenure in their current company. deLinZK also provides a comprehensive job board which allows organizations to post jobs, and the employees to apply to them. The organizations do not need to spend additional time verifying the work experience of the applicants, since all of them are already verified by deLinZK through a ZKP way. - -# 🧠 **Knowledge Primer** - -- An _Employee_ is an individual who is working, or has worked for an organization. -- An _Organization_ is an entity that is either looking for an _Employee_ or has some employed. -- An _Admin_ is an envoy of **deLinZK**. They have the duty to verify the PII of the organizations, and on verification of their business details, grant them access to the organizer portal. -- The only authentication the web application uses is _Zero Knowledge Proofs_, which are a type of cryptographic proofs generated based on the claims the application users hold. No personal data is shared while proving any claim, and e-mails are used merely for communication. -- There are two types of claims issued by deLinZK: - - _deLinZK Verified Organization_: This claim holder can verify that they are an admin of an organization verified by deLinZK. This claim can only be issued by the deLinZK admin team, on verification of business documents. - - _deLinZK Proof-of-Employment_: This claim is issued by an organization to it's employees, either retiring or existing employees. The claim data contains a 48-bit **SHAKE128** hash of the tenure of the Employee and the organization ID which issued the claim. - -# 💪 **Challenges Faced (and WAGMI!)** - -- One of the main challenges we faced was the novelty of the implementation, and the experimental phase of the technologies it uses: - - While developing, PolygonID and Iden3 were under active development, hence often introduced major breaking changes. Although we could fix some, we ended up version locking certain dependencies to make the web application work within the deadline of the hackathon. The team will continue to adapt the codebase change from the dependent technologies, so that deLinZK continues to provide its users the safety and security of disclosing their employments. - - Some of the specification changes do break the initial users of the applications. For example, the current users are being issued Polygon ID proprietary schemas, but after the update they will be provided with W3C Verifiable Credentials, which won't be compatible with the current claims. The Iden3 circuits have also changed their specifications, which also changes the query structure which the newer versions of the PolygonID mobile app have, but the older ones cannot. -- Handling real-time data and callbacks was another challenge we faced while making the application. Due to the nature of verification, we had to incorporate complicated Websocket and REST API logic in the same server. In order to maintain the request state between the different callback requests, Redis caching was implemented. -- Encryption was also at the top-most priority while building the application. Since, no PII is shared in the application, but we needed to authenticate different users of the application, we resorted to scrap traditional JWTs for much more advanced JWEs having JWSs inside their payload. -- One of the most interesting challenges we faced was while building the Proof-of-Employment schema: - - We wanted to pass the data in the format to the claim schema: - ```bash - Format suggested: - Example format: YYYYMMDDYYYYMMYYYYORGID - Example value: 2000123120230526125 - - Start Date: 31-12-2000 - - End Date: 26-05-2023 - - Organization ID: 125 - ``` - - The issue was the number generated with this method, was exceeding the limit imposed by the PolygonID platform. The maximum it could parse was a 15-digit integer. - - The initial search started with finding hash algorithms which returned decimals as outputs, which we quickly realized was not possible directly. So the 'bit calculation' game started. Idea was to get some Hexadecimal string, and then converting it to decimal, but we needed something less than 50-bits. - - Hence, we came across **SHAKE-128**, which could give us a 48-bit Hexadecimal string. - - So we hashed the PoE value, converted the Hash into Hexadecimal, and then change the radix of the bits to 10, hence getting a decimal number less than 15-digits. - - **Ingenious, isn't it?** 🤯 - -# 📺 **Previews** - -
-
-

Home Screen 🏠

- Preview Images -
-

Claim Schemas 📜

- -| ![Preview 1.1](./client/public/preview-1-1.png) | ![Preview 1.2](./client/public/preview-1-2.png) | -| ----------------------------------------------- | ----------------------------------------------- | - -Left: Claim schema for Proof-of-Employment, Right: Claim schema for Verified Organization - -
-
-

Organization Creating Proof-of-Employment 🛠️

- Preview Images -
-
-

Employee Claiming the Proof-of-Employment 👑

- Preview Images -
-
-

Employee Profile Page 🫂

- Preview Images -
-
-

Employee Adding new Proof-of-Employments

- Preview Images -
-
-

Organization Creating Jobs ⚙️

- Preview Images -
- -# 💻 **Tech Stack** - -- PolygonID -- Supabase -- ExpressJS -- iden3 -- JWT (JWZ and JWE) -- ReactJS -- NextJS -- NodeJS -- TypeScript -- Redis - -# 📦 **Inside the box** - -deLinZK is a platform that specializes in providing advanced verification services to organizations and their employees. The platform uses Zero Knowledge Proofs using PolygonID and its Self-Sovereign Identity policies to allow: - -- Organizations to verify their legitimacy. -- Employees to verify their tenure in an organization. - -It has an extensive system architecture to support such actions, as well as a comprehensive user flow through the web application. The following diagrams explain the flow: - -### 1. **System Architecture Diagram** - -![System Architecture](./client/public/sys-arch.png) - -### 2. **Flow Diagram** - -![Flow Diagram](./client/public/flow-diag.png) - -# 👀 **How do you get started contributing to deLinZK?** - -- Clone the project, and open it in your editor of choice. -- Setup Redis, Supabase. -- Create schemas for Proof-of-Employment and Verified Organization on the Polygon ID platform. -- Create an AWS account. -- Create Alchemy RPC URL. -- Rename and fill all the relevant values in the [**`.env`**](./server/.env.example) file. -- Rename and fill the frontend [**`.env`**](./client/.env.example) file as well. -- To start the server and the client: - - ```bash - # Install dependencies - yarn - - # For production server - yarn build:server - yarn production:server - - # For development server - yarn dev:server - - # For production client - yarn build:client - yarn production:client - - # For development client - yarn dev:client - ``` - -# ⏭️ **What's next for deLinZK?** - -- One of the major aim of deLinZK is to migrate to W3C VC and Iden3 V2 circuits in the next major launch. -- We need to also figure out a more secure way of storing metadata of the organizations and users. -- Code cleanup and documentation never leaves the chat. -- Shifting from communicating with e-mail to some Web3 native solution. -- Integrating token gating services with deLinZK, to allow organizations to maintain gated communities, maybe even DAOs of their employees. -- If you, the reader have any suggestions, feel free to create an [**Issue 🚀!**](https://github.com/jagnani73/ethforall-delinzk/issues/new) - -# 📜 **License** - -`deLinZK` is available under the MIT license. See the [`LICENSE`](./LICENSE) file for more info. - -# 🤝 **Contributing** - -Please read [`CONTRIBUTING.md`](./CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us. - -# 💥 **Contributors** - - -Contributors - - -# 🚨 **Forking this repo** - -Many people have contacted us asking if they can use this code for their own websites. The answer to that question is usually "yes", with attribution. There are some cases, such as using this code for a business or something that is greater than a personal project, that we may be less comfortable saying yes to. If in doubt, please don't hesitate to ask us. - -We value keeping this site open source, but as you all know, _**plagiarism is bad**_. We spent a non-negligible amount of effort developing, designing, and trying to perfect this iteration of our website, and we are proud of it! All we ask is to not claim this effort as your own. - -Refer to this handy [Quora post](https://www.quora.com/Is-it-bad-to-copy-other-peoples-code) if you're not sure what to do. Thanks! +
+ ETHForAll Online VIII +
+
+
+ deLinZK by DreamTeam +
+ +
+

+Team DreamTeam present deLinZK. +
+BUIDLing a VinCredible Network + +

+
+ Built with ❤️, delivered on ☕, verified by Polygon 🆔 at ETHForAll Online VIII. +
+ +# ⚠️ **DISCLAIMER:** The web application is compatible with PolygonID mobile app v1.0.3 + +During the creation of this platform, [`@iden3/js-iden3-auth`](https://github.com/iden3/js-iden3-auth/tree/v0.1.6) was in `v0.1.6`, and PolygonID mobile app was at `v1.0.3`. Due to the recent changes in Iden3 circuits, and Polygon ID mobile app shifting from a custom claim format to a W3C Verifiable Credentials, the web application is incompatible in recent times. + +**But,** we are actively working on it! Track our progress here ✨ [**#38**](https://github.com/jagnani73/ethforall-delinzk/issues/38) + +


Video Demo 📼: HERE


+ +# 💡 **Problem Statement** + +The problem with the current networking platforms are that there is no surety in the work experience which users claim to have. The users can also fake their way through, having forged certificates or even having certificates from pseudo-companies, which do not even exist. This is why recruiters resort to using different B2B credential verifiers, which not only charge an absurd amount of money, but also extract a lot of PII (Personal Identifiable Information) from the applicants who apply to these organizations. + +So, there was a need to find a platform which could have credential-verification in-built, and take as less PII from the applicants. + +### 🥁🥁 **Drumroll, please...enter deLinZK 🔥🔥** + +deLinZK is a Zero-Knowledge solution to the above problem, providing a platform both for organizations and employees or users of the platform, to accurately issue Verifiable Credentials which serve as Proof-of-Employments, and for employees it also serves as a proof of work experience after they finish tenure in their current company. deLinZK also provides a comprehensive job board which allows organizations to post jobs, and the employees to apply to them. The organizations do not need to spend additional time verifying the work experience of the applicants, since all of them are already verified by deLinZK through a ZKP way. + +# 🧠 **Knowledge Primer** + +- An _Employee_ is an individual who is working, or has worked for an organization. +- An _Organization_ is an entity that is either looking for an _Employee_ or has some employed. +- An _Admin_ is an envoy of **deLinZK**. They have the duty to verify the PII of the organizations, and on verification of their business details, grant them access to the organizer portal. +- The only authentication the web application uses is _Zero Knowledge Proofs_, which are a type of cryptographic proofs generated based on the claims the application users hold. No personal data is shared while proving any claim, and e-mails are used merely for communication. +- There are two types of claims issued by deLinZK: + - _deLinZK Verified Organization_: This claim holder can verify that they are an admin of an organization verified by deLinZK. This claim can only be issued by the deLinZK admin team, on verification of business documents. + - _deLinZK Proof-of-Employment_: This claim is issued by an organization to it's employees, either retiring or existing employees. The claim data contains a 48-bit **SHAKE128** hash of the tenure of the Employee and the organization ID which issued the claim. + +# 💪 **Challenges Faced (and WAGMI!)** + +- One of the main challenges we faced was the novelty of the implementation, and the experimental phase of the technologies it uses: + - While developing, PolygonID and Iden3 were under active development, hence often introduced major breaking changes. Although we could fix some, we ended up version locking certain dependencies to make the web application work within the deadline of the hackathon. The team will continue to adapt the codebase change from the dependent technologies, so that deLinZK continues to provide its users the safety and security of disclosing their employments. + - Some of the specification changes do break the initial users of the applications. For example, the current users are being issued Polygon ID proprietary schemas, but after the update they will be provided with W3C Verifiable Credentials, which won't be compatible with the current claims. The Iden3 circuits have also changed their specifications, which also changes the query structure which the newer versions of the PolygonID mobile app have, but the older ones cannot. +- Handling real-time data and callbacks was another challenge we faced while making the application. Due to the nature of verification, we had to incorporate complicated Websocket and REST API logic in the same server. In order to maintain the request state between the different callback requests, Redis caching was implemented. +- Encryption was also at the top-most priority while building the application. Since, no PII is shared in the application, but we needed to authenticate different users of the application, we resorted to scrap traditional JWTs for much more advanced JWEs having JWSs inside their payload. +- One of the most interesting challenges we faced was while building the Proof-of-Employment schema: + - We wanted to pass the data in the format to the claim schema: + ```bash + Format suggested: + Example format: YYYYMMDDYYYYMMYYYYORGID + Example value: 2000123120230526125 + - Start Date: 31-12-2000 + - End Date: 26-05-2023 + - Organization ID: 125 + ``` + - The issue was the number generated with this method, was exceeding the limit imposed by the PolygonID platform. The maximum it could parse was a 15-digit integer. + - The initial search started with finding hash algorithms which returned decimals as outputs, which we quickly realized was not possible directly. So the 'bit calculation' game started. Idea was to get some Hexadecimal string, and then converting it to decimal, but we needed something less than 50-bits. + - Hence, we came across **SHAKE-128**, which could give us a 48-bit Hexadecimal string. + - So we hashed the PoE value, converted the Hash into Hexadecimal, and then change the radix of the bits to 10, hence getting a decimal number less than 15-digits. + - **Ingenious, isn't it?** 🤯 + +# 📺 **Previews** + +
+
+

Home Screen 🏠

+ Preview Images +
+

Claim Schemas 📜

+ +| ![Preview 1.1](./client/public/preview-1-1.png) | ![Preview 1.2](./client/public/preview-1-2.png) | +| ----------------------------------------------- | ----------------------------------------------- | + +Left: Claim schema for Proof-of-Employment, Right: Claim schema for Verified Organization + +
+
+

Organization Creating Proof-of-Employment 🛠️

+ Preview Images +
+
+

Employee Claiming the Proof-of-Employment 👑

+ Preview Images +
+
+

Employee Profile Page 🫂

+ Preview Images +
+
+

Employee Adding new Proof-of-Employments

+ Preview Images +
+
+

Organization Creating Jobs ⚙️

+ Preview Images +
+ +# 💻 **Tech Stack** + +- PolygonID +- Supabase +- ExpressJS +- iden3 +- JWT (JWZ and JWE) +- ReactJS +- NextJS +- NodeJS +- TypeScript +- Redis + +# 📦 **Inside the box** + +deLinZK is a platform that specializes in providing advanced verification services to organizations and their employees. The platform uses Zero Knowledge Proofs using PolygonID and its Self-Sovereign Identity policies to allow: + +- Organizations to verify their legitimacy. +- Employees to verify their tenure in an organization. + +It has an extensive system architecture to support such actions, as well as a comprehensive user flow through the web application. The following diagrams explain the flow: + +### 1. **System Architecture Diagram** + +![System Architecture](./client/public/sys-arch.png) + +### 2. **Flow Diagram** + +![Flow Diagram](./client/public/flow-diag.png) + +# 👀 **How do you get started contributing to deLinZK?** + +- Clone the project, and open it in your editor of choice. +- Setup Redis, Supabase. +- Create schemas for Proof-of-Employment and Verified Organization on the Polygon ID platform. +- Create an AWS account. +- Create Alchemy RPC URL. +- Rename and fill all the relevant values in the [**`.env`**](./server/.env.example) file. +- Rename and fill the frontend [**`.env`**](./client/.env.example) file as well. +- To start the server and the client: + + ```bash + # Install dependencies + yarn + + # For production server + yarn build:server + yarn production:server + + # For development server + yarn dev:server + + # For production client + yarn build:client + yarn production:client + + # For development client + yarn dev:client + ``` + +# ⏭️ **What's next for deLinZK?** + +- One of the major aim of deLinZK is to migrate to W3C VC and Iden3 V2 circuits in the next major launch. +- We need to also figure out a more secure way of storing metadata of the organizations and users. +- Code cleanup and documentation never leaves the chat. +- Shifting from communicating with e-mail to some Web3 native solution. +- Integrating token gating services with deLinZK, to allow organizations to maintain gated communities, maybe even DAOs of their employees. +- If you, the reader have any suggestions, feel free to create an [**Issue 🚀!**](https://github.com/jagnani73/ethforall-delinzk/issues/new) + +# 📜 **License** + +`deLinZK` is available under the MIT license. See the [`LICENSE`](./LICENSE) file for more info. + +# 🤝 **Contributing** + +Please read [`CONTRIBUTING.md`](./CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us. + +# 💥 **Contributors** + + +Contributors + + +# 🚨 **Forking this repo** + +Many people have contacted us asking if they can use this code for their own websites. The answer to that question is usually "yes", with attribution. There are some cases, such as using this code for a business or something that is greater than a personal project, that we may be less comfortable saying yes to. If in doubt, please don't hesitate to ask us. + +We value keeping this site open source, but as you all know, _**plagiarism is bad**_. We spent a non-negligible amount of effort developing, designing, and trying to perfect this iteration of our website, and we are proud of it! All we ask is to not claim this effort as your own. + +Refer to this handy [Quora post](https://www.quora.com/Is-it-bad-to-copy-other-peoples-code) if you're not sure what to do. Thanks! diff --git a/server/keys/authV2.json b/server/keys/authV2.json index b229c43..0a89ae8 100644 --- a/server/keys/authV2.json +++ b/server/keys/authV2.json @@ -1,104 +1,95 @@ { - "protocol": "groth16", - "curve": "bn128", - "nPublic": 3, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" + "protocol": "groth16", + "curve": "bn128", + "nPublic": 3, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + ["1", "0"] ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "15934125614912710821614323121670433574627734468332981610453472911976383177228", - "13386788725021602198567425385006899728203544659933593917276469726154154017730" - ], - [ - "8759505107016263108323717548646403750748432711908544803866765373342463765424", - "13205305607413475134301212820100793870092003365382735436692046794406857938024" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "12385314984359904314257455036963499193805822249900169493212773820637861017270", - "13455871848617958073752171682190449799364399689372987044617812281838570851280", - "1" + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + ["1", "0"] ], - [ - "1493564767784757620464057507283285365409721187164502463730502309417194080296", - "6377944811748764752279954590131952700069491229367911408873461121555475171995", - "1" + "vk_delta_2": [ + [ + "15934125614912710821614323121670433574627734468332981610453472911976383177228", + "13386788725021602198567425385006899728203544659933593917276469726154154017730" + ], + [ + "8759505107016263108323717548646403750748432711908544803866765373342463765424", + "13205305607413475134301212820100793870092003365382735436692046794406857938024" + ], + ["1", "0"] ], - [ - "17810471156883173964067651564103955395454521925125801510057769541384109536787", - "5548963437503981062668882632052452068705295424483999545932010198708798592260", - "1" + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] ], - [ - "13853274336731202523728826661915506795333516652854674163618978302237601632434", - "15420320918214290109713867361085955935385737854012308761626909938871786338011", - "1" + "IC": [ + [ + "12385314984359904314257455036963499193805822249900169493212773820637861017270", + "13455871848617958073752171682190449799364399689372987044617812281838570851280", + "1" + ], + [ + "1493564767784757620464057507283285365409721187164502463730502309417194080296", + "6377944811748764752279954590131952700069491229367911408873461121555475171995", + "1" + ], + [ + "17810471156883173964067651564103955395454521925125801510057769541384109536787", + "5548963437503981062668882632052452068705295424483999545932010198708798592260", + "1" + ], + [ + "13853274336731202523728826661915506795333516652854674163618978302237601632434", + "15420320918214290109713867361085955935385737854012308761626909938871786338011", + "1" + ] ] - ] -} \ No newline at end of file +} diff --git a/server/keys/credentialAtomicQueryMTPV2.json b/server/keys/credentialAtomicQueryMTPV2.json index 8a61379..3220455 100644 --- a/server/keys/credentialAtomicQueryMTPV2.json +++ b/server/keys/credentialAtomicQueryMTPV2.json @@ -1,474 +1,465 @@ { - "protocol": "groth16", - "curve": "bn128", - "nPublic": 77, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" - ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" - ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "1644379255755665639524620157273694289299700443812573873382829766089313318860", - "7556188580549660317988384269627745620737293209908047921156248879248956624707" - ], - [ - "4152535282542204467329585116559762832011400698522986966067931095980290970188", - "16189055543084045005292506154593172627834306869372118812851261475395122300622" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "18422857078372859553191448164294665542345065709653989973175579679294287359551", - "19200412732094068217443600300610712526816543050849771388672029576371853469584", - "1" - ], - [ - "8966723725809147921162750050376358833176377832917899053889677861860829963550", - "11341153581665210400343795342393322577490484170009235286254673614120878647101", - "1" - ], - [ - "9879865539447750277224788967575737948914682182107587045349147439108894751377", - "21453364078164924208802775510032568576822274174182360910595757742538922255516", - "1" - ], - [ - "17271376920492004526143567349281665569798920608192890900207570109619938357965", - "17658645521956741541229716428562791784745065800560561182268097024675562826941", - "1" - ], - [ - "19447905090608570348274226795081943117318789418973470654210086113107653241278", - "3042974824199824823166471398866477356543673808199912551478342128204368365801", - "1" - ], - [ - "15156321942657123795505661861540145354490508397591060397451108946953030754823", - "2174001979857398238020783370627974461537581724230646957383343539261668427900", - "1" - ], - [ - "2893784367520422410222380456081140868086719201082394136439924349009961441119", - "6701132256860531139366218617785973102272561389281339326001731135503450776817", - "1" - ], - [ - "2682959541435350505256066121391007731952110231233962493700272969732411696733", - "17209169979288623728661647278876944748718715772457044973402738622703306817989", - "1" - ], - [ - "499562621835133157087010512036306131395989534601985940081517169655947305794", - "16171076175966316991086493265714063940602842446350652041818239810706021681879", - "1" - ], - [ - "5132244909724750316498584905084137056169137672686304456145214374629023392472", - "6546991859900461714197094468917430881377836500486013407027474610681775159396", - "1" - ], - [ - "2668576684563152354350259868353189824258528180056497740408480383980454734066", - "1535738486247883392173175472896261157323461087865457493262219315347601667500", - "1" - ], - [ - "10785473402637955729291841575016422918107164425021911175421942675184558968090", - "11345810119385896301851632457198739313674262335948445894527389358734712913516", - "1" - ], - [ - "1412993008080518728455375349826306781032689703676503984254325722611846888434", - "19781302125889607635883414978668480814071954491775541599692924120980145899599", - "1" - ], - [ - "2543531439810734534018065629410144813897832425457328128967847888580078363455", - "8290575017821769892134912565219366777438869089694072485822723325342666816008", - "1" - ], - [ - "1002922190610148990099887492211004813681538196842215269979191666109888959814", - "20619964733250977362581881412991948675311360234768187166450914392005451730358", - "1" - ], - [ - "15870912960135403856400514545374914694476998269086073865385158549754145963771", - "20684949892083599847849427854173962987156046683062436388401257024101668208599", - "1" - ], - [ - "8831502501719650739624882314498213905138374744030524531789511798263213692297", - "12841757675802823212324373320135070019627481835282469830860284467661624632496", - "1" - ], - [ - "11024979320888031984055829947181451956336570558598363948579563194733939622287", - "18997905406534827287278617121302620290169563192770621622363184450430351660574", - "1" - ], - [ - "16869449048007600468318897118524861382044610982428636771901906750236031314195", - "15438052670706503878189305795226519679700087347809533390683372366897495253782", - "1" - ], - [ - "15918279260795292593956401668763734193558830697313388423850914871334250125739", - "8390709997430195886659648328077505730920457894542918693342626584476768467556", - "1" - ], - [ - "10798377190077256499154897763066112669971641940307492798780438616745102850691", - "3612173055981570065938518906067521507588334568151689656355953453603129645964", - "1" - ], - [ - "10283501512088874941321977823410512484354301327524005689289271531565943800039", - "3413727085936726278666795560940572030581500988023163312691493343929115927124", - "1" - ], - [ - "2296275912278297097224081815998877707798340371647976495099500783107062881957", - "9398410071944512098160808850726511894933677864547346561538382995776881905238", - "1" - ], - [ - "16894600684081728341321342508855178930751254711101008689080082374710936127272", - "12161453909477382567743014045075508805093784837270549401954931244139597225085", - "1" - ], - [ - "6268487288856125630650511644329678106052302875119583489182428159711946592368", - "5841252196480850530373191299721977191681750934584486469365944205706179548638", - "1" - ], - [ - "6852882622300147668192439693377660004185303019132689479493632664567357096830", - "10882891395088061300220569909151852301817335367848038253676795263334452296409", - "1" - ], - [ - "15198590029135566791939530181694358354001166637744293674348864120420627936109", - "9367773651339063637980144228320691148645080564385341249114902167341421601663", - "1" - ], - [ - "11703644592499513786125973700632933001103077563618529422619953827430371965059", - "15268256030107099411721655429931816597474879602558228384538893152110835355985", - "1" - ], - [ - "12524529491165694702027137268186075636174656025287741413565496343080631508399", - "9372786123977825789042012545805363579046088706709621468746585656937388381431", - "1" - ], - [ - "273518393549043472687837864184789086758030869752905336300136035955706181307", - "6816952832511221459658135400694225067096307534852277283270887023904178709525", - "1" - ], - [ - "1645523311170082397413986203809923280266656698291914513085993238167303820895", - "13658793807208210506708310931635228156814129276176152104446631399468550574710", - "1" - ], - [ - "11390639911376397182713391277480364588913655592454794923096928705759144302325", - "16055052215912926403164558682533278933518124603384506647616720186625870372867", - "1" - ], - [ - "10610808074017274236947952765930252005116639779114158879106786968725592243684", - "7671742913687145209037761823969411792683583049858439139887877911509751057658", - "1" - ], - [ - "19573573343843071023372313695512762465067533761458715711343634116068133960793", - "10804759726920349984061008954923558679191390728689650000941045331420650211581", - "1" - ], - [ - "5718892343875260885646810564014097593831900510564153360691631833735918621922", - "19625601349877019059513350672441835825347413964694454283368396699203302112641", - "1" - ], - [ - "17307990529150693210709322957072714804583174025000604461211407702857003931209", - "878943824392207542314091105918684915537006706374524180092127487257207923392", - "1" - ], - [ - "5300465178852377029624865156926876561044162413284703918440541317037871183286", - "2915305225397411194819272200797185193292182665741238385087952771727267597912", - "1" - ], - [ - "9612880527467467068262006535491148962364353213124736729187536416888293209040", - "3691954621663688303277327224518417341158474651376667361300715930069929949328", - "1" - ], - [ - "4659570938283906290187099509474824502769017396752042854687823331171116966970", - "1982129089326682353432961132621675691495027987286282104478652337270349755786", - "1" - ], - [ - "9171669747307433455738879483524091533377393831008081692349023733885425842533", - "14669324918730023540806349394380936953692102382177094137706966731531850185803", - "1" - ], - [ - "8483294380952291849397541046823929049822671375665974488330551974691931088249", - "1118822438360952001976652032058766697856113279956390161343914269934471806948", - "1" - ], - [ - "16954932008548591797390692453664155464993616761337408187450399031436068691451", - "6516092349871725883853494482885384994943299298314659902835087366050305733157", - "1" - ], - [ - "20430623878625162966436844654973340404250438949453265942184796279721889554820", - "15872908111081564877987885319993945765058637105045568563559776178765096589967", - "1" - ], - [ - "175869145740468538971598041440955295445778770215511329335724056103936702436", - "1330941033907902700992214800125843240733815089710216278151743962437271604780", - "1" - ], - [ - "12355335036350381959316132638698183510834366979584100346299938102486333409651", - "4337197899687019529242916561241789784321321108925457005094595191731218061427", - "1" - ], - [ - "11278959974421454971056650663355901207164530384695376373432274315213283549762", - "842554942909243186167969515896707366900091987841678552053050312967563820752", - "1" - ], - [ - "16572128460468464946178932017061778626056300216656975648812312257038874108983", - "7496524676544202112869579855832101560057601523534017922081999640502666099689", - "1" - ], - [ - "19105814082294493715744150358143204382795031020497306458203104403838835752024", - "19715005188048319300645177575714392862985133403160061825416709189094450469753", - "1" - ], - [ - "7636982228945323104243940147526887215043114989501502228623732711434331508800", - "13982738495464494120120460721815986042347354712549997051203158421962713433676", - "1" - ], - [ - "7212703893248058395965164342811600518101083790353044441060046803166922457817", - "15288762786599409245379182027975288580639251667570444798242660670608705209235", - "1" - ], - [ - "11337214755796827361301185036423160584799766990991395953495475417562574313330", - "14282192223568265545782851423843119832895522296025493914034676871057884314807", - "1" - ], - [ - "20746519986905068147748204516567545274983109465248753666405436157746830920177", - "5984414899536508968217223729861686103766469456226858624560779213690681060402", - "1" - ], - [ - "10835401963264758836309175755802257634401811007884975246749069652194030956375", - "20233076666563354044232367680463639678769479105556538410861254285658708703420", - "1" - ], - [ - "243822971707479905147982175532573823409429573088000966949247818912169577321", - "18374229255728581891524420253592041272334490428059631108193678882576242302072", - "1" - ], - [ - "16665621857935932261398090194052412477034502749265485109104610789248649096930", - "4394568938787258691701414254311253333292906501134431595510892416905933008608", - "1" - ], - [ - "9950357876444140202359316333055625078754640885945343863436247592237465119463", - "1138728549048290935207405656653273985530868679095638406347317405009163625829", - "1" - ], - [ - "19863557297411049209678228567424529354877434574079354325913524832101308332526", - "8527626429667860262263355611120470385865138889073590553527605186068830407217", - "1" - ], - [ - "6454931913100737965253376358003045929798488773714456992517887361620467712565", - "5326712240024551961475028927056696314978192616898138298267505948927925263882", - "1" - ], - [ - "15042250519748559882627540875078570819853921036848032840277256701118024280589", - "5649902159571578160463121956645683130679194527097684396257161957099165347806", - "1" - ], - [ - "15096897533276062914425200316068732590699959101665592000874713484494800830431", - "20313177966458554724734066811247575256604932796826056754597405446083708154473", - "1" - ], - [ - "17124672994386643376379203570239948164006585373341602602872802697337228865536", - "1034249982625145986964431636683948940121344443741095836073135426238098732767", - "1" - ], - [ - "6786329514687183326195953834745659119650827869829843528091866552166007413531", - "1993645881458801646027317410951338279337068483818691999503849794459167818711", - "1" - ], - [ - "5601166702091586493063206062643823571727623876835658007413482777129841428409", - "5037705200482483083573800351985604926878171687751572424052471739482784122326", - "1" - ], - [ - "12517743032864053125136342570911419464259163379595553834414011868353108191599", - "15318308882908411135628870052674621303091373949504950064687713217509534263616", - "1" - ], - [ - "2720076584159722030644911803109842442973174751015986695246040593821498987517", - "6073106188050137778500476835712188492016074470565039712583218556941277893695", - "1" - ], - [ - "6072412759015559745976615160843960952517043392197448868050821137463119699799", - "11697820246239769847517681526356370124485294496334591385652822729517455816263", - "1" - ], - [ - "14218939431514583760169339971126914781164242455722086424744905020963433287253", - "1239871915323004456937785384528292474791919374060128150903363984409371850053", - "1" - ], - [ - "8387324433281274425414022898278760672945100111518697527852082193344751454886", - "5589006578670031279992593208025532258965044721350145546467657955535328825951", - "1" - ], - [ - "21615450483089399676059755315641193001798326355023690261884634016377584537760", - "10956155007380443561435691838052280090538388505191022308074967521520083662819", - "1" - ], - [ - "216446200713786284729733446575921700734085159824299226438396861091476902009", - "13844554435458360555419931531505822549409871042801949625799040630213897945120", - "1" - ], - [ - "9845971582412603975624980875697041252601141575674463764818906420682062211318", - "1541017164427640523004714101054634990123563920021310542692226961701567976926", - "1" - ], - [ - "1204229363117598338427021726830976171601871025347145772643221171662262684058", - "3690138767954927564625982017409119462210512389179169664323854093643671574661", - "1" - ], - [ - "17447195784314061576734074992306359578375369517939049547706017414211939990948", - "5224769475162921324539668905049572257714496627544607906446249174566771227829", - "1" - ], - [ - "13126571971650265371015826140101898742548802556718166762709215223240837280512", - "4690349372257300850033015163519866378891105455880081651346259355150267250533", - "1" - ], - [ - "21063429119858892196984159725113911698991549202459080500178175790766238358869", - "7912342920305948383152463874981556321577003229794067565185588863006975486779", - "1" - ], - [ - "1617209403466779091458035238367795741637095004483882576008873822959780975681", - "11949429827523506994129552860898322068244208587609870060632189121669082060574", - "1" - ], - [ - "17419887907072158078351093176677693169251831632205134986750364946088731582087", - "9178252111851939224017025851693510236346605583176672118134620364375005187172", - "1" - ], - [ - "15309663281578759488226592812361926542424721970055480411147967135175426869247", - "13088871215177201383996211899405549173916825387544384325828612069408611872675", - "1" + "protocol": "groth16", + "curve": "bn128", + "nPublic": 77, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + ["1", "0"] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + ["1", "0"] + ], + "vk_delta_2": [ + [ + "1644379255755665639524620157273694289299700443812573873382829766089313318860", + "7556188580549660317988384269627745620737293209908047921156248879248956624707" + ], + [ + "4152535282542204467329585116559762832011400698522986966067931095980290970188", + "16189055543084045005292506154593172627834306869372118812851261475395122300622" + ], + ["1", "0"] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "18422857078372859553191448164294665542345065709653989973175579679294287359551", + "19200412732094068217443600300610712526816543050849771388672029576371853469584", + "1" + ], + [ + "8966723725809147921162750050376358833176377832917899053889677861860829963550", + "11341153581665210400343795342393322577490484170009235286254673614120878647101", + "1" + ], + [ + "9879865539447750277224788967575737948914682182107587045349147439108894751377", + "21453364078164924208802775510032568576822274174182360910595757742538922255516", + "1" + ], + [ + "17271376920492004526143567349281665569798920608192890900207570109619938357965", + "17658645521956741541229716428562791784745065800560561182268097024675562826941", + "1" + ], + [ + "19447905090608570348274226795081943117318789418973470654210086113107653241278", + "3042974824199824823166471398866477356543673808199912551478342128204368365801", + "1" + ], + [ + "15156321942657123795505661861540145354490508397591060397451108946953030754823", + "2174001979857398238020783370627974461537581724230646957383343539261668427900", + "1" + ], + [ + "2893784367520422410222380456081140868086719201082394136439924349009961441119", + "6701132256860531139366218617785973102272561389281339326001731135503450776817", + "1" + ], + [ + "2682959541435350505256066121391007731952110231233962493700272969732411696733", + "17209169979288623728661647278876944748718715772457044973402738622703306817989", + "1" + ], + [ + "499562621835133157087010512036306131395989534601985940081517169655947305794", + "16171076175966316991086493265714063940602842446350652041818239810706021681879", + "1" + ], + [ + "5132244909724750316498584905084137056169137672686304456145214374629023392472", + "6546991859900461714197094468917430881377836500486013407027474610681775159396", + "1" + ], + [ + "2668576684563152354350259868353189824258528180056497740408480383980454734066", + "1535738486247883392173175472896261157323461087865457493262219315347601667500", + "1" + ], + [ + "10785473402637955729291841575016422918107164425021911175421942675184558968090", + "11345810119385896301851632457198739313674262335948445894527389358734712913516", + "1" + ], + [ + "1412993008080518728455375349826306781032689703676503984254325722611846888434", + "19781302125889607635883414978668480814071954491775541599692924120980145899599", + "1" + ], + [ + "2543531439810734534018065629410144813897832425457328128967847888580078363455", + "8290575017821769892134912565219366777438869089694072485822723325342666816008", + "1" + ], + [ + "1002922190610148990099887492211004813681538196842215269979191666109888959814", + "20619964733250977362581881412991948675311360234768187166450914392005451730358", + "1" + ], + [ + "15870912960135403856400514545374914694476998269086073865385158549754145963771", + "20684949892083599847849427854173962987156046683062436388401257024101668208599", + "1" + ], + [ + "8831502501719650739624882314498213905138374744030524531789511798263213692297", + "12841757675802823212324373320135070019627481835282469830860284467661624632496", + "1" + ], + [ + "11024979320888031984055829947181451956336570558598363948579563194733939622287", + "18997905406534827287278617121302620290169563192770621622363184450430351660574", + "1" + ], + [ + "16869449048007600468318897118524861382044610982428636771901906750236031314195", + "15438052670706503878189305795226519679700087347809533390683372366897495253782", + "1" + ], + [ + "15918279260795292593956401668763734193558830697313388423850914871334250125739", + "8390709997430195886659648328077505730920457894542918693342626584476768467556", + "1" + ], + [ + "10798377190077256499154897763066112669971641940307492798780438616745102850691", + "3612173055981570065938518906067521507588334568151689656355953453603129645964", + "1" + ], + [ + "10283501512088874941321977823410512484354301327524005689289271531565943800039", + "3413727085936726278666795560940572030581500988023163312691493343929115927124", + "1" + ], + [ + "2296275912278297097224081815998877707798340371647976495099500783107062881957", + "9398410071944512098160808850726511894933677864547346561538382995776881905238", + "1" + ], + [ + "16894600684081728341321342508855178930751254711101008689080082374710936127272", + "12161453909477382567743014045075508805093784837270549401954931244139597225085", + "1" + ], + [ + "6268487288856125630650511644329678106052302875119583489182428159711946592368", + "5841252196480850530373191299721977191681750934584486469365944205706179548638", + "1" + ], + [ + "6852882622300147668192439693377660004185303019132689479493632664567357096830", + "10882891395088061300220569909151852301817335367848038253676795263334452296409", + "1" + ], + [ + "15198590029135566791939530181694358354001166637744293674348864120420627936109", + "9367773651339063637980144228320691148645080564385341249114902167341421601663", + "1" + ], + [ + "11703644592499513786125973700632933001103077563618529422619953827430371965059", + "15268256030107099411721655429931816597474879602558228384538893152110835355985", + "1" + ], + [ + "12524529491165694702027137268186075636174656025287741413565496343080631508399", + "9372786123977825789042012545805363579046088706709621468746585656937388381431", + "1" + ], + [ + "273518393549043472687837864184789086758030869752905336300136035955706181307", + "6816952832511221459658135400694225067096307534852277283270887023904178709525", + "1" + ], + [ + "1645523311170082397413986203809923280266656698291914513085993238167303820895", + "13658793807208210506708310931635228156814129276176152104446631399468550574710", + "1" + ], + [ + "11390639911376397182713391277480364588913655592454794923096928705759144302325", + "16055052215912926403164558682533278933518124603384506647616720186625870372867", + "1" + ], + [ + "10610808074017274236947952765930252005116639779114158879106786968725592243684", + "7671742913687145209037761823969411792683583049858439139887877911509751057658", + "1" + ], + [ + "19573573343843071023372313695512762465067533761458715711343634116068133960793", + "10804759726920349984061008954923558679191390728689650000941045331420650211581", + "1" + ], + [ + "5718892343875260885646810564014097593831900510564153360691631833735918621922", + "19625601349877019059513350672441835825347413964694454283368396699203302112641", + "1" + ], + [ + "17307990529150693210709322957072714804583174025000604461211407702857003931209", + "878943824392207542314091105918684915537006706374524180092127487257207923392", + "1" + ], + [ + "5300465178852377029624865156926876561044162413284703918440541317037871183286", + "2915305225397411194819272200797185193292182665741238385087952771727267597912", + "1" + ], + [ + "9612880527467467068262006535491148962364353213124736729187536416888293209040", + "3691954621663688303277327224518417341158474651376667361300715930069929949328", + "1" + ], + [ + "4659570938283906290187099509474824502769017396752042854687823331171116966970", + "1982129089326682353432961132621675691495027987286282104478652337270349755786", + "1" + ], + [ + "9171669747307433455738879483524091533377393831008081692349023733885425842533", + "14669324918730023540806349394380936953692102382177094137706966731531850185803", + "1" + ], + [ + "8483294380952291849397541046823929049822671375665974488330551974691931088249", + "1118822438360952001976652032058766697856113279956390161343914269934471806948", + "1" + ], + [ + "16954932008548591797390692453664155464993616761337408187450399031436068691451", + "6516092349871725883853494482885384994943299298314659902835087366050305733157", + "1" + ], + [ + "20430623878625162966436844654973340404250438949453265942184796279721889554820", + "15872908111081564877987885319993945765058637105045568563559776178765096589967", + "1" + ], + [ + "175869145740468538971598041440955295445778770215511329335724056103936702436", + "1330941033907902700992214800125843240733815089710216278151743962437271604780", + "1" + ], + [ + "12355335036350381959316132638698183510834366979584100346299938102486333409651", + "4337197899687019529242916561241789784321321108925457005094595191731218061427", + "1" + ], + [ + "11278959974421454971056650663355901207164530384695376373432274315213283549762", + "842554942909243186167969515896707366900091987841678552053050312967563820752", + "1" + ], + [ + "16572128460468464946178932017061778626056300216656975648812312257038874108983", + "7496524676544202112869579855832101560057601523534017922081999640502666099689", + "1" + ], + [ + "19105814082294493715744150358143204382795031020497306458203104403838835752024", + "19715005188048319300645177575714392862985133403160061825416709189094450469753", + "1" + ], + [ + "7636982228945323104243940147526887215043114989501502228623732711434331508800", + "13982738495464494120120460721815986042347354712549997051203158421962713433676", + "1" + ], + [ + "7212703893248058395965164342811600518101083790353044441060046803166922457817", + "15288762786599409245379182027975288580639251667570444798242660670608705209235", + "1" + ], + [ + "11337214755796827361301185036423160584799766990991395953495475417562574313330", + "14282192223568265545782851423843119832895522296025493914034676871057884314807", + "1" + ], + [ + "20746519986905068147748204516567545274983109465248753666405436157746830920177", + "5984414899536508968217223729861686103766469456226858624560779213690681060402", + "1" + ], + [ + "10835401963264758836309175755802257634401811007884975246749069652194030956375", + "20233076666563354044232367680463639678769479105556538410861254285658708703420", + "1" + ], + [ + "243822971707479905147982175532573823409429573088000966949247818912169577321", + "18374229255728581891524420253592041272334490428059631108193678882576242302072", + "1" + ], + [ + "16665621857935932261398090194052412477034502749265485109104610789248649096930", + "4394568938787258691701414254311253333292906501134431595510892416905933008608", + "1" + ], + [ + "9950357876444140202359316333055625078754640885945343863436247592237465119463", + "1138728549048290935207405656653273985530868679095638406347317405009163625829", + "1" + ], + [ + "19863557297411049209678228567424529354877434574079354325913524832101308332526", + "8527626429667860262263355611120470385865138889073590553527605186068830407217", + "1" + ], + [ + "6454931913100737965253376358003045929798488773714456992517887361620467712565", + "5326712240024551961475028927056696314978192616898138298267505948927925263882", + "1" + ], + [ + "15042250519748559882627540875078570819853921036848032840277256701118024280589", + "5649902159571578160463121956645683130679194527097684396257161957099165347806", + "1" + ], + [ + "15096897533276062914425200316068732590699959101665592000874713484494800830431", + "20313177966458554724734066811247575256604932796826056754597405446083708154473", + "1" + ], + [ + "17124672994386643376379203570239948164006585373341602602872802697337228865536", + "1034249982625145986964431636683948940121344443741095836073135426238098732767", + "1" + ], + [ + "6786329514687183326195953834745659119650827869829843528091866552166007413531", + "1993645881458801646027317410951338279337068483818691999503849794459167818711", + "1" + ], + [ + "5601166702091586493063206062643823571727623876835658007413482777129841428409", + "5037705200482483083573800351985604926878171687751572424052471739482784122326", + "1" + ], + [ + "12517743032864053125136342570911419464259163379595553834414011868353108191599", + "15318308882908411135628870052674621303091373949504950064687713217509534263616", + "1" + ], + [ + "2720076584159722030644911803109842442973174751015986695246040593821498987517", + "6073106188050137778500476835712188492016074470565039712583218556941277893695", + "1" + ], + [ + "6072412759015559745976615160843960952517043392197448868050821137463119699799", + "11697820246239769847517681526356370124485294496334591385652822729517455816263", + "1" + ], + [ + "14218939431514583760169339971126914781164242455722086424744905020963433287253", + "1239871915323004456937785384528292474791919374060128150903363984409371850053", + "1" + ], + [ + "8387324433281274425414022898278760672945100111518697527852082193344751454886", + "5589006578670031279992593208025532258965044721350145546467657955535328825951", + "1" + ], + [ + "21615450483089399676059755315641193001798326355023690261884634016377584537760", + "10956155007380443561435691838052280090538388505191022308074967521520083662819", + "1" + ], + [ + "216446200713786284729733446575921700734085159824299226438396861091476902009", + "13844554435458360555419931531505822549409871042801949625799040630213897945120", + "1" + ], + [ + "9845971582412603975624980875697041252601141575674463764818906420682062211318", + "1541017164427640523004714101054634990123563920021310542692226961701567976926", + "1" + ], + [ + "1204229363117598338427021726830976171601871025347145772643221171662262684058", + "3690138767954927564625982017409119462210512389179169664323854093643671574661", + "1" + ], + [ + "17447195784314061576734074992306359578375369517939049547706017414211939990948", + "5224769475162921324539668905049572257714496627544607906446249174566771227829", + "1" + ], + [ + "13126571971650265371015826140101898742548802556718166762709215223240837280512", + "4690349372257300850033015163519866378891105455880081651346259355150267250533", + "1" + ], + [ + "21063429119858892196984159725113911698991549202459080500178175790766238358869", + "7912342920305948383152463874981556321577003229794067565185588863006975486779", + "1" + ], + [ + "1617209403466779091458035238367795741637095004483882576008873822959780975681", + "11949429827523506994129552860898322068244208587609870060632189121669082060574", + "1" + ], + [ + "17419887907072158078351093176677693169251831632205134986750364946088731582087", + "9178252111851939224017025851693510236346605583176672118134620364375005187172", + "1" + ], + [ + "15309663281578759488226592812361926542424721970055480411147967135175426869247", + "13088871215177201383996211899405549173916825387544384325828612069408611872675", + "1" + ] ] - ] -} \ No newline at end of file +} diff --git a/server/keys/credentialAtomicQuerySigV2.json b/server/keys/credentialAtomicQuerySigV2.json index 65fc8b5..471b1d8 100644 --- a/server/keys/credentialAtomicQuerySigV2.json +++ b/server/keys/credentialAtomicQuerySigV2.json @@ -1,474 +1,465 @@ { - "protocol": "groth16", - "curve": "bn128", - "nPublic": 77, - "vk_alpha_1": [ - "20491192805390485299153009773594534940189261866228447918068658471970481763042", - "9383485363053290200918347156157836566562967994039712273449902621266178545958", - "1" - ], - "vk_beta_2": [ - [ - "6375614351688725206403948262868962793625744043794305715222011528459656738731", - "4252822878758300859123897981450591353533073413197771768651442665752259397132" - ], - [ - "10505242626370262277552901082094356697409835680220590971873171140371331206856", - "21847035105528745403288232691147584728191162732299865338377159692350059136679" - ], - [ - "1", - "0" - ] - ], - "vk_gamma_2": [ - [ - "10857046999023057135944570762232829481370756359578518086990519993285655852781", - "11559732032986387107991004021392285783925812861821192530917403151452391805634" - ], - [ - "8495653923123431417604973247489272438418190587263600148770280649306958101930", - "4082367875863433681332203403145435568316851327593401208105741076214120093531" - ], - [ - "1", - "0" - ] - ], - "vk_delta_2": [ - [ - "94086484245612286241184073311986077918425211631674599706523220655149342939", - "9066276963657894725757757487225537372173116727614372653696187043001221518998" - ], - [ - "3327364283265612114403912214795791325281389316262923243431510926287241284864", - "14359594691603603310505775002171568388983231776478551485379790891637661560036" - ], - [ - "1", - "0" - ] - ], - "vk_alphabeta_12": [ - [ - [ - "2029413683389138792403550203267699914886160938906632433982220835551125967885", - "21072700047562757817161031222997517981543347628379360635925549008442030252106" - ], - [ - "5940354580057074848093997050200682056184807770593307860589430076672439820312", - "12156638873931618554171829126792193045421052652279363021382169897324752428276" - ], - [ - "7898200236362823042373859371574133993780991612861777490112507062703164551277", - "7074218545237549455313236346927434013100842096812539264420499035217050630853" - ] - ], - [ - [ - "7077479683546002997211712695946002074877511277312570035766170199895071832130", - "10093483419865920389913245021038182291233451549023025229112148274109565435465" - ], - [ - "4595479056700221319381530156280926371456704509942304414423590385166031118820", - "19831328484489333784475432780421641293929726139240675179672856274388269393268" - ], - [ - "11934129596455521040620786944827826205713621633706285934057045369193958244500", - "8037395052364110730298837004334506829870972346962140206007064471173334027475" - ] - ] - ], - "IC": [ - [ - "82858741371846418102390975654111682337499684659569272071403747441178775094", - "4286912121744489803335872688967541084060786471335097977275283322008748340788", - "1" - ], - [ - "2949292283195261203307481545407020289663288337904117332935641624369320632240", - "4895868961372318516427313051068589418900672425971040539274101100343980810774", - "1" - ], - [ - "4283138832985371893627053916321257875901863688069679108552360851257151597412", - "12301445626126932387280175924125479080740113735715055950924670609729124190207", - "1" - ], - [ - "11403809675918608249249090476998815481360885938257614779638377601415472359725", - "10370383889744288167730128292551983273910856935841190320403487139321945926331", - "1" - ], - [ - "146046474957242547231947902105279535658945942556306365105970828598652582527", - "19316391077135032736180617854925909709408388622932141258157985352356274532963", - "1" - ], - [ - "19392288121313736624150032390760791125928224365133434019677559994823666881089", - "16678649776488360981633823784602747916355420844155287963893744273416034228821", - "1" - ], - [ - "17700244988293823646570920639274788254338288455367989082935279790186368535035", - "9321729693794775981089306312375631163270588069455137620052333218103779355408", - "1" - ], - [ - "6304242739428065891345661929109377623420995931327428546798256748327063014748", - "10780954993779202198998690148500166760839127869483280185479097694857479543720", - "1" - ], - [ - "15890615372155272172271387761362992284949685750813721764642195772457152019165", - "16926364370539068089248210833120023205713972276708964692683476649740531300907", - "1" - ], - [ - "8982718515991384638670171335434300220939254007691698916481977516501727365353", - "19933274338973273645600209826788464024915126306902861441259660444347103717011", - "1" - ], - [ - "13624813441697027269419893255557978801536200641544726966141640956028191608323", - "14568380736652140809608442081925020674177705472939839035342120687477258992462", - "1" - ], - [ - "7287001243757652147041978755465708957323122739823909998863775376965394099650", - "8194529377789992862935644002017654759465911480466382895596098893998234618850", - "1" - ], - [ - "15672609491810685215081462552663762421452118634631233092085621737595234267652", - "2904325643405367825992406778236164206511504644734317609359066533215328475457", - "1" - ], - [ - "915419396354435358079156433856200252628133349566107753168383098995762031654", - "7640503160883357453422046063266912192061137337928989362670501928245645451659", - "1" - ], - [ - "14233801682464959754511413505122573904411742927995284652060293502655728201014", - "16894634587173766457107177463154201142416235583146961458016001995514241600797", - "1" - ], - [ - "865637081385889540821011982382409477264012478881380726208863605069542609927", - "2851681816679478967076297609298375717665401236464133109800669778140378240569", - "1" - ], - [ - "14583623854715049637997176036159291974860261686624791798735868439140771963929", - "6184396208904580798818208852802256520753949645935054330532118256917410168729", - "1" - ], - [ - "7340832411020963493191281149327227244123195086114916154649774645956361514808", - "15074654768397897175094344665304877372038748718786237401937087336643412854581", - "1" - ], - [ - "19226322861612796019283465663964339481922670365980090908059633666493003526920", - "4784769513565224451763088600366892575717723263716353119873721504223139128187", - "1" - ], - [ - "4012352361946387705819729346828208464133226668583289635600033112445603056095", - "16057116501864906353475966636435162596350251241825748835463929049616401925621", - "1" - ], - [ - "17699015327677133433762523603786186670660923725134988336625372092121404781352", - "20779678450565816831584776337126804401686084032081969015904070067714797666579", - "1" - ], - [ - "7110239219642171000502622847102158151023059843711231146792904825853085995446", - "13160112334708882478456144620242292286930388110897910022916805337362636596223", - "1" - ], - [ - "18572966839469907925154251914990082086889869375548359485092736092666901883458", - "2717317841156606824568938974067202962925196229862100442399526546853487033983", - "1" - ], - [ - "18220496879414149572832879223762015215122990853285228408008689887370853115800", - "20936442965528445732757109001578889091199378707564445483449611217812774527300", - "1" - ], - [ - "12232077851023924549383437896602730279522249237260024995597446142400396114435", - "6563047663035805798395574221466154696714942622556424013116465603874844109521", - "1" - ], - [ - "12109591576870421145669126698637125260126292886167173093152618373092533930060", - "4838150475568627509687345029028244688244087639289765225238388542584247749631", - "1" - ], - [ - "11686953332615374166413400118993933874772588790879032818717674616364110119003", - "997777557714243682580030314729391031075903187098529888297775331753993942129", - "1" - ], - [ - "17856019272291166215824899590072473034447333075695359997293931405627546425641", - "20847076087560230989541971055803462020430493691416327989998676442287723694850", - "1" - ], - [ - "3719233446259090602031823947643646288707755415354997947878759420203354178997", - "8365343103859542659965068947238411148203250330874262347086737251125778319916", - "1" - ], - [ - "11510913293380810758607591029811272398780473934028209478267236534219159061926", - "21487940007144748529535209675246355785366971140524949831759963463815763342086", - "1" - ], - [ - "1320866581863043338512589290197401952944129485739535713341560521800016476945", - "2493558738654724256478579784099858256156921863307444062868905210334526715644", - "1" - ], - [ - "17921519492985568040647785518984679305231500205599581370398502174410641627915", - "7509747881493316986520702491460493363464636273816319210975041613994864176359", - "1" - ], - [ - "3430712548343353484542829031470422149014035558383953986112467142255149482517", - "14550495557052814428641743686592474039195116676265817238933308829823014113648", - "1" - ], - [ - "15404982231804436812797545928371130848106957647851884888070752463417657014850", - "4611196330294175143659018144962441564350289800068036864557333922145119754928", - "1" - ], - [ - "15263701692315698223820596911784671235943493678301007311780033091137667408294", - "604902718763398072835765087427553474161374630152901938069702903322739720901", - "1" - ], - [ - "20244489449718281224771972382454688977944613519370226595741543942193818865707", - "19005325000779061572105038900407210855167193186325179384744370456674531846752", - "1" - ], - [ - "17905734409676470389691612532757732246970469909527519932162818478447075527708", - "14786147027096263915511297996292826847659087062694857723516642286999030404099", - "1" - ], - [ - "13170413525057177027118218806689559566136892856728098698757124284101508780041", - "21138656039297587744247525334341823578219773225144796878223492790449265984236", - "1" - ], - [ - "17336985422666489495917434298152259228601087998778158909593038947037047437034", - "17640592272124615371604215593775167886611551365178888179149933534238084536035", - "1" - ], - [ - "13115497681355919008843671294553575734811415225866638680245661303800809177454", - "11101396909544211706087319187611419845994320778819031170997345351820871301500", - "1" - ], - [ - "5062223967757742841418833629304894504824711871486969640422734949713212037564", - "5995745391558201393058938510743066155455293405187491263678494062578649392537", - "1" - ], - [ - "10769448662035944503588756967807107248531839233480897019708757162346507533856", - "17683311668907780400377940051769789887732541265829205574046296993672760170234", - "1" - ], - [ - "18909222506084760520118400904387222253545995580483849260301107047056625024809", - "4739939423481558802886855387063931149245914588665635776355445541037716874191", - "1" - ], - [ - "237258354423629009139604512345017099458104648744590151045267949108836136046", - "8398477677610482726525801716151367352299183871166696265021289782422497361573", - "1" - ], - [ - "21614899156845209369731734601334455382216240765307343061569649838763541939674", - "19737392631718395415895070591908882100913238716433370918711613904255554425863", - "1" - ], - [ - "11583018052272400568802079643913527066888050377899679393339799714495380661286", - "18731342198059952174455684263813783627914005022231316888089150078895916324047", - "1" - ], - [ - "1800355436595083773914109207841543211385162586213879300974211146987134123202", - "13948211457427522096477007682338343714710607448417503368661334375180794438646", - "1" - ], - [ - "12380151495516055715423974838724751018509187196044814610299179374420946317150", - "15604417067169603747798399311766223987091027902169069371143436781729299657321", - "1" - ], - [ - "15586796314575179431439068400563064768255110456857949233401991221744972388290", - "6869029658475871438252091552567541171158916510785162784566374960655529514541", - "1" - ], - [ - "9454259555969046405835114554840573800894460654638881697884905397762877591671", - "15649504506074833196199868121136622617218927420004842806076140919475722131828", - "1" - ], - [ - "10896479167947716665298047581223743449173173843441842077252741245744005867502", - "19466843112239886558867945418277977036987004293914397183376561940538353431523", - "1" - ], - [ - "21093729272413526398302027094496286062183285233963676469751711501691030254808", - "5616302988725848953380515455651462166436866513193168038457367334604897142643", - "1" - ], - [ - "9162526928276135317390642844528140151219934473125754385250619863694467527200", - "2704506477496217427068410968125378104897220198385366379780167188967641057115", - "1" - ], - [ - "2611703957607573998187347531547663551663457287415444888228409918854708173921", - "16503183711195222950599750913705688322318608987024302010766325034010085416942", - "1" - ], - [ - "11144191723062275260143093129552752703141874383079896857211309008338415817157", - "16781709265403451651508663495722707593571471440254748275969368360531033950981", - "1" - ], - [ - "16812964624232834362158259778644306304990898865384873094141859868591196349911", - "13922581405000464856568387775868339864861250228661168312914123793152293400444", - "1" - ], - [ - "7757513072166428505849658731723708923254564692050157984152317397804988815683", - "10596938418787218858764915380828895440118767426036644517687291298143168844310", - "1" - ], - [ - "776963606617916676505305527193906634173028085645966206654629945039284611047", - "10912266632936528293222094364131226803541316295737642239229481058897029295382", - "1" - ], - [ - "16373521723700098997684769703648529905132042031831109132237638798191456108024", - "11103461808206383275179890639579495748275557033587467729454195698739957928818", - "1" - ], - [ - "12824183511411995663633068443784430488868221252426812112737116307753322360649", - "16623259457237877334961209654722086328478084586497591770992246134732053248864", - "1" - ], - [ - "4440204567609318598244879167103963411704795015851735842148385354806120614776", - "439254538132916792300814825054431063060942088144912111780551400772555518726", - "1" - ], - [ - "12550163747027957708679416133057345303366416863124571412695635212042254660231", - "8088733548936346769418714493856651195585281586259855084725506021681259615995", - "1" - ], - [ - "601695970176955369889380617598670451586934521316364158397268786862817318324", - "8177591911722905772853175277543921812590123868553367351838538360889195534445", - "1" - ], - [ - "21420783745411266284334793892673128470907336626528172424997282710543407678562", - "815896668203600154924756799739505300427469299180041621997534085009087797462", - "1" - ], - [ - "5985108217900335996495740885137329434596043615956659372441003017431913541049", - "12400136587102116035870838109370183374536730415523630490626751552251898583723", - "1" - ], - [ - "19164864123547614924145477596845278488377820092261133057871046801697026504830", - "9058096638083409870599642989053208885699231157685473105338357045834902352657", - "1" - ], - [ - "5625208601612291266473410363212052500521534296123171244974430101397304128598", - "20032223272677310984797975395155189489741584704900355338539941675727215575834", - "1" - ], - [ - "19722119258760509259002736097441021306020824312273305874398252765749858625383", - "21476284183336273518938142350498253130780475874465538560639647841713873409967", - "1" - ], - [ - "16214582901276753122992657437576487460434296014671145602237720787074011098320", - "14638014587762532725758011227519785515588402732574136404578917712064567856285", - "1" - ], - [ - "21242009997783861714463438145352831066649780964520311892324662965942254722206", - "17000102442647549832409557151546317734552217997144722436132435910128720474199", - "1" - ], - [ - "3901540629460292660569097126645101425134163883949632616895230751480848213369", - "15462697656409662538566017032586328247938424512432827105504267029364730924622", - "1" - ], - [ - "13589690411326512053318122778970095131969288693012374077657080517788789407345", - "3256080065084142457753800788670092375263661907651111479712628200718368447047", - "1" - ], - [ - "80867775087231075346193177024922594793617447013874226020788299753946699495", - "18692751692376633351750143580480221941277275632746814828053833446777751678844", - "1" - ], - [ - "12208564838188569361021574820173956567515251256529477811689323941001064824558", - "14719028828276200987004700519998864320546393568625959778339171591168779343802", - "1" - ], - [ - "11487733918945328878091426687312208948265605735490434820651127086706421059773", - "12884027668625422693735810500338290593888443327897978424106732856151809328547", - "1" - ], - [ - "20632552305904865953323352410960265689821616276406781145263037394521803318607", - "2807465385289781642965528502072388424070031841212619812619243814164168949956", - "1" - ], - [ - "15762698488851251645720011145875054676705544433397646684075263620983096891945", - "1298669502852138604153414592011225832117552495360099510102598347062068301160", - "1" - ], - [ - "11129488032579072454261600806944244717606891316794143410356402368489165589130", - "17038312956321424279807397639106394935887287800511404015727988253317547071041", - "1" + "protocol": "groth16", + "curve": "bn128", + "nPublic": 77, + "vk_alpha_1": [ + "20491192805390485299153009773594534940189261866228447918068658471970481763042", + "9383485363053290200918347156157836566562967994039712273449902621266178545958", + "1" + ], + "vk_beta_2": [ + [ + "6375614351688725206403948262868962793625744043794305715222011528459656738731", + "4252822878758300859123897981450591353533073413197771768651442665752259397132" + ], + [ + "10505242626370262277552901082094356697409835680220590971873171140371331206856", + "21847035105528745403288232691147584728191162732299865338377159692350059136679" + ], + ["1", "0"] + ], + "vk_gamma_2": [ + [ + "10857046999023057135944570762232829481370756359578518086990519993285655852781", + "11559732032986387107991004021392285783925812861821192530917403151452391805634" + ], + [ + "8495653923123431417604973247489272438418190587263600148770280649306958101930", + "4082367875863433681332203403145435568316851327593401208105741076214120093531" + ], + ["1", "0"] + ], + "vk_delta_2": [ + [ + "94086484245612286241184073311986077918425211631674599706523220655149342939", + "9066276963657894725757757487225537372173116727614372653696187043001221518998" + ], + [ + "3327364283265612114403912214795791325281389316262923243431510926287241284864", + "14359594691603603310505775002171568388983231776478551485379790891637661560036" + ], + ["1", "0"] + ], + "vk_alphabeta_12": [ + [ + [ + "2029413683389138792403550203267699914886160938906632433982220835551125967885", + "21072700047562757817161031222997517981543347628379360635925549008442030252106" + ], + [ + "5940354580057074848093997050200682056184807770593307860589430076672439820312", + "12156638873931618554171829126792193045421052652279363021382169897324752428276" + ], + [ + "7898200236362823042373859371574133993780991612861777490112507062703164551277", + "7074218545237549455313236346927434013100842096812539264420499035217050630853" + ] + ], + [ + [ + "7077479683546002997211712695946002074877511277312570035766170199895071832130", + "10093483419865920389913245021038182291233451549023025229112148274109565435465" + ], + [ + "4595479056700221319381530156280926371456704509942304414423590385166031118820", + "19831328484489333784475432780421641293929726139240675179672856274388269393268" + ], + [ + "11934129596455521040620786944827826205713621633706285934057045369193958244500", + "8037395052364110730298837004334506829870972346962140206007064471173334027475" + ] + ] + ], + "IC": [ + [ + "82858741371846418102390975654111682337499684659569272071403747441178775094", + "4286912121744489803335872688967541084060786471335097977275283322008748340788", + "1" + ], + [ + "2949292283195261203307481545407020289663288337904117332935641624369320632240", + "4895868961372318516427313051068589418900672425971040539274101100343980810774", + "1" + ], + [ + "4283138832985371893627053916321257875901863688069679108552360851257151597412", + "12301445626126932387280175924125479080740113735715055950924670609729124190207", + "1" + ], + [ + "11403809675918608249249090476998815481360885938257614779638377601415472359725", + "10370383889744288167730128292551983273910856935841190320403487139321945926331", + "1" + ], + [ + "146046474957242547231947902105279535658945942556306365105970828598652582527", + "19316391077135032736180617854925909709408388622932141258157985352356274532963", + "1" + ], + [ + "19392288121313736624150032390760791125928224365133434019677559994823666881089", + "16678649776488360981633823784602747916355420844155287963893744273416034228821", + "1" + ], + [ + "17700244988293823646570920639274788254338288455367989082935279790186368535035", + "9321729693794775981089306312375631163270588069455137620052333218103779355408", + "1" + ], + [ + "6304242739428065891345661929109377623420995931327428546798256748327063014748", + "10780954993779202198998690148500166760839127869483280185479097694857479543720", + "1" + ], + [ + "15890615372155272172271387761362992284949685750813721764642195772457152019165", + "16926364370539068089248210833120023205713972276708964692683476649740531300907", + "1" + ], + [ + "8982718515991384638670171335434300220939254007691698916481977516501727365353", + "19933274338973273645600209826788464024915126306902861441259660444347103717011", + "1" + ], + [ + "13624813441697027269419893255557978801536200641544726966141640956028191608323", + "14568380736652140809608442081925020674177705472939839035342120687477258992462", + "1" + ], + [ + "7287001243757652147041978755465708957323122739823909998863775376965394099650", + "8194529377789992862935644002017654759465911480466382895596098893998234618850", + "1" + ], + [ + "15672609491810685215081462552663762421452118634631233092085621737595234267652", + "2904325643405367825992406778236164206511504644734317609359066533215328475457", + "1" + ], + [ + "915419396354435358079156433856200252628133349566107753168383098995762031654", + "7640503160883357453422046063266912192061137337928989362670501928245645451659", + "1" + ], + [ + "14233801682464959754511413505122573904411742927995284652060293502655728201014", + "16894634587173766457107177463154201142416235583146961458016001995514241600797", + "1" + ], + [ + "865637081385889540821011982382409477264012478881380726208863605069542609927", + "2851681816679478967076297609298375717665401236464133109800669778140378240569", + "1" + ], + [ + "14583623854715049637997176036159291974860261686624791798735868439140771963929", + "6184396208904580798818208852802256520753949645935054330532118256917410168729", + "1" + ], + [ + "7340832411020963493191281149327227244123195086114916154649774645956361514808", + "15074654768397897175094344665304877372038748718786237401937087336643412854581", + "1" + ], + [ + "19226322861612796019283465663964339481922670365980090908059633666493003526920", + "4784769513565224451763088600366892575717723263716353119873721504223139128187", + "1" + ], + [ + "4012352361946387705819729346828208464133226668583289635600033112445603056095", + "16057116501864906353475966636435162596350251241825748835463929049616401925621", + "1" + ], + [ + "17699015327677133433762523603786186670660923725134988336625372092121404781352", + "20779678450565816831584776337126804401686084032081969015904070067714797666579", + "1" + ], + [ + "7110239219642171000502622847102158151023059843711231146792904825853085995446", + "13160112334708882478456144620242292286930388110897910022916805337362636596223", + "1" + ], + [ + "18572966839469907925154251914990082086889869375548359485092736092666901883458", + "2717317841156606824568938974067202962925196229862100442399526546853487033983", + "1" + ], + [ + "18220496879414149572832879223762015215122990853285228408008689887370853115800", + "20936442965528445732757109001578889091199378707564445483449611217812774527300", + "1" + ], + [ + "12232077851023924549383437896602730279522249237260024995597446142400396114435", + "6563047663035805798395574221466154696714942622556424013116465603874844109521", + "1" + ], + [ + "12109591576870421145669126698637125260126292886167173093152618373092533930060", + "4838150475568627509687345029028244688244087639289765225238388542584247749631", + "1" + ], + [ + "11686953332615374166413400118993933874772588790879032818717674616364110119003", + "997777557714243682580030314729391031075903187098529888297775331753993942129", + "1" + ], + [ + "17856019272291166215824899590072473034447333075695359997293931405627546425641", + "20847076087560230989541971055803462020430493691416327989998676442287723694850", + "1" + ], + [ + "3719233446259090602031823947643646288707755415354997947878759420203354178997", + "8365343103859542659965068947238411148203250330874262347086737251125778319916", + "1" + ], + [ + "11510913293380810758607591029811272398780473934028209478267236534219159061926", + "21487940007144748529535209675246355785366971140524949831759963463815763342086", + "1" + ], + [ + "1320866581863043338512589290197401952944129485739535713341560521800016476945", + "2493558738654724256478579784099858256156921863307444062868905210334526715644", + "1" + ], + [ + "17921519492985568040647785518984679305231500205599581370398502174410641627915", + "7509747881493316986520702491460493363464636273816319210975041613994864176359", + "1" + ], + [ + "3430712548343353484542829031470422149014035558383953986112467142255149482517", + "14550495557052814428641743686592474039195116676265817238933308829823014113648", + "1" + ], + [ + "15404982231804436812797545928371130848106957647851884888070752463417657014850", + "4611196330294175143659018144962441564350289800068036864557333922145119754928", + "1" + ], + [ + "15263701692315698223820596911784671235943493678301007311780033091137667408294", + "604902718763398072835765087427553474161374630152901938069702903322739720901", + "1" + ], + [ + "20244489449718281224771972382454688977944613519370226595741543942193818865707", + "19005325000779061572105038900407210855167193186325179384744370456674531846752", + "1" + ], + [ + "17905734409676470389691612532757732246970469909527519932162818478447075527708", + "14786147027096263915511297996292826847659087062694857723516642286999030404099", + "1" + ], + [ + "13170413525057177027118218806689559566136892856728098698757124284101508780041", + "21138656039297587744247525334341823578219773225144796878223492790449265984236", + "1" + ], + [ + "17336985422666489495917434298152259228601087998778158909593038947037047437034", + "17640592272124615371604215593775167886611551365178888179149933534238084536035", + "1" + ], + [ + "13115497681355919008843671294553575734811415225866638680245661303800809177454", + "11101396909544211706087319187611419845994320778819031170997345351820871301500", + "1" + ], + [ + "5062223967757742841418833629304894504824711871486969640422734949713212037564", + "5995745391558201393058938510743066155455293405187491263678494062578649392537", + "1" + ], + [ + "10769448662035944503588756967807107248531839233480897019708757162346507533856", + "17683311668907780400377940051769789887732541265829205574046296993672760170234", + "1" + ], + [ + "18909222506084760520118400904387222253545995580483849260301107047056625024809", + "4739939423481558802886855387063931149245914588665635776355445541037716874191", + "1" + ], + [ + "237258354423629009139604512345017099458104648744590151045267949108836136046", + "8398477677610482726525801716151367352299183871166696265021289782422497361573", + "1" + ], + [ + "21614899156845209369731734601334455382216240765307343061569649838763541939674", + "19737392631718395415895070591908882100913238716433370918711613904255554425863", + "1" + ], + [ + "11583018052272400568802079643913527066888050377899679393339799714495380661286", + "18731342198059952174455684263813783627914005022231316888089150078895916324047", + "1" + ], + [ + "1800355436595083773914109207841543211385162586213879300974211146987134123202", + "13948211457427522096477007682338343714710607448417503368661334375180794438646", + "1" + ], + [ + "12380151495516055715423974838724751018509187196044814610299179374420946317150", + "15604417067169603747798399311766223987091027902169069371143436781729299657321", + "1" + ], + [ + "15586796314575179431439068400563064768255110456857949233401991221744972388290", + "6869029658475871438252091552567541171158916510785162784566374960655529514541", + "1" + ], + [ + "9454259555969046405835114554840573800894460654638881697884905397762877591671", + "15649504506074833196199868121136622617218927420004842806076140919475722131828", + "1" + ], + [ + "10896479167947716665298047581223743449173173843441842077252741245744005867502", + "19466843112239886558867945418277977036987004293914397183376561940538353431523", + "1" + ], + [ + "21093729272413526398302027094496286062183285233963676469751711501691030254808", + "5616302988725848953380515455651462166436866513193168038457367334604897142643", + "1" + ], + [ + "9162526928276135317390642844528140151219934473125754385250619863694467527200", + "2704506477496217427068410968125378104897220198385366379780167188967641057115", + "1" + ], + [ + "2611703957607573998187347531547663551663457287415444888228409918854708173921", + "16503183711195222950599750913705688322318608987024302010766325034010085416942", + "1" + ], + [ + "11144191723062275260143093129552752703141874383079896857211309008338415817157", + "16781709265403451651508663495722707593571471440254748275969368360531033950981", + "1" + ], + [ + "16812964624232834362158259778644306304990898865384873094141859868591196349911", + "13922581405000464856568387775868339864861250228661168312914123793152293400444", + "1" + ], + [ + "7757513072166428505849658731723708923254564692050157984152317397804988815683", + "10596938418787218858764915380828895440118767426036644517687291298143168844310", + "1" + ], + [ + "776963606617916676505305527193906634173028085645966206654629945039284611047", + "10912266632936528293222094364131226803541316295737642239229481058897029295382", + "1" + ], + [ + "16373521723700098997684769703648529905132042031831109132237638798191456108024", + "11103461808206383275179890639579495748275557033587467729454195698739957928818", + "1" + ], + [ + "12824183511411995663633068443784430488868221252426812112737116307753322360649", + "16623259457237877334961209654722086328478084586497591770992246134732053248864", + "1" + ], + [ + "4440204567609318598244879167103963411704795015851735842148385354806120614776", + "439254538132916792300814825054431063060942088144912111780551400772555518726", + "1" + ], + [ + "12550163747027957708679416133057345303366416863124571412695635212042254660231", + "8088733548936346769418714493856651195585281586259855084725506021681259615995", + "1" + ], + [ + "601695970176955369889380617598670451586934521316364158397268786862817318324", + "8177591911722905772853175277543921812590123868553367351838538360889195534445", + "1" + ], + [ + "21420783745411266284334793892673128470907336626528172424997282710543407678562", + "815896668203600154924756799739505300427469299180041621997534085009087797462", + "1" + ], + [ + "5985108217900335996495740885137329434596043615956659372441003017431913541049", + "12400136587102116035870838109370183374536730415523630490626751552251898583723", + "1" + ], + [ + "19164864123547614924145477596845278488377820092261133057871046801697026504830", + "9058096638083409870599642989053208885699231157685473105338357045834902352657", + "1" + ], + [ + "5625208601612291266473410363212052500521534296123171244974430101397304128598", + "20032223272677310984797975395155189489741584704900355338539941675727215575834", + "1" + ], + [ + "19722119258760509259002736097441021306020824312273305874398252765749858625383", + "21476284183336273518938142350498253130780475874465538560639647841713873409967", + "1" + ], + [ + "16214582901276753122992657437576487460434296014671145602237720787074011098320", + "14638014587762532725758011227519785515588402732574136404578917712064567856285", + "1" + ], + [ + "21242009997783861714463438145352831066649780964520311892324662965942254722206", + "17000102442647549832409557151546317734552217997144722436132435910128720474199", + "1" + ], + [ + "3901540629460292660569097126645101425134163883949632616895230751480848213369", + "15462697656409662538566017032586328247938424512432827105504267029364730924622", + "1" + ], + [ + "13589690411326512053318122778970095131969288693012374077657080517788789407345", + "3256080065084142457753800788670092375263661907651111479712628200718368447047", + "1" + ], + [ + "80867775087231075346193177024922594793617447013874226020788299753946699495", + "18692751692376633351750143580480221941277275632746814828053833446777751678844", + "1" + ], + [ + "12208564838188569361021574820173956567515251256529477811689323941001064824558", + "14719028828276200987004700519998864320546393568625959778339171591168779343802", + "1" + ], + [ + "11487733918945328878091426687312208948265605735490434820651127086706421059773", + "12884027668625422693735810500338290593888443327897978424106732856151809328547", + "1" + ], + [ + "20632552305904865953323352410960265689821616276406781145263037394521803318607", + "2807465385289781642965528502072388424070031841212619812619243814164168949956", + "1" + ], + [ + "15762698488851251645720011145875054676705544433397646684075263620983096891945", + "1298669502852138604153414592011225832117552495360099510102598347062068301160", + "1" + ], + [ + "11129488032579072454261600806944244717606891316794143410356402368489165589130", + "17038312956321424279807397639106394935887287800511404015727988253317547071041", + "1" + ] ] - ] -} \ No newline at end of file +} From bdae38d3e7625f3ffe7333a01c8aa6c4101ff553 Mon Sep 17 00:00:00 2001 From: Gita Alekhya Paul <54375111+gitaalekhyapaul@users.noreply.github.com> Date: Thu, 23 Feb 2023 02:08:16 +0530 Subject: [PATCH 6/6] fix Migrate to Iden3 V2 and Polygon ID V2 #38 --- README.md | 8 +------- client/components/shared/layout.tsx | 5 ----- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/README.md b/README.md index 0a516d9..1a55e3a 100644 --- a/README.md +++ b/README.md @@ -17,12 +17,6 @@ Team DreamTeam present deLinZK. Built with ❤️, delivered on ☕, verified by Polygon 🆔 at ETHForAll Online VIII. -# ⚠️ **DISCLAIMER:** The web application is compatible with PolygonID mobile app v1.0.3 - -During the creation of this platform, [`@iden3/js-iden3-auth`](https://github.com/iden3/js-iden3-auth/tree/v0.1.6) was in `v0.1.6`, and PolygonID mobile app was at `v1.0.3`. Due to the recent changes in Iden3 circuits, and Polygon ID mobile app shifting from a custom claim format to a W3C Verifiable Credentials, the web application is incompatible in recent times. - -**But,** we are actively working on it! Track our progress here ✨ [**#38**](https://github.com/jagnani73/ethforall-delinzk/issues/38) -


Video Demo 📼: HERE


# 💡 **Problem Statement** @@ -166,7 +160,7 @@ It has an extensive system architecture to support such actions, as well as a co # ⏭️ **What's next for deLinZK?** -- One of the major aim of deLinZK is to migrate to W3C VC and Iden3 V2 circuits in the next major launch. +- One of the major aim of deLinZK is to make the website more mobile-friendly, using deeplinks and more responsive design. - We need to also figure out a more secure way of storing metadata of the organizations and users. - Code cleanup and documentation never leaves the chat. - Shifting from communicating with e-mail to some Web3 native solution. diff --git a/client/components/shared/layout.tsx b/client/components/shared/layout.tsx index 088c00e..0d7d2a0 100644 --- a/client/components/shared/layout.tsx +++ b/client/components/shared/layout.tsx @@ -4,11 +4,6 @@ import { Topbar } from "./"; const Layout: React.FC = ({ children }) => { return (
- -
{children}