@package-broker/shared 0.10.12 → 0.12.0

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.
@@ -39,7 +39,7 @@ export const tokenPermissionsSchema = z.enum(['readonly', 'write']);
39
39
  export const createTokenSchema = z.object({
40
40
  description: z.string().min(1, 'Description is required'),
41
41
  permissions: tokenPermissionsSchema.default('readonly'),
42
- rate_limit_max: z.number().int().min(0).max(25000, 'Rate limit cannot exceed 25,000 requests/hour').nullable().default(1000),
42
+ rate_limit_max: z.number().int().min(0).max(25000, 'Rate limit cannot exceed 25,000 requests/hour').nullable().default(null),
43
43
  expires_at: z.number().int().positive().optional(),
44
44
  });
45
45
  export const updateTokenSchema = z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@package-broker/shared",
3
- "version": "0.10.12",
3
+ "version": "0.12.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",