@learncard/idx-plugin 1.0.27 → 1.0.29

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/README.md CHANGED
@@ -1,12 +1,14 @@
1
1
  [<img src="https://user-images.githubusercontent.com/2185016/190510561-294db809-09fd-4771-9749-6c0e0f4144fd.png" width="215"/>](https://learncard.com)
2
2
 
3
- # @learncard/core
3
+ # @learncard/idx-plugin
4
4
 
5
- [![npm version](https://img.shields.io/npm/v/@learncard/core)](https://www.npmjs.com/package/@learncard/core)
6
- [![npm downloads](https://img.shields.io/npm/dw/@learncard/core)](https://www.npmjs.com/package/@learncard/core)
7
- [![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@learncard/core)](https://www.npmjs.com/package/@learncard/core)
5
+ [![npm version](https://img.shields.io/npm/v/@learncard/idx-plugin)](https://www.npmjs.com/package/@learncard/idx-plugin)
6
+ [![npm downloads](https://img.shields.io/npm/dw/@learncard/idx-plugin)](https://www.npmjs.com/package/@learncard/idx-plugin)
7
+ [![vulnerabilities](https://img.shields.io/snyk/vulnerabilities/npm/@learncard/idx-plugin)](https://www.npmjs.com/package/@learncard/idx-plugin)
8
8
 
9
- The LearnCard Core is a pluggable, open-source, universal digital wallet to enable any individual or organization to seamlessly **issue, earn, store, share, and spend currency and credentials** built for the future of education and work.
9
+ **Note: This plugin is deprecated. Please use LearnCloud plugin instead.**
10
+
11
+ The IDX Plugin provides Ceramic's Identity Index (IDX) integration for LearnCard, allowing for decentralized index storage of credential references.
10
12
 
11
13
  ## Documentation
12
14
  All LearnCard documentation can be found at:
@@ -11456,7 +11456,7 @@ var BoostPermissionsQueryValidator = mod.object({
11456
11456
  canManageChildrenProfiles: mod.boolean(),
11457
11457
  canViewAnalytics: mod.boolean()
11458
11458
  }).partial();
11459
- var ClaimHookTypeValidator = mod.enum(["GRANT_PERMISSIONS"]);
11459
+ var ClaimHookTypeValidator = mod.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
11460
11460
  var ClaimHookValidator = mod.discriminatedUnion("type", [
11461
11461
  mod.object({
11462
11462
  type: mod.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -11465,6 +11465,10 @@ var ClaimHookValidator = mod.discriminatedUnion("type", [
11465
11465
  targetUri: mod.string(),
11466
11466
  permissions: BoostPermissionsValidator.partial()
11467
11467
  })
11468
+ }),
11469
+ mod.object({
11470
+ type: mod.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
11471
+ data: mod.object({ claimUri: mod.string(), targetUri: mod.string() })
11468
11472
  })
11469
11473
  ]);
11470
11474
  var ClaimHookQueryValidator = mod.object({
@@ -66296,7 +66300,7 @@ var BoostPermissionsQueryValidator2 = mod2.object({
66296
66300
  canManageChildrenProfiles: mod2.boolean(),
66297
66301
  canViewAnalytics: mod2.boolean()
66298
66302
  }).partial();
66299
- var ClaimHookTypeValidator2 = mod2.enum(["GRANT_PERMISSIONS"]);
66303
+ var ClaimHookTypeValidator2 = mod2.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
66300
66304
  var ClaimHookValidator2 = mod2.discriminatedUnion("type", [
66301
66305
  mod2.object({
66302
66306
  type: mod2.literal(ClaimHookTypeValidator2.Values.GRANT_PERMISSIONS),
@@ -66305,6 +66309,10 @@ var ClaimHookValidator2 = mod2.discriminatedUnion("type", [
66305
66309
  targetUri: mod2.string(),
66306
66310
  permissions: BoostPermissionsValidator2.partial()
66307
66311
  })
66312
+ }),
66313
+ mod2.object({
66314
+ type: mod2.literal(ClaimHookTypeValidator2.Values.ADD_ADMIN),
66315
+ data: mod2.object({ claimUri: mod2.string(), targetUri: mod2.string() })
66308
66316
  })
66309
66317
  ]);
66310
66318
  var ClaimHookQueryValidator2 = mod2.object({