@docknetwork/wallet-sdk-core 0.4.19 → 0.4.22

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 (79) hide show
  1. package/lib/account-provider.d.ts +1 -1
  2. package/lib/account-provider.js +1 -1
  3. package/lib/biometric-provider.d.ts +1 -1
  4. package/lib/biometric-provider.d.ts.map +1 -1
  5. package/lib/biometric-provider.js +1 -0
  6. package/lib/biometric-provider.js.map +1 -1
  7. package/lib/cloud-wallet.d.ts +19 -0
  8. package/lib/cloud-wallet.d.ts.map +1 -0
  9. package/lib/cloud-wallet.js +150 -0
  10. package/lib/cloud-wallet.js.map +1 -0
  11. package/lib/credential-provider.d.ts +10 -0
  12. package/lib/credential-provider.d.ts.map +1 -1
  13. package/lib/credential-provider.js +31 -10
  14. package/lib/credential-provider.js.map +1 -1
  15. package/lib/credentials/oidvc.d.ts +14 -0
  16. package/lib/credentials/oidvc.d.ts.map +1 -0
  17. package/lib/credentials/oidvc.js +84 -0
  18. package/lib/credentials/oidvc.js.map +1 -0
  19. package/lib/did-provider.js +1 -1
  20. package/lib/ecosystem-tools.js +2 -2
  21. package/lib/helpers.d.ts +1 -0
  22. package/lib/helpers.d.ts.map +1 -1
  23. package/lib/helpers.js +9 -1
  24. package/lib/helpers.js.map +1 -1
  25. package/lib/message-provider.d.ts +2 -19
  26. package/lib/message-provider.d.ts.map +1 -1
  27. package/lib/message-provider.js +69 -13
  28. package/lib/message-provider.js.map +1 -1
  29. package/lib/messages/message-helpers.js +2 -2
  30. package/lib/messages/message-helpers.js.map +1 -1
  31. package/lib/network-resolver.d.ts +2 -1
  32. package/lib/network-resolver.d.ts.map +1 -1
  33. package/lib/network-resolver.js +37 -6
  34. package/lib/network-resolver.js.map +1 -1
  35. package/lib/types.d.ts +10 -7
  36. package/lib/types.d.ts.map +1 -1
  37. package/lib/v1-helpers.js +9 -9
  38. package/lib/v1-helpers.js.map +1 -1
  39. package/lib/verification-controller.d.ts.map +1 -1
  40. package/lib/verification-controller.js +12 -8
  41. package/lib/verification-controller.js.map +1 -1
  42. package/lib/wallet-to-wallet-verification/walletToWalletVerificationProvider.d.ts +7 -0
  43. package/lib/wallet-to-wallet-verification/walletToWalletVerificationProvider.d.ts.map +1 -1
  44. package/lib/wallet-to-wallet-verification/walletToWalletVerificationProvider.js +11 -2
  45. package/lib/wallet-to-wallet-verification/walletToWalletVerificationProvider.js.map +1 -1
  46. package/lib/wallet-wasm.js +5 -5
  47. package/lib/wallet-wasm.js.map +1 -1
  48. package/lib/wallet.d.ts +1 -1
  49. package/lib/wallet.d.ts.map +1 -1
  50. package/lib/wallet.js +17 -53
  51. package/lib/wallet.js.map +1 -1
  52. package/package.json +6 -6
  53. package/src/biometric-provider.ts +1 -0
  54. package/src/cloud-wallet.ts +185 -0
  55. package/src/credential-provider.test.ts +11 -5
  56. package/src/credential-provider.ts +77 -25
  57. package/src/credentials/oidvc.test.ts +124 -0
  58. package/src/credentials/oidvc.ts +115 -0
  59. package/src/did-provider.test.ts +19 -11
  60. package/src/fixtures/biometrics-credential-bbs-revocation.json +2 -2
  61. package/src/fixtures/iiw-credential.json +1 -1
  62. package/src/fixtures/iiw-template.json +2 -2
  63. package/src/helpers.ts +10 -0
  64. package/src/message-provider.test.ts +9 -3
  65. package/src/message-provider.ts +97 -25
  66. package/src/messages/message-helpers.test.ts +15 -0
  67. package/src/messages/message-helpers.ts +2 -2
  68. package/src/network-resolver.test.ts +73 -4
  69. package/src/network-resolver.ts +41 -6
  70. package/src/types.ts +11 -5
  71. package/src/v1-helpers.ts +6 -6
  72. package/src/verification-controller.test.ts +8 -3
  73. package/src/verification-controller.ts +10 -6
  74. package/src/wallet-to-wallet-verification/walletToWalletVerificationProvider.ts +15 -0
  75. package/src/wallet-wasm.ts +1 -1
  76. package/src/wallet.test.ts +4 -1
  77. package/src/wallet.ts +22 -75
  78. package/tsconfig.build.tsbuildinfo +1 -1
  79. package/LICENSE +0 -39
package/LICENSE DELETED
@@ -1,39 +0,0 @@
1
- The Dock Labs Non-Production License (the “DL-NPL”)
2
- Copyright (c) 2024 Dock Labs AG.
3
-
4
- This software and associated documentation files (the "Software") may only be
5
- used in production, if you (and any entity that you represent) have agreed to,
6
- and are in compliance with, the Dock Labs Subscription Master Services Agreement
7
- (MSA), available at https://www.dock.io/master-services-agreement (the “Dock
8
- Terms”), or other agreement governing the use of the Software, as agreed by you
9
- and Dock Labs, and otherwise have a valid Dock Labs subscription that is being
10
- utilized as intended and for its designated purposes.
11
-
12
- Subject to the foregoing sentence, you are free to modify this Software and
13
- publish patches to the Software. You agree that Dock Labs and/or its licensors
14
- (as applicable) retain all right, title and interest in and to all such
15
- modifications and/or patches, and all such modifications and/or patches may only
16
- be used, copied, modified, displayed, distributed, or otherwise exploited with a
17
- valid Dock Labs subscription that is being utilized as intended and for its
18
- designated purposes. Notwithstanding the foregoing, you may copy and modify the
19
- Software without obtaining a subscription only for non-production development
20
- and testing purposes. For the avoidance of doubt, non-production use solely
21
- consists of internal use of this software within a non-production development or
22
- test environment which uses fictitious data in non-durable identity credentials.
23
- You are not granted any other rights beyond what is expressly stated herein.
24
- Subject to the foregoing, it is forbidden to copy, merge, publish, distribute,
25
- sublicense, and/or sell the Software.
26
-
27
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
29
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
30
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
31
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
32
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33
-
34
- For all third party components incorporated into the Dock Labs Software, those
35
- components are licensed under the original license provided by the owner of the
36
- applicable component.
37
-
38
- If you have any questions or need further assistance, please contact
39
- support@dock.io.