@learncard/did-web-plugin 1.0.2 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from './types';
2
2
  export * from './plugin';
3
- export * from './learnCard';
package/dist/types.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import type { DID } from 'dids';
2
2
  import { UnsignedVC, VC, VP } from '@learncard/types';
3
- import { Plugin, ProofOptions } from '@learncard/core';
3
+ import { Plugin } from '@learncard/core';
4
+ import { ProofOptions } from '@learncard/didkit-plugin';
4
5
  /** @group DID Web Plugin */
5
6
  export type DidWebPluginDependentMethods = {
6
7
  getDIDObject: () => DID;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@learncard/did-web-plugin",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/did-web-plugin.esm.js",
@@ -28,11 +28,20 @@
28
28
  "jest": "^29.3.0",
29
29
  "shx": "^0.3.4",
30
30
  "ts-jest": "^29.0.3",
31
- "@learncard/types": "5.2.7"
31
+ "@learncard/types": "5.3.0"
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "dependencies": {
35
- "@learncard/core": "8.5.5"
35
+ "@learncard/ceramic-plugin": "1.0.0",
36
+ "@learncard/core": "9.0.0",
37
+ "@learncard/didkey-plugin": "1.0.0",
38
+ "@learncard/didkit-plugin": "^1.0.1",
39
+ "@learncard/expiration-plugin": "1.0.1",
40
+ "@learncard/helpers": "1.0.4",
41
+ "@learncard/learn-card-plugin": "1.0.1",
42
+ "@learncard/types": "5.3.0",
43
+ "@learncard/vc-plugin": "1.0.1",
44
+ "@learncard/vc-templates-plugin": "1.0.1"
36
45
  },
37
46
  "scripts": {
38
47
  "build": "node ./scripts/build.mjs && shx cp ./scripts/mixedEntypoint.js ./dist/index.js && tsc --p tsconfig.json",
@@ -1,6 +0,0 @@
1
- import { LearnCardFromSeed, AddPlugin } from '@learncard/core';
2
- import { DidWebPlugin } from './types';
3
- export type DidWebLearnCard = AddPlugin<LearnCardFromSeed['returnValue'], DidWebPlugin>;
4
- export declare const initDidWebLearnCard: (_config: LearnCardFromSeed['args'] & {
5
- didWeb: string;
6
- }) => Promise<DidWebLearnCard>;