Skip to content

Commit

Permalink
deploy: 961b879
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioPinheiro committed Nov 26, 2023
1 parent 0b7b359 commit 975f701
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions quickstart-get-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h1 id="getting-started-with-didcomm-messaging-in-scala" class="title">Getting S
</span><span class="identifier">from</span><span> = </span><span class="type-name">Some</span><span>(</span><span class="type-name">FROM</span><span>(</span><span class="string-literal">&quot;did:example:456&quot;</span><span>)),
)
</span><span class="comment">// message: BasicMessage = BasicMessage(
// id = &quot;008e1b3d-fad8-4fb7-8ee5-502643a7b94e&quot;,
// id = &quot;72eacf2c-e4f9-476d-8c93-cf0d46d7ece8&quot;,
// to = Set(&quot;did:example:123&quot;),
// from = Some(value = &quot;did:example:456&quot;),
// lang = None,
Expand All @@ -143,7 +143,7 @@ <h1 id="getting-started-with-didcomm-messaging-in-scala" class="title">Getting S

</span><span class="identifier">message</span><span>.</span><span class="identifier">toPlaintextMessage</span><span>.</span><span class="identifier">toJsonPretty</span><span>
</span><span class="comment">// res0: String = &quot;&quot;&quot;{
// &quot;id&quot; : &quot;008e1b3d-fad8-4fb7-8ee5-502643a7b94e&quot;,
// &quot;id&quot; : &quot;72eacf2c-e4f9-476d-8c93-cf0d46d7ece8&quot;,
// &quot;type&quot; : &quot;https://didcomm.org/basicmessage/2.0/message&quot;,
// &quot;to&quot; : [
// &quot;did:example:123&quot;
Expand Down
22 changes: 11 additions & 11 deletions quickstart-setup-environment.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ <h2 id="scala-cli-on-docker" class="section"><a class="anchor-link left" href="#
<p>Start an isolated environment to experiment with some code samples (3/5 mins)</p>
<p><code>docker run --rm -it --entrypoint /bin/sh virtuslab/scala-cli</code></p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span>scala-cli repl \
--dependency app.fmgp::did::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">35</span><span>-e228ecef-SNAPSHOT \
--dependency app.fmgp::did-imp::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">35</span><span>-e228ecef-SNAPSHOT \
--dependency app.fmgp::did-method-peer::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">35</span><span>-e228ecef-SNAPSHOT \
--dependency app.fmgp::did::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-SNAPSHOT \
--dependency app.fmgp::did-imp::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-SNAPSHOT \
--dependency app.fmgp::did-method-peer::</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-SNAPSHOT \
--repo https://oss.sonatype.org/content/repositories/releases

</span><span class="comment"># For snapshots use
Expand All @@ -139,19 +139,19 @@ <h2 id="scala-cli-on-docker" class="section"><a class="anchor-link left" href="#

<h2 id="sbt-setup" class="section"><a class="anchor-link left" href="#sbt-setup"><i class="icofont-laika link">&#xef71;</i></a>SBT setup</h2>
<p>To install the library on <code>sbt</code>, you can use the following lines to your <code>build.sbt</code>:</p>
<pre class="keep-together pdf epub"><code class="sbt"> libraryDependencies += &quot;app.fmgp&quot; %% &quot;did&quot; % 0.1.0-M15+35-e228ecef-SNAPSHOT
libraryDependencies += &quot;app.fmgp&quot; %% &quot;did-imp&quot; % 0.1.0-M15+35-e228ecef-SNAPSHOT // for the DIDComm implementation
libraryDependencies += &quot;app.fmgp&quot; %% &quot;did-resolver-peer&quot; % 0.1.0-M15+35-e228ecef-SNAPSHOT // for hash utils</code></pre>
<pre class="keep-together pdf epub"><code class="sbt"> libraryDependencies += &quot;app.fmgp&quot; %% &quot;did&quot; % 0.1.0-M15+33-961b8793-SNAPSHOT
libraryDependencies += &quot;app.fmgp&quot; %% &quot;did-imp&quot; % 0.1.0-M15+33-961b8793-SNAPSHOT // for the DIDComm implementation
libraryDependencies += &quot;app.fmgp&quot; %% &quot;did-resolver-peer&quot; % 0.1.0-M15+33-961b8793-SNAPSHOT // for hash utils</code></pre>
<p>In a crossProject for the JSPlatform and JVMPlatform this shoud use this instead:</p>
<pre class="keep-together pdf epub"><code class="sbt"> libraryDependencies += &quot;app.fmgp&quot; %%% &quot;did&quot; % 0.1.0-M15+35-e228ecef-SNAPSHOT
libraryDependencies += &quot;app.fmgp&quot; %%% &quot;did-imp&quot; % 0.1.0-M15+35-e228ecef-SNAPSHOT // for the DIDComm implementation
libraryDependencies += &quot;app.fmgp&quot; %%% &quot;did-resolver-peer&quot; % 0.1.0-M15+35-e228ecef-SNAPSHOT // for hash utils</code></pre>
<pre class="keep-together pdf epub"><code class="sbt"> libraryDependencies += &quot;app.fmgp&quot; %%% &quot;did&quot; % 0.1.0-M15+33-961b8793-SNAPSHOT
libraryDependencies += &quot;app.fmgp&quot; %%% &quot;did-imp&quot; % 0.1.0-M15+33-961b8793-SNAPSHOT // for the DIDComm implementation
libraryDependencies += &quot;app.fmgp&quot; %%% &quot;did-resolver-peer&quot; % 0.1.0-M15+33-961b8793-SNAPSHOT // for hash utils</code></pre>

