@twin.org/immutable-proof-service 0.0.1-next.2 → 0.0.1-next.3

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.
@@ -351,13 +351,13 @@ class ImmutableProofService {
351
351
  * @param options.config The configuration for the connector.
352
352
  * @param options.vaultConnectorType The vault connector type, defaults to "vault".
353
353
  * @param options.immutableProofEntityStorageType The entity storage for proofs, defaults to "immutable-proof".
354
- * @param options.immutableStorageType The immutable storage, defaults to "immutable-proof".
354
+ * @param options.immutableStorageType The immutable storage, defaults to "immutable-storage".
355
355
  * @param options.identityConnectorType The identity connector type, defaults to "identity".
356
356
  */
357
357
  constructor(options) {
358
358
  this._vaultConnector = vaultModels.VaultConnectorFactory.get(options?.vaultConnectorType ?? "vault");
359
359
  this._proofStorage = entityStorageModels.EntityStorageConnectorFactory.get(options?.immutableProofEntityStorageType ?? core.StringHelper.kebabCase("ImmutableProof"));
360
- this._immutableStorage = immutableStorageModels.ImmutableStorageConnectorFactory.get(options?.immutableStorageType ?? "immutable-proof");
360
+ this._immutableStorage = immutableStorageModels.ImmutableStorageConnectorFactory.get(options?.immutableStorageType ?? "immutable-storage");
361
361
  this._identityConnector = identityModels.IdentityConnectorFactory.get(options?.identityConnectorType ?? "identity");
362
362
  this._config = options?.config ?? {};
363
363
  this._assertionMethodId = this._config.assertionMethodId ?? "immutable-proof";
@@ -349,13 +349,13 @@ class ImmutableProofService {
349
349
  * @param options.config The configuration for the connector.
350
350
  * @param options.vaultConnectorType The vault connector type, defaults to "vault".
351
351
  * @param options.immutableProofEntityStorageType The entity storage for proofs, defaults to "immutable-proof".
352
- * @param options.immutableStorageType The immutable storage, defaults to "immutable-proof".
352
+ * @param options.immutableStorageType The immutable storage, defaults to "immutable-storage".
353
353
  * @param options.identityConnectorType The identity connector type, defaults to "identity".
354
354
  */
355
355
  constructor(options) {
356
356
  this._vaultConnector = VaultConnectorFactory.get(options?.vaultConnectorType ?? "vault");
357
357
  this._proofStorage = EntityStorageConnectorFactory.get(options?.immutableProofEntityStorageType ?? StringHelper.kebabCase("ImmutableProof"));
358
- this._immutableStorage = ImmutableStorageConnectorFactory.get(options?.immutableStorageType ?? "immutable-proof");
358
+ this._immutableStorage = ImmutableStorageConnectorFactory.get(options?.immutableStorageType ?? "immutable-storage");
359
359
  this._identityConnector = IdentityConnectorFactory.get(options?.identityConnectorType ?? "identity");
360
360
  this._config = options?.config ?? {};
361
361
  this._assertionMethodId = this._config.assertionMethodId ?? "immutable-proof";
@@ -19,7 +19,7 @@ export declare class ImmutableProofService implements IImmutableProofComponent {
19
19
  * @param options.config The configuration for the connector.
20
20
  * @param options.vaultConnectorType The vault connector type, defaults to "vault".
21
21
  * @param options.immutableProofEntityStorageType The entity storage for proofs, defaults to "immutable-proof".
22
- * @param options.immutableStorageType The immutable storage, defaults to "immutable-proof".
22
+ * @param options.immutableStorageType The immutable storage, defaults to "immutable-storage".
23
23
  * @param options.identityConnectorType The identity connector type, defaults to "identity".
24
24
  */
25
25
  constructor(options?: {
package/docs/changelog.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # @twin.org/immutable-proof-service - Changelog
2
2
 
3
- ## v0.0.1-next.2
3
+ ## v0.0.1-next.3
4
4
 
5
5
  - Initial Release
@@ -30,7 +30,7 @@ The entity storage for proofs, defaults to "immutable-proof".
30
30
 
31
31
  • **options.immutableStorageType?**: `string`
32
32
 
33
- The immutable storage, defaults to "immutable-proof".
33
+ The immutable storage, defaults to "immutable-storage".
34
34
 
35
35
  • **options.config?**: [`IImmutableProofServiceConfig`](../interfaces/IImmutableProofServiceConfig.md)
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/immutable-proof-service",
3
- "version": "0.0.1-next.2",
3
+ "version": "0.0.1-next.3",
4
4
  "description": "Immutable proof contract implementation and REST endpoint definitions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "@twin.org/entity": "next",
23
23
  "@twin.org/entity-storage-models": "next",
24
24
  "@twin.org/identity-models": "next",
25
- "@twin.org/immutable-proof-models": "0.0.1-next.2",
25
+ "@twin.org/immutable-proof-models": "0.0.1-next.3",
26
26
  "@twin.org/immutable-storage-models": "next",
27
27
  "@twin.org/nameof": "next",
28
28
  "@twin.org/standards-w3c-did": "next",