@lti-tool/core 1.0.5 → 1.0.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @lti-tool/core
2
2
 
3
+ ## 1.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - a5404db: Sakai compatibility — @ottenhoff 🎉 #83
8
+
3
9
  ## 1.0.5
4
10
 
5
11
  ### Patch Changes
@@ -19,8 +19,8 @@ export declare const NRPSMemberResponseSchema: z.ZodObject<{
19
19
  */
20
20
  export declare const NRPSContextResponseSchema: z.ZodObject<{
21
21
  id: z.ZodString;
22
- label: z.ZodString;
23
- title: z.ZodString;
22
+ label: z.ZodOptional<z.ZodString>;
23
+ title: z.ZodOptional<z.ZodString>;
24
24
  }, z.core.$strip>;
25
25
  /**
26
26
  * Schema for full NRPS context membership response
@@ -29,8 +29,8 @@ export declare const NRPSContextMembershipResponseSchema: z.ZodObject<{
29
29
  id: z.ZodURL;
30
30
  context: z.ZodObject<{
31
31
  id: z.ZodString;
32
- label: z.ZodString;
33
- title: z.ZodString;
32
+ label: z.ZodOptional<z.ZodString>;
33
+ title: z.ZodOptional<z.ZodString>;
34
34
  }, z.core.$strip>;
35
35
  members: z.ZodArray<z.ZodObject<{
36
36
  status: z.ZodString;
@@ -19,8 +19,8 @@ export const NRPSMemberResponseSchema = z.object({
19
19
  */
20
20
  export const NRPSContextResponseSchema = z.object({
21
21
  id: z.string(),
22
- label: z.string(),
23
- title: z.string(),
22
+ label: z.string().optional(),
23
+ title: z.string().optional(),
24
24
  });
25
25
  /**
26
26
  * Schema for full NRPS context membership response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lti-tool/core",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "LTI 1.3 implementation for Node.js",
5
5
  "keywords": [
6
6
  "lti",
@@ -36,7 +36,7 @@
36
36
  "test": "vitest"
37
37
  },
38
38
  "dependencies": {
39
- "jose": "^6.1.3",
39
+ "jose": "^6.2.1",
40
40
  "zod": "^4.3.6"
41
41
  },
42
42
  "peerDependencies": {
@@ -21,8 +21,8 @@ export const NRPSMemberResponseSchema = z.object({
21
21
  */
22
22
  export const NRPSContextResponseSchema = z.object({
23
23
  id: z.string(),
24
- label: z.string(),
25
- title: z.string(),
24
+ label: z.string().optional(),
25
+ title: z.string().optional(),
26
26
  });
27
27
 
28
28
  /**