@tinycloud/sdk-core 2.11.0 → 2.11.1-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.
- package/dist/{unified-BlXXf3l7.d.cts → credential-admission-C_cO1QqB.d.cts} +353 -1
- package/dist/{unified-HWqC-h7O.d.ts → credential-admission-cvHe-HUC.d.ts} +353 -1
- package/dist/delegations/index.cjs +10 -10
- package/dist/delegations/index.cjs.map +1 -1
- package/dist/delegations/index.d.cts +2 -2
- package/dist/delegations/index.d.ts +2 -2
- package/dist/delegations/index.js +10 -10
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +534 -167
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -242
- package/dist/index.d.ts +6 -242
- package/dist/index.js +536 -169
- package/dist/index.js.map +1 -1
- package/dist/policy/index.cjs +420 -14
- package/dist/policy/index.cjs.map +1 -1
- package/dist/policy/index.d.cts +2 -2
- package/dist/policy/index.d.ts +2 -2
- package/dist/policy/index.js +420 -14
- package/dist/policy/index.js.map +1 -1
- package/dist/{recipient-types.schema-CieclU3Z.d.cts → recipient-types.schema-G8NEKRoo.d.cts} +8 -8
- package/dist/{recipient-types.schema-CieclU3Z.d.ts → recipient-types.schema-G8NEKRoo.d.ts} +8 -8
- package/package.json +1 -1
package/dist/{recipient-types.schema-CieclU3Z.d.cts → recipient-types.schema-G8NEKRoo.d.cts}
RENAMED
|
@@ -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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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: "
|
|
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;
|