@pear-protocol/types 2.25.0 → 2.26.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.
package/dist/index.js CHANGED
@@ -7573,6 +7573,9 @@ var VaultServiceError = z.discriminatedUnion("error", [
7573
7573
  error: z.literal("UNAUTHORIZED"),
7574
7574
  reason: z.string()
7575
7575
  }),
7576
+ z.object({
7577
+ error: z.literal("CREATOR_NOT_APPROVED")
7578
+ }),
7576
7579
  z.object({
7577
7580
  error: z.literal("NOT_OWNER"),
7578
7581
  vaultAddress: z.string()
@@ -513,6 +513,8 @@ export type VaultRequestIssue = z.infer<typeof VaultRequestIssue>;
513
513
  export declare const VaultServiceError: z.ZodDiscriminatedUnion<[z.ZodObject<{
514
514
  error: z.ZodLiteral<"UNAUTHORIZED">;
515
515
  reason: z.ZodString;
516
+ }, z.core.$strip>, z.ZodObject<{
517
+ error: z.ZodLiteral<"CREATOR_NOT_APPROVED">;
516
518
  }, z.core.$strip>, z.ZodObject<{
517
519
  error: z.ZodLiteral<"NOT_OWNER">;
518
520
  vaultAddress: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pear-protocol/types",
3
- "version": "2.25.0",
3
+ "version": "2.26.0",
4
4
  "description": "Pear Protocol Types definitions",
5
5
  "private": false,
6
6
  "type": "module",