@truvity/sdk 0.30.7 → 0.30.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/api/resources/apiKeys/client/Client.js +9 -9
  2. package/api/resources/apiKeys/client/Client.js.map +1 -1
  3. package/api/resources/credentials/client/Client.d.ts +10 -2
  4. package/api/resources/credentials/client/Client.d.ts.map +1 -1
  5. package/api/resources/credentials/client/Client.js +22 -14
  6. package/api/resources/credentials/client/Client.js.map +1 -1
  7. package/api/resources/desk/client/Client.js +2 -2
  8. package/api/resources/desk/client/Client.js.map +1 -1
  9. package/api/resources/didcommMessages/client/Client.js +9 -9
  10. package/api/resources/didcommMessages/client/Client.js.map +1 -1
  11. package/api/resources/dids/client/Client.js +1 -1
  12. package/api/resources/dids/client/Client.js.map +1 -1
  13. package/api/resources/drafts/client/Client.d.ts +1 -1
  14. package/api/resources/drafts/client/Client.js +13 -13
  15. package/api/resources/drafts/client/Client.js.map +1 -1
  16. package/api/resources/files/client/Client.d.ts +10 -2
  17. package/api/resources/files/client/Client.d.ts.map +1 -1
  18. package/api/resources/files/client/Client.js +22 -14
  19. package/api/resources/files/client/Client.js.map +1 -1
  20. package/api/resources/gdpr/client/Client.js +1 -1
  21. package/api/resources/gdpr/client/Client.js.map +1 -1
  22. package/api/resources/keys/client/Client.js +13 -13
  23. package/api/resources/keys/client/Client.js.map +1 -1
  24. package/api/resources/presentations/client/Client.d.ts +10 -2
  25. package/api/resources/presentations/client/Client.d.ts.map +1 -1
  26. package/api/resources/presentations/client/Client.js +24 -16
  27. package/api/resources/presentations/client/Client.js.map +1 -1
  28. package/package.json +1 -1
  29. package/reference.md +31 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truvity/sdk",
3
- "version": "0.30.7",
3
+ "version": "0.30.16",
4
4
  "repository": "https://github.com/truvity/sdk-typescript",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
package/reference.md CHANGED
@@ -670,7 +670,9 @@ await client.apiKeys.apiKeyRevision("id", 1);
670
670
  <dl>
671
671
  <dd>
672
672
 
673
- Import a Verifiable Credential.
673
+ Import a Verifiable Credential's resource with a **blob_id**.
674
+
675
+ To get **blob_id** call [Upload](#tag/credentials/operation/CredentialUpload) first.
674
676
  </dd>
675
677
  </dl>
676
678
  </dd>
@@ -798,7 +800,13 @@ await client.credentials.credentialSearch();
798
800
  <dl>
799
801
  <dd>
800
802
 
801
- The upload Credential's blob operation.
803
+ Initiates a Credential blob upload, returning a pre-signed S3 URL. Response contains:
804
+
805
+ - **blob_id** (required for Credential creation)
806
+
807
+ - **upload_uri** (pre-signed URL for upload)
808
+
809
+ - **timeout** (expiration in seconds).
802
810
  </dd>
803
811
  </dl>
804
812
  </dd>
@@ -2184,7 +2192,7 @@ await client.dids.didDocumentSelfGet();
2184
2192
  <dl>
2185
2193
  <dd>
2186
2194
 
2187
- Create Draft's resource.
2195
+ Creates Draft's resource.
2188
2196
  </dd>
2189
2197
  </dl>
2190
2198
  </dd>
@@ -3006,7 +3014,9 @@ await client.drafts.draftIssue("id", 1, {
3006
3014
  <dl>
3007
3015
  <dd>
3008
3016
 
3009
- Create File's resource.
3017
+ Creates File's resource with **blob_id**.
3018
+
3019
+ To get **blob_id** call [Upload](#tag/files/operation/FileUpload) first.
3010
3020
  </dd>
3011
3021
  </dl>
3012
3022
  </dd>
@@ -3135,7 +3145,13 @@ await client.files.fileSearch();
3135
3145
  <dl>
3136
3146
  <dd>
3137
3147
 
3138
- The upload File's blob operation.
3148
+ Initiates a File blob upload, returning a pre-signed S3 URL. Response contains:
3149
+
3150
+ - **blob_id** (required for File creation)
3151
+
3152
+ - **upload_uri** (pre-signed URL for upload)
3153
+
3154
+ - **timeout** (expiration in seconds).
3139
3155
  </dd>
3140
3156
  </dl>
3141
3157
  </dd>
@@ -4623,7 +4639,9 @@ await client.keys.keyRevision("id", 1);
4623
4639
  <dl>
4624
4640
  <dd>
4625
4641
 
4626
- Import a Verifiable Presentation.
4642
+ Import a Verifiable Presentation's resource with **blob_id**.
4643
+
4644
+ To get **blob_id** call [Upload](#tag/presentations/operation/PresentationUpload) first.
4627
4645
  </dd>
4628
4646
  </dl>
4629
4647
  </dd>
@@ -4821,7 +4839,13 @@ await client.presentations.presentationSearch();
4821
4839
  <dl>
4822
4840
  <dd>
4823
4841
 
4824
- The upload Presentation's blob operation.
4842
+ Initiates a Presentation blob upload, returning a pre-signed S3 URL. Response contains:
4843
+
4844
+ - **blob_id** (required for Presentation creation)
4845
+
4846
+ - **upload_uri** (pre-signed URL for upload)
4847
+
4848
+ - **timeout** (expiration in seconds).
4825
4849
  </dd>
4826
4850
  </dl>
4827
4851
  </dd>