@learncard/network-plugin 1.4.11 → 1.4.13

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/plugin.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { LearnCard, VerifyExtension } from '@learncard/core';
1
+ import { LearnCard } from '@learncard/core';
2
+ import { VerifyExtension } from '@learncard/vc-plugin';
2
3
  import { LearnCardNetworkPluginDependentMethods, LearnCardNetworkPlugin, VerifyBoostPlugin } from './types';
3
4
  export * from './types';
4
5
  /**
package/dist/types.d.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  import type { DID } from 'dids';
2
2
  import { LCNProfile, UnsignedVC, VC, VP, SentCredentialInfo, JWE, Boost, BoostRecipientInfo, LCNSigningAuthorityForUserType, LCNBoostClaimLinkSigningAuthorityType, LCNBoostClaimLinkOptionsType } from '@learncard/types';
3
- import { Plugin, ProofOptions, VerifyExtension } from '@learncard/core';
3
+ import { Plugin } from '@learncard/core';
4
+ import { ProofOptions } from '@learncard/didkit-plugin';
5
+ import { VerifyExtension } from '@learncard/vc-plugin';
4
6
  /** @group LearnCardNetwork Plugin */
5
7
  export type LearnCardNetworkPluginDependentMethods = {
6
8
  getDIDObject: () => DID;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@learncard/network-plugin",
3
- "version": "1.4.11",
3
+ "version": "1.4.13",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/lcn-plugin.esm.js",
@@ -28,16 +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.9"
31
+ "@learncard/ceramic-plugin": "^1.0.0",
32
+ "@learncard/didkey-plugin": "^1.0.0",
33
+ "@learncard/didkit-plugin": "^1.0.1",
34
+ "@learncard/types": "5.3.0",
35
+ "@learncard/vc-plugin": "^1.0.1"
32
36
  },
33
37
  "types": "./dist/index.d.ts",
34
38
  "dependencies": {
35
- "@learncard/core": "8.5.5",
36
- "@learncard/network-brain-client": "1.1.12"
39
+ "@learncard/core": "9.0.0",
40
+ "@learncard/network-brain-client": "1.1.14"
37
41
  },
38
42
  "scripts": {
39
43
  "build": "node ./scripts/build.mjs && shx cp ./scripts/mixedEntypoint.js ./dist/index.js && tsc --p tsconfig.json",
40
- "test": "jest",
44
+ "test": "jest --passWithNoTests",
41
45
  "test:watch": "jest --watch",
42
46
  "test:coverage": "jest --silent --ci --coverage --coverageReporters=\"text\" --coverageReporters=\"text-summary\""
43
47
  }
@@ -1,9 +0,0 @@
1
- import { LearnCardFromSeed, AddPlugin, LearnCardPlugin } from '@learncard/core';
2
- import { LearnCardNetworkPlugin, VerifyBoostPlugin } from './types';
3
- export type BoostVerificationLearnCard = AddPlugin<LearnCardFromSeed['returnValue'], VerifyBoostPlugin>;
4
- export type LCLearnCard = AddPlugin<BoostVerificationLearnCard, LearnCardPlugin>;
5
- export type NetworkLearnCard = AddPlugin<LCLearnCard, LearnCardNetworkPlugin>;
6
- export declare const initNetworkLearnCard: (_config: LearnCardFromSeed['args'] & {
7
- network?: string;
8
- trustedBoostRegistry?: string;
9
- }) => Promise<NetworkLearnCard>;