@idunion/tl-sdk 0.0.11 → 0.0.13
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.
- package/api.d.ts +4 -16
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -428,24 +428,12 @@ export interface DidDocument {
|
|
|
428
428
|
* @interface DidDocumentCreatePayload
|
|
429
429
|
*/
|
|
430
430
|
export interface DidDocumentCreatePayload {
|
|
431
|
-
/**
|
|
432
|
-
* The JSON-LD Context is either a string or a list containing any combination of strings and/or ordered maps. https://www.w3.org/TR/did-1.0/#dfn-context
|
|
433
|
-
* @type {Array<string>}
|
|
434
|
-
* @memberof DidDocumentCreatePayload
|
|
435
|
-
*/
|
|
436
|
-
'@context': Array<string>;
|
|
437
|
-
/**
|
|
438
|
-
* An entity that has the capability to make changes to a DID document. A DID might have more than one DID controller. The DID controller(s) can be denoted by the optional controller property at the top level of the DID document. Note that a DID controller might be the DID subject. https://www.w3.org/TR/did-1.0/#dfn-did-controllers
|
|
439
|
-
* @type {Array<string>}
|
|
440
|
-
* @memberof DidDocumentCreatePayload
|
|
441
|
-
*/
|
|
442
|
-
'controller': Array<string>;
|
|
443
431
|
/**
|
|
444
432
|
*
|
|
445
433
|
* @type {string}
|
|
446
434
|
* @memberof DidDocumentCreatePayload
|
|
447
435
|
*/
|
|
448
|
-
'
|
|
436
|
+
'didKey': string;
|
|
449
437
|
}
|
|
450
438
|
/**
|
|
451
439
|
*
|
|
@@ -1108,7 +1096,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1108
1096
|
* @param {*} [options] Override http request option.
|
|
1109
1097
|
* @throws {RequiredError}
|
|
1110
1098
|
*/
|
|
1111
|
-
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1099
|
+
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
1112
1100
|
/**
|
|
1113
1101
|
* Retrieves a list of Trust List Records.
|
|
1114
1102
|
* @param {string} tlId
|
|
@@ -1226,7 +1214,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
1226
1214
|
* @param {*} [options] Override http request option.
|
|
1227
1215
|
* @throws {RequiredError}
|
|
1228
1216
|
*/
|
|
1229
|
-
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1217
|
+
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
1230
1218
|
/**
|
|
1231
1219
|
* Retrieves a list of Trust List Records.
|
|
1232
1220
|
* @param {string} tlId
|
|
@@ -1358,7 +1346,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1358
1346
|
* @throws {RequiredError}
|
|
1359
1347
|
* @memberof DefaultApi
|
|
1360
1348
|
*/
|
|
1361
|
-
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1349
|
+
tlrCreate(tlId: string, didDocumentCreatePayload?: DidDocumentCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
1362
1350
|
/**
|
|
1363
1351
|
* Retrieves a list of Trust List Records.
|
|
1364
1352
|
* @param {string} tlId
|