@tinycloud/sdk-core 3.8.0-beta.14 → 3.8.0-beta.16
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/{credential-admission-Cg1M9uyV.d.cts → credential-admission-B7_F6Yb3.d.cts} +1 -0
- package/dist/{credential-admission-7I_ymo-C.d.ts → credential-admission-DCJhDFFv.d.ts} +1 -0
- package/dist/delegations/index.cjs +11 -8
- package/dist/delegations/index.cjs.map +1 -1
- package/dist/delegations/index.js +3 -0
- package/dist/delegations/index.js.map +1 -1
- package/dist/index.cjs +319 -289
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +42 -12
- package/dist/index.js.map +1 -1
- package/dist/policy/index.cjs +4 -6
- 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 +4 -6
- package/dist/policy/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -1187,6 +1187,7 @@ function validateSharingServiceConfig(data) {
|
|
|
1187
1187
|
import ms from "ms";
|
|
1188
1188
|
import { ACCOUNT_MANIFEST_PERMISSIONS } from "@tinycloud/bootstrap";
|
|
1189
1189
|
import { resolveSecretPath, SECRET_NAME_RE, parseNetworkId } from "@tinycloud/sdk-services";
|
|
1190
|
+
import { parseEncryptionResource } from "@tinycloud/sdk-services/encryption/resource";
|
|
1190
1191
|
var SERVICE_SHORT_TO_LONG = Object.freeze({
|
|
1191
1192
|
kv: "tinycloud.kv",
|
|
1192
1193
|
space: "tinycloud.space",
|
|
@@ -1271,6 +1272,7 @@ function principalDid(didUrl) {
|
|
|
1271
1272
|
}
|
|
1272
1273
|
|
|
1273
1274
|
// src/capabilities.ts
|
|
1275
|
+
import { encryptionResourceContains } from "@tinycloud/sdk-services/encryption/resource";
|
|
1274
1276
|
var CaveatedDelegationUnsupportedError = class extends Error {
|
|
1275
1277
|
constructor(entries) {
|
|
1276
1278
|
super(
|
|
@@ -3581,6 +3583,7 @@ import { sha256 as sha2564 } from "@noble/hashes/sha256";
|
|
|
3581
3583
|
import { blake3 as blake32 } from "@noble/hashes/blake3";
|
|
3582
3584
|
import { ed25519 as ed255192 } from "@noble/curves/ed25519";
|
|
3583
3585
|
import { z as z4 } from "zod";
|
|
3586
|
+
import { parseEncryptionResource as parseNamedEncryptionResource } from "@tinycloud/sdk-services";
|
|
3584
3587
|
|
|
3585
3588
|
// src/policy/errors.ts
|
|
3586
3589
|
var SignedObjectProfileError = class extends Error {
|