@opendatalabs/vana-sdk 3.13.3 → 3.13.4-pr.184.80a4b1f
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/account/personal-server-lite-owner-binding.d.ts +1 -1
- package/dist/account/personal-server-registration.d.ts +1 -1
- package/dist/auth/errors.d.ts +1 -1
- package/dist/auth/oauth-client.d.ts +1 -1
- package/dist/browser.d.ts +1 -1
- package/dist/chains/index.d.ts +2 -2
- package/dist/chains.browser.d.ts +2 -2
- package/dist/chains.d.ts +2 -2
- package/dist/chains.node.d.ts +2 -2
- package/dist/contracts/contractController.d.ts +4 -4
- package/dist/core/client.d.ts +1 -1
- package/dist/crypto/ecies/base.d.ts +1 -1
- package/dist/crypto/ecies/browser.d.ts +1 -1
- package/dist/crypto/ecies/index.d.ts +2 -2
- package/dist/crypto/ecies/node.d.ts +1 -1
- package/dist/crypto/services/WalletKeyEncryptionService.d.ts +1 -1
- package/dist/direct/access-request-client.d.ts +2 -2
- package/dist/direct/connect-flow.d.ts +1 -1
- package/dist/direct/controller.cjs.map +1 -1
- package/dist/direct/controller.d.ts +8 -8
- package/dist/direct/controller.js.map +1 -1
- package/dist/direct/endpoints.d.ts +1 -1
- package/dist/direct/errors.d.ts +1 -1
- package/dist/direct/escrow-payment.cjs +142 -11
- package/dist/direct/escrow-payment.cjs.map +1 -1
- package/dist/direct/escrow-payment.d.ts +65 -12
- package/dist/direct/escrow-payment.js +138 -11
- package/dist/direct/escrow-payment.js.map +1 -1
- package/dist/direct/personal-server-read.cjs +156 -23
- package/dist/direct/personal-server-read.cjs.map +1 -1
- package/dist/direct/personal-server-read.d.ts +28 -18
- package/dist/direct/personal-server-read.js +159 -25
- package/dist/direct/personal-server-read.js.map +1 -1
- package/dist/direct/types.cjs.map +1 -1
- package/dist/direct/types.d.ts +48 -20
- package/dist/direct/types.js.map +1 -1
- package/dist/direct/use-direct-vana-connect.d.ts +1 -1
- package/dist/generated/abi/index.d.ts +25 -25
- package/dist/index.browser.d.ts +44 -44
- package/dist/index.browser.js.map +2 -2
- package/dist/index.node.cjs +480 -0
- package/dist/index.node.cjs.map +4 -4
- package/dist/index.node.d.ts +48 -45
- package/dist/index.node.js +468 -0
- package/dist/index.node.js.map +4 -4
- package/dist/node.d.ts +1 -1
- package/dist/platform/browser-only.d.ts +3 -3
- package/dist/platform/browser-safe.d.ts +3 -3
- package/dist/platform/browser.d.ts +1 -1
- package/dist/platform/index.d.ts +5 -5
- package/dist/platform/node.d.ts +1 -1
- package/dist/platform/ports/openpgp-port.d.ts +1 -1
- package/dist/platform/utils.d.ts +1 -1
- package/dist/platform.browser.d.ts +4 -4
- package/dist/platform.d.ts +5 -5
- package/dist/platform.node.d.ts +5 -5
- package/dist/protocol/data-point-status.d.ts +1 -1
- package/dist/protocol/eip712.cjs.map +1 -1
- package/dist/protocol/eip712.js.map +1 -1
- package/dist/protocol/escrow-deposit.d.ts +1 -1
- package/dist/protocol/escrow.cjs.map +1 -1
- package/dist/protocol/escrow.d.ts +11 -4
- package/dist/protocol/escrow.js.map +1 -1
- package/dist/protocol/fee-registry.d.ts +1 -1
- package/dist/protocol/gateway.cjs.map +1 -1
- package/dist/protocol/gateway.js.map +1 -1
- package/dist/protocol/grants.d.ts +1 -1
- package/dist/protocol/personal-server-data.d.ts +2 -2
- package/dist/protocol/personal-server-registration.d.ts +2 -2
- package/dist/react.d.ts +3 -3
- package/dist/server.cjs +10 -0
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.ts +8 -8
- package/dist/server.js +10 -0
- package/dist/server.js.map +1 -1
- package/dist/session-relay/client.d.ts +1 -1
- package/dist/session-relay/endpoints.d.ts +1 -1
- package/dist/session-relay/errors.d.ts +1 -1
- package/dist/session-relay/index.d.ts +5 -5
- package/dist/session-relay/signing.d.ts +1 -1
- package/dist/session-relay/types.d.ts +1 -1
- package/dist/session-relay.d.ts +5 -5
- package/dist/storage/default.d.ts +2 -2
- package/dist/storage/index.d.ts +16 -16
- package/dist/storage/manager.d.ts +1 -1
- package/dist/storage/providers/callback-storage.d.ts +2 -2
- package/dist/storage/providers/dropbox.d.ts +1 -1
- package/dist/storage/providers/google-drive.d.ts +1 -1
- package/dist/storage/providers/ipfs.d.ts +1 -1
- package/dist/storage/providers/pinata.d.ts +1 -1
- package/dist/storage/providers/r2.d.ts +1 -1
- package/dist/storage/providers/vana-storage.d.ts +3 -3
- package/dist/types/config.d.ts +1 -1
- package/dist/types/index.d.ts +6 -6
- package/dist/types.d.ts +1 -1
- package/package.json +13 -1
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* @category Direct
|
|
14
14
|
* @module direct/use-direct-vana-connect
|
|
15
15
|
*/
|
|
16
|
-
import { type DirectConnectOptions, type DirectConnectState, type DirectConnectTransports } from "./connect-flow";
|
|
16
|
+
import { type DirectConnectOptions, type DirectConnectState, type DirectConnectTransports } from "./connect-flow.js";
|
|
17
17
|
/** Options for {@link useDirectVanaConnect}: transports plus flow tunables. */
|
|
18
18
|
export type UseDirectVanaConnectOptions<T = unknown> = DirectConnectTransports<T> & DirectConnectOptions;
|
|
19
19
|
/** Return value of {@link useDirectVanaConnect}. */
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { ComputeEngineABI } from "./ComputeEngineImplementation";
|
|
2
|
-
import { DataRegistryABI } from "./DataRegistryImplementation";
|
|
3
|
-
import { TeePoolPhalaABI } from "./TeePoolPhalaImplementation";
|
|
4
|
-
import { DataPortabilityPermissionsABI } from "./DataPortabilityPermissionsImplementation";
|
|
5
|
-
import { DataPortabilityServersABI } from "./DataPortabilityServersImplementation";
|
|
6
|
-
import { DataPortabilityGranteesABI } from "./DataPortabilityGranteesImplementation";
|
|
7
|
-
import { DataRefinerRegistryABI } from "./DataRefinerRegistryImplementation";
|
|
8
|
-
import { QueryEngineABI } from "./QueryEngineImplementation";
|
|
9
|
-
import { ComputeInstructionRegistryABI } from "./ComputeInstructionRegistryImplementation";
|
|
10
|
-
import { TeePoolEphemeralStandardABI } from "./TeePoolEphemeralStandardImplementation";
|
|
11
|
-
import { TeePoolPersistentStandardABI } from "./TeePoolPersistentStandardImplementation";
|
|
12
|
-
import { TeePoolPersistentGpuABI } from "./TeePoolPersistentGpuImplementation";
|
|
13
|
-
import { TeePoolDedicatedStandardABI } from "./TeePoolDedicatedStandardImplementation";
|
|
14
|
-
import { TeePoolDedicatedGpuABI } from "./TeePoolDedicatedGpuImplementation";
|
|
15
|
-
import { VanaEpochABI } from "./VanaEpochImplementation";
|
|
16
|
-
import { DLPRegistryABI } from "./DLPRegistryImplementation";
|
|
17
|
-
import { DLPRegistryTreasuryABI } from "./DLPTreasuryImplementation";
|
|
18
|
-
import { DLPRegistryTreasuryABI as DLPRegistryTreasuryImplementationABI } from "./DLPRegistryTreasuryImplementation";
|
|
19
|
-
import { VanaPoolStakingABI } from "./VanaPoolStakingImplementation";
|
|
20
|
-
import { VanaPoolEntityABI } from "./VanaPoolEntityImplementation";
|
|
21
|
-
import { VanaPoolTreasuryABI } from "./VanaPoolTreasuryImplementation";
|
|
22
|
-
import { DATABI } from "./DATImplementation";
|
|
23
|
-
import { DATFactoryABI } from "./DATFactoryImplementation";
|
|
24
|
-
import { DATPausableABI } from "./DATPausableImplementation";
|
|
25
|
-
import { DATVotesABI } from "./DATVotesImplementation";
|
|
1
|
+
import { ComputeEngineABI } from "./ComputeEngineImplementation.js";
|
|
2
|
+
import { DataRegistryABI } from "./DataRegistryImplementation.js";
|
|
3
|
+
import { TeePoolPhalaABI } from "./TeePoolPhalaImplementation.js";
|
|
4
|
+
import { DataPortabilityPermissionsABI } from "./DataPortabilityPermissionsImplementation.js";
|
|
5
|
+
import { DataPortabilityServersABI } from "./DataPortabilityServersImplementation.js";
|
|
6
|
+
import { DataPortabilityGranteesABI } from "./DataPortabilityGranteesImplementation.js";
|
|
7
|
+
import { DataRefinerRegistryABI } from "./DataRefinerRegistryImplementation.js";
|
|
8
|
+
import { QueryEngineABI } from "./QueryEngineImplementation.js";
|
|
9
|
+
import { ComputeInstructionRegistryABI } from "./ComputeInstructionRegistryImplementation.js";
|
|
10
|
+
import { TeePoolEphemeralStandardABI } from "./TeePoolEphemeralStandardImplementation.js";
|
|
11
|
+
import { TeePoolPersistentStandardABI } from "./TeePoolPersistentStandardImplementation.js";
|
|
12
|
+
import { TeePoolPersistentGpuABI } from "./TeePoolPersistentGpuImplementation.js";
|
|
13
|
+
import { TeePoolDedicatedStandardABI } from "./TeePoolDedicatedStandardImplementation.js";
|
|
14
|
+
import { TeePoolDedicatedGpuABI } from "./TeePoolDedicatedGpuImplementation.js";
|
|
15
|
+
import { VanaEpochABI } from "./VanaEpochImplementation.js";
|
|
16
|
+
import { DLPRegistryABI } from "./DLPRegistryImplementation.js";
|
|
17
|
+
import { DLPRegistryTreasuryABI } from "./DLPTreasuryImplementation.js";
|
|
18
|
+
import { DLPRegistryTreasuryABI as DLPRegistryTreasuryImplementationABI } from "./DLPRegistryTreasuryImplementation.js";
|
|
19
|
+
import { VanaPoolStakingABI } from "./VanaPoolStakingImplementation.js";
|
|
20
|
+
import { VanaPoolEntityABI } from "./VanaPoolEntityImplementation.js";
|
|
21
|
+
import { VanaPoolTreasuryABI } from "./VanaPoolTreasuryImplementation.js";
|
|
22
|
+
import { DATABI } from "./DATImplementation.js";
|
|
23
|
+
import { DATFactoryABI } from "./DATFactoryImplementation.js";
|
|
24
|
+
import { DATPausableABI } from "./DATPausableImplementation.js";
|
|
25
|
+
import { DATVotesABI } from "./DATVotesImplementation.js";
|
|
26
26
|
declare const contractAbis: {
|
|
27
27
|
readonly DataPortabilityPermissions: readonly [{
|
|
28
28
|
readonly inputs: readonly [];
|
package/dist/index.browser.d.ts
CHANGED
|
@@ -7,47 +7,47 @@
|
|
|
7
7
|
* helpers, ABIs, addresses, chain configurations, and shared types — without
|
|
8
8
|
* Node-only dependencies.
|
|
9
9
|
*/
|
|
10
|
-
export type * from "./types";
|
|
11
|
-
export * from "./errors";
|
|
12
|
-
export * from "./contracts/contractController";
|
|
13
|
-
export { getAbi } from "./generated/abi";
|
|
14
|
-
export type { VanaContract, VanaContract as VanaContractAbi, } from "./generated/abi";
|
|
15
|
-
export { getContractAddress, CONTRACTS } from "./generated/addresses";
|
|
16
|
-
export type { VanaContractAddress } from "./generated/addresses";
|
|
17
|
-
export { vanaMainnet, mokshaTestnet, moksha, type VanaChainConfig, getChainConfig, getAllChains, } from "./chains";
|
|
18
|
-
export * from "./chains";
|
|
19
|
-
export { chains } from "./config/chains";
|
|
20
|
-
export { type ServiceEndpoints, mainnetServices, mokshaServices, getServiceEndpoints, } from "./config/default-services";
|
|
21
|
-
export * from "./storage/index";
|
|
22
|
-
export { createVanaStorageProvider } from "./storage/default";
|
|
23
|
-
export type { VanaStorageProviderOptions } from "./storage/default";
|
|
24
|
-
export { BrowserPlatformAdapter } from "./platform/browser";
|
|
25
|
-
export { BrowserECIESUint8Provider as BrowserECIESProvider } from "./crypto/ecies/browser";
|
|
26
|
-
export type { VanaPlatformAdapter } from "./platform/interface";
|
|
27
|
-
export { ECIESError, isECIESEncrypted, serializeECIES, deserializeECIES, } from "./crypto/ecies";
|
|
28
|
-
export type { ECIESProvider, ECIESEncrypted, ECIESOptions, } from "./crypto/ecies";
|
|
29
|
-
export { createBrowserPlatformAdapter, createPlatformAdapterSafe, } from "./platform/browser-only";
|
|
30
|
-
export { generatePkceVerifier, computePkceChallenge, verifyPkceChallenge, assertValidPkceVerifier, PKCE_VERIFIER_PATTERN, PKCE_CHALLENGE_PATTERN, } from "./auth/pkce";
|
|
31
|
-
export { InMemoryTokenStore, type TokenStore, type TokenRecord, } from "./auth/token-store";
|
|
32
|
-
export { OAuthClient, type OAuthClientConfig, type AuthorizationUrlResult, } from "./auth/oauth-client";
|
|
33
|
-
export { detectPlatform, isPlatformSupported, getPlatformCapabilities, } from "./platform/utils";
|
|
34
|
-
export { deriveMasterKey, deriveScopeKey, recoverServerOwner, MASTER_KEY_MESSAGE, } from "./crypto/keys/derive";
|
|
35
|
-
export { encryptWithPassword, decryptWithPassword, } from "./crypto/envelope/openpgp";
|
|
36
|
-
export { parseWeb3SignedHeader, verifyWeb3Signed, type Web3SignedPayload, type VerifiedAuth, } from "./auth/web3-signed";
|
|
37
|
-
export { buildWeb3SignedHeader, computeBodyHash, type Web3SignedSignFn, } from "./auth/web3-signed-builder";
|
|
38
|
-
export { MissingAuthError, InvalidSignatureError, ExpiredTokenError, } from "./auth/errors";
|
|
39
|
-
export { NATIVE_VANA_ASSET, dataRegistryDomain, grantRegistrationDomain, grantRevocationDomain, serverRegistrationDomain, builderRegistrationDomain, escrowPaymentDomain, GRANT_REGISTRATION_TYPES, GRANT_REVOCATION_TYPES, SERVER_REGISTRATION_TYPES, BUILDER_REGISTRATION_TYPES, ADD_DATA_TYPES, RECORD_DATA_ACCESS_TYPES, type DataPortabilityContracts, type DataPortabilityGatewayConfig, type GrantRegistrationMessage, type GrantRevocationMessage, type ServerRegistrationMessage, type BuilderRegistrationMessage, type AddDataMessage, type RecordDataAccessMessage, } from "./protocol/eip712";
|
|
40
|
-
export { PERSONAL_SERVER_REGISTRATION_DEFAULT_CHAIN_ID, PERSONAL_SERVER_REGISTRATION_DEFAULT_VERIFYING_CONTRACT, personalServerRegistrationDomain, createViemPersonalServerRegistrationSigner, buildPersonalServerRegistrationTypedData, buildPersonalServerRegistrationSignature, registerPersonalServerSignature, type PersonalServerRegistrationTypedData, type PersonalServerRegistrationSigner, type PersonalServerRegistrationDomainInput, type ViemPersonalServerRegistrationWalletClient, type ViemPersonalServerRegistrationSignerSource, type BuildPersonalServerRegistrationTypedDataInput, type BuildPersonalServerRegistrationSignatureInput, type PersonalServerRegistrationSignature, } from "./protocol/personal-server-registration";
|
|
41
|
-
export { PERSONAL_SERVER_LITE_OWNER_BINDING_VERSION, PERSONAL_SERVER_LITE_OWNER_BINDING_PURPOSE, PERSONAL_SERVER_LITE_OWNER_BINDING_PREFIX, buildPersonalServerLiteOwnerBindingMessage, createViemPersonalServerLiteOwnerBindingSigner, buildPersonalServerLiteOwnerBindingSignature, signPersonalServerLiteOwnerBinding, type PersonalServerLiteOwnerBindingPurpose, type PersonalServerLiteOwnerBindingMessage, type PersonalServerLiteOwnerBindingSigner, type ViemPersonalServerLiteOwnerBindingWalletClient, type ViemPersonalServerLiteOwnerBindingSignerSource, type BuildPersonalServerLiteOwnerBindingSignatureInput, type PersonalServerLiteOwnerBindingSignature, } from "./personal-server-lite/owner-binding";
|
|
42
|
-
export { ACCOUNT_PERSONAL_SERVER_REGISTRATION_INTENT, AccountPersonalServerRegistrationError, signPersonalServerRegistrationWithAccount, type AccountPersonalServerRegistrationIntent, type AccountPersonalServerRegistrationSignature, type AccountPersonalServerRegistrationStatus, type AccountPersonalServerRegistrationRequest, type AccountPersonalServerRegistrationConfig, type AccountSignedPersonalServerRegistration, type AccountConfirmationRequiredPersonalServerRegistration, type AccountFallbackSignedPersonalServerRegistration, type AccountPersonalServerRegistrationResult, } from "./account/personal-server-registration";
|
|
43
|
-
export { AccountPersonalServerLiteOwnerBindingError, signPersonalServerLiteOwnerBindingWithAccountClient, type AccountPersonalServerLiteOwnerBindingClient, type SignPersonalServerLiteOwnerBindingWithAccountClientConfig, } from "./account/personal-server-lite-owner-binding";
|
|
44
|
-
export { isDataPortabilityGatewayConfig, verifyGrantRegistration, type VerifyGrantRegistrationInput, type VerifyGrantRegistrationResult, } from "./protocol/grants";
|
|
45
|
-
export { FEE_REGISTRY_ABI, REGISTRATION_KIND_FOR_OP, getFee, getOpFee, type FeeKind, type FeeEntry, type OpFee, type FeeRegistryOptions, } from "./protocol/fee-registry";
|
|
46
|
-
export { escrowContractAddress, encodeDepositNativeData, encodeDepositTokenData, buildDepositNativeRequest, buildDepositTokenRequest, type DepositNativeInput, type DepositTokenInput, type DepositTransactionRequest, } from "./protocol/escrow-deposit";
|
|
47
|
-
export { DATA_REGISTRY_STATUS_ABI, DataPointStatus, dataRegistryContractAddress, encodeSetDataPointStatusData, buildSetDataPointStatusRequest, buildMarkDataPointUnavailableRequest, type SetDataPointStatusInput, type DataPointStatusTransactionRequest, } from "./protocol/data-point-status";
|
|
48
|
-
export { personalServerDataReadPath, buildPersonalServerDataReadRequest, readPersonalServerData, type BuildPersonalServerDataReadRequestParams, type ReadPersonalServerDataParams, } from "./protocol/personal-server-data";
|
|
49
|
-
export { ScopeSchema, parseScope, scopeToPathSegments, scopeMatchesPattern, scopeCoveredByGrant, type Scope, type ParsedScope, } from "./protocol/scopes";
|
|
50
|
-
export { DataFileEnvelopeSchema, createDataFileEnvelope, IngestResponseSchema, type DataFileEnvelope, type IngestResponse, } from "./protocol/data-file";
|
|
51
|
-
export { createGatewayClient, type GatewayEnvelope, type GatewayProof, type Builder, type Schema, type ServerInfo, type OwnerServerRecord, type OwnerServersResult, type GatewayGrantFee, type GatewayGrantStatus, type GatewayGrantResponse, type GrantListItem, type DataPointRecord, type DataPointListResult, type ListDataPointsOptions, type RegisterServerParams, type RegisterServerResult, type RegisterBuilderParams, type RegisterBuilderResult, type RegisterDataPointParams, type RegisterDataPointResult, type CreateGrantParams, type RevokeGrantParams, type AccessRecord, type PayForOperationParams, type PayForOperationResult, type SettleOpType, type SettleItem, type SettlePromoteResult, type SettleReconcileItem, type SettleParams, type SettleResult, type GatewayClient, } from "./protocol/gateway";
|
|
52
|
-
export { createEscrowGatewayClient, genericPaymentDomain, GENERIC_PAYMENT_TYPES, ESCROW_DEPOSIT_ABI, NATIVE_ASSET_ADDRESS, type GenericPaymentMessage, type EscrowBalanceEntry, type EscrowBalanceResult, type EscrowBalanceSyncResult, type DepositSubmissionResult, type PaymentBreakdown, type EscrowPayResult, type SubmitDepositParams, type PayForOpParams, type EscrowGatewayClient, type SubmittedDepositEntry, type FinalizedDepositEntry, type FailedDepositEntry, } from "./protocol/escrow";
|
|
53
|
-
export { PSError, parsePSError, type PSErrorCode } from "./types/ps-errors";
|
|
10
|
+
export type * from "./types.js";
|
|
11
|
+
export * from "./errors.js";
|
|
12
|
+
export * from "./contracts/contractController.js";
|
|
13
|
+
export { getAbi } from "./generated/abi/index.js";
|
|
14
|
+
export type { VanaContract, VanaContract as VanaContractAbi, } from "./generated/abi/index.js";
|
|
15
|
+
export { getContractAddress, CONTRACTS } from "./generated/addresses.js";
|
|
16
|
+
export type { VanaContractAddress } from "./generated/addresses.js";
|
|
17
|
+
export { vanaMainnet, mokshaTestnet, moksha, type VanaChainConfig, getChainConfig, getAllChains, } from "./chains.js";
|
|
18
|
+
export * from "./chains.js";
|
|
19
|
+
export { chains } from "./config/chains.js";
|
|
20
|
+
export { type ServiceEndpoints, mainnetServices, mokshaServices, getServiceEndpoints, } from "./config/default-services.js";
|
|
21
|
+
export * from "./storage/index.js";
|
|
22
|
+
export { createVanaStorageProvider } from "./storage/default.js";
|
|
23
|
+
export type { VanaStorageProviderOptions } from "./storage/default.js";
|
|
24
|
+
export { BrowserPlatformAdapter } from "./platform/browser.js";
|
|
25
|
+
export { BrowserECIESUint8Provider as BrowserECIESProvider } from "./crypto/ecies/browser.js";
|
|
26
|
+
export type { VanaPlatformAdapter } from "./platform/interface.js";
|
|
27
|
+
export { ECIESError, isECIESEncrypted, serializeECIES, deserializeECIES, } from "./crypto/ecies/index.js";
|
|
28
|
+
export type { ECIESProvider, ECIESEncrypted, ECIESOptions, } from "./crypto/ecies/index.js";
|
|
29
|
+
export { createBrowserPlatformAdapter, createPlatformAdapterSafe, } from "./platform/browser-only.js";
|
|
30
|
+
export { generatePkceVerifier, computePkceChallenge, verifyPkceChallenge, assertValidPkceVerifier, PKCE_VERIFIER_PATTERN, PKCE_CHALLENGE_PATTERN, } from "./auth/pkce.js";
|
|
31
|
+
export { InMemoryTokenStore, type TokenStore, type TokenRecord, } from "./auth/token-store.js";
|
|
32
|
+
export { OAuthClient, type OAuthClientConfig, type AuthorizationUrlResult, } from "./auth/oauth-client.js";
|
|
33
|
+
export { detectPlatform, isPlatformSupported, getPlatformCapabilities, } from "./platform/utils.js";
|
|
34
|
+
export { deriveMasterKey, deriveScopeKey, recoverServerOwner, MASTER_KEY_MESSAGE, } from "./crypto/keys/derive.js";
|
|
35
|
+
export { encryptWithPassword, decryptWithPassword, } from "./crypto/envelope/openpgp.js";
|
|
36
|
+
export { parseWeb3SignedHeader, verifyWeb3Signed, type Web3SignedPayload, type VerifiedAuth, } from "./auth/web3-signed.js";
|
|
37
|
+
export { buildWeb3SignedHeader, computeBodyHash, type Web3SignedSignFn, } from "./auth/web3-signed-builder.js";
|
|
38
|
+
export { MissingAuthError, InvalidSignatureError, ExpiredTokenError, } from "./auth/errors.js";
|
|
39
|
+
export { NATIVE_VANA_ASSET, dataRegistryDomain, grantRegistrationDomain, grantRevocationDomain, serverRegistrationDomain, builderRegistrationDomain, escrowPaymentDomain, GRANT_REGISTRATION_TYPES, GRANT_REVOCATION_TYPES, SERVER_REGISTRATION_TYPES, BUILDER_REGISTRATION_TYPES, ADD_DATA_TYPES, RECORD_DATA_ACCESS_TYPES, type DataPortabilityContracts, type DataPortabilityGatewayConfig, type GrantRegistrationMessage, type GrantRevocationMessage, type ServerRegistrationMessage, type BuilderRegistrationMessage, type AddDataMessage, type RecordDataAccessMessage, } from "./protocol/eip712.js";
|
|
40
|
+
export { PERSONAL_SERVER_REGISTRATION_DEFAULT_CHAIN_ID, PERSONAL_SERVER_REGISTRATION_DEFAULT_VERIFYING_CONTRACT, personalServerRegistrationDomain, createViemPersonalServerRegistrationSigner, buildPersonalServerRegistrationTypedData, buildPersonalServerRegistrationSignature, registerPersonalServerSignature, type PersonalServerRegistrationTypedData, type PersonalServerRegistrationSigner, type PersonalServerRegistrationDomainInput, type ViemPersonalServerRegistrationWalletClient, type ViemPersonalServerRegistrationSignerSource, type BuildPersonalServerRegistrationTypedDataInput, type BuildPersonalServerRegistrationSignatureInput, type PersonalServerRegistrationSignature, } from "./protocol/personal-server-registration.js";
|
|
41
|
+
export { PERSONAL_SERVER_LITE_OWNER_BINDING_VERSION, PERSONAL_SERVER_LITE_OWNER_BINDING_PURPOSE, PERSONAL_SERVER_LITE_OWNER_BINDING_PREFIX, buildPersonalServerLiteOwnerBindingMessage, createViemPersonalServerLiteOwnerBindingSigner, buildPersonalServerLiteOwnerBindingSignature, signPersonalServerLiteOwnerBinding, type PersonalServerLiteOwnerBindingPurpose, type PersonalServerLiteOwnerBindingMessage, type PersonalServerLiteOwnerBindingSigner, type ViemPersonalServerLiteOwnerBindingWalletClient, type ViemPersonalServerLiteOwnerBindingSignerSource, type BuildPersonalServerLiteOwnerBindingSignatureInput, type PersonalServerLiteOwnerBindingSignature, } from "./personal-server-lite/owner-binding.js";
|
|
42
|
+
export { ACCOUNT_PERSONAL_SERVER_REGISTRATION_INTENT, AccountPersonalServerRegistrationError, signPersonalServerRegistrationWithAccount, type AccountPersonalServerRegistrationIntent, type AccountPersonalServerRegistrationSignature, type AccountPersonalServerRegistrationStatus, type AccountPersonalServerRegistrationRequest, type AccountPersonalServerRegistrationConfig, type AccountSignedPersonalServerRegistration, type AccountConfirmationRequiredPersonalServerRegistration, type AccountFallbackSignedPersonalServerRegistration, type AccountPersonalServerRegistrationResult, } from "./account/personal-server-registration.js";
|
|
43
|
+
export { AccountPersonalServerLiteOwnerBindingError, signPersonalServerLiteOwnerBindingWithAccountClient, type AccountPersonalServerLiteOwnerBindingClient, type SignPersonalServerLiteOwnerBindingWithAccountClientConfig, } from "./account/personal-server-lite-owner-binding.js";
|
|
44
|
+
export { isDataPortabilityGatewayConfig, verifyGrantRegistration, type VerifyGrantRegistrationInput, type VerifyGrantRegistrationResult, } from "./protocol/grants.js";
|
|
45
|
+
export { FEE_REGISTRY_ABI, REGISTRATION_KIND_FOR_OP, getFee, getOpFee, type FeeKind, type FeeEntry, type OpFee, type FeeRegistryOptions, } from "./protocol/fee-registry.js";
|
|
46
|
+
export { escrowContractAddress, encodeDepositNativeData, encodeDepositTokenData, buildDepositNativeRequest, buildDepositTokenRequest, type DepositNativeInput, type DepositTokenInput, type DepositTransactionRequest, } from "./protocol/escrow-deposit.js";
|
|
47
|
+
export { DATA_REGISTRY_STATUS_ABI, DataPointStatus, dataRegistryContractAddress, encodeSetDataPointStatusData, buildSetDataPointStatusRequest, buildMarkDataPointUnavailableRequest, type SetDataPointStatusInput, type DataPointStatusTransactionRequest, } from "./protocol/data-point-status.js";
|
|
48
|
+
export { personalServerDataReadPath, buildPersonalServerDataReadRequest, readPersonalServerData, type BuildPersonalServerDataReadRequestParams, type ReadPersonalServerDataParams, } from "./protocol/personal-server-data.js";
|
|
49
|
+
export { ScopeSchema, parseScope, scopeToPathSegments, scopeMatchesPattern, scopeCoveredByGrant, type Scope, type ParsedScope, } from "./protocol/scopes.js";
|
|
50
|
+
export { DataFileEnvelopeSchema, createDataFileEnvelope, IngestResponseSchema, type DataFileEnvelope, type IngestResponse, } from "./protocol/data-file.js";
|
|
51
|
+
export { createGatewayClient, type GatewayEnvelope, type GatewayProof, type Builder, type Schema, type ServerInfo, type OwnerServerRecord, type OwnerServersResult, type GatewayGrantFee, type GatewayGrantStatus, type GatewayGrantResponse, type GrantListItem, type DataPointRecord, type DataPointListResult, type ListDataPointsOptions, type RegisterServerParams, type RegisterServerResult, type RegisterBuilderParams, type RegisterBuilderResult, type RegisterDataPointParams, type RegisterDataPointResult, type CreateGrantParams, type RevokeGrantParams, type AccessRecord, type PayForOperationParams, type PayForOperationResult, type SettleOpType, type SettleItem, type SettlePromoteResult, type SettleReconcileItem, type SettleParams, type SettleResult, type GatewayClient, } from "./protocol/gateway.js";
|
|
52
|
+
export { createEscrowGatewayClient, genericPaymentDomain, GENERIC_PAYMENT_TYPES, ESCROW_DEPOSIT_ABI, NATIVE_ASSET_ADDRESS, type GenericPaymentMessage, type EscrowBalanceEntry, type EscrowBalanceResult, type EscrowBalanceSyncResult, type DepositSubmissionResult, type PaymentBreakdown, type EscrowPayResult, type SubmitDepositParams, type PayForOpParams, type EscrowGatewayClient, type SubmittedDepositEntry, type FinalizedDepositEntry, type FailedDepositEntry, } from "./protocol/escrow.js";
|
|
53
|
+
export { PSError, parsePSError, type PSErrorCode } from "./types/ps-errors.js";
|