@tinycloud/sdk-core 3.1.0-beta.9 → 3.1.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.
@@ -1821,7 +1821,10 @@ declare class DelegationManager {
1821
1821
  * }
1822
1822
  * ```
1823
1823
  */
1824
- revoke(cid: string): Promise<Result<DelegationRevocationReceipt>>;
1824
+ revoke(cid: string, options?: {
1825
+ targetSpaceId?: string;
1826
+ authorityCid?: string;
1827
+ }): Promise<Result<DelegationRevocationReceipt>>;
1825
1828
  /**
1826
1829
  * Reads the node-confirmed lifecycle state of one delegation without
1827
1830
  * exposing delegation metadata.
@@ -1821,7 +1821,10 @@ declare class DelegationManager {
1821
1821
  * }
1822
1822
  * ```
1823
1823
  */
1824
- revoke(cid: string): Promise<Result<DelegationRevocationReceipt>>;
1824
+ revoke(cid: string, options?: {
1825
+ targetSpaceId?: string;
1826
+ authorityCid?: string;
1827
+ }): Promise<Result<DelegationRevocationReceipt>>;
1825
1828
  /**
1826
1829
  * Reads the node-confirmed lifecycle state of one delegation without
1827
1830
  * exposing delegation metadata.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/sdk-core",
3
- "version": "3.1.0-beta.9",
3
+ "version": "3.1.0",
4
4
  "description": "Core TinyCloud SDK - shared interfaces and TinyCloud class",
5
5
  "author": "TinyCloud, Inc.",
6
6
  "license": "EGPL",
@@ -53,10 +53,10 @@
53
53
  "@multiformats/multiaddr-to-uri": "^12.0.0",
54
54
  "@multiformats/uri-to-multiaddr": "^10.0.0",
55
55
  "@noble/curves": "^1.9.7",
56
- "@tinycloud/share-envelope": "1.1.0-beta.0",
57
- "@tinycloud/share-sdk": "1.1.0-beta.2",
58
- "@tinycloud/bootstrap": "2.8.0-beta.0",
59
- "@tinycloud/sdk-services": "3.1.0-beta.9",
56
+ "@tinycloud/share-envelope": "1.1.0",
57
+ "@tinycloud/share-sdk": "1.1.0",
58
+ "@tinycloud/bootstrap": "2.8.0",
59
+ "@tinycloud/sdk-services": "3.1.0",
60
60
  "multiformats": "^13.4.1",
61
61
  "ms": "^2.1.3",
62
62
  "siwe": "^3.0.0",