@idunion/tl-sdk 0.0.4 → 0.0.6

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.
Files changed (2) hide show
  1. package/api.d.ts +21 -20
  2. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -13,11 +13,6 @@ import type { Configuration } from './configuration';
13
13
  import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
14
  import type { RequestArgs } from './base';
15
15
  import { BaseAPI } from './base';
16
- /**
17
- * @type CapabilityInvocationInner
18
- * @export
19
- */
20
- export type CapabilityInvocationInner = VerificationMethod | string;
21
16
  /**
22
17
  *
23
18
  * @export
@@ -404,28 +399,28 @@ export interface DidDocument {
404
399
  'verificationMethod'?: Array<VerificationMethod>;
405
400
  /**
406
401
  * The capabilityInvocation verification relationship is used to specify a verification method that might be used by the DID subject to invoke a cryptographic capability, such as the authorization to update the DID Document. https://www.w3.org/TR/did-1.0/#capability-invocation
407
- * @type {Array<CapabilityInvocationInner>}
402
+ * @type {Array<string>}
408
403
  * @memberof DidDocument
409
404
  */
410
- 'capabilityInvocation'?: Array<CapabilityInvocationInner>;
405
+ 'capabilityInvocation'?: Array<string>;
411
406
  /**
412
407
  * The authentication verification relationship is used to specify how the DID subject is expected to be authenticated, for purposes such as logging into a website or engaging in any sort of challenge-response protocol. https://www.w3.org/TR/did-1.0/#authentication
413
- * @type {Array<CapabilityInvocationInner>}
408
+ * @type {Array<string>}
414
409
  * @memberof DidDocument
415
410
  */
416
- 'authentication'?: Array<CapabilityInvocationInner>;
411
+ 'authentication'?: Array<string>;
417
412
  /**
418
413
  * The assertionMethod verification relationship is used to specify how the DID subject is expected to express claims, such as for the purposes of issuing a Verifiable Credential [VC-DATA-MODEL]. https://www.w3.org/TR/did-1.0/#assertion
419
- * @type {Array<CapabilityInvocationInner>}
414
+ * @type {Array<string>}
420
415
  * @memberof DidDocument
421
416
  */
422
- 'assertionMethod'?: Array<CapabilityInvocationInner>;
417
+ 'assertionMethod'?: Array<string>;
423
418
  /**
424
419
  *
425
- * @type {Services}
420
+ * @type {Array<ServiceItem>}
426
421
  * @memberof DidDocument
427
422
  */
428
- 'services'?: Services;
423
+ 'service'?: Array<ServiceItem>;
429
424
  }
430
425
  /**
431
426
  *
@@ -521,6 +516,12 @@ export interface DidOnboardingStatus {
521
516
  * @memberof DidOnboardingStatus
522
517
  */
523
518
  'status': DidOnboardingStatusStatusEnum;
519
+ /**
520
+ * Trust List ID
521
+ * @type {string}
522
+ * @memberof DidOnboardingStatus
523
+ */
524
+ 'trustListId'?: string;
524
525
  }
525
526
  export declare const DidOnboardingStatusStatusEnum: {
526
527
  readonly InProgress: "in_progress";
@@ -695,27 +696,27 @@ export interface RefreshServiceItem {
695
696
  /**
696
697
  * Services are used in DID documents to express ways of communicating with the DID subject or associated entities. A service can be any type of service the DID subject wants to advertise, including decentralized identity management services for further discovery, authentication, authorization, or interaction. https://www.w3.org/TR/did-1.0/#services
697
698
  * @export
698
- * @interface Services
699
+ * @interface ServiceItem
699
700
  */
700
- export interface Services {
701
+ export interface ServiceItem {
701
702
  /**
702
703
  *
703
704
  * @type {string}
704
- * @memberof Services
705
+ * @memberof ServiceItem
705
706
  */
706
707
  'id': string;
707
708
  /**
708
709
  *
709
710
  * @type {string}
710
- * @memberof Services
711
+ * @memberof ServiceItem
711
712
  */
712
713
  'type': string;
713
714
  /**
714
715
  * The value of the serviceEndpoint property MUST be a string, a map, or a set composed of one or more strings and/or maps. All string values MUST be valid URIs conforming to [RFC3986] and normalized according to the Normalization and Comparison rules in RFC3986 and to any normalization rules in its applicable URI scheme specification. https://www.w3.org/TR/did-1.0/#dfn-serviceendpoint
715
- * @type {Array<string>}
716
- * @memberof Services
716
+ * @type {string}
717
+ * @memberof ServiceItem
717
718
  */
718
- 'serviceEndpoint': Array<string>;
719
+ 'serviceEndpoint': string;
719
720
  }
720
721
  /**
721
722
  * Policy under which the creator issued the credential or presentation https://www.w3.org/TR/vc-data-model-2.0/#defn-termsOfUse
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@idunion/tl-sdk",
3
3
  "private": false,
4
- "version": "0.0.4",
4
+ "version": "0.0.6",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {