@learncard/did-web-plugin 1.0.2 → 1.0.3

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,9 +1,10 @@
1
1
  {
2
2
  "name": "@learncard/did-web-plugin",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/did-web-plugin.esm.js",
7
+ "private": false,
7
8
  "files": [
8
9
  "dist"
9
10
  ],
@@ -28,11 +29,20 @@
28
29
  "jest": "^29.3.0",
29
30
  "shx": "^0.3.4",
30
31
  "ts-jest": "^29.0.3",
31
- "@learncard/types": "5.2.7"
32
+ "@learncard/types": "5.3.0"
32
33
  },
33
34
  "types": "./dist/index.d.ts",
34
35
  "dependencies": {
35
- "@learncard/core": "8.5.5"
36
+ "@learncard/ceramic-plugin": "1.0.0",
37
+ "@learncard/core": "9.0.0",
38
+ "@learncard/didkey-plugin": "1.0.0",
39
+ "@learncard/didkit-plugin": "^1.0.0",
40
+ "@learncard/expiration-plugin": "1.0.0",
41
+ "@learncard/helpers": "1.0.4",
42
+ "@learncard/learn-card-plugin": "1.0.0",
43
+ "@learncard/types": "5.3.0",
44
+ "@learncard/vc-plugin": "1.0.0",
45
+ "@learncard/vc-templates-plugin": "1.0.0"
36
46
  },
37
47
  "scripts": {
38
48
  "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>;