@nuggetslife/vc-multiplatform 1.3.0 → 1.3.1

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 (2) hide show
  1. package/index.js +37 -1
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -52,8 +52,44 @@ try {
52
52
  //
53
53
  // try {
54
54
  // const nativeBinding = require('@nuggetslife/vc-rn')
55
- // const { Bls12381G2KeyPair } = nativeBinding
55
+ // const {
56
+ // // Key pairs
57
+ // Bls12381G2KeyPair,
58
+ // BoundBls12381G2KeyPair,
59
+ // // BBS+ signature suites
60
+ // BbsBlsSignature2020,
61
+ // BbsBlsSignatureProof2020,
62
+ // // Holder-bound signature suites
63
+ // BbsBlsHolderBoundSignature2022,
64
+ // BbsBlsHolderBoundSignatureProof2022,
65
+ // // JSON-LD processor
66
+ // JsonLd,
67
+ // // Linked data signature functions
68
+ // ldSign,
69
+ // ldVerify,
70
+ // ldDeriveProof,
71
+ // deriveProof,
72
+ // // Blind signing functions
73
+ // createCommitment,
74
+ // verifyCommitment,
75
+ // unblindSignature,
76
+ // deriveProofHolderBound,
77
+ // } = nativeBinding
56
78
  // module.exports.Bls12381G2KeyPair = Bls12381G2KeyPair
79
+ // module.exports.BoundBls12381G2KeyPair = BoundBls12381G2KeyPair
80
+ // module.exports.BbsBlsSignature2020 = BbsBlsSignature2020
81
+ // module.exports.BbsBlsSignatureProof2020 = BbsBlsSignatureProof2020
82
+ // module.exports.BbsBlsHolderBoundSignature2022 = BbsBlsHolderBoundSignature2022
83
+ // module.exports.BbsBlsHolderBoundSignatureProof2022 = BbsBlsHolderBoundSignatureProof2022
84
+ // module.exports.JsonLd = JsonLd
85
+ // module.exports.ldSign = ldSign
86
+ // module.exports.ldVerify = ldVerify
87
+ // module.exports.ldDeriveProof = ldDeriveProof
88
+ // module.exports.deriveProof = deriveProof
89
+ // module.exports.createCommitment = createCommitment
90
+ // module.exports.verifyCommitment = verifyCommitment
91
+ // module.exports.unblindSignature = unblindSignature
92
+ // module.exports.deriveProofHolderBound = deriveProofHolderBound
57
93
  // } catch (e) {
58
94
  // throw new Error(`failed to load: ${e}`)
59
95
  // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuggetslife/vc-multiplatform",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Multiplatform support for VC library",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  "author": "",
10
10
  "license": "ISC",
11
11
  "optionalDependencies": {
12
- "@nuggetslife/vc": "0.0.18",
13
- "@nuggetslife/vc-rn": "0.1.7"
12
+ "@nuggetslife/vc": "0.0.20",
13
+ "@nuggetslife/vc-rn": "0.1.8"
14
14
  }
15
15
  }