Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
99f06b2
added one test case
varsha766 Jul 17, 2023
e532c1e
just added some test case
varsha766 Jul 17, 2023
3ae1024
added test case for createByClientSpec()
varsha766 Jul 18, 2023
ac7cf14
failure test case of did module is completed
varsha766 Jul 19, 2023
9c173e4
code prettified
varsha766 Jul 19, 2023
74f9ffd
added test case based on recent change in hid node
varsha766 Jul 21, 2023
3292abd
Merge pull request #104 from hypersign-protocol/HSSTUD-223
varsha766 Jul 28, 2023
f2eac74
removed local url
varsha766 Oct 13, 2023
1a4b70f
Merge branch 'HSSTUD-238' into recent_development
Vishwas1 Oct 18, 2023
3407e26
update
Vishwas1 Oct 18, 2023
31c2b12
added build files
varsha766 Oct 19, 2023
c6e7ff9
changed version
varsha766 Oct 19, 2023
ca095f3
updated generated file with recent update in hid-node
varsha766 Oct 31, 2023
76e5365
updated did module with test case
varsha766 Oct 31, 2023
d35e445
some changes in did
varsha766 Oct 31, 2023
d9118fa
updated schema module with test case
varsha766 Oct 31, 2023
1118244
updated credential module with test case
varsha766 Oct 31, 2023
95a1249
updated presentation module
varsha766 Oct 31, 2023
4a9b04d
code pretified
varsha766 Oct 31, 2023
eaa10d3
fixed issue of canonization
varsha766 Nov 1, 2023
b9e393e
added package
varsha766 Nov 2, 2023
4d1c042
updated did module for eth-personal as well cosmos-ADR036
varsha766 Nov 6, 2023
408ea3d
seprated test case for keyagreement type
varsha766 Nov 6, 2023
d6c19a6
code prettified
varsha766 Nov 6, 2023
26bfc59
added build folder
varsha766 Nov 6, 2023
2b866d0
added build file
varsha766 Nov 6, 2023
5d0292b
fixed issue of signAndReg method
varsha766 Nov 6, 2023
c751800
updated test cases
varsha766 Nov 8, 2023
b7ca009
added build files
varsha766 Nov 8, 2023
d8eb4f1
removed convertEd25519verificationkey2020toStableLibKeysInto method
varsha766 Nov 9, 2023
59ce17a
updated schema resolver
Pratap2018 Nov 10, 2023
3dce57d
updated schma resolver
Pratap2018 Nov 10, 2023
1ea1c0d
SchemaResolver related changes
Pratap2018 Nov 17, 2023
7b3147a
schemaResolver realated changes
Pratap2018 Nov 17, 2023
5030b21
Merge pull request #129 from hypersign-protocol/schemaResolver
Pratap2018 Nov 17, 2023
753219a
implement jsonld sign
varsha766 Nov 17, 2023
3f1362e
removed stablelib package
varsha766 Nov 17, 2023
53e5130
Merge pull request #130 from hypersign-protocol/implement/jsonLd
varsha766 Nov 17, 2023
1b89e9e
code prettified
varsha766 Nov 17, 2023
43ff8cb
Merge pull request #131 from hypersign-protocol/implement/jsonLd
varsha766 Nov 17, 2023
f422621
small bug
varsha766 Nov 17, 2023
595ad53
schemaValidator Updated
Pratap2018 Nov 20, 2023
e64e4a0
json-schema added
Pratap2018 Nov 20, 2023
d65e2a7
update packge json
Pratap2018 Nov 20, 2023
599a194
Merge pull request #132 from hypersign-protocol/schemaValidator
Pratap2018 Nov 20, 2023
085ae89
Fixed bug related to Test Case
Pratap2018 Nov 20, 2023
a30bce5
updated code
Pratap2018 Nov 20, 2023
6754f2e
added build folder in gitignore
Vishwas1 Nov 21, 2023
3bb83b6
remved unused script from package.json
varsha766 Nov 21, 2023
758c7e7
adding custom document loader in iden3 merkelizer
Vishwas1 Nov 21, 2023
811796c
prettified
Vishwas1 Nov 21, 2023
6b23abb
added extendendocumment loader
Vishwas1 Nov 21, 2023
acab9ca
removing build folder
Vishwas1 Nov 21, 2023
4dddccb
removing test folder
Vishwas1 Nov 21, 2023
661a1fa
Merge branch 'issue/272' of https://github.com/hypersign-protocol/hid…
Vishwas1 Nov 21, 2023
8d7525d
added validation for hid-client
Vishwas1 Nov 21, 2023
6daeb81
Updated code till schema
Pratap2018 Nov 24, 2023
1d6f17e
Merge branch 'testing_bjj' into babyjubjubkeys
Pratap2018 Nov 24, 2023
deb7fc7
Merge pull request #133 from hypersign-protocol/babyjubjubkeys
varsha766 Nov 24, 2023
62b372f
slective disclousure added
Pratap2018 Nov 24, 2023
5a71e58
Updated code
Pratap2018 Nov 24, 2023
4e4b391
added dynamic fee structure
varsha766 Nov 27, 2023
eee19cf
Merge pull request #135 from hypersign-protocol/babyjubjubkeys
Pratap2018 Nov 27, 2023
5d64512
updated code
Pratap2018 Nov 27, 2023
0dd6bd5
Merge pull request #136 from hypersign-protocol/babyjubjubkeys
Pratap2018 Nov 27, 2023
916d1c9
added test case related to bjj and some typo error fixed
varsha766 Nov 29, 2023
0ef4f28
updated code
Pratap2018 Nov 29, 2023
75b1e47
Merge branch 'testcase/bjj' into babyjubjubkeys
Pratap2018 Nov 29, 2023
fbba8a8
Merge pull request #137 from hypersign-protocol/babyjubjubkeys
Pratap2018 Nov 29, 2023
dadb489
updated code
Pratap2018 Nov 29, 2023
4e99eae
updated code
Pratap2018 Nov 29, 2023
591ed9e
added testcase
varsha766 Nov 29, 2023
2fd522e
updated code bug fixed
Pratap2018 Nov 29, 2023
475269c
added testcase related to schema
varsha766 Nov 30, 2023
c0a6319
fixed small bug related to schema
varsha766 Dec 1, 2023
7cfde39
added missing testcases
varsha766 Dec 1, 2023
84cab7c
fixed issue vp verification
varsha766 Dec 1, 2023
88ad96c
removed unused method
varsha766 Dec 1, 2023
b739203
added test case for validating challenge and domain
varsha766 Dec 1, 2023
9a8b0b9
added test case for vp
varsha766 Dec 1, 2023
b75609c
small change in credential
varsha766 Dec 1, 2023
8cfa654
code prettified
varsha766 Dec 1, 2023
a2bc209
added check
Vishwas1 Dec 5, 2023
47b4efe
updated build
Pratap2018 Dec 22, 2023
292b1d2
update
Pratap2018 Dec 27, 2023
fc924bd
update
Pratap2018 Dec 27, 2023
270f248
update
Pratap2018 Dec 27, 2023
747f8c2
update
Pratap2018 Dec 27, 2023
90cc891
update
Pratap2018 Dec 27, 2023
1f04eea
update
Pratap2018 Dec 27, 2023
4aae747
update
Pratap2018 Dec 27, 2023
f4218d5
lock ambiguity remove
Pratap2018 Dec 27, 2023
d552c9f
update
Pratap2018 Dec 27, 2023
00371d6
modified sign and verify function to support assertion as well authen…
varsha766 May 9, 2024
6281342
small chnage in variable name
varsha766 May 10, 2024
813c366
made optional property as optional
varsha766 May 10, 2024
c9d76d3
added controller in did sign
varsha766 May 10, 2024
d5c592a
Merge pull request #141 from hypersign-protocol/implement/didAssertion
varsha766 May 10, 2024
52703a6
update credStatus
Pratap2018 Aug 7, 2024
2900e86
update did-update
Pratap2018 Aug 8, 2024
df10fb0
some fix related to bjjDid and supported purpose
varsha766 Sep 19, 2024
6d610c5
added build files
varsha766 Sep 19, 2024
6794a31
dump
Pratap2018 Sep 30, 2024
aede6d2
dump
Pratap2018 Sep 30, 2024
e170627
added testcase for generating and register did with multiple vm with bjj
varsha766 Oct 1, 2024
201b603
fixed vp related issue
varsha766 Oct 1, 2024
5ff6fbe
removed unused params
varsha766 Oct 3, 2024
4b74da7
feat: add LinkedDomains context
Pratap2018 Oct 3, 2024
88ca9ee
Merge pull request #142 from hypersign-protocol/bjj-signature-fix
Pratap2018 Oct 4, 2024
562c2da
fix: didAuth
Pratap2018 Oct 28, 2024
2a7392a
adding axios cache
Pratap2018 Nov 21, 2024
35b7956
add logs to sdk
Pratap2018 Nov 21, 2024
ab35e0f
didRpc Caching
Pratap2018 Nov 21, 2024
c379959
remove did resolve when not necessary
Vishwas1 Nov 24, 2024
3ee9f4e
checkedin build files
Vishwas1 Nov 24, 2024
a431e2b
update sdk
Pratap2018 Nov 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions build/libs/generated/ssi/client/enums.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
export declare const protobufPackage = "hypersign.ssi.client";
/** The messages defined here are meant only meant for TS client. */
export declare enum VerificationMethodRelationships {
authentication = "authentication",
assertionMethod = "assertionMethod",
keyAgreement = "keyAgreement",
capabilityInvocation = "capabilityInvocation",
capabilityDelegation = "capabilityDelegation"
}
export declare function verificationMethodRelationshipsFromJSON(object: any): VerificationMethodRelationships;
export declare function verificationMethodRelationshipsToJSON(object: VerificationMethodRelationships): string;
export declare function verificationMethodRelationshipsToNumber(object: VerificationMethodRelationships): number;
export declare enum VerificationMethodTypes {
Ed25519VerificationKey2020 = "Ed25519VerificationKey2020",
EcdsaSecp256k1VerificationKey2019 = "EcdsaSecp256k1VerificationKey2019",
EcdsaSecp256k1RecoveryMethod2020 = "EcdsaSecp256k1RecoveryMethod2020",
X25519KeyAgreementKey2020 = "X25519KeyAgreementKey2020",
X25519KeyAgreementKeyEIP5630 = "X25519KeyAgreementKeyEIP5630",
Bls12381G2Key2020 = "Bls12381G2Key2020",
BabyJubJubKey2021 = "BabyJubJubKey2021"
}
export declare function verificationMethodTypesFromJSON(object: any): VerificationMethodTypes;
export declare function verificationMethodTypesToJSON(object: VerificationMethodTypes): string;
export declare function verificationMethodTypesToNumber(object: VerificationMethodTypes): number;
export declare enum ProofTypes {
Ed25519Signature2020 = "Ed25519Signature2020",
EcdsaSecp256k1Signature2019 = "EcdsaSecp256k1Signature2019",
EcdsaSecp256k1RecoverySignature2020 = "EcdsaSecp256k1RecoverySignature2020",
BJJSignature2021 = "BJJSignature2021",
BbsBlsSignature2020 = "BbsBlsSignature2020"
}
export declare function proofTypesFromJSON(object: any): ProofTypes;
export declare function proofTypesToJSON(object: ProofTypes): string;
export declare function proofTypesToNumber(object: ProofTypes): number;
//# sourceMappingURL=enums.d.ts.map
1 change: 1 addition & 0 deletions build/libs/generated/ssi/client/enums.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

