@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.cjs.development.js +11855 -10937
- package/dist/core.cjs.development.js.map +4 -4
- package/dist/core.cjs.production.min.js +203 -196
- package/dist/core.cjs.production.min.js.map +4 -4
- package/dist/core.d.ts +4 -9
- package/dist/core.esm.js +11860 -10944
- package/dist/core.esm.js.map +4 -4
- package/dist/didkit/didkit_wasm.d.ts +0 -10
- package/dist/didkit/didkit_wasm.js +331 -235
- package/dist/didkit/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit/didkit_wasm_bg.wasm.d.ts +0 -10
- package/dist/didkit_wasm.d.ts +0 -10
- package/dist/didkit_wasm.js +331 -235
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/didkit_wasm_bg.wasm.d.ts +0 -10
- package/dist/index.js +2 -2
- package/package.json +7 -7
package/dist/core.d.ts
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
// Generated by dts-bundle-generator
|
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 {};
|