@shelby-protocol/sdk 0.0.9 → 0.2.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.
- package/dist/browser/index.d.ts +17 -10
- package/dist/browser/index.mjs +89 -28
- package/dist/{chunk-XWAPNLU6.mjs → chunk-2WEX3K7C.mjs} +6 -4
- package/dist/chunk-4MG4XGY4.mjs +91 -0
- package/dist/{chunk-SEXQTDX6.mjs → chunk-4ZOFT75Q.mjs} +16 -2
- package/dist/{chunk-BTHSKDJR.mjs → chunk-7PN65RDX.mjs} +44 -10
- package/dist/chunk-AABBONAF.mjs +34 -0
- package/dist/{chunk-ZPW742E7.mjs → chunk-AUQDI5BS.mjs} +17 -2
- package/dist/{chunk-HFGEQP5N.mjs → chunk-CGYJLKBU.mjs} +4 -4
- package/dist/chunk-CQ6QPIZK.mjs +37 -0
- package/dist/{chunk-VRLIOKWG.mjs → chunk-D6GQHO6G.mjs} +5 -1
- package/dist/chunk-E5QCRTBU.mjs +493 -0
- package/dist/chunk-HPPMI7DC.mjs +56 -0
- package/dist/chunk-IE6LYVIA.mjs +26 -0
- package/dist/{chunk-67F5YZ25.mjs → chunk-JTXYKO3U.mjs} +10 -0
- package/dist/{chunk-WJKSPJSS.mjs → chunk-KJ24NKPH.mjs} +46 -0
- package/dist/{chunk-WBFEX7OM.mjs → chunk-MV6FNYAU.mjs} +31 -7
- package/dist/{chunk-PZF2VTGP.mjs → chunk-NHWWORCH.mjs} +3 -1
- package/dist/{chunk-NLPIHQ7K.mjs → chunk-OGKZ575S.mjs} +6 -19
- package/dist/{chunk-5I3MBJGN.mjs → chunk-PJVWGMVI.mjs} +164 -35
- package/dist/{chunk-7UVMDCCR.mjs → chunk-SRV4YWFH.mjs} +232 -47
- package/dist/chunk-W37FZSMA.mjs +83 -0
- package/dist/chunk-WTICJPDB.mjs +0 -0
- package/dist/chunk-Z4FZ7W6L.mjs +39 -0
- package/dist/{chunk-QFWQ7FIC.mjs → chunk-ZEDD2MPU.mjs} +1 -1
- package/dist/{clay-codes-pdZFxI_B.d.ts → clay-codes-DHP-bYcP.d.ts} +6 -2
- package/dist/core/blobs.d.ts +2 -0
- package/dist/core/chunk.d.ts +10 -1
- package/dist/core/chunk.mjs +2 -2
- package/dist/core/clients/ShelbyBlobClient.d.ts +165 -12
- package/dist/core/clients/ShelbyBlobClient.mjs +13 -11
- package/dist/core/clients/ShelbyClient.d.ts +21 -4
- package/dist/core/clients/ShelbyClient.mjs +17 -14
- package/dist/core/clients/ShelbyClientConfig.d.ts +7 -2
- package/dist/{node → core}/clients/ShelbyMetadataClient.d.ts +3 -3
- package/dist/core/clients/ShelbyMetadataClient.mjs +9 -0
- package/dist/core/clients/ShelbyMicropaymentChannelClient.d.ts +349 -0
- package/dist/core/clients/ShelbyMicropaymentChannelClient.mjs +16 -0
- package/dist/core/clients/ShelbyPlacementGroupClient.d.ts +73 -0
- package/dist/core/clients/ShelbyPlacementGroupClient.mjs +11 -0
- package/dist/core/clients/ShelbyRPCClient.d.ts +30 -4
- package/dist/core/clients/ShelbyRPCClient.mjs +8 -8
- package/dist/core/clients/index.d.ts +11 -5
- package/dist/core/clients/index.mjs +35 -15
- package/dist/core/clients/utils.d.ts +54 -0
- package/dist/core/clients/utils.mjs +1 -1
- package/dist/core/commitments.d.ts +6 -2
- package/dist/core/commitments.mjs +5 -3
- package/dist/core/constants.d.ts +18 -3
- package/dist/core/constants.mjs +5 -1
- package/dist/core/erasure/clay-codes.d.ts +1 -1
- package/dist/core/erasure/clay-codes.mjs +5 -5
- package/dist/core/erasure/constants.d.ts +15 -3
- package/dist/core/erasure/constants.mjs +3 -1
- package/dist/core/erasure/default.d.ts +5 -2
- package/dist/core/erasure/default.mjs +12 -6
- package/dist/core/erasure/index.d.ts +3 -3
- package/dist/core/erasure/index.mjs +15 -7
- package/dist/core/erasure/provider.d.ts +1 -1
- package/dist/core/erasure/reed-solomon.d.ts +1 -1
- package/dist/core/erasure/reed-solomon.mjs +1 -1
- package/dist/core/erasure/utils.d.ts +1 -1
- package/dist/core/errors.d.ts +58 -0
- package/dist/core/errors.mjs +15 -0
- package/dist/core/index.d.ts +17 -10
- package/dist/core/index.mjs +89 -28
- package/dist/core/layout.d.ts +5 -16
- package/dist/core/layout.mjs +3 -9
- package/dist/core/networks.d.ts +1 -1
- package/dist/core/networks.mjs +1 -1
- package/dist/core/operations/generated/sdk.d.ts +207 -17
- package/dist/core/operations/generated/sdk.mjs +7 -1
- package/dist/core/operations/index.d.ts +9 -3
- package/dist/core/operations/index.mjs +10 -4
- package/dist/core/rpc-responses.d.ts +69 -0
- package/dist/core/rpc-responses.mjs +15 -0
- package/dist/core/types/blobs.d.ts +8 -4
- package/dist/core/types/encodings.d.ts +1 -1
- package/dist/core/types/index.d.ts +4 -2
- package/dist/core/types/index.mjs +12 -2
- package/dist/core/types/payments.d.ts +94 -0
- package/dist/core/types/payments.mjs +9 -0
- package/dist/core/types/placement_groups.d.ts +30 -1
- package/dist/core/types/placement_groups.mjs +1 -0
- package/dist/core/types/storage_providers.d.ts +32 -2
- package/dist/node/clients/ShelbyNodeClient.d.ts +9 -6
- package/dist/node/clients/ShelbyNodeClient.mjs +18 -15
- package/dist/node/clients/index.d.ts +7 -6
- package/dist/node/clients/index.mjs +19 -17
- package/dist/node/index.d.ts +17 -11
- package/dist/node/index.mjs +91 -34
- package/package.json +3 -2
- package/dist/chunk-CPNZAQVY.mjs +0 -29
- package/dist/chunk-GY5DCVVL.mjs +0 -86
- package/dist/chunk-RBFWGDMY.mjs +0 -30
- package/dist/node/clients/ShelbyMetadataClient.mjs +0 -9
- /package/dist/{chunk-DJJD2AXO.mjs → chunk-AD2G3QYD.mjs} +0 -0
- /package/dist/{chunk-MWDW4ROU.mjs → chunk-EM67QTMR.mjs} +0 -0
- /package/dist/{chunk-RNXGC54D.mjs → chunk-QQ57OGQ2.mjs} +0 -0
|
@@ -2,6 +2,60 @@ import { AptosConfig } from '@aptos-labs/ts-sdk';
|
|
|
2
2
|
import { ShelbyClientConfig } from './ShelbyClientConfig.js';
|
|
3
3
|
import '../networks.js';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* Creates an AptosConfig from a ShelbyClientConfig.
|
|
7
|
+
*
|
|
8
|
+
* This function handles the translation between Shelby's configuration format
|
|
9
|
+
* and the Aptos SDK's configuration format.
|
|
10
|
+
*
|
|
11
|
+
* ## Authoritative Settings (cannot be overridden by `config.aptos`)
|
|
12
|
+
*
|
|
13
|
+
* - `network` — always comes from `config.network`
|
|
14
|
+
* - `faucet.authToken` — always maps to `faucetConfig.AUTH_TOKEN`
|
|
15
|
+
*
|
|
16
|
+
* ## Merged Settings (from `config.aptos`)
|
|
17
|
+
*
|
|
18
|
+
* When `config.aptos` is provided, the following are merged:
|
|
19
|
+
* - `clientConfig` — `config.apiKey` provides the default `API_KEY`,
|
|
20
|
+
* but `config.aptos.clientConfig` values (including `API_KEY`) take precedence
|
|
21
|
+
* - `faucetConfig` — `config.aptos.faucetConfig` provides non-AUTH_TOKEN defaults
|
|
22
|
+
* (e.g. HEADERS), but `config.faucet.authToken` always wins for AUTH_TOKEN
|
|
23
|
+
* - All other `AptosSettings` fields (e.g. `fullnode`, `indexer`, `pluginSettings`)
|
|
24
|
+
* are passed through from `config.aptos`
|
|
25
|
+
*
|
|
26
|
+
* @param config - The ShelbyClientConfig to convert
|
|
27
|
+
* @returns An AptosConfig instance configured for the specified network
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import { Network } from "@aptos-labs/ts-sdk";
|
|
32
|
+
*
|
|
33
|
+
* // Simple usage - network and apiKey only
|
|
34
|
+
* const aptosConfig = getAptosConfig({
|
|
35
|
+
* network: Network.SHELBYNET,
|
|
36
|
+
* apiKey: "your-api-key",
|
|
37
|
+
* });
|
|
38
|
+
*
|
|
39
|
+
* // With faucet auth token
|
|
40
|
+
* const aptosConfig = getAptosConfig({
|
|
41
|
+
* network: Network.SHELBYNET,
|
|
42
|
+
* apiKey: "your-api-key",
|
|
43
|
+
* faucet: {
|
|
44
|
+
* authToken: "faucet-auth-token",
|
|
45
|
+
* },
|
|
46
|
+
* });
|
|
47
|
+
*
|
|
48
|
+
* // With custom aptos settings (advanced)
|
|
49
|
+
* const aptosConfig = getAptosConfig({
|
|
50
|
+
* network: Network.SHELBYNET,
|
|
51
|
+
* apiKey: "your-api-key",
|
|
52
|
+
* aptos: {
|
|
53
|
+
* fullnode: "https://custom-fullnode.example.com",
|
|
54
|
+
* clientConfig: { HEADERS: { "X-Custom": "value" } },
|
|
55
|
+
* },
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
58
|
+
*/
|
|
5
59
|
declare const getAptosConfig: (config: ShelbyClientConfig) => AptosConfig;
|
|
6
60
|
|
|
7
61
|
export { getAptosConfig };
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { Hex } from '@aptos-labs/ts-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
-
import { a as ErasureCodingProvider } from '../clay-codes-
|
|
3
|
+
import { a as ErasureCodingProvider } from '../clay-codes-DHP-bYcP.js';
|
|
4
4
|
import '@shelby-protocol/clay-codes';
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Current schema version for blob commitments
|
|
8
|
+
*/
|
|
9
|
+
declare const COMMITMENT_SCHEMA_VERSION = "1.3";
|
|
6
10
|
/**
|
|
7
11
|
* Defines the schema for the commitment format in commitments.json
|
|
8
12
|
* This is used for `shelby encode` and oher commands
|
|
@@ -129,4 +133,4 @@ declare function generateMerkleRoot(leafHashes: Hex[]): Promise<Hex>;
|
|
|
129
133
|
*/
|
|
130
134
|
declare function generateCommitments(provider: ErasureCodingProvider, fullData: ReadableStream<Uint8Array> | Uint8Array, onChunk?: (chunksetIdx: number, chunkIdx: number, chunkData: Uint8Array) => Promise<void> | void, options?: GenerateCommitmentsOptions): Promise<BlobCommitments>;
|
|
131
135
|
|
|
132
|
-
export { type BlobCommitments, BlobCommitmentsSchema, type ChunksetCommitment, ChunksetCommitmentSchema, type GenerateCommitmentsOptions, expectedTotalChunksets, generateCommitments, generateMerkleRoot };
|
|
136
|
+
export { type BlobCommitments, BlobCommitmentsSchema, COMMITMENT_SCHEMA_VERSION, type ChunksetCommitment, ChunksetCommitmentSchema, type GenerateCommitmentsOptions, expectedTotalChunksets, generateCommitments, generateMerkleRoot };
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlobCommitmentsSchema,
|
|
3
|
+
COMMITMENT_SCHEMA_VERSION,
|
|
3
4
|
ChunksetCommitmentSchema,
|
|
4
5
|
expectedTotalChunksets,
|
|
5
6
|
generateCommitments,
|
|
6
7
|
generateMerkleRoot
|
|
7
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-2WEX3K7C.mjs";
|
|
8
9
|
import "../chunk-4JZO2D7T.mjs";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-JTXYKO3U.mjs";
|
|
11
|
+
import "../chunk-AUQDI5BS.mjs";
|
|
11
12
|
import "../chunk-7P6ASYW6.mjs";
|
|
12
13
|
export {
|
|
13
14
|
BlobCommitmentsSchema,
|
|
15
|
+
COMMITMENT_SCHEMA_VERSION,
|
|
14
16
|
ChunksetCommitmentSchema,
|
|
15
17
|
expectedTotalChunksets,
|
|
16
18
|
generateCommitments,
|
package/dist/core/constants.d.ts
CHANGED
|
@@ -2,8 +2,9 @@ declare const DEFAULT_PROJECT_NAME = "shelby";
|
|
|
2
2
|
declare const DEFAULT_PROJECT_DESCRIPTION = "High performance, decentralized storage";
|
|
3
3
|
declare const NetworkToShelbyRPCBaseUrl: {
|
|
4
4
|
readonly shelbynet: "https://api.shelbynet.shelby.xyz/shelby";
|
|
5
|
+
readonly netna: undefined;
|
|
5
6
|
readonly devnet: undefined;
|
|
6
|
-
readonly testnet:
|
|
7
|
+
readonly testnet: "https://api.testnet.shelby.xyz/shelby";
|
|
7
8
|
readonly mainnet: undefined;
|
|
8
9
|
readonly local: undefined;
|
|
9
10
|
readonly custom: undefined;
|
|
@@ -13,13 +14,27 @@ declare const NetworkToShelbyRPCBaseUrl: {
|
|
|
13
14
|
*/
|
|
14
15
|
declare const NetworkToShelbyBlobIndexerBaseUrl: {
|
|
15
16
|
readonly shelbynet: "https://api.shelbynet.aptoslabs.com/nocode/v1/public/cmforrguw0042s601fn71f9l2/v1/graphql";
|
|
17
|
+
readonly netna: undefined;
|
|
16
18
|
readonly devnet: undefined;
|
|
17
|
-
readonly testnet:
|
|
19
|
+
readonly testnet: "https://api.testnet.aptoslabs.com/nocode/v1/public/cmlfqs5wt00qrs601zt5s4kfj/v1/graphql";
|
|
20
|
+
readonly mainnet: undefined;
|
|
21
|
+
readonly local: undefined;
|
|
22
|
+
readonly custom: undefined;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Mapping of Aptos networks to gas station URL.
|
|
26
|
+
*/
|
|
27
|
+
declare const NetworkToGasStationBaseUrl: {
|
|
28
|
+
readonly shelbynet: "https://api.shelbynet.shelby.xyz/gs/v1";
|
|
29
|
+
readonly netna: undefined;
|
|
30
|
+
readonly devnet: undefined;
|
|
31
|
+
readonly testnet: "https://api.testnet.shelby.xyz/gs/v1";
|
|
18
32
|
readonly mainnet: undefined;
|
|
19
33
|
readonly local: undefined;
|
|
20
34
|
readonly custom: undefined;
|
|
21
35
|
};
|
|
22
36
|
declare const SHELBY_DEPLOYER = "0xc63d6a5efb0080a6029403131715bd4971e1149f7cc099aac69bb0069b3ddbf5";
|
|
37
|
+
declare const MICROPAYMENTS_DEPLOYER = "0xb42ac038b6dae86f6171e28e297aab9555ce09909445ec579e4ffe6b8d4d63bf";
|
|
23
38
|
declare const TOKEN_DEPLOYER = "0x33009e852be7f93762dd0bf303383c2cb2c5cab7a30d8238ca5f9f177ae75124";
|
|
24
39
|
declare const TOKEN_OBJECT_ADDRESS = "0x249f5c642a63885ff88a5113b3ba0079840af5a1357706f8c7f3bfc5dd12511f";
|
|
25
40
|
declare const SHELBYUSD_TOKEN_ADDRESS = "0x249f5c642a63885ff88a5113b3ba0079840af5a1357706f8c7f3bfc5dd12511f";
|
|
@@ -27,4 +42,4 @@ declare const SHELBYUSD_TOKEN_MODULE = "shelby_usd";
|
|
|
27
42
|
declare const SHELBYUSD_TOKEN_NAME = "ShelbyUSD";
|
|
28
43
|
declare const SHELBYUSD_FA_METADATA_ADDRESS = "0x1b18363a9f1fe5e6ebf247daba5cc1c18052bb232efdc4c50f556053922d98e1";
|
|
29
44
|
|
|
30
|
-
export { DEFAULT_PROJECT_DESCRIPTION, DEFAULT_PROJECT_NAME, NetworkToShelbyBlobIndexerBaseUrl, NetworkToShelbyRPCBaseUrl, SHELBYUSD_FA_METADATA_ADDRESS, SHELBYUSD_TOKEN_ADDRESS, SHELBYUSD_TOKEN_MODULE, SHELBYUSD_TOKEN_NAME, SHELBY_DEPLOYER, TOKEN_DEPLOYER, TOKEN_OBJECT_ADDRESS };
|
|
45
|
+
export { DEFAULT_PROJECT_DESCRIPTION, DEFAULT_PROJECT_NAME, MICROPAYMENTS_DEPLOYER, NetworkToGasStationBaseUrl, NetworkToShelbyBlobIndexerBaseUrl, NetworkToShelbyRPCBaseUrl, SHELBYUSD_FA_METADATA_ADDRESS, SHELBYUSD_TOKEN_ADDRESS, SHELBYUSD_TOKEN_MODULE, SHELBYUSD_TOKEN_NAME, SHELBY_DEPLOYER, TOKEN_DEPLOYER, TOKEN_OBJECT_ADDRESS };
|
package/dist/core/constants.mjs
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_PROJECT_DESCRIPTION,
|
|
3
3
|
DEFAULT_PROJECT_NAME,
|
|
4
|
+
MICROPAYMENTS_DEPLOYER,
|
|
5
|
+
NetworkToGasStationBaseUrl,
|
|
4
6
|
NetworkToShelbyBlobIndexerBaseUrl,
|
|
5
7
|
NetworkToShelbyRPCBaseUrl,
|
|
6
8
|
SHELBYUSD_FA_METADATA_ADDRESS,
|
|
@@ -10,11 +12,13 @@ import {
|
|
|
10
12
|
SHELBY_DEPLOYER,
|
|
11
13
|
TOKEN_DEPLOYER,
|
|
12
14
|
TOKEN_OBJECT_ADDRESS
|
|
13
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-4ZOFT75Q.mjs";
|
|
14
16
|
import "../chunk-7P6ASYW6.mjs";
|
|
15
17
|
export {
|
|
16
18
|
DEFAULT_PROJECT_DESCRIPTION,
|
|
17
19
|
DEFAULT_PROJECT_NAME,
|
|
20
|
+
MICROPAYMENTS_DEPLOYER,
|
|
21
|
+
NetworkToGasStationBaseUrl,
|
|
18
22
|
NetworkToShelbyBlobIndexerBaseUrl,
|
|
19
23
|
NetworkToShelbyRPCBaseUrl,
|
|
20
24
|
SHELBYUSD_FA_METADATA_ADDRESS,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@shelby-protocol/clay-codes';
|
|
2
|
-
export {
|
|
2
|
+
export { b as ClayConfig, g as ClayDecodeConfig, f as ClayErasureCodeParams, C as ClayErasureCodingProvider, c as ClayProviderOptions, h as buildClayConfig } from '../../clay-codes-DHP-bYcP.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
ClayErasureCodingProvider
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
import "../../chunk-ZPW742E7.mjs";
|
|
2
|
+
ClayErasureCodingProvider,
|
|
3
|
+
buildClayConfig
|
|
4
|
+
} from "../../chunk-OGKZ575S.mjs";
|
|
6
5
|
import "../../chunk-7P6ASYW6.mjs";
|
|
7
6
|
export {
|
|
8
|
-
ClayErasureCodingProvider
|
|
7
|
+
ClayErasureCodingProvider,
|
|
8
|
+
buildClayConfig
|
|
9
9
|
};
|
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
* Erasure coding schemes supported by Shelby.
|
|
7
7
|
*/
|
|
8
8
|
declare enum ErasureCodingScheme {
|
|
9
|
-
ClayCode_16Total_10Data_13Helper = "ClayCode_16Total_10Data_13Helper"
|
|
9
|
+
ClayCode_16Total_10Data_13Helper = "ClayCode_16Total_10Data_13Helper",
|
|
10
|
+
ClayCode_4Total_2Data_3Helper = "ClayCode_4Total_2Data_3Helper"
|
|
10
11
|
}
|
|
11
12
|
/**
|
|
12
13
|
* Union of all supported erasure coding parameter types.
|
|
13
14
|
* When new erasure schemes are added, union them to this type.
|
|
14
15
|
*/
|
|
15
|
-
type ErasureSchemeParams = (typeof ERASURE_CODE_PARAMS)["ClayCode_16Total_10Data_13Helper"]
|
|
16
|
+
type ErasureSchemeParams = (typeof ERASURE_CODE_PARAMS)["ClayCode_16Total_10Data_13Helper"] | (typeof ERASURE_CODE_PARAMS)["ClayCode_4Total_2Data_3Helper"];
|
|
16
17
|
type ErasureCodeParams = Record<ErasureCodingScheme, ErasureSchemeParams>;
|
|
17
18
|
/**
|
|
18
19
|
* Parameters for each supported erasure coding scheme.
|
|
@@ -26,6 +27,13 @@ declare const ERASURE_CODE_PARAMS: {
|
|
|
26
27
|
readonly erasure_n: 16;
|
|
27
28
|
readonly erasure_k: 10;
|
|
28
29
|
readonly erasure_d: 13;
|
|
30
|
+
readonly enumIndex: 0;
|
|
31
|
+
};
|
|
32
|
+
readonly ClayCode_4Total_2Data_3Helper: {
|
|
33
|
+
readonly erasure_n: 4;
|
|
34
|
+
readonly erasure_k: 2;
|
|
35
|
+
readonly erasure_d: 3;
|
|
36
|
+
readonly enumIndex: 1;
|
|
29
37
|
};
|
|
30
38
|
};
|
|
31
39
|
/**
|
|
@@ -44,5 +52,9 @@ declare const DEFAULT_ERASURE_D: 13;
|
|
|
44
52
|
* The number of parity chunks in the erasure coding scheme (derived as n - k).
|
|
45
53
|
*/
|
|
46
54
|
declare const DEFAULT_ERASURE_M: number;
|
|
55
|
+
/**
|
|
56
|
+
* The size of a sample in a Chunk.
|
|
57
|
+
*/
|
|
58
|
+
declare const DEFAULT_SAMPLE_SIZE = 1024;
|
|
47
59
|
|
|
48
|
-
export { DEFAULT_ERASURE_D, DEFAULT_ERASURE_K, DEFAULT_ERASURE_M, DEFAULT_ERASURE_N, ERASURE_CODE_PARAMS, type ErasureCodeParams, ErasureCodingScheme, type ErasureSchemeParams };
|
|
60
|
+
export { DEFAULT_ERASURE_D, DEFAULT_ERASURE_K, DEFAULT_ERASURE_M, DEFAULT_ERASURE_N, DEFAULT_SAMPLE_SIZE, ERASURE_CODE_PARAMS, type ErasureCodeParams, ErasureCodingScheme, type ErasureSchemeParams };
|
|
@@ -3,15 +3,17 @@ import {
|
|
|
3
3
|
DEFAULT_ERASURE_K,
|
|
4
4
|
DEFAULT_ERASURE_M,
|
|
5
5
|
DEFAULT_ERASURE_N,
|
|
6
|
+
DEFAULT_SAMPLE_SIZE,
|
|
6
7
|
ERASURE_CODE_PARAMS,
|
|
7
8
|
ErasureCodingScheme
|
|
8
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-AUQDI5BS.mjs";
|
|
9
10
|
import "../../chunk-7P6ASYW6.mjs";
|
|
10
11
|
export {
|
|
11
12
|
DEFAULT_ERASURE_D,
|
|
12
13
|
DEFAULT_ERASURE_K,
|
|
13
14
|
DEFAULT_ERASURE_M,
|
|
14
15
|
DEFAULT_ERASURE_N,
|
|
16
|
+
DEFAULT_SAMPLE_SIZE,
|
|
15
17
|
ERASURE_CODE_PARAMS,
|
|
16
18
|
ErasureCodingScheme
|
|
17
19
|
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import { C as ClayErasureCodingProvider } from '../../clay-codes-
|
|
1
|
+
import { C as ClayErasureCodingProvider, b as ClayConfig } from '../../clay-codes-DHP-bYcP.js';
|
|
2
2
|
import '@shelby-protocol/clay-codes';
|
|
3
3
|
|
|
4
4
|
declare function createDefaultErasureCodingProvider(): Promise<ClayErasureCodingProvider>;
|
|
5
|
+
declare function defaultErasureCodingConfig(): ClayConfig;
|
|
6
|
+
declare function erasureCodingConfig16Total10Data13Helper(): ClayConfig;
|
|
7
|
+
declare function erasureCodingConfig4Total2Data3Helper(): ClayConfig;
|
|
5
8
|
|
|
6
|
-
export { createDefaultErasureCodingProvider };
|
|
9
|
+
export { createDefaultErasureCodingProvider, defaultErasureCodingConfig, erasureCodingConfig16Total10Data13Helper, erasureCodingConfig4Total2Data3Helper };
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
createDefaultErasureCodingProvider
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
createDefaultErasureCodingProvider,
|
|
3
|
+
defaultErasureCodingConfig,
|
|
4
|
+
erasureCodingConfig16Total10Data13Helper,
|
|
5
|
+
erasureCodingConfig4Total2Data3Helper
|
|
6
|
+
} from "../../chunk-HPPMI7DC.mjs";
|
|
7
|
+
import "../../chunk-OGKZ575S.mjs";
|
|
8
|
+
import "../../chunk-JTXYKO3U.mjs";
|
|
9
|
+
import "../../chunk-AUQDI5BS.mjs";
|
|
7
10
|
import "../../chunk-7P6ASYW6.mjs";
|
|
8
11
|
export {
|
|
9
|
-
createDefaultErasureCodingProvider
|
|
12
|
+
createDefaultErasureCodingProvider,
|
|
13
|
+
defaultErasureCodingConfig,
|
|
14
|
+
erasureCodingConfig16Total10Data13Helper,
|
|
15
|
+
erasureCodingConfig4Total2Data3Helper
|
|
10
16
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClayErasureCodingProvider, D as DecodeConfig, E as ErasureCodingConfig, a as ErasureCodingProvider, R as ReedSolomonErasureCodingProvider } from '../../clay-codes-
|
|
2
|
-
export { DEFAULT_ERASURE_D, DEFAULT_ERASURE_K, DEFAULT_ERASURE_M, DEFAULT_ERASURE_N, ERASURE_CODE_PARAMS, ErasureCodeParams, ErasureCodingScheme, ErasureSchemeParams } from './constants.js';
|
|
3
|
-
export { createDefaultErasureCodingProvider } from './default.js';
|
|
1
|
+
export { C as ClayErasureCodingProvider, D as DecodeConfig, E as ErasureCodingConfig, a as ErasureCodingProvider, R as ReedSolomonErasureCodingProvider } from '../../clay-codes-DHP-bYcP.js';
|
|
2
|
+
export { DEFAULT_ERASURE_D, DEFAULT_ERASURE_K, DEFAULT_ERASURE_M, DEFAULT_ERASURE_N, DEFAULT_SAMPLE_SIZE, ERASURE_CODE_PARAMS, ErasureCodeParams, ErasureCodingScheme, ErasureSchemeParams } from './constants.js';
|
|
3
|
+
export { createDefaultErasureCodingProvider, defaultErasureCodingConfig, erasureCodingConfig16Total10Data13Helper, erasureCodingConfig4Total2Data3Helper } from './default.js';
|
|
4
4
|
import '@shelby-protocol/clay-codes';
|
|
@@ -1,22 +1,26 @@
|
|
|
1
1
|
import "../../chunk-XNEIWM4O.mjs";
|
|
2
2
|
import {
|
|
3
|
-
createDefaultErasureCodingProvider
|
|
4
|
-
|
|
3
|
+
createDefaultErasureCodingProvider,
|
|
4
|
+
defaultErasureCodingConfig,
|
|
5
|
+
erasureCodingConfig16Total10Data13Helper,
|
|
6
|
+
erasureCodingConfig4Total2Data3Helper
|
|
7
|
+
} from "../../chunk-HPPMI7DC.mjs";
|
|
5
8
|
import {
|
|
6
9
|
ClayErasureCodingProvider
|
|
7
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-OGKZ575S.mjs";
|
|
8
11
|
import {
|
|
9
12
|
ReedSolomonErasureCodingProvider
|
|
10
|
-
} from "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
13
|
+
} from "../../chunk-NHWWORCH.mjs";
|
|
14
|
+
import "../../chunk-JTXYKO3U.mjs";
|
|
12
15
|
import {
|
|
13
16
|
DEFAULT_ERASURE_D,
|
|
14
17
|
DEFAULT_ERASURE_K,
|
|
15
18
|
DEFAULT_ERASURE_M,
|
|
16
19
|
DEFAULT_ERASURE_N,
|
|
20
|
+
DEFAULT_SAMPLE_SIZE,
|
|
17
21
|
ERASURE_CODE_PARAMS,
|
|
18
22
|
ErasureCodingScheme
|
|
19
|
-
} from "../../chunk-
|
|
23
|
+
} from "../../chunk-AUQDI5BS.mjs";
|
|
20
24
|
import "../../chunk-7P6ASYW6.mjs";
|
|
21
25
|
export {
|
|
22
26
|
ClayErasureCodingProvider,
|
|
@@ -24,8 +28,12 @@ export {
|
|
|
24
28
|
DEFAULT_ERASURE_K,
|
|
25
29
|
DEFAULT_ERASURE_M,
|
|
26
30
|
DEFAULT_ERASURE_N,
|
|
31
|
+
DEFAULT_SAMPLE_SIZE,
|
|
27
32
|
ERASURE_CODE_PARAMS,
|
|
28
33
|
ErasureCodingScheme,
|
|
29
34
|
ReedSolomonErasureCodingProvider,
|
|
30
|
-
createDefaultErasureCodingProvider
|
|
35
|
+
createDefaultErasureCodingProvider,
|
|
36
|
+
defaultErasureCodingConfig,
|
|
37
|
+
erasureCodingConfig16Total10Data13Helper,
|
|
38
|
+
erasureCodingConfig4Total2Data3Helper
|
|
31
39
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@shelby-protocol/clay-codes';
|
|
2
|
-
export { D as DecodeConfig, E as ErasureCodingConfig, a as ErasureCodingProvider, I as InitConfig } from '../../clay-codes-
|
|
2
|
+
export { D as DecodeConfig, E as ErasureCodingConfig, a as ErasureCodingProvider, I as InitConfig } from '../../clay-codes-DHP-bYcP.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import '@shelby-protocol/clay-codes';
|
|
2
|
-
export {
|
|
2
|
+
export { d as ReedSolomonConfig, R as ReedSolomonErasureCodingProvider, e as ReedSolomonProviderOptions } from '../../clay-codes-DHP-bYcP.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ErasureCodingProvider } from '../../clay-codes-
|
|
1
|
+
import { a as ErasureCodingProvider } from '../../clay-codes-DHP-bYcP.js';
|
|
2
2
|
import '@shelby-protocol/clay-codes';
|
|
3
3
|
|
|
4
4
|
declare function allocateAndCopy(data: Uint8Array, desiredLength: number): Uint8Array;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shelby contract error codes from Move modules.
|
|
3
|
+
*
|
|
4
|
+
* These error codes are returned by the Shelby Move contracts when
|
|
5
|
+
* transactions fail due to validation or authorization errors.
|
|
6
|
+
*
|
|
7
|
+
* @see move/shelby_contract/sources/blob_metadata.move
|
|
8
|
+
*/
|
|
9
|
+
declare const ShelbyErrorCodes: {
|
|
10
|
+
readonly E_BLOB_NOT_FOUND: "E_BLOB_NOT_FOUND";
|
|
11
|
+
readonly E_INVALID_EXPIRATION_TIME: "E_INVALID_EXPIRATION_TIME";
|
|
12
|
+
readonly E_TEST_ENCODING_NOT_ALLOWED: "E_TEST_ENCODING_NOT_ALLOWED";
|
|
13
|
+
readonly E_BLOB_NOT_EXPIRED: "E_BLOB_NOT_EXPIRED";
|
|
14
|
+
readonly E_INVALID_CHUNKSET_COUNT: "E_INVALID_CHUNKSET_COUNT";
|
|
15
|
+
readonly E_NOT_BLOB_OWNER: "E_NOT_BLOB_OWNER";
|
|
16
|
+
readonly E_NOT_ADMIN: "E_NOT_ADMIN";
|
|
17
|
+
readonly E_BLOB_EXPIRED: "E_BLOB_EXPIRED";
|
|
18
|
+
readonly E_BLOB_NAME_TOO_LONG: "E_BLOB_NAME_TOO_LONG";
|
|
19
|
+
readonly E_INVALID_PAYMENT_EPOCHS: "E_INVALID_PAYMENT_EPOCHS";
|
|
20
|
+
readonly E_NO_SLICES_AVAILABLE: "E_NO_SLICES_AVAILABLE";
|
|
21
|
+
readonly EALREADY_EXISTS: "EALREADY_EXISTS";
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Check if an error message indicates a blob already exists on chain.
|
|
25
|
+
*
|
|
26
|
+
* This occurs when trying to register a blob with a name that's already
|
|
27
|
+
* registered under the same account.
|
|
28
|
+
*
|
|
29
|
+
* @param errorMessage - The error message from a failed transaction
|
|
30
|
+
* @returns true if the error indicates the blob already exists
|
|
31
|
+
*/
|
|
32
|
+
declare function isBlobAlreadyExistsError(errorMessage: string): boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Check if an error message indicates an access/permission denied error.
|
|
35
|
+
*
|
|
36
|
+
* This covers scenarios where the caller doesn't have permission to
|
|
37
|
+
* perform the requested operation on a blob or account.
|
|
38
|
+
*
|
|
39
|
+
* @param errorMessage - The error message from a failed transaction
|
|
40
|
+
* @returns true if the error indicates access was denied
|
|
41
|
+
*/
|
|
42
|
+
declare function isAccessDeniedError(errorMessage: string): boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Check if an error message indicates the blob was not found.
|
|
45
|
+
*
|
|
46
|
+
* @param errorMessage - The error message from a failed transaction
|
|
47
|
+
* @returns true if the error indicates the blob doesn't exist
|
|
48
|
+
*/
|
|
49
|
+
declare function isBlobNotFoundError(errorMessage: string): boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Check if an error message indicates the blob has expired.
|
|
52
|
+
*
|
|
53
|
+
* @param errorMessage - The error message from a failed transaction
|
|
54
|
+
* @returns true if the error indicates the blob has expired
|
|
55
|
+
*/
|
|
56
|
+
declare function isBlobExpiredError(errorMessage: string): boolean;
|
|
57
|
+
|
|
58
|
+
export { ShelbyErrorCodes, isAccessDeniedError, isBlobAlreadyExistsError, isBlobExpiredError, isBlobNotFoundError };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ShelbyErrorCodes,
|
|
3
|
+
isAccessDeniedError,
|
|
4
|
+
isBlobAlreadyExistsError,
|
|
5
|
+
isBlobExpiredError,
|
|
6
|
+
isBlobNotFoundError
|
|
7
|
+
} from "../chunk-CQ6QPIZK.mjs";
|
|
8
|
+
import "../chunk-7P6ASYW6.mjs";
|
|
9
|
+
export {
|
|
10
|
+
ShelbyErrorCodes,
|
|
11
|
+
isAccessDeniedError,
|
|
12
|
+
isBlobAlreadyExistsError,
|
|
13
|
+
isBlobExpiredError,
|
|
14
|
+
isBlobNotFoundError
|
|
15
|
+
};
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,23 +1,30 @@
|
|
|
1
1
|
export { getAptosAccountExplorerUrl, getAptosTransactionExplorerUrl } from './aptos-explorer.js';
|
|
2
2
|
export { ShelbyBlob, createBlobKey } from './blobs.js';
|
|
3
3
|
export { CHUNK_SIZE_PARAMS, ChunkSizeScheme, DEFAULT_CHUNKSET_SIZE_BYTES, DEFAULT_CHUNK_SIZE_BYTES, ERASURE_CODE_AND_CHUNK_MAPPING } from './chunk.js';
|
|
4
|
-
export { ShelbyBlobClient } from './clients/ShelbyBlobClient.js';
|
|
4
|
+
export { AckTransactionOptions, BuildOptions, MissingTransactionSubmitterError, ShelbyBlobClient, UsdSponsorOptions, WriteBlobCommitmentsOptions } from './clients/ShelbyBlobClient.js';
|
|
5
5
|
export { ShelbyClient, UploadOptions } from './clients/ShelbyClient.js';
|
|
6
6
|
export { ShelbyClientConfig, ShelbyIndexerConfig, ShelbyRPCConfig } from './clients/ShelbyClientConfig.js';
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
7
|
+
export { ShelbyMetadataClient } from './clients/ShelbyMetadataClient.js';
|
|
8
|
+
export { ShelbyMicropaymentChannelClient } from './clients/ShelbyMicropaymentChannelClient.js';
|
|
9
|
+
export { ShelbyPlacementGroupClient } from './clients/ShelbyPlacementGroupClient.js';
|
|
10
|
+
export { BlobDataSource, PutBlobProgress, ShelbyRPCClient } from './clients/ShelbyRPCClient.js';
|
|
11
|
+
export { BlobCommitments, BlobCommitmentsSchema, COMMITMENT_SCHEMA_VERSION, ChunksetCommitment, ChunksetCommitmentSchema, GenerateCommitmentsOptions, expectedTotalChunksets, generateCommitments, generateMerkleRoot } from './commitments.js';
|
|
12
|
+
export { DEFAULT_PROJECT_DESCRIPTION, DEFAULT_PROJECT_NAME, MICROPAYMENTS_DEPLOYER, NetworkToGasStationBaseUrl, NetworkToShelbyBlobIndexerBaseUrl, NetworkToShelbyRPCBaseUrl, SHELBYUSD_FA_METADATA_ADDRESS, SHELBYUSD_TOKEN_ADDRESS, SHELBYUSD_TOKEN_MODULE, SHELBYUSD_TOKEN_NAME, SHELBY_DEPLOYER, TOKEN_DEPLOYER, TOKEN_OBJECT_ADDRESS } from './constants.js';
|
|
13
|
+
export { C as ClayErasureCodingProvider, D as DecodeConfig, E as ErasureCodingConfig, a as ErasureCodingProvider, R as ReedSolomonErasureCodingProvider } from '../clay-codes-DHP-bYcP.js';
|
|
14
|
+
export { DEFAULT_ERASURE_D, DEFAULT_ERASURE_K, DEFAULT_ERASURE_M, DEFAULT_ERASURE_N, DEFAULT_SAMPLE_SIZE, ERASURE_CODE_PARAMS, ErasureCodeParams, ErasureCodingScheme, ErasureSchemeParams } from './erasure/constants.js';
|
|
15
|
+
export { createDefaultErasureCodingProvider, defaultErasureCodingConfig, erasureCodingConfig16Total10Data13Helper, erasureCodingConfig4Total2Data3Helper } from './erasure/default.js';
|
|
16
|
+
export { ShelbyErrorCodes, isAccessDeniedError, isBlobAlreadyExistsError, isBlobExpiredError, isBlobNotFoundError } from './errors.js';
|
|
17
|
+
export { BlobName, BlobNameSchema, ChunkKey } from './layout.js';
|
|
14
18
|
export { ShelbyNetwork, isShelbyNetwork, shelbyNetworks } from './networks.js';
|
|
15
19
|
export { ShelbyIndexerClient, createShelbyIndexerClient, getShelbyIndexerClient } from './operations/index.js';
|
|
20
|
+
export { CompleteMultipartUploadResponse, CompleteMultipartUploadResponseSchema, RPCErrorResponse, RPCErrorResponseSchema, StaleMicropaymentErrorResponse, StaleMicropaymentErrorResponseSchema, StartMultipartUploadResponse, StartMultipartUploadResponseSchema, UploadPartResponse, UploadPartResponseSchema } from './rpc-responses.js';
|
|
16
21
|
export { getShelbyAccountBlobsExplorerUrl, getShelbyAccountExplorerUrl, getShelbyBlobExplorerUrl } from './shelby-explorer.js';
|
|
17
22
|
export { BlobActivity, BlobActivityType, BlobEncoding, BlobMetadata, ClayEncoding, StorageProviderAck } from './types/blobs.js';
|
|
18
|
-
export {
|
|
23
|
+
export { ChannelInfo, SenderBuiltMicropayment, StaleChannelStateError } from './types/payments.js';
|
|
24
|
+
export { PlacementGroupInfo, PlacementGroupSlot, PlacementGroupSlotStatus } from './types/placement_groups.js';
|
|
25
|
+
export { ActiveStateDetails, FrozenStateDetails, StorageProviderInfo, StorageProviderStateDetails, WaitlistedStateDetails } from './types/storage_providers.js';
|
|
19
26
|
export { buildRequestUrl, concatHashes, getBlobNameSuffix, readInChunks, zeroPadBytes } from './utils.js';
|
|
20
|
-
export { Bigint_Comparison_Exp, Blob_Activities, Blob_Activities_Aggregate, Blob_Activities_Aggregate_Fields, Blob_Activities_Aggregate_FieldsCountArgs, Blob_Activities_Avg_Fields, Blob_Activities_Bool_Exp, Blob_Activities_Max_Fields, Blob_Activities_Min_Fields, Blob_Activities_Order_By, Blob_Activities_Select_Column, Blob_Activities_Stddev_Fields, Blob_Activities_Stddev_Pop_Fields, Blob_Activities_Stddev_Samp_Fields, Blob_Activities_Stream_Cursor_Input, Blob_Activities_Stream_Cursor_Value_Input, Blob_Activities_Sum_Fields, Blob_Activities_Var_Pop_Fields, Blob_Activities_Var_Samp_Fields, Blob_Activities_Variance_Fields, Blobs, BlobsPlacement_Group_SlotsArgs, Blobs_Aggregate, Blobs_Aggregate_Fields, Blobs_Aggregate_FieldsCountArgs, Blobs_Avg_Fields, Blobs_Bool_Exp, Blobs_Max_Fields, Blobs_Min_Fields, Blobs_Order_By, Blobs_Select_Column, Blobs_Stddev_Fields, Blobs_Stddev_Pop_Fields, Blobs_Stddev_Samp_Fields, Blobs_Stream_Cursor_Input, Blobs_Stream_Cursor_Value_Input, Blobs_Sum_Fields, Blobs_Var_Pop_Fields, Blobs_Var_Samp_Fields, Blobs_Variance_Fields, Cursor_Ordering, Exact, GetBlobActivitiesCountDocument, GetBlobActivitiesCountQuery, GetBlobActivitiesCountQueryVariables, GetBlobActivitiesDocument, GetBlobActivitiesQuery, GetBlobActivitiesQueryVariables, GetBlobsCountDocument, GetBlobsCountQuery, GetBlobsCountQueryVariables, GetBlobsDocument, GetBlobsQuery, GetBlobsQueryVariables, Incremental, InputMaybe, MakeEmpty, MakeMaybe, MakeOptional, Maybe, Numeric_Comparison_Exp, Order_By, Placement_Group_Slots, Placement_Group_Slots_Aggregate_Order_By, Placement_Group_Slots_Avg_Order_By, Placement_Group_Slots_Bool_Exp, Placement_Group_Slots_Max_Order_By, Placement_Group_Slots_Min_Order_By, Placement_Group_Slots_Order_By, Placement_Group_Slots_Select_Column, Placement_Group_Slots_Stddev_Order_By, Placement_Group_Slots_Stddev_Pop_Order_By, Placement_Group_Slots_Stddev_Samp_Order_By, Placement_Group_Slots_Stream_Cursor_Input, Placement_Group_Slots_Stream_Cursor_Value_Input, Placement_Group_Slots_Sum_Order_By, Placement_Group_Slots_Var_Pop_Order_By, Placement_Group_Slots_Var_Samp_Order_By, Placement_Group_Slots_Variance_Order_By, Processor_Status, Processor_Status_Bool_Exp, Processor_Status_Order_By, Processor_Status_Select_Column, Processor_Status_Stream_Cursor_Input, Processor_Status_Stream_Cursor_Value_Input, Query_Root, Query_RootBlob_ActivitiesArgs, Query_RootBlob_Activities_AggregateArgs, Query_RootBlob_Activities_By_PkArgs, Query_RootBlobsArgs, Query_RootBlobs_AggregateArgs, Query_RootBlobs_By_PkArgs, Query_RootPlacement_Group_SlotsArgs, Query_RootPlacement_Group_Slots_By_PkArgs, Query_RootProcessor_StatusArgs, Scalars, Sdk, SdkFunctionWrapper, String_Comparison_Exp, Subscription_Root, Subscription_RootBlob_ActivitiesArgs, Subscription_RootBlob_Activities_AggregateArgs, Subscription_RootBlob_Activities_By_PkArgs, Subscription_RootBlob_Activities_StreamArgs, Subscription_RootBlobsArgs, Subscription_RootBlobs_AggregateArgs, Subscription_RootBlobs_By_PkArgs, Subscription_RootBlobs_StreamArgs, Subscription_RootPlacement_Group_SlotsArgs, Subscription_RootPlacement_Group_Slots_By_PkArgs, Subscription_RootPlacement_Group_Slots_StreamArgs, Subscription_RootProcessor_StatusArgs, Subscription_RootProcessor_Status_StreamArgs, Timestamp_Comparison_Exp, getSdk } from './operations/generated/sdk.js';
|
|
27
|
+
export { Bigint_Comparison_Exp, Blob_Activities, Blob_Activities_Aggregate, Blob_Activities_Aggregate_Fields, Blob_Activities_Aggregate_FieldsCountArgs, Blob_Activities_Avg_Fields, Blob_Activities_Bool_Exp, Blob_Activities_Max_Fields, Blob_Activities_Min_Fields, Blob_Activities_Order_By, Blob_Activities_Select_Column, Blob_Activities_Stddev_Fields, Blob_Activities_Stddev_Pop_Fields, Blob_Activities_Stddev_Samp_Fields, Blob_Activities_Stream_Cursor_Input, Blob_Activities_Stream_Cursor_Value_Input, Blob_Activities_Sum_Fields, Blob_Activities_Var_Pop_Fields, Blob_Activities_Var_Samp_Fields, Blob_Activities_Variance_Fields, Blobs, BlobsPlacement_Group_SlotsArgs, BlobsPlacement_Group_Slots_AggregateArgs, Blobs_Aggregate, Blobs_Aggregate_Fields, Blobs_Aggregate_FieldsCountArgs, Blobs_Avg_Fields, Blobs_Bool_Exp, Blobs_Max_Fields, Blobs_Min_Fields, Blobs_Order_By, Blobs_Select_Column, Blobs_Stddev_Fields, Blobs_Stddev_Pop_Fields, Blobs_Stddev_Samp_Fields, Blobs_Stream_Cursor_Input, Blobs_Stream_Cursor_Value_Input, Blobs_Sum_Fields, Blobs_Var_Pop_Fields, Blobs_Var_Samp_Fields, Blobs_Variance_Fields, Cursor_Ordering, Exact, GetBlobActivitiesCountDocument, GetBlobActivitiesCountQuery, GetBlobActivitiesCountQueryVariables, GetBlobActivitiesDocument, GetBlobActivitiesQuery, GetBlobActivitiesQueryVariables, GetBlobsCountDocument, GetBlobsCountQuery, GetBlobsCountQueryVariables, GetBlobsDocument, GetBlobsQuery, GetBlobsQueryVariables, GetPlacementGroupSlotsCountDocument, GetPlacementGroupSlotsCountQuery, GetPlacementGroupSlotsCountQueryVariables, GetPlacementGroupSlotsDocument, GetPlacementGroupSlotsQuery, GetPlacementGroupSlotsQueryVariables, GetProcessorStatusDocument, GetProcessorStatusQuery, GetProcessorStatusQueryVariables, Incremental, InputMaybe, Int_Comparison_Exp, MakeEmpty, MakeMaybe, MakeOptional, Maybe, Numeric_Comparison_Exp, Order_By, Placement_Group_Slots, Placement_Group_Slots_Aggregate, Placement_Group_Slots_Aggregate_Bool_Exp, Placement_Group_Slots_Aggregate_Bool_Exp_Count, Placement_Group_Slots_Aggregate_Fields, Placement_Group_Slots_Aggregate_FieldsCountArgs, Placement_Group_Slots_Aggregate_Order_By, Placement_Group_Slots_Avg_Fields, Placement_Group_Slots_Avg_Order_By, Placement_Group_Slots_Bool_Exp, Placement_Group_Slots_Max_Fields, Placement_Group_Slots_Max_Order_By, Placement_Group_Slots_Min_Fields, Placement_Group_Slots_Min_Order_By, Placement_Group_Slots_Order_By, Placement_Group_Slots_Select_Column, Placement_Group_Slots_Stddev_Fields, Placement_Group_Slots_Stddev_Order_By, Placement_Group_Slots_Stddev_Pop_Fields, Placement_Group_Slots_Stddev_Pop_Order_By, Placement_Group_Slots_Stddev_Samp_Fields, Placement_Group_Slots_Stddev_Samp_Order_By, Placement_Group_Slots_Stream_Cursor_Input, Placement_Group_Slots_Stream_Cursor_Value_Input, Placement_Group_Slots_Sum_Fields, Placement_Group_Slots_Sum_Order_By, Placement_Group_Slots_Var_Pop_Fields, Placement_Group_Slots_Var_Pop_Order_By, Placement_Group_Slots_Var_Samp_Fields, Placement_Group_Slots_Var_Samp_Order_By, Placement_Group_Slots_Variance_Fields, Placement_Group_Slots_Variance_Order_By, Processor_Status, Processor_Status_Bool_Exp, Processor_Status_Order_By, Processor_Status_Select_Column, Processor_Status_Stream_Cursor_Input, Processor_Status_Stream_Cursor_Value_Input, Query_Root, Query_RootBlob_ActivitiesArgs, Query_RootBlob_Activities_AggregateArgs, Query_RootBlob_Activities_By_PkArgs, Query_RootBlobsArgs, Query_RootBlobs_AggregateArgs, Query_RootBlobs_By_PkArgs, Query_RootPlacement_Group_SlotsArgs, Query_RootPlacement_Group_Slots_AggregateArgs, Query_RootPlacement_Group_Slots_By_PkArgs, Query_RootProcessor_StatusArgs, Scalars, Sdk, SdkFunctionWrapper, String_Comparison_Exp, Subscription_Root, Subscription_RootBlob_ActivitiesArgs, Subscription_RootBlob_Activities_AggregateArgs, Subscription_RootBlob_Activities_By_PkArgs, Subscription_RootBlob_Activities_StreamArgs, Subscription_RootBlobsArgs, Subscription_RootBlobs_AggregateArgs, Subscription_RootBlobs_By_PkArgs, Subscription_RootBlobs_StreamArgs, Subscription_RootPlacement_Group_SlotsArgs, Subscription_RootPlacement_Group_Slots_AggregateArgs, Subscription_RootPlacement_Group_Slots_By_PkArgs, Subscription_RootPlacement_Group_Slots_StreamArgs, Subscription_RootProcessor_StatusArgs, Subscription_RootProcessor_Status_StreamArgs, Timestamp_Comparison_Exp, getSdk } from './operations/generated/sdk.js';
|
|
21
28
|
import '@aptos-labs/ts-sdk';
|
|
22
29
|
import 'zod';
|
|
23
30
|
import '@shelby-protocol/clay-codes';
|