@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 CHANGED
@@ -115,6 +115,7 @@ __export(core_exports, {
115
115
  parseCanonicalNetworkId: () => import_sdk_core11.parseCanonicalNetworkId,
116
116
  parseExpiry: () => import_sdk_core12.parseExpiry,
117
117
  parsePkhDid: () => import_sdk_core11.parsePkhDid,
118
+ parseSecretCatalogKey: () => import_sdk_core16.parseSecretCatalogKey,
118
119
  parseSpaceUri: () => import_sdk_core19.parseSpaceUri,
119
120
  pkhDid: () => import_sdk_core11.pkhDid,
120
121
  principalDid: () => import_sdk_core11.principalDid,
@@ -2081,6 +2082,11 @@ var NodeSecretsService = class {
2081
2082
  if (!permission.ok) return permission;
2082
2083
  return options === void 0 ? this.service.list() : this.service.list(options);
2083
2084
  }
2085
+ async listAll() {
2086
+ const permission = await this.ensurePermission("", void 0, "list");
2087
+ if (!permission.ok) return permission;
2088
+ return this.service.listAll();
2089
+ }
2084
2090
  get service() {
2085
2091
  return this.config.getService();
2086
2092
  }
@@ -2142,7 +2148,11 @@ var NodeSecretsService = class {
2142
2148
  (entry) => manifests.some((candidate) => {
2143
2149
  const resolved = (0, import_sdk_core7.resolveManifest)(candidate);
2144
2150
  return resolved.resources.some(
2145
- (resource) => resource.service === entry.service && spaceMatches(resource.space, entry.space, this.config.resolveSpace) && resource.path === entry.path && entry.actions.every((action) => resource.actions.includes(action))
2151
+ (resource) => resource.service === entry.service && spaceMatches(
2152
+ resource.space,
2153
+ entry.space,
2154
+ this.config.resolveSpace
2155
+ ) && resource.path === entry.path && entry.actions.every((action) => resource.actions.includes(action))
2146
2156
  );
2147
2157
  })
2148
2158
  );
@@ -7790,6 +7800,7 @@ var import_sdk_core21 = require("@tinycloud/sdk-core");
7790
7800
  parseCanonicalNetworkId,
7791
7801
  parseExpiry,
7792
7802
  parsePkhDid,
7803
+ parseSecretCatalogKey,
7793
7804
  parseSpaceUri,
7794
7805
  pkhDid,
7795
7806
  principalDid,