@learncard/core 8.0.0 → 8.0.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.
package/dist/core.d.ts CHANGED
@@ -1,6 +1,4 @@
1
- // Generated by dts-bundle-generator v5.9.0
2
-
3
- /// <reference types="node" />
1
+ // Generated by dts-bundle-generator v6.13.0
4
2
 
5
3
  import { CeramicClient } from '@ceramicnetwork/http-client';
6
4
  import { StreamID } from '@ceramicnetwork/streamid';
@@ -4751,6 +4749,7 @@ export declare type IndexPlane = {
4751
4749
  add: <Metadata extends Record<string, any> = Record<never, never>>(obj: CredentialRecord<Metadata>, options?: PlaneOptions) => Promise<boolean>;
4752
4750
  update: (id: string, updates: Record<string, any>, options?: PlaneOptions) => Promise<boolean>;
4753
4751
  remove: (id: string, options?: PlaneOptions) => Promise<boolean>;
4752
+ removeAll?: (options?: PlaneOptions) => Promise<boolean>;
4754
4753
  };
4755
4754
  export declare type PluginIndexPlane = IndexPlane;
4756
4755
  export declare type LearnCardIndexPlane<Plugins extends Plugin[]> = {
@@ -5023,6 +5022,7 @@ export declare type IDXPluginMethods = {
5023
5022
  getVerifiableCredentialsFromIdx: () => Promise<VC[]>;
5024
5023
  addVerifiableCredentialInIdx: <Metadata extends Record<string, any> = Record<never, never>>(cred: CredentialRecord<Metadata>) => Promise<string>;
5025
5024
  removeVerifiableCredentialInIdx: (title: string) => Promise<StreamID>;
5025
+ removeAllVerifiableCredentialsInIdx: () => Promise<StreamID>;
5026
5026
  };
5027
5027
  /** @group IDXPlugin */
5028
5028
  export declare type IDXPluginDependentMethods<URI extends string = ""> = {
@@ -5940,7 +5940,7 @@ export declare const getTestCache: () => TestCachePlugin;
5940
5940
  /**
5941
5941
  * @group Plugins
5942
5942
  */
5943
- export declare const getVCAPIPlugin: ({ url, did, }: {
5943
+ export declare const getVCAPIPlugin: ({ url: _url, did: _did, }: {
5944
5944
  url: string;
5945
5945
  did?: string;
5946
5946
  }) => Promise<VCAPIPlugin>;
@@ -5948,10 +5948,5 @@ export declare const getVCAPIPlugin: ({ url, did, }: {
5948
5948
  * @group Plugins
5949
5949
  */
5950
5950
  export declare const getVpqrPlugin: (learnCard: LearnCard<any, any, VpqrPluginDependentMethods>) => VpqrPlugin;
5951
- export * from "@wallet/init";
5952
- export { LearnCard, Plugin } from "types/wallet";
5953
- export * from "types/LearnCard";
5954
- export * from "@wallet/base";
5955
- export * from "@wallet/plugins";
5956
5951
 
5957
5952
  export {};