@tinycloud/web-sdk 3.3.0-beta.22 → 3.3.0-beta.24

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.
@@ -10,7 +10,7 @@
10
10
  * @packageDocumentation
11
11
  */
12
12
  import { TinyCloudNode, type ReplicationModuleLoaders, TinyCloudNodeConfig, type BootstrapWarning, type DelegateToOptions, type DelegateToResult, type ISessionStorage, type SignStrategy, type ValidatedRuntimeDelegation, type UnifiedOwnerRootInput, type UnifiedOwnerRootReceipt, type RegisterPolicyV3Input, type RegisterPolicyV3Receipt } from "@tinycloud/node-sdk/core";
13
- import { IKVService, ISQLService, IDuckDbService, IDataVaultService, ISecretsService, ISpaceService, ISpace, ISharingService, ICapabilityKeyRegistry, IHooksService, IEncryptionService, DelegationManager, Delegation, DelegationRevocationReceipt, CreateDelegationParams, Result, DelegationError, ClientSession, Extension, type TelemetryConfig, ISpaceCreationHandler, type Manifest, type ComposedManifestRequest, type AccountService, type ResolvedDelegate, type PermissionEntry, type NetworkDescriptor, type CreateOwnerDelegationParams, type OwnerDelegationReceipt, type LocalNodeIdentityStore, type OnNodeNotFound, type RegistryPolicy, type RegistrySequenceStore, SignInOptions, type StorageFullEvent, type IStorageService } from "@tinycloud/sdk-core";
13
+ import { IKVService, ISQLService, IDuckDbService, IDataVaultService, ISecretsService, ISpaceService, ISpace, ISharingService, ICapabilityKeyRegistry, IHooksService, IEncryptionService, DelegationManager, Delegation, DelegationRevocationReceipt, Result, DelegationError, ClientSession, Extension, type TelemetryConfig, ISpaceCreationHandler, type Manifest, type ComposedManifestRequest, type AccountService, type ResolvedDelegate, type PermissionEntry, type NetworkDescriptor, type CreateOwnerDelegationParams, type OwnerDelegationReceipt, type LocalNodeIdentityStore, type OnNodeNotFound, type RegistryPolicy, type RegistrySequenceStore, SignInOptions, type StorageFullEvent, type IStorageService } from "@tinycloud/sdk-core";
14
14
  import { type BrowserProvider, type BrowserWalletProvider } from "../adapters/browserProvider";
15
15
  import { BrowserWalletSigner } from "../adapters/BrowserWalletSigner";
16
16
  import { RPCProviders, ClientConfig } from "../providers";
@@ -446,9 +446,7 @@ export declare class TinyCloudWeb {
446
446
  actions: string[];
447
447
  }>;
448
448
  }): Promise<PortableDelegation>;
449
- delegate(params: CreateDelegationParams): Promise<Result<Delegation, DelegationError>>;
450
449
  revokeDelegation(cid: string): Promise<Result<DelegationRevocationReceipt, DelegationError>>;
451
- listDelegations(): Promise<Result<Delegation[], DelegationError>>;
452
450
  checkPermission(path: string, action: string): Promise<Result<boolean, DelegationError>>;
453
451
  /**
454
452
  * Receive and retrieve data from a native TinyCloud bearer delegation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/web-sdk",
3
- "version": "3.3.0-beta.22",
3
+ "version": "3.3.0-beta.24",
4
4
  "description": "A set of tools and utilities to help you build your app with TinyCloud.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -54,9 +54,9 @@
54
54
  "@multiformats/multiaddr": "^13.0.1",
55
55
  "@multiformats/multiaddr-to-uri": "^12.0.0",
56
56
  "@noble/curves": "^1.9.7",
57
- "@tinycloud/node-sdk": "3.3.0-beta.22",
57
+ "@tinycloud/node-sdk": "3.3.0-beta.24",
58
58
  "@tinycloud/replica": "0.3.0-beta.5",
59
- "@tinycloud/sdk-core": "3.3.0-beta.22",
59
+ "@tinycloud/sdk-core": "3.3.0-beta.23",
60
60
  "@tinycloud/share-envelope": "1.2.0-beta.0",
61
61
  "@tinycloud/share-sdk": "1.2.0-beta.6",
62
62
  "@tinycloud/web-sdk-wasm": "1.7.6",