@aries-framework/askar
Advanced tools
Comparing version 0.4.0-alpha.38 to 0.4.0-alpha.39
@@ -19,3 +19,2 @@ import type { EncryptedMessage, WalletConfig, WalletCreateKeyOptions, DidInfo, WalletSignOptions, UnpackedMessageContext, WalletVerifyOptions, Wallet, WalletConfigRekey } from '@aries-framework/core'; | ||
get session(): Session; | ||
get masterSecretId(): string; | ||
/** | ||
@@ -22,0 +21,0 @@ * Dispose method is called when an agent context is disposed. |
@@ -54,9 +54,2 @@ "use strict"; | ||
} | ||
get masterSecretId() { | ||
var _a, _b, _c, _d; | ||
if (!this.isInitialized || !(((_a = this.walletConfig) === null || _a === void 0 ? void 0 : _a.id) || ((_b = this.walletConfig) === null || _b === void 0 ? void 0 : _b.masterSecretId))) { | ||
throw new core_1.AriesFrameworkError('Wallet has not been initialized yet. Make sure to await agent.initialize() before using the agent.'); | ||
} | ||
return (_d = (_c = this.walletConfig) === null || _c === void 0 ? void 0 : _c.masterSecretId) !== null && _d !== void 0 ? _d : this.walletConfig.id; | ||
} | ||
/** | ||
@@ -95,3 +88,2 @@ * Dispose method is called when an agent context is disposed. | ||
this._session = await this._store.openSession(); | ||
// TODO: Master Secret creation (now part of IndyCredx/AnonCreds) | ||
} | ||
@@ -98,0 +90,0 @@ catch (error) { |
@@ -5,3 +5,3 @@ { | ||
"types": "build/index", | ||
"version": "0.4.0-alpha.38+b6d66b1e", | ||
"version": "0.4.0-alpha.39+edf392fd", | ||
"files": [ | ||
@@ -28,3 +28,3 @@ "build" | ||
"dependencies": { | ||
"@aries-framework/core": "0.4.0-alpha.38+b6d66b1e", | ||
"@aries-framework/core": "0.4.0-alpha.39+edf392fd", | ||
"@hyperledger/aries-askar-shared": "^0.1.0-dev.3", | ||
@@ -44,3 +44,3 @@ "bn.js": "^5.2.1", | ||
}, | ||
"gitHead": "b6d66b1e9a75b4070dbfa0499ba972392c8d7b86" | ||
"gitHead": "edf392fdf561cf8f6a83ecb2a9e08308827de8fc" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
110469
1400