@learncard/helpers 1.3.5 → 1.3.7

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.
@@ -956,7 +956,7 @@ export declare const isEncrypted: (item: Record<string, any>) => item is JWE;
956
956
  */
957
957
  export declare const RegExpTransformer: DataTransformer;
958
958
  /**
959
- * Determines if a credential uses VC 2.0 format by checking the @context array
959
+ * Determines if a credential uses VC 2.0 format by checking the context array
960
960
  */
961
961
  export declare const isVC2Format: (credential: UnsignedVC | VC) => boolean;
962
962
  /** Unwraps a boost credential from a CertifiedBoostCredential, if it is one */
@@ -964,7 +964,7 @@ export declare const unwrapBoostCredential: (vc?: VC | UnsignedVC) => any;
964
964
  /**
965
965
  * Checks if a DID is an app-specific did:web
966
966
  *
967
- * App did:webs follow the pattern: did:web:learncard.app:app:<slug>
967
+ * App did:webs follow the pattern: `did:web:learncard.app:app:&lt;slug&gt;`
968
968
  *
969
969
  * @param did - The DID to check
970
970
  * @returns true if the DID is an app did:web, false otherwise
package/dist/helpers.d.ts CHANGED
@@ -956,7 +956,7 @@ export declare const isEncrypted: (item: Record<string, any>) => item is JWE;
956
956
  */
957
957
  export declare const RegExpTransformer: DataTransformer;
958
958
  /**
959
- * Determines if a credential uses VC 2.0 format by checking the @context array
959
+ * Determines if a credential uses VC 2.0 format by checking the context array
960
960
  */
961
961
  export declare const isVC2Format: (credential: UnsignedVC | VC) => boolean;
962
962
  /** Unwraps a boost credential from a CertifiedBoostCredential, if it is one */
@@ -964,7 +964,7 @@ export declare const unwrapBoostCredential: (vc?: VC | UnsignedVC) => any;
964
964
  /**
965
965
  * Checks if a DID is an app-specific did:web
966
966
  *
967
- * App did:webs follow the pattern: did:web:learncard.app:app:<slug>
967
+ * App did:webs follow the pattern: `did:web:learncard.app:app:&lt;slug&gt;`
968
968
  *
969
969
  * @param did - The DID to check
970
970
  * @returns true if the DID is an app did:web, false otherwise