@didcid/keymaster 0.3.8 → 0.3.9

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.
@@ -81,7 +81,7 @@ export default class Keymaster implements KeymasterInterface {
81
81
  resolveDID(did: string, options?: ResolveDIDOptions): Promise<DidCidDocument>;
82
82
  idInWallet(did?: string): Promise<boolean>;
83
83
  resolveAsset(did: string, options?: ResolveDIDOptions): Promise<any>;
84
- updateAsset(did: string, data: Record<string, unknown>): Promise<boolean>;
84
+ mergeData(did: string, data: Record<string, unknown>): Promise<boolean>;
85
85
  transferAsset(id: string, controller: string): Promise<boolean>;
86
86
  listAssets(owner?: string): Promise<string[]>;
87
87
  validateAlias(alias: string, wallet?: WalletFile, label?: string): string;
@@ -274,7 +274,7 @@ export interface KeymasterInterface {
274
274
  createAsset(data: unknown, options?: CreateAssetOptions): Promise<string>;
275
275
  listAssets(owner?: string): Promise<string[]>;
276
276
  resolveAsset(did: string, options?: ResolveDIDOptions): Promise<unknown | null>;
277
- updateAsset(did: string, data: Record<string, unknown>): Promise<boolean>;
277
+ mergeData(did: string, data: Record<string, unknown>): Promise<boolean>;
278
278
  encryptMessage(msg: string, receiver: string, options?: EncryptOptions): Promise<string>;
279
279
  decryptMessage(did: string): Promise<string>;
280
280
  encryptJSON(json: unknown, receiver: string, options?: EncryptOptions): Promise<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@didcid/keymaster",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Archon Keymaster",
5
5
  "type": "module",
6
6
  "module": "./dist/esm/index.js",
@@ -151,7 +151,7 @@
151
151
  "dependencies": {
152
152
  "@didcid/cipher": "^0.1.3",
153
153
  "@didcid/common": "^0.1.3",
154
- "@didcid/gatekeeper": "^0.3.5",
154
+ "@didcid/gatekeeper": "^0.3.6",
155
155
  "axios": "^1.7.7",
156
156
  "commander": "^11.1.0",
157
157
  "dotenv": "^16.4.5",
@@ -166,5 +166,5 @@
166
166
  "type": "git",
167
167
  "url": "git+https://github.com/archetech/archon.git"
168
168
  },
169
- "gitHead": "8fa745712f8f1bdf7fdaca27ca08cbea1c57b7d2"
169
+ "gitHead": "2f8305e87026fc82787fabb06d6dab419e77679b"
170
170
  }