@tinycloud/web-sdk 3.3.0-beta.21 → 3.3.0-beta.23
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/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/modules/tcw.d.ts +1 -3
- package/package.json +4 -4
package/dist/modules/tcw.d.ts
CHANGED
|
@@ -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,
|
|
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.
|
|
3
|
+
"version": "3.3.0-beta.23",
|
|
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,11 +54,11 @@
|
|
|
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.
|
|
57
|
+
"@tinycloud/node-sdk": "3.3.0-beta.23",
|
|
58
58
|
"@tinycloud/replica": "0.3.0-beta.5",
|
|
59
|
-
"@tinycloud/sdk-core": "3.3.0-beta.
|
|
59
|
+
"@tinycloud/sdk-core": "3.3.0-beta.23",
|
|
60
60
|
"@tinycloud/share-envelope": "1.2.0-beta.0",
|
|
61
|
-
"@tinycloud/share-sdk": "1.2.0-beta.
|
|
61
|
+
"@tinycloud/share-sdk": "1.2.0-beta.6",
|
|
62
62
|
"@tinycloud/web-sdk-wasm": "1.7.6",
|
|
63
63
|
"axios": "^1.7.9",
|
|
64
64
|
"viem": "^2.45.0",
|