@tinycloud/sdk-core 2.11.0 → 3.0.0-beta.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.
@@ -140,7 +140,7 @@ declare const KeyInfoSchema: z.ZodObject<{
140
140
  /** Priority for key selection (lower = higher priority) */
141
141
  priority: z.ZodNumber;
142
142
  }, "strip", z.ZodTypeAny, {
143
- type: "main" | "session" | "ingested";
143
+ type: "session" | "main" | "ingested";
144
144
  did: string;
145
145
  id: string;
146
146
  priority: number;
@@ -158,7 +158,7 @@ declare const KeyInfoSchema: z.ZodObject<{
158
158
  key_ops?: string[] | undefined;
159
159
  } | undefined;
160
160
  }, {
161
- type: "main" | "session" | "ingested";
161
+ type: "session" | "main" | "ingested";
162
162
  did: string;
163
163
  id: string;
164
164
  priority: number;
@@ -614,7 +614,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
614
614
  /** Priority for key selection (lower = higher priority) */
615
615
  priority: z.ZodNumber;
616
616
  }, "strip", z.ZodTypeAny, {
617
- type: "main" | "session" | "ingested";
617
+ type: "session" | "main" | "ingested";
618
618
  did: string;
619
619
  id: string;
620
620
  priority: number;
@@ -632,7 +632,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
632
632
  key_ops?: string[] | undefined;
633
633
  } | undefined;
634
634
  }, {
635
- type: "main" | "session" | "ingested";
635
+ type: "session" | "main" | "ingested";
636
636
  did: string;
637
637
  id: string;
638
638
  priority: number;
@@ -711,7 +711,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
711
711
  expiresAt: z.ZodOptional<z.ZodDate>;
712
712
  }, "strip", z.ZodTypeAny, {
713
713
  keys: {
714
- type: "main" | "session" | "ingested";
714
+ type: "session" | "main" | "ingested";
715
715
  did: string;
716
716
  id: string;
717
717
  priority: number;
@@ -749,7 +749,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
749
749
  expiresAt?: Date | undefined;
750
750
  }, {
751
751
  keys: {
752
- type: "main" | "session" | "ingested";
752
+ type: "session" | "main" | "ingested";
753
753
  did: string;
754
754
  id: string;
755
755
  priority: number;
@@ -1502,8 +1502,8 @@ declare const DelegationManagerConfigSchema: z.ZodObject<{
1502
1502
  fetch?: FetchFunction | undefined;
1503
1503
  }, {
1504
1504
  hosts: string[];
1505
- invokeAny?: unknown;
1506
1505
  session?: unknown;
1506
+ invokeAny?: unknown;
1507
1507
  accountSpaceId?: string | undefined;
1508
1508
  invoke?: unknown;
1509
1509
  fetch?: unknown;
@@ -1632,8 +1632,8 @@ declare const CreateDelegationWasmParamsSchema: z.ZodObject<{
1632
1632
  /** Optional not-before time in seconds since Unix epoch */
1633
1633
  notBeforeSecs: z.ZodOptional<z.ZodNumber>;
1634
1634
  }, "strip", z.ZodTypeAny, {
1635
- spaceId: string;
1636
1635
  session: ServiceSession;
1636
+ spaceId: string;
1637
1637
  delegateDID: string;
1638
1638
  abilities: Record<string, Record<string, string[]>>;
1639
1639
  expirationSecs: number;
@@ -140,7 +140,7 @@ declare const KeyInfoSchema: z.ZodObject<{
140
140
  /** Priority for key selection (lower = higher priority) */
141
141
  priority: z.ZodNumber;
142
142
  }, "strip", z.ZodTypeAny, {
143
- type: "main" | "session" | "ingested";
143
+ type: "session" | "main" | "ingested";
144
144
  did: string;
145
145
  id: string;
146
146
  priority: number;
@@ -158,7 +158,7 @@ declare const KeyInfoSchema: z.ZodObject<{
158
158
  key_ops?: string[] | undefined;
159
159
  } | undefined;
160
160
  }, {
161
- type: "main" | "session" | "ingested";
161
+ type: "session" | "main" | "ingested";
162
162
  did: string;
163
163
  id: string;
164
164
  priority: number;
@@ -614,7 +614,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
614
614
  /** Priority for key selection (lower = higher priority) */
615
615
  priority: z.ZodNumber;
616
616
  }, "strip", z.ZodTypeAny, {
617
- type: "main" | "session" | "ingested";
617
+ type: "session" | "main" | "ingested";
618
618
  did: string;
619
619
  id: string;
620
620
  priority: number;
@@ -632,7 +632,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
632
632
  key_ops?: string[] | undefined;
633
633
  } | undefined;
634
634
  }, {
635
- type: "main" | "session" | "ingested";
635
+ type: "session" | "main" | "ingested";
636
636
  did: string;
637
637
  id: string;
638
638
  priority: number;
@@ -711,7 +711,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
711
711
  expiresAt: z.ZodOptional<z.ZodDate>;
712
712
  }, "strip", z.ZodTypeAny, {
713
713
  keys: {
714
- type: "main" | "session" | "ingested";
714
+ type: "session" | "main" | "ingested";
715
715
  did: string;
716
716
  id: string;
717
717
  priority: number;
@@ -749,7 +749,7 @@ declare const CapabilityEntrySchema: z.ZodObject<{
749
749
  expiresAt?: Date | undefined;
750
750
  }, {
751
751
  keys: {
752
- type: "main" | "session" | "ingested";
752
+ type: "session" | "main" | "ingested";
753
753
  did: string;
754
754
  id: string;
755
755
  priority: number;
@@ -1502,8 +1502,8 @@ declare const DelegationManagerConfigSchema: z.ZodObject<{
1502
1502
  fetch?: FetchFunction | undefined;
1503
1503
  }, {
1504
1504
  hosts: string[];
1505
- invokeAny?: unknown;
1506
1505
  session?: unknown;
1506
+ invokeAny?: unknown;
1507
1507
  accountSpaceId?: string | undefined;
1508
1508
  invoke?: unknown;
1509
1509
  fetch?: unknown;
@@ -1632,8 +1632,8 @@ declare const CreateDelegationWasmParamsSchema: z.ZodObject<{
1632
1632
  /** Optional not-before time in seconds since Unix epoch */
1633
1633
  notBeforeSecs: z.ZodOptional<z.ZodNumber>;
1634
1634
  }, "strip", z.ZodTypeAny, {
1635
- spaceId: string;
1636
1635
  session: ServiceSession;
1636
+ spaceId: string;
1637
1637
  delegateDID: string;
1638
1638
  abilities: Record<string, Record<string, string[]>>;
1639
1639
  expirationSecs: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/sdk-core",
3
- "version": "2.11.0",
3
+ "version": "3.0.0-beta.0",
4
4
  "description": "Core TinyCloud SDK - shared interfaces and TinyCloud class",
5
5
  "author": "TinyCloud, Inc.",
6
6
  "license": "EGPL",