@trustvc/trustvc 1.4.12 → 1.5.0
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.
- package/dist/cjs/utils/aws-kms-signer/index.js +10 -0
- package/dist/cjs/utils/index.js +7 -0
- package/dist/esm/utils/aws-kms-signer/index.js +1 -0
- package/dist/esm/utils/index.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/token-registry-v5/typedContractMethod.d.ts +1 -0
- package/dist/types/utils/aws-kms-signer/index.d.ts +1 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/package.json +2 -1
package/dist/cjs/utils/index.js
CHANGED
|
@@ -7,6 +7,7 @@ var supportedChains = require('./supportedChains');
|
|
|
7
7
|
var errorMessages = require('./errorMessages');
|
|
8
8
|
var documents = require('./documents');
|
|
9
9
|
var gasStation = require('./gasStation');
|
|
10
|
+
var awsKmsSigner = require('./aws-kms-signer');
|
|
10
11
|
|
|
11
12
|
|
|
12
13
|
|
|
@@ -52,3 +53,9 @@ Object.keys(gasStation).forEach(function (k) {
|
|
|
52
53
|
get: function () { return gasStation[k]; }
|
|
53
54
|
});
|
|
54
55
|
});
|
|
56
|
+
Object.keys(awsKmsSigner).forEach(function (k) {
|
|
57
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return awsKmsSigner[k]; }
|
|
60
|
+
});
|
|
61
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AwsKmsSigner } from '@tradetrust-tt/ethers-aws-kms-signer';
|
package/dist/esm/utils/index.js
CHANGED
package/dist/types/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export * from '@tradetrust-tt/tradetrust-utils/constants/network';
|
|
|
40
40
|
export { generate12ByteNonce, generate32ByteKey, stringToUint8Array } from './utils/stringUtils/index.js';
|
|
41
41
|
export * from '@tradetrust-tt/tradetrust-utils/constants/supportedChains';
|
|
42
42
|
export { WrappedOrSignedOpenAttestationDocument, getChainId, getTokenId, getTokenRegistryAddress, getTransferableRecordsCredentialStatus, isTransferableRecord } from './utils/documents/index.js';
|
|
43
|
+
export { AwsKmsSigner, AwsKmsSignerCredentials } from '@tradetrust-tt/ethers-aws-kms-signer';
|
|
43
44
|
export { CustomDnsResolver, IDNSQueryResponse, IDNSRecord, OpenAttestationDNSTextRecord, OpenAttestationDnsDidRecord, defaultDnsResolvers, getDnsDidRecords, getDocumentStoreRecords, parseDnsDidResults, parseDocumentStoreResults, parseOpenAttestationRecord, queryDns } from '@tradetrust-tt/dnsprove';
|
|
44
45
|
export { OpenAttestationDocument, SUPPORTED_SIGNING_ALGORITHM, SchemaId, SignedWrappedDocument, WrappedDocument, getData as getDataV2, isSchemaValidationError, obfuscateDocument, v2, v3, validateSchema, __unsafe__use__it__at__your__own__risks__wrapDocument as wrapOADocumentV3, __unsafe__use__it__at__your__own__risks__wrapDocuments as wrapOADocumentsV3 } from '@tradetrust-tt/tradetrust';
|
|
45
46
|
export { DiagnoseError } from '@tradetrust-tt/tradetrust/dist/types/shared/utils';
|
|
@@ -4,4 +4,5 @@ import '@trustvc/w3c-issuer';
|
|
|
4
4
|
import '@tradetrust-tt/tradetrust-utils';
|
|
5
5
|
import '@tradetrust-tt/tradetrust-utils/constants/network';
|
|
6
6
|
import '@tradetrust-tt/tradetrust-utils/constants/supportedChains';
|
|
7
|
+
import '@tradetrust-tt/ethers-aws-kms-signer';
|
|
7
8
|
import '@tradetrust-tt/dnsprove';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AwsKmsSigner, AwsKmsSignerCredentials } from '@tradetrust-tt/ethers-aws-kms-signer';
|
|
@@ -3,6 +3,7 @@ export * from '@tradetrust-tt/tradetrust-utils/constants/network';
|
|
|
3
3
|
export { generate12ByteNonce, generate32ByteKey, stringToUint8Array } from './stringUtils/index.js';
|
|
4
4
|
export * from '@tradetrust-tt/tradetrust-utils/constants/supportedChains';
|
|
5
5
|
export { WrappedOrSignedOpenAttestationDocument, getChainId, getTokenId, getTokenRegistryAddress, getTransferableRecordsCredentialStatus, isTransferableRecord } from './documents/index.js';
|
|
6
|
+
export { AwsKmsSigner, AwsKmsSignerCredentials } from '@tradetrust-tt/ethers-aws-kms-signer';
|
|
6
7
|
import '@tradetrust-tt/tradetrust';
|
|
7
8
|
import '@trustvc/w3c-credential-status';
|
|
8
9
|
import '@trustvc/w3c-vc';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trustvc/trustvc",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "TrustVC library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -111,6 +111,7 @@
|
|
|
111
111
|
},
|
|
112
112
|
"dependencies": {
|
|
113
113
|
"@tradetrust-tt/dnsprove": "^2.17.0",
|
|
114
|
+
"@tradetrust-tt/ethers-aws-kms-signer": "^2.1.3",
|
|
114
115
|
"@tradetrust-tt/token-registry-v4": "npm:@tradetrust-tt/token-registry@^4.16.0",
|
|
115
116
|
"@tradetrust-tt/token-registry-v5": "npm:@tradetrust-tt/token-registry@^5.3.0",
|
|
116
117
|
"@tradetrust-tt/tradetrust": "^6.10.1",
|