214 changes: 214 additions & 0 deletions build/libs/generated/ssi/client/enums.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
"use strict";
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.proofTypesToNumber = exports.proofTypesToJSON = exports.proofTypesFromJSON = exports.ProofTypes = exports.verificationMethodTypesToNumber = exports.verificationMethodTypesToJSON = exports.verificationMethodTypesFromJSON = exports.VerificationMethodTypes = exports.verificationMethodRelationshipsToNumber = exports.verificationMethodRelationshipsToJSON = exports.verificationMethodRelationshipsFromJSON = exports.VerificationMethodRelationships = exports.protobufPackage = void 0;
exports.protobufPackage = "hypersign.ssi.client";
/** The messages defined here are meant only meant for TS client. */
var VerificationMethodRelationships;
(function (VerificationMethodRelationships) {
VerificationMethodRelationships["authentication"] = "authentication";
VerificationMethodRelationships["assertionMethod"] = "assertionMethod";
VerificationMethodRelationships["keyAgreement"] = "keyAgreement";
VerificationMethodRelationships["capabilityInvocation"] = "capabilityInvocation";
VerificationMethodRelationships["capabilityDelegation"] = "capabilityDelegation";
})(VerificationMethodRelationships = exports.VerificationMethodRelationships || (exports.VerificationMethodRelationships = {}));
function verificationMethodRelationshipsFromJSON(object) {
switch (object) {
case 0:
case "authentication":
return VerificationMethodRelationships.authentication;
case 1:
case "assertionMethod":
return VerificationMethodRelationships.assertionMethod;
case 2:
case "keyAgreement":
return VerificationMethodRelationships.keyAgreement;
case 3:
case "capabilityInvocation":
return VerificationMethodRelationships.capabilityInvocation;
case 4:
case "capabilityDelegation":
return VerificationMethodRelationships.capabilityDelegation;
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum VerificationMethodRelationships");
}
}
exports.verificationMethodRelationshipsFromJSON = verificationMethodRelationshipsFromJSON;
function verificationMethodRelationshipsToJSON(object) {
switch (object) {
case VerificationMethodRelationships.authentication:
return "authentication";
case VerificationMethodRelationships.assertionMethod:
return "assertionMethod";
case VerificationMethodRelationships.keyAgreement:
return "keyAgreement";
case VerificationMethodRelationships.capabilityInvocation:
return "capabilityInvocation";
case VerificationMethodRelationships.capabilityDelegation:
return "capabilityDelegation";
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum VerificationMethodRelationships");
}
}
exports.verificationMethodRelationshipsToJSON = verificationMethodRelationshipsToJSON;
function verificationMethodRelationshipsToNumber(object) {
switch (object) {
case VerificationMethodRelationships.authentication:
return 0;
case VerificationMethodRelationships.assertionMethod:
return 1;
case VerificationMethodRelationships.keyAgreement:
return 2;
case VerificationMethodRelationships.capabilityInvocation:
return 3;
case VerificationMethodRelationships.capabilityDelegation:
return 4;
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum VerificationMethodRelationships");
}
}
exports.verificationMethodRelationshipsToNumber = verificationMethodRelationshipsToNumber;
var VerificationMethodTypes;
(function (VerificationMethodTypes) {
VerificationMethodTypes["Ed25519VerificationKey2020"] = "Ed25519VerificationKey2020";
VerificationMethodTypes["EcdsaSecp256k1VerificationKey2019"] = "EcdsaSecp256k1VerificationKey2019";
VerificationMethodTypes["EcdsaSecp256k1RecoveryMethod2020"] = "EcdsaSecp256k1RecoveryMethod2020";
VerificationMethodTypes["X25519KeyAgreementKey2020"] = "X25519KeyAgreementKey2020";
VerificationMethodTypes["X25519KeyAgreementKeyEIP5630"] = "X25519KeyAgreementKeyEIP5630";
VerificationMethodTypes["Bls12381G2Key2020"] = "Bls12381G2Key2020";
VerificationMethodTypes["BabyJubJubKey2021"] = "BabyJubJubKey2021";
})(VerificationMethodTypes = exports.VerificationMethodTypes || (exports.VerificationMethodTypes = {}));
function verificationMethodTypesFromJSON(object) {
switch (object) {
case 0:
case "Ed25519VerificationKey2020":
return VerificationMethodTypes.Ed25519VerificationKey2020;
case 1:
case "EcdsaSecp256k1VerificationKey2019":
return VerificationMethodTypes.EcdsaSecp256k1VerificationKey2019;
case 2:
case "EcdsaSecp256k1RecoveryMethod2020":
return VerificationMethodTypes.EcdsaSecp256k1RecoveryMethod2020;
case 3:
case "X25519KeyAgreementKey2020":
return VerificationMethodTypes.X25519KeyAgreementKey2020;
case 4:
case "X25519KeyAgreementKeyEIP5630":
return VerificationMethodTypes.X25519KeyAgreementKeyEIP5630;
case 5:
case "Bls12381G2Key2020":
return VerificationMethodTypes.Bls12381G2Key2020;
case 6:
case "BabyJubJubKey2021":
return VerificationMethodTypes.BabyJubJubKey2021;
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum VerificationMethodTypes");
}
}
exports.verificationMethodTypesFromJSON = verificationMethodTypesFromJSON;
function verificationMethodTypesToJSON(object) {
switch (object) {
case VerificationMethodTypes.Ed25519VerificationKey2020:
return "Ed25519VerificationKey2020";
case VerificationMethodTypes.EcdsaSecp256k1VerificationKey2019:
return "EcdsaSecp256k1VerificationKey2019";
case VerificationMethodTypes.EcdsaSecp256k1RecoveryMethod2020:
return "EcdsaSecp256k1RecoveryMethod2020";
case VerificationMethodTypes.X25519KeyAgreementKey2020:
return "X25519KeyAgreementKey2020";
case VerificationMethodTypes.X25519KeyAgreementKeyEIP5630:
return "X25519KeyAgreementKeyEIP5630";
case VerificationMethodTypes.Bls12381G2Key2020:
return "Bls12381G2Key2020";
case VerificationMethodTypes.BabyJubJubKey2021:
return "BabyJubJubKey2021";
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum VerificationMethodTypes");
}
}
exports.verificationMethodTypesToJSON = verificationMethodTypesToJSON;
function verificationMethodTypesToNumber(object) {
switch (object) {
case VerificationMethodTypes.Ed25519VerificationKey2020:
return 0;
case VerificationMethodTypes.EcdsaSecp256k1VerificationKey2019:
return 1;
case VerificationMethodTypes.EcdsaSecp256k1RecoveryMethod2020:
return 2;
case VerificationMethodTypes.X25519KeyAgreementKey2020:
return 3;
case VerificationMethodTypes.X25519KeyAgreementKeyEIP5630:
return 4;
case VerificationMethodTypes.Bls12381G2Key2020:
return 5;
case VerificationMethodTypes.BabyJubJubKey2021:
return 6;
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum VerificationMethodTypes");
}
}
exports.verificationMethodTypesToNumber = verificationMethodTypesToNumber;
var ProofTypes;
(function (ProofTypes) {
ProofTypes["Ed25519Signature2020"] = "Ed25519Signature2020";
ProofTypes["EcdsaSecp256k1Signature2019"] = "EcdsaSecp256k1Signature2019";
ProofTypes["EcdsaSecp256k1RecoverySignature2020"] = "EcdsaSecp256k1RecoverySignature2020";
ProofTypes["BJJSignature2021"] = "BJJSignature2021";
ProofTypes["BbsBlsSignature2020"] = "BbsBlsSignature2020";
})(ProofTypes = exports.ProofTypes || (exports.ProofTypes = {}));
function proofTypesFromJSON(object) {
switch (object) {
case 0:
case "Ed25519Signature2020":
return ProofTypes.Ed25519Signature2020;
case 1:
case "EcdsaSecp256k1Signature2019":
return ProofTypes.EcdsaSecp256k1Signature2019;
case 2:
case "EcdsaSecp256k1RecoverySignature2020":
return ProofTypes.EcdsaSecp256k1RecoverySignature2020;
case 3:
case "BJJSignature2021":
return ProofTypes.BJJSignature2021;
case 4:
case "BbsBlsSignature2020":
return ProofTypes.BbsBlsSignature2020;
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum ProofTypes");
}
}
exports.proofTypesFromJSON = proofTypesFromJSON;
function proofTypesToJSON(object) {
switch (object) {
case ProofTypes.Ed25519Signature2020:
return "Ed25519Signature2020";
case ProofTypes.EcdsaSecp256k1Signature2019:
return "EcdsaSecp256k1Signature2019";
case ProofTypes.EcdsaSecp256k1RecoverySignature2020:
return "EcdsaSecp256k1RecoverySignature2020";
case ProofTypes.BJJSignature2021:
return "BJJSignature2021";
case ProofTypes.BbsBlsSignature2020:
return "BbsBlsSignature2020";
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum ProofTypes");
}
}
exports.proofTypesToJSON = proofTypesToJSON;
function proofTypesToNumber(object) {
switch (object) {
case ProofTypes.Ed25519Signature2020:
return 0;
case ProofTypes.EcdsaSecp256k1Signature2019:
return 1;
case ProofTypes.EcdsaSecp256k1RecoverySignature2020:
return 2;
case ProofTypes.BJJSignature2021:
return 3;
case ProofTypes.BbsBlsSignature2020:
return 4;
default:
throw new globalThis.Error("Unrecognized enum value " + object + " for enum ProofTypes");
}
}
exports.proofTypesToNumber = proofTypesToNumber;
19 changes: 0 additions & 19 deletions build/libs/generated/ssi/clientSpec.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion build/libs/generated/ssi/clientSpec.d.ts.map

This file was deleted.

79 changes: 0 additions & 79 deletions build/libs/generated/ssi/clientSpec.js

This file was deleted.

10 changes: 10 additions & 0 deletions build/libs/generated/ssi/client_spec.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export declare const protobufPackage = "hypersign.ssi.v1";
export declare enum ClientSpecType {
CLIENT_SPEC_TYPE_NONE = "CLIENT_SPEC_TYPE_NONE",
CLIENT_SPEC_TYPE_COSMOS_ADR036 = "CLIENT_SPEC_TYPE_COSMOS_ADR036",
CLIENT_SPEC_TYPE_ETH_PERSONAL_SIGN = "CLIENT_SPEC_TYPE_ETH_PERSONAL_SIGN"
}
export declare function clientSpecTypeFromJSON(object: any): ClientSpecType;
export declare function clientSpecTypeToJSON(object: ClientSpecType): string;
export declare function clientSpecTypeToNumber(object: ClientSpecType): number;
//# sourceMappingURL=client_spec.d.ts.map
1 change: 1 addition & 0 deletions build/libs/generated/ssi/client_spec.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading