@tinycloud/sdk-core 3.12.0-beta.4 → 3.12.0-beta.5
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/delegations/index.d.cts +16 -16
- package/dist/delegations/index.d.ts +16 -16
- package/dist/delegations/issued.d.cts +1 -1
- package/dist/delegations/issued.d.ts +1 -1
- package/dist/index.cjs +52 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -5
- package/dist/index.d.ts +14 -5
- package/dist/index.js +52 -22
- package/dist/index.js.map +1 -1
- package/dist/{recipient-types.schema-BIJcihno.d.cts → recipient-types.schema--5j8kRNE.d.ts} +1 -1
- package/dist/{recipient-types.schema-Ebi5aliq.d.ts → recipient-types.schema-C-q64lEk.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/{types.schema-BmN-OnCA.d.cts → types.schema-B0ZUx7Ss.d.cts} +24 -24
- package/dist/{types.schema-BmN-OnCA.d.ts → types.schema-B0ZUx7Ss.d.ts} +24 -24
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ServiceSession, Result as Result$1, ServiceError, FetchFunction, InvokeFunction, IKVService, ServiceHeaders } from '@tinycloud/sdk-services';
|
|
2
|
-
import { p as DelegationManagerConfig, R as Result, r as DelegationRevocationReceipt, s as DelegationStatus, a as AccountDelegationQueryOptions, A as AccountDelegationPage, b as AccountDelegationRecord, j as DelegationChain, K as KeyInfo, h as Delegation, C as CapabilityEntry, I as IngestOptions, g as DelegatedResource, G as GenerateShareParams, v as ShareLink, D as DelegationError, J as JWK, x as ShareSchema, t as KeyProvider, d as CreateDelegationParams, e as CreateDelegationWasmParams, f as CreateDelegationWasmResult } from './types.schema-
|
|
2
|
+
import { p as DelegationManagerConfig, R as Result, r as DelegationRevocationReceipt, s as DelegationStatus, a as AccountDelegationQueryOptions, A as AccountDelegationPage, b as AccountDelegationRecord, j as DelegationChain, K as KeyInfo, h as Delegation, C as CapabilityEntry, I as IngestOptions, g as DelegatedResource, G as GenerateShareParams, v as ShareLink, D as DelegationError, J as JWK, x as ShareSchema, t as KeyProvider, d as CreateDelegationParams, e as CreateDelegationWasmParams, f as CreateDelegationWasmResult } from './types.schema-B0ZUx7Ss.js';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ServiceSession, Result as Result$1, ServiceError, FetchFunction, InvokeFunction, IKVService, ServiceHeaders } from '@tinycloud/sdk-services';
|
|
2
|
-
import { p as DelegationManagerConfig, R as Result, r as DelegationRevocationReceipt, s as DelegationStatus, a as AccountDelegationQueryOptions, A as AccountDelegationPage, b as AccountDelegationRecord, j as DelegationChain, K as KeyInfo, h as Delegation, C as CapabilityEntry, I as IngestOptions, g as DelegatedResource, G as GenerateShareParams, v as ShareLink, D as DelegationError, J as JWK, x as ShareSchema, t as KeyProvider, d as CreateDelegationParams, e as CreateDelegationWasmParams, f as CreateDelegationWasmResult } from './types.schema-
|
|
2
|
+
import { p as DelegationManagerConfig, R as Result, r as DelegationRevocationReceipt, s as DelegationStatus, a as AccountDelegationQueryOptions, A as AccountDelegationPage, b as AccountDelegationRecord, j as DelegationChain, K as KeyInfo, h as Delegation, C as CapabilityEntry, I as IngestOptions, g as DelegatedResource, G as GenerateShareParams, v as ShareLink, D as DelegationError, J as JWK, x as ShareSchema, t as KeyProvider, d as CreateDelegationParams, e as CreateDelegationWasmParams, f as CreateDelegationWasmResult } from './types.schema-B0ZUx7Ss.cjs';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
package/package.json
CHANGED
|
@@ -54,9 +54,9 @@ declare const JWKSchema: z.ZodObject<{
|
|
|
54
54
|
crv?: string | undefined;
|
|
55
55
|
x?: string | undefined;
|
|
56
56
|
y?: string | undefined;
|
|
57
|
-
d?: string | undefined;
|
|
58
|
-
e?: string | undefined;
|
|
59
57
|
n?: string | undefined;
|
|
58
|
+
e?: string | undefined;
|
|
59
|
+
d?: string | undefined;
|
|
60
60
|
use?: string | undefined;
|
|
61
61
|
key_ops?: string[] | undefined;
|
|
62
62
|
}, {
|
|
@@ -66,9 +66,9 @@ declare const JWKSchema: z.ZodObject<{
|
|
|
66
66
|
crv?: string | undefined;
|
|
67
67
|
x?: string | undefined;
|
|
68
68
|
y?: string | undefined;
|
|
69
|
-
d?: string | undefined;
|
|
70
|
-
e?: string | undefined;
|
|
71
69
|
n?: string | undefined;
|
|
70
|
+
e?: string | undefined;
|
|
71
|
+
d?: string | undefined;
|
|
72
72
|
use?: string | undefined;
|
|
73
73
|
key_ops?: string[] | undefined;
|
|
74
74
|
}>;
|
|
@@ -119,9 +119,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
119
119
|
crv?: string | undefined;
|
|
120
120
|
x?: string | undefined;
|
|
121
121
|
y?: string | undefined;
|
|
122
|
-
d?: string | undefined;
|
|
123
|
-
e?: string | undefined;
|
|
124
122
|
n?: string | undefined;
|
|
123
|
+
e?: string | undefined;
|
|
124
|
+
d?: string | undefined;
|
|
125
125
|
use?: string | undefined;
|
|
126
126
|
key_ops?: string[] | undefined;
|
|
127
127
|
}, {
|
|
@@ -131,9 +131,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
131
131
|
crv?: string | undefined;
|
|
132
132
|
x?: string | undefined;
|
|
133
133
|
y?: string | undefined;
|
|
134
|
-
d?: string | undefined;
|
|
135
|
-
e?: string | undefined;
|
|
136
134
|
n?: string | undefined;
|
|
135
|
+
e?: string | undefined;
|
|
136
|
+
d?: string | undefined;
|
|
137
137
|
use?: string | undefined;
|
|
138
138
|
key_ops?: string[] | undefined;
|
|
139
139
|
}>>;
|
|
@@ -151,9 +151,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
151
151
|
crv?: string | undefined;
|
|
152
152
|
x?: string | undefined;
|
|
153
153
|
y?: string | undefined;
|
|
154
|
-
d?: string | undefined;
|
|
155
|
-
e?: string | undefined;
|
|
156
154
|
n?: string | undefined;
|
|
155
|
+
e?: string | undefined;
|
|
156
|
+
d?: string | undefined;
|
|
157
157
|
use?: string | undefined;
|
|
158
158
|
key_ops?: string[] | undefined;
|
|
159
159
|
} | undefined;
|
|
@@ -169,9 +169,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
169
169
|
crv?: string | undefined;
|
|
170
170
|
x?: string | undefined;
|
|
171
171
|
y?: string | undefined;
|
|
172
|
-
d?: string | undefined;
|
|
173
|
-
e?: string | undefined;
|
|
174
172
|
n?: string | undefined;
|
|
173
|
+
e?: string | undefined;
|
|
174
|
+
d?: string | undefined;
|
|
175
175
|
use?: string | undefined;
|
|
176
176
|
key_ops?: string[] | undefined;
|
|
177
177
|
} | undefined;
|
|
@@ -599,9 +599,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
599
599
|
crv?: string | undefined;
|
|
600
600
|
x?: string | undefined;
|
|
601
601
|
y?: string | undefined;
|
|
602
|
-
d?: string | undefined;
|
|
603
|
-
e?: string | undefined;
|
|
604
602
|
n?: string | undefined;
|
|
603
|
+
e?: string | undefined;
|
|
604
|
+
d?: string | undefined;
|
|
605
605
|
use?: string | undefined;
|
|
606
606
|
key_ops?: string[] | undefined;
|
|
607
607
|
}, {
|
|
@@ -611,9 +611,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
611
611
|
crv?: string | undefined;
|
|
612
612
|
x?: string | undefined;
|
|
613
613
|
y?: string | undefined;
|
|
614
|
-
d?: string | undefined;
|
|
615
|
-
e?: string | undefined;
|
|
616
614
|
n?: string | undefined;
|
|
615
|
+
e?: string | undefined;
|
|
616
|
+
d?: string | undefined;
|
|
617
617
|
use?: string | undefined;
|
|
618
618
|
key_ops?: string[] | undefined;
|
|
619
619
|
}>>;
|
|
@@ -631,9 +631,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
631
631
|
crv?: string | undefined;
|
|
632
632
|
x?: string | undefined;
|
|
633
633
|
y?: string | undefined;
|
|
634
|
-
d?: string | undefined;
|
|
635
|
-
e?: string | undefined;
|
|
636
634
|
n?: string | undefined;
|
|
635
|
+
e?: string | undefined;
|
|
636
|
+
d?: string | undefined;
|
|
637
637
|
use?: string | undefined;
|
|
638
638
|
key_ops?: string[] | undefined;
|
|
639
639
|
} | undefined;
|
|
@@ -649,9 +649,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
649
649
|
crv?: string | undefined;
|
|
650
650
|
x?: string | undefined;
|
|
651
651
|
y?: string | undefined;
|
|
652
|
-
d?: string | undefined;
|
|
653
|
-
e?: string | undefined;
|
|
654
652
|
n?: string | undefined;
|
|
653
|
+
e?: string | undefined;
|
|
654
|
+
d?: string | undefined;
|
|
655
655
|
use?: string | undefined;
|
|
656
656
|
key_ops?: string[] | undefined;
|
|
657
657
|
} | undefined;
|
|
@@ -728,9 +728,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
728
728
|
crv?: string | undefined;
|
|
729
729
|
x?: string | undefined;
|
|
730
730
|
y?: string | undefined;
|
|
731
|
-
d?: string | undefined;
|
|
732
|
-
e?: string | undefined;
|
|
733
731
|
n?: string | undefined;
|
|
732
|
+
e?: string | undefined;
|
|
733
|
+
d?: string | undefined;
|
|
734
734
|
use?: string | undefined;
|
|
735
735
|
key_ops?: string[] | undefined;
|
|
736
736
|
} | undefined;
|
|
@@ -766,9 +766,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
766
766
|
crv?: string | undefined;
|
|
767
767
|
x?: string | undefined;
|
|
768
768
|
y?: string | undefined;
|
|
769
|
-
d?: string | undefined;
|
|
770
|
-
e?: string | undefined;
|
|
771
769
|
n?: string | undefined;
|
|
770
|
+
e?: string | undefined;
|
|
771
|
+
d?: string | undefined;
|
|
772
772
|
use?: string | undefined;
|
|
773
773
|
key_ops?: string[] | undefined;
|
|
774
774
|
} | undefined;
|
|
@@ -54,9 +54,9 @@ declare const JWKSchema: z.ZodObject<{
|
|
|
54
54
|
crv?: string | undefined;
|
|
55
55
|
x?: string | undefined;
|
|
56
56
|
y?: string | undefined;
|
|
57
|
-
d?: string | undefined;
|
|
58
|
-
e?: string | undefined;
|
|
59
57
|
n?: string | undefined;
|
|
58
|
+
e?: string | undefined;
|
|
59
|
+
d?: string | undefined;
|
|
60
60
|
use?: string | undefined;
|
|
61
61
|
key_ops?: string[] | undefined;
|
|
62
62
|
}, {
|
|
@@ -66,9 +66,9 @@ declare const JWKSchema: z.ZodObject<{
|
|
|
66
66
|
crv?: string | undefined;
|
|
67
67
|
x?: string | undefined;
|
|
68
68
|
y?: string | undefined;
|
|
69
|
-
d?: string | undefined;
|
|
70
|
-
e?: string | undefined;
|
|
71
69
|
n?: string | undefined;
|
|
70
|
+
e?: string | undefined;
|
|
71
|
+
d?: string | undefined;
|
|
72
72
|
use?: string | undefined;
|
|
73
73
|
key_ops?: string[] | undefined;
|
|
74
74
|
}>;
|
|
@@ -119,9 +119,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
119
119
|
crv?: string | undefined;
|
|
120
120
|
x?: string | undefined;
|
|
121
121
|
y?: string | undefined;
|
|
122
|
-
d?: string | undefined;
|
|
123
|
-
e?: string | undefined;
|
|
124
122
|
n?: string | undefined;
|
|
123
|
+
e?: string | undefined;
|
|
124
|
+
d?: string | undefined;
|
|
125
125
|
use?: string | undefined;
|
|
126
126
|
key_ops?: string[] | undefined;
|
|
127
127
|
}, {
|
|
@@ -131,9 +131,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
131
131
|
crv?: string | undefined;
|
|
132
132
|
x?: string | undefined;
|
|
133
133
|
y?: string | undefined;
|
|
134
|
-
d?: string | undefined;
|
|
135
|
-
e?: string | undefined;
|
|
136
134
|
n?: string | undefined;
|
|
135
|
+
e?: string | undefined;
|
|
136
|
+
d?: string | undefined;
|
|
137
137
|
use?: string | undefined;
|
|
138
138
|
key_ops?: string[] | undefined;
|
|
139
139
|
}>>;
|
|
@@ -151,9 +151,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
151
151
|
crv?: string | undefined;
|
|
152
152
|
x?: string | undefined;
|
|
153
153
|
y?: string | undefined;
|
|
154
|
-
d?: string | undefined;
|
|
155
|
-
e?: string | undefined;
|
|
156
154
|
n?: string | undefined;
|
|
155
|
+
e?: string | undefined;
|
|
156
|
+
d?: string | undefined;
|
|
157
157
|
use?: string | undefined;
|
|
158
158
|
key_ops?: string[] | undefined;
|
|
159
159
|
} | undefined;
|
|
@@ -169,9 +169,9 @@ declare const KeyInfoSchema: z.ZodObject<{
|
|
|
169
169
|
crv?: string | undefined;
|
|
170
170
|
x?: string | undefined;
|
|
171
171
|
y?: string | undefined;
|
|
172
|
-
d?: string | undefined;
|
|
173
|
-
e?: string | undefined;
|
|
174
172
|
n?: string | undefined;
|
|
173
|
+
e?: string | undefined;
|
|
174
|
+
d?: string | undefined;
|
|
175
175
|
use?: string | undefined;
|
|
176
176
|
key_ops?: string[] | undefined;
|
|
177
177
|
} | undefined;
|
|
@@ -599,9 +599,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
599
599
|
crv?: string | undefined;
|
|
600
600
|
x?: string | undefined;
|
|
601
601
|
y?: string | undefined;
|
|
602
|
-
d?: string | undefined;
|
|
603
|
-
e?: string | undefined;
|
|
604
602
|
n?: string | undefined;
|
|
603
|
+
e?: string | undefined;
|
|
604
|
+
d?: string | undefined;
|
|
605
605
|
use?: string | undefined;
|
|
606
606
|
key_ops?: string[] | undefined;
|
|
607
607
|
}, {
|
|
@@ -611,9 +611,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
611
611
|
crv?: string | undefined;
|
|
612
612
|
x?: string | undefined;
|
|
613
613
|
y?: string | undefined;
|
|
614
|
-
d?: string | undefined;
|
|
615
|
-
e?: string | undefined;
|
|
616
614
|
n?: string | undefined;
|
|
615
|
+
e?: string | undefined;
|
|
616
|
+
d?: string | undefined;
|
|
617
617
|
use?: string | undefined;
|
|
618
618
|
key_ops?: string[] | undefined;
|
|
619
619
|
}>>;
|
|
@@ -631,9 +631,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
631
631
|
crv?: string | undefined;
|
|
632
632
|
x?: string | undefined;
|
|
633
633
|
y?: string | undefined;
|
|
634
|
-
d?: string | undefined;
|
|
635
|
-
e?: string | undefined;
|
|
636
634
|
n?: string | undefined;
|
|
635
|
+
e?: string | undefined;
|
|
636
|
+
d?: string | undefined;
|
|
637
637
|
use?: string | undefined;
|
|
638
638
|
key_ops?: string[] | undefined;
|
|
639
639
|
} | undefined;
|
|
@@ -649,9 +649,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
649
649
|
crv?: string | undefined;
|
|
650
650
|
x?: string | undefined;
|
|
651
651
|
y?: string | undefined;
|
|
652
|
-
d?: string | undefined;
|
|
653
|
-
e?: string | undefined;
|
|
654
652
|
n?: string | undefined;
|
|
653
|
+
e?: string | undefined;
|
|
654
|
+
d?: string | undefined;
|
|
655
655
|
use?: string | undefined;
|
|
656
656
|
key_ops?: string[] | undefined;
|
|
657
657
|
} | undefined;
|
|
@@ -728,9 +728,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
728
728
|
crv?: string | undefined;
|
|
729
729
|
x?: string | undefined;
|
|
730
730
|
y?: string | undefined;
|
|
731
|
-
d?: string | undefined;
|
|
732
|
-
e?: string | undefined;
|
|
733
731
|
n?: string | undefined;
|
|
732
|
+
e?: string | undefined;
|
|
733
|
+
d?: string | undefined;
|
|
734
734
|
use?: string | undefined;
|
|
735
735
|
key_ops?: string[] | undefined;
|
|
736
736
|
} | undefined;
|
|
@@ -766,9 +766,9 @@ declare const CapabilityEntrySchema: z.ZodObject<{
|
|
|
766
766
|
crv?: string | undefined;
|
|
767
767
|
x?: string | undefined;
|
|
768
768
|
y?: string | undefined;
|
|
769
|
-
d?: string | undefined;
|
|
770
|
-
e?: string | undefined;
|
|
771
769
|
n?: string | undefined;
|
|
770
|
+
e?: string | undefined;
|
|
771
|
+
d?: string | undefined;
|
|
772
772
|
use?: string | undefined;
|
|
773
773
|
key_ops?: string[] | undefined;
|
|
774
774
|
} | undefined;
|