@nuggetslife/vc-multiplatform 1.3.1 → 1.3.2

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.d.ts +47 -0
  2. package/package.json +4 -3
package/index.d.ts ADDED
@@ -0,0 +1,47 @@
1
+ export {
2
+ // Key pairs
3
+ Bls12381G2KeyPair,
4
+ KeyPairSigner,
5
+ KeyPairVerifier,
6
+ BoundBls12381G2KeyPair,
7
+ // BBS+ signature suites
8
+ BbsBlsSignature2020,
9
+ BbsBlsSignatureProof2020,
10
+ // Holder-bound signature suites
11
+ BbsBlsHolderBoundSignature2022,
12
+ BbsBlsHolderBoundSignatureProof2022,
13
+ // JSON-LD processor
14
+ JsonLd,
15
+ // Linked data signature functions
16
+ ldSign,
17
+ ldVerify,
18
+ ldDeriveProof,
19
+ deriveProof,
20
+ // Blind signing functions
21
+ createCommitment,
22
+ verifyCommitment,
23
+ unblindSignature,
24
+ deriveProofHolderBound,
25
+ // Types
26
+ type BoundSignatureSuiteOptions,
27
+ type BoundCreateProofOptions,
28
+ type BoundVerifyProofOptions,
29
+ type BoundDeriveProofOptions,
30
+ type BoundVerifyDerivedProofOptions,
31
+ type SignatureSuiteOptions,
32
+ type CreateProofOptions,
33
+ type VerifyProofOptions,
34
+ type SuiteSignOptions,
35
+ type VerifySignatureOptions,
36
+ type DeriveProofOptions,
37
+ type VerifyDerivedProofOptions,
38
+ type KeyPairOptions,
39
+ type JwkKeyPairOptions,
40
+ type FingerPrintFromPublicKeyOptions,
41
+ type KeyPairFromFingerPrintOptions,
42
+ type JsonWebKey,
43
+ type GenerateKeyPairOptions,
44
+ type KeyPairSignerOptions,
45
+ type KeyPairVerifierOptions,
46
+ type BoundKeyPairOptions,
47
+ } from '@nuggetslife/vc'
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@nuggetslife/vc-multiplatform",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Multiplatform support for VC library",
5
5
  "main": "index.js",
6
+ "types": "index.d.ts",
6
7
  "scripts": {
7
8
  "test": "echo \"Error: no test specified\" && exit 1"
8
9
  },
9
10
  "author": "",
10
11
  "license": "ISC",
11
12
  "optionalDependencies": {
12
- "@nuggetslife/vc": "0.0.20",
13
- "@nuggetslife/vc-rn": "0.1.8"
13
+ "@nuggetslife/vc": "0.0.21",
14
+ "@nuggetslife/vc-rn": "0.1.9"
14
15
  }
15
16
  }