@learncard/didkey-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/dist/didkey-plugin.cjs.development.js +5 -1
- package/dist/didkey-plugin.cjs.development.js.map +2 -2
- package/dist/didkey-plugin.cjs.production.min.js +1 -1
- package/dist/didkey-plugin.cjs.production.min.js.map +2 -2
- package/dist/didkey-plugin.esm.js +5 -1
- package/dist/didkey-plugin.esm.js.map +2 -2
- package/package.json +4 -4
@@ -4081,7 +4081,7 @@ var require_types_cjs_development = __commonJS({
|
|
4081
4081
|
canManageChildrenProfiles: mod.boolean(),
|
4082
4082
|
canViewAnalytics: mod.boolean()
|
4083
4083
|
}).partial();
|
4084
|
-
var ClaimHookTypeValidator = mod.enum(["GRANT_PERMISSIONS"]);
|
4084
|
+
var ClaimHookTypeValidator = mod.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
4085
4085
|
var ClaimHookValidator = mod.discriminatedUnion("type", [
|
4086
4086
|
mod.object({
|
4087
4087
|
type: mod.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
@@ -4090,6 +4090,10 @@ var require_types_cjs_development = __commonJS({
|
|
4090
4090
|
targetUri: mod.string(),
|
4091
4091
|
permissions: BoostPermissionsValidator.partial()
|
4092
4092
|
})
|
4093
|
+
}),
|
4094
|
+
mod.object({
|
4095
|
+
type: mod.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
4096
|
+
data: mod.object({ claimUri: mod.string(), targetUri: mod.string() })
|
4093
4097
|
})
|
4094
4098
|
]);
|
4095
4099
|
var ClaimHookQueryValidator = mod.object({
|