Skip to content

Commit 494c920

Browse files
authored
Merge pull request #122 from hypersign-protocol/develop
added build files
2 parents af04155 + c6e7ff9 commit 494c920

File tree

10 files changed

+119
-1238
lines changed

10 files changed

+119
-1238
lines changed

build/libs/w3cache/v1/index.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/libs/w3cache/v1/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ const CONTEXTS = Object.freeze({
3939
"https://w3c.github.io/vc-data-integrity/vocab/security/vocabulary.jsonld": Object.assign({}, vc_data_integrety_json_1.default),
4040
"https://w3id.org/security/suites/secp256k1recovery-2020/v2": Object.assign({}, lds_ecdsa_secp256k1_recovery2020_json_1.default),
4141
"https://schema.org": Object.assign({}, schema_org_json_1.default),
42+
"https://digitalbazaar.github.io/x25519-key-agreement-2020-context/contexts/x25519-key-agreement-2020-v1.jsonld": Object.assign({}, x25519_key_agreement_2020_v1_json_1.default),
43+
"https://identity.foundation/.well-known/did-configuration/v1": Object.assign({}, did_wellknown_json_1.default),
4244
"https://github.com/hypersign-protocol/hid-ssi-js-sdk/blob/develop/libs/w3cache/v1/X25519KeyAgreementKeyEIP5630.json": Object.assign({}, X25519KeyAgreementKeyEIP5630_json_1.default)
4345
});
4446
exports.default = (url, options) => __awaiter(void 0, void 0, void 0, function* () {

build/src/tests/config.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ export declare const hidNodeEp: {
88
};
99
export declare function makeCosmoshubPath(a: any): Slip10RawIndex[];
1010
export declare const createWallet: (mnemonic: any) => Promise<DirectSecp256k1HdWallet>;
11+
export declare const entityApiSecret = "29a393a5d70094e409824359fc5d5.befc6c6f32d622e1c29ca900299a5695251b2407ca7cf6db8e6b2569dc13f937a4b83f4fa78738715d6267d3733e4f139";
1112
//# sourceMappingURL=config.d.ts.map

build/src/tests/config.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/src/tests/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
99
});
1010
};
1111
Object.defineProperty(exports, "__esModule", { value: true });
12-
exports.createWallet = exports.makeCosmoshubPath = exports.hidNodeEp = exports.mnemonic = void 0;
12+
exports.entityApiSecret = exports.createWallet = exports.makeCosmoshubPath = exports.hidNodeEp = exports.mnemonic = void 0;
1313
const proto_signing_1 = require("@cosmjs/proto-signing");
1414
const crypto_1 = require("@cosmjs/crypto");
1515
exports.mnemonic = 'verify sustain lumber boat demise parade special soft bargain scout spoil there addict move badge rebuild horn achieve hollow acquire glide bundle curious present';
@@ -49,4 +49,5 @@ const createWallet = (mnemonic) => __awaiter(void 0, void 0, void 0, function* (
4949
}
5050
});
5151
exports.createWallet = createWallet;
52+
exports.entityApiSecret = '29a393a5d70094e409824359fc5d5.befc6c6f32d622e1c29ca900299a5695251b2407ca7cf6db8e6b2569dc13f937a4b83f4fa78738715d6267d3733e4f139';
5253
// wallet address: hid1rh5h603fv9dneqm422uvl4xk3fc77a4uheleq5

build/src/tests/credential/vcByEntityApiKey.spec.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const schemaBody = {
3838
fields: [{ name: 'name', type: 'string', isRequired: false }],
3939
additionalProperties: false,
4040
};
41-
const entityApiSecret = "69b91e007904228e3313e586ba695.bc7705956989e43bbd7060e845c2763a381cbc80f935ac848119b8c2d7d00616346eeb74efe22a0ff140506a0c6157ef6";
4241
beforeEach(function () {
4342
return __awaiter(this, void 0, void 0, function* () {
4443
offlineSigner = yield (0, config_1.createWallet)(config_1.mnemonic);
@@ -264,7 +263,7 @@ describe('Verifiable credential operation', function () {
264263
describe('#registerCredentialStatus() method to register credential status on chain', () => {
265264
it('Should be able to register credential using entityApiSecretKey', () => __awaiter(this, void 0, void 0, function* () {
266265
const hypersignVC = new index_1.HypersignVerifiableCredential({
267-
entityApiSecretKey: entityApiSecret,
266+
entityApiSecretKey: config_1.entityApiSecret,
268267
nodeRestEndpoint: config_1.hidNodeEp.rest,
269268
nodeRpcEndpoint: config_1.hidNodeEp.rpc,
270269
namespace: config_1.hidNodeEp.namespace,

0 commit comments

Comments
 (0)