@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
@@ -4057,7 +4057,7 @@ var require_types_cjs_development = __commonJS({
|
|
4057
4057
|
canManageChildrenProfiles: mod.boolean(),
|
4058
4058
|
canViewAnalytics: mod.boolean()
|
4059
4059
|
}).partial();
|
4060
|
-
var ClaimHookTypeValidator = mod.enum(["GRANT_PERMISSIONS"]);
|
4060
|
+
var ClaimHookTypeValidator = mod.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
4061
4061
|
var ClaimHookValidator = mod.discriminatedUnion("type", [
|
4062
4062
|
mod.object({
|
4063
4063
|
type: mod.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
@@ -4066,6 +4066,10 @@ var require_types_cjs_development = __commonJS({
|
|
4066
4066
|
targetUri: mod.string(),
|
4067
4067
|
permissions: BoostPermissionsValidator.partial()
|
4068
4068
|
})
|
4069
|
+
}),
|
4070
|
+
mod.object({
|
4071
|
+
type: mod.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
4072
|
+
data: mod.object({ claimUri: mod.string(), targetUri: mod.string() })
|
4069
4073
|
})
|
4070
4074
|
]);
|
4071
4075
|
var ClaimHookQueryValidator = mod.object({
|