<h2 id="coursier-download" class="section"><a class="anchor-link left" href="#coursier-download"><i class="icofont-laika link">&#xef71;</i></a>Coursier Download</h2>
<pre class="keep-together pdf epub"><code class="nohighlight"><span>coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">35</span><span>-e228ecef-SNAPSHOT -r sonatype:snapshots
<pre class="keep-together pdf epub"><code class="nohighlight"><span>coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-SNAPSHOT -r sonatype:snapshots
</span><span class="comment"># -r https://oss.sonatype.org/content/repositories/snapshots
</span><span>
coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">35</span><span>-e228ecef-SNAPSHOT -r sonatype:public
coursier fetch app.fmgp:did_</span><span class="number-literal">3</span><span>:</span><span class="number-literal">0.1.0</span><span>-M</span><span class="number-literal">15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-SNAPSHOT -r sonatype:public
</span><span class="comment"># -r https://oss.sonatype.org/content/repositories/releases</span></code></pre>


Expand Down
12 changes: 6 additions & 6 deletions readme.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ <h1 id="scala-did" class="title">Scala-did</h1>

<h2 id="getting-started-with-scala-did" class="section"><a class="anchor-link left" href="#getting-started-with-scala-did"><i class="icofont-laika link">&#xef71;</i></a>Getting Started with Scala-did</h2>
<p>To install ScalaDID in a scala project</p>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">35</span><span>-</span><span class="identifier">e228ecef</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for DID and DID Comm
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">35</span><span>-</span><span class="identifier">e228ecef</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for crypto implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-framework&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">35</span><span>-</span><span class="identifier">e228ecef</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">//for utils
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">35</span><span>-</span><span class="identifier">e228ecef</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver of the did method `peer`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-web&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">35</span><span>-</span><span class="identifier">e228ecef</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver the did method `web`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-uniresolver&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">35</span><span>-</span><span class="identifier">e228ecef</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for calling the resolver uniresolver</span></code></pre>
<pre class="keep-together pdf epub"><code class="nohighlight"><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for DID and DID Comm
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-imp&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for crypto implementation
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-framework&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">//for utils
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-peer&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver of the did method `peer`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-web&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for resolver the did method `web`
</span><span> </span><span class="identifier">libraryDependencies</span><span> += </span><span class="string-literal">&quot;app.fmgp&quot;</span><span> %% </span><span class="string-literal">&quot;did-uniresolver&quot;</span><span> % </span><span class="number-literal">0.1.0</span><span>-</span><span class="type-name">M15</span><span>+</span><span class="number-literal">33</span><span>-961b</span><span class="number-literal">8793</span><span>-</span><span class="type-name">SNAPSHOT</span><span> </span><span class="comment">// for calling the resolver uniresolver</span></code></pre>
<p>In a crossProject for the JSPlatform and JVMPlatform this should be <code>%%%</code> instead of <code>%%</code></p>

<h2 id="site-map" class="section"><a class="anchor-link left" href="#site-map"><i class="icofont-laika link">&#xef71;</i></a>Site Map</h2>
Expand Down

0 comments on commit 975f701

Please sign in to comment.