@tinycloud/node-sdk 3.0.0-beta.7 → 3.0.0-beta.8
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/core.cjs +12 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.d.cts +1 -1
- package/dist/core.d.ts +1 -1
- package/dist/core.js +12 -1
- package/dist/core.js.map +1 -1
- package/dist/index.cjs +12 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -17157,6 +17157,7 @@ __export(index_exports, {
|
|
|
17157
17157
|
parseExpiry: () => import_sdk_core12.parseExpiry,
|
|
17158
17158
|
parseNetworkId: () => import_sdk_core17.parseNetworkId,
|
|
17159
17159
|
parsePkhDid: () => import_sdk_core11.parsePkhDid,
|
|
17160
|
+
parseSecretCatalogKey: () => import_sdk_core16.parseSecretCatalogKey,
|
|
17160
17161
|
parseSpaceUri: () => import_sdk_core21.parseSpaceUri,
|
|
17161
17162
|
pkhDid: () => import_sdk_core11.pkhDid,
|
|
17162
17163
|
principalDid: () => import_sdk_core11.principalDid,
|
|
@@ -19108,6 +19109,11 @@ var NodeSecretsService = class {
|
|
|
19108
19109
|
if (!permission.ok) return permission;
|
|
19109
19110
|
return options === void 0 ? this.service.list() : this.service.list(options);
|
|
19110
19111
|
}
|
|
19112
|
+
async listAll() {
|
|
19113
|
+
const permission = await this.ensurePermission("", void 0, "list");
|
|
19114
|
+
if (!permission.ok) return permission;
|
|
19115
|
+
return this.service.listAll();
|
|
19116
|
+
}
|
|
19111
19117
|
get service() {
|
|
19112
19118
|
return this.config.getService();
|
|
19113
19119
|
}
|
|
@@ -19169,7 +19175,11 @@ var NodeSecretsService = class {
|
|
|
19169
19175
|
(entry) => manifests.some((candidate) => {
|
|
19170
19176
|
const resolved = (0, import_sdk_core6.resolveManifest)(candidate);
|
|
19171
19177
|
return resolved.resources.some(
|
|
19172
|
-
(resource) => resource.service === entry.service && spaceMatches(
|
|
19178
|
+
(resource) => resource.service === entry.service && spaceMatches(
|
|
19179
|
+
resource.space,
|
|
19180
|
+
entry.space,
|
|
19181
|
+
this.config.resolveSpace
|
|
19182
|
+
) && resource.path === entry.path && entry.actions.every((action) => resource.actions.includes(action))
|
|
19173
19183
|
);
|
|
19174
19184
|
})
|
|
19175
19185
|
);
|
|
@@ -25066,6 +25076,7 @@ var import_sdk_core23 = require("@tinycloud/sdk-core");
|
|
|
25066
25076
|
parseExpiry,
|
|
25067
25077
|
parseNetworkId,
|
|
25068
25078
|
parsePkhDid,
|
|
25079
|
+
parseSecretCatalogKey,
|
|
25069
25080
|
parseSpaceUri,
|
|
25070
25081
|
pkhDid,
|
|
25071
25082
|
principalDid,
|