@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
package/dist/core/index.mjs
CHANGED
|
@@ -1,32 +1,50 @@
|
|
|
1
|
-
import "../chunk-
|
|
2
|
-
import "../chunk-
|
|
3
|
-
import "../chunk-MQUVYMNQ.mjs";
|
|
4
|
-
import "../chunk-ZHXCVRZX.mjs";
|
|
5
|
-
import "../chunk-RNXGC54D.mjs";
|
|
1
|
+
import "../chunk-EM67QTMR.mjs";
|
|
2
|
+
import "../chunk-WTICJPDB.mjs";
|
|
6
3
|
import {
|
|
7
4
|
ShelbyClient
|
|
8
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-7PN65RDX.mjs";
|
|
9
6
|
import {
|
|
7
|
+
MissingTransactionSubmitterError,
|
|
10
8
|
ShelbyBlobClient
|
|
11
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-SRV4YWFH.mjs";
|
|
12
10
|
import "../chunk-XNEIWM4O.mjs";
|
|
13
11
|
import {
|
|
14
|
-
createDefaultErasureCodingProvider
|
|
15
|
-
|
|
12
|
+
createDefaultErasureCodingProvider,
|
|
13
|
+
defaultErasureCodingConfig,
|
|
14
|
+
erasureCodingConfig16Total10Data13Helper,
|
|
15
|
+
erasureCodingConfig4Total2Data3Helper
|
|
16
|
+
} from "../chunk-HPPMI7DC.mjs";
|
|
16
17
|
import {
|
|
17
18
|
ClayErasureCodingProvider
|
|
18
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-OGKZ575S.mjs";
|
|
19
20
|
import {
|
|
20
21
|
ReedSolomonErasureCodingProvider
|
|
21
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-NHWWORCH.mjs";
|
|
22
23
|
import "../chunk-Z7RFCADT.mjs";
|
|
24
|
+
import {
|
|
25
|
+
ShelbyMetadataClient
|
|
26
|
+
} from "../chunk-MV6FNYAU.mjs";
|
|
27
|
+
import {
|
|
28
|
+
ShelbyMicropaymentChannelClient
|
|
29
|
+
} from "../chunk-E5QCRTBU.mjs";
|
|
30
|
+
import "../chunk-QQ57OGQ2.mjs";
|
|
31
|
+
import "../chunk-ZHXCVRZX.mjs";
|
|
32
|
+
import "../chunk-AD2G3QYD.mjs";
|
|
33
|
+
import "../chunk-MQUVYMNQ.mjs";
|
|
34
|
+
import {
|
|
35
|
+
ShelbyPlacementGroupClient
|
|
36
|
+
} from "../chunk-W37FZSMA.mjs";
|
|
23
37
|
import {
|
|
24
38
|
ShelbyRPCClient
|
|
25
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-PJVWGMVI.mjs";
|
|
40
|
+
import {
|
|
41
|
+
SenderBuiltMicropayment,
|
|
42
|
+
StaleChannelStateError
|
|
43
|
+
} from "../chunk-4MG4XGY4.mjs";
|
|
26
44
|
import {
|
|
27
45
|
createShelbyIndexerClient,
|
|
28
46
|
getShelbyIndexerClient
|
|
29
|
-
} from "../chunk-
|
|
47
|
+
} from "../chunk-CGYJLKBU.mjs";
|
|
30
48
|
import {
|
|
31
49
|
Blob_Activities_Select_Column,
|
|
32
50
|
Blobs_Select_Column,
|
|
@@ -35,28 +53,32 @@ import {
|
|
|
35
53
|
GetBlobActivitiesDocument,
|
|
36
54
|
GetBlobsCountDocument,
|
|
37
55
|
GetBlobsDocument,
|
|
56
|
+
GetPlacementGroupSlotsCountDocument,
|
|
57
|
+
GetPlacementGroupSlotsDocument,
|
|
58
|
+
GetProcessorStatusDocument,
|
|
38
59
|
Order_By,
|
|
39
60
|
Placement_Group_Slots_Select_Column,
|
|
40
61
|
Processor_Status_Select_Column,
|
|
41
62
|
getSdk
|
|
42
|
-
} from "../chunk-
|
|
43
|
-
import
|
|
44
|
-
BlobNameSchema,
|
|
45
|
-
ChunkKey,
|
|
46
|
-
allChunksForBlob,
|
|
47
|
-
roundSize
|
|
48
|
-
} from "../chunk-GY5DCVVL.mjs";
|
|
63
|
+
} from "../chunk-KJ24NKPH.mjs";
|
|
64
|
+
import "../chunk-AABBONAF.mjs";
|
|
49
65
|
import {
|
|
50
66
|
isShelbyNetwork,
|
|
51
67
|
shelbyNetworks
|
|
52
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-D6GQHO6G.mjs";
|
|
53
69
|
import "../chunk-I6NG5GNL.mjs";
|
|
70
|
+
import {
|
|
71
|
+
CompleteMultipartUploadResponseSchema,
|
|
72
|
+
RPCErrorResponseSchema,
|
|
73
|
+
StaleMicropaymentErrorResponseSchema,
|
|
74
|
+
StartMultipartUploadResponseSchema,
|
|
75
|
+
UploadPartResponseSchema
|
|
76
|
+
} from "../chunk-IE6LYVIA.mjs";
|
|
54
77
|
import {
|
|
55
78
|
getShelbyAccountBlobsExplorerUrl,
|
|
56
79
|
getShelbyAccountExplorerUrl,
|
|
57
80
|
getShelbyBlobExplorerUrl
|
|
58
81
|
} from "../chunk-BDSW5PHM.mjs";
|
|
59
|
-
import "../chunk-RBFWGDMY.mjs";
|
|
60
82
|
import {
|
|
61
83
|
getAptosAccountExplorerUrl,
|
|
62
84
|
getAptosTransactionExplorerUrl
|
|
@@ -66,11 +88,12 @@ import {
|
|
|
66
88
|
} from "../chunk-OTBLZL2S.mjs";
|
|
67
89
|
import {
|
|
68
90
|
BlobCommitmentsSchema,
|
|
91
|
+
COMMITMENT_SCHEMA_VERSION,
|
|
69
92
|
ChunksetCommitmentSchema,
|
|
70
93
|
expectedTotalChunksets,
|
|
71
94
|
generateCommitments,
|
|
72
95
|
generateMerkleRoot
|
|
73
|
-
} from "../chunk-
|
|
96
|
+
} from "../chunk-2WEX3K7C.mjs";
|
|
74
97
|
import {
|
|
75
98
|
buildRequestUrl,
|
|
76
99
|
concatHashes,
|
|
@@ -84,18 +107,21 @@ import {
|
|
|
84
107
|
DEFAULT_CHUNKSET_SIZE_BYTES,
|
|
85
108
|
DEFAULT_CHUNK_SIZE_BYTES,
|
|
86
109
|
ERASURE_CODE_AND_CHUNK_MAPPING
|
|
87
|
-
} from "../chunk-
|
|
110
|
+
} from "../chunk-JTXYKO3U.mjs";
|
|
88
111
|
import {
|
|
89
112
|
DEFAULT_ERASURE_D,
|
|
90
113
|
DEFAULT_ERASURE_K,
|
|
91
114
|
DEFAULT_ERASURE_M,
|
|
92
115
|
DEFAULT_ERASURE_N,
|
|
116
|
+
DEFAULT_SAMPLE_SIZE,
|
|
93
117
|
ERASURE_CODE_PARAMS,
|
|
94
118
|
ErasureCodingScheme
|
|
95
|
-
} from "../chunk-
|
|
119
|
+
} from "../chunk-AUQDI5BS.mjs";
|
|
96
120
|
import {
|
|
97
121
|
DEFAULT_PROJECT_DESCRIPTION,
|
|
98
122
|
DEFAULT_PROJECT_NAME,
|
|
123
|
+
MICROPAYMENTS_DEPLOYER,
|
|
124
|
+
NetworkToGasStationBaseUrl,
|
|
99
125
|
NetworkToShelbyBlobIndexerBaseUrl,
|
|
100
126
|
NetworkToShelbyRPCBaseUrl,
|
|
101
127
|
SHELBYUSD_FA_METADATA_ADDRESS,
|
|
@@ -105,7 +131,18 @@ import {
|
|
|
105
131
|
SHELBY_DEPLOYER,
|
|
106
132
|
TOKEN_DEPLOYER,
|
|
107
133
|
TOKEN_OBJECT_ADDRESS
|
|
108
|
-
} from "../chunk-
|
|
134
|
+
} from "../chunk-4ZOFT75Q.mjs";
|
|
135
|
+
import {
|
|
136
|
+
ShelbyErrorCodes,
|
|
137
|
+
isAccessDeniedError,
|
|
138
|
+
isBlobAlreadyExistsError,
|
|
139
|
+
isBlobExpiredError,
|
|
140
|
+
isBlobNotFoundError
|
|
141
|
+
} from "../chunk-CQ6QPIZK.mjs";
|
|
142
|
+
import {
|
|
143
|
+
BlobNameSchema,
|
|
144
|
+
ChunkKey
|
|
145
|
+
} from "../chunk-Z4FZ7W6L.mjs";
|
|
109
146
|
import "../chunk-7P6ASYW6.mjs";
|
|
110
147
|
export {
|
|
111
148
|
BlobCommitmentsSchema,
|
|
@@ -113,10 +150,12 @@ export {
|
|
|
113
150
|
Blob_Activities_Select_Column,
|
|
114
151
|
Blobs_Select_Column,
|
|
115
152
|
CHUNK_SIZE_PARAMS,
|
|
153
|
+
COMMITMENT_SCHEMA_VERSION,
|
|
116
154
|
ChunkKey,
|
|
117
155
|
ChunkSizeScheme,
|
|
118
156
|
ChunksetCommitmentSchema,
|
|
119
157
|
ClayErasureCodingProvider,
|
|
158
|
+
CompleteMultipartUploadResponseSchema,
|
|
120
159
|
Cursor_Ordering,
|
|
121
160
|
DEFAULT_CHUNKSET_SIZE_BYTES,
|
|
122
161
|
DEFAULT_CHUNK_SIZE_BYTES,
|
|
@@ -126,6 +165,7 @@ export {
|
|
|
126
165
|
DEFAULT_ERASURE_N,
|
|
127
166
|
DEFAULT_PROJECT_DESCRIPTION,
|
|
128
167
|
DEFAULT_PROJECT_NAME,
|
|
168
|
+
DEFAULT_SAMPLE_SIZE,
|
|
129
169
|
ERASURE_CODE_AND_CHUNK_MAPPING,
|
|
130
170
|
ERASURE_CODE_PARAMS,
|
|
131
171
|
ErasureCodingScheme,
|
|
@@ -133,28 +173,46 @@ export {
|
|
|
133
173
|
GetBlobActivitiesDocument,
|
|
134
174
|
GetBlobsCountDocument,
|
|
135
175
|
GetBlobsDocument,
|
|
176
|
+
GetPlacementGroupSlotsCountDocument,
|
|
177
|
+
GetPlacementGroupSlotsDocument,
|
|
178
|
+
GetProcessorStatusDocument,
|
|
179
|
+
MICROPAYMENTS_DEPLOYER,
|
|
180
|
+
MissingTransactionSubmitterError,
|
|
181
|
+
NetworkToGasStationBaseUrl,
|
|
136
182
|
NetworkToShelbyBlobIndexerBaseUrl,
|
|
137
183
|
NetworkToShelbyRPCBaseUrl,
|
|
138
184
|
Order_By,
|
|
139
185
|
Placement_Group_Slots_Select_Column,
|
|
140
186
|
Processor_Status_Select_Column,
|
|
187
|
+
RPCErrorResponseSchema,
|
|
141
188
|
ReedSolomonErasureCodingProvider,
|
|
142
189
|
SHELBYUSD_FA_METADATA_ADDRESS,
|
|
143
190
|
SHELBYUSD_TOKEN_ADDRESS,
|
|
144
191
|
SHELBYUSD_TOKEN_MODULE,
|
|
145
192
|
SHELBYUSD_TOKEN_NAME,
|
|
146
193
|
SHELBY_DEPLOYER,
|
|
194
|
+
SenderBuiltMicropayment,
|
|
147
195
|
ShelbyBlobClient,
|
|
148
196
|
ShelbyClient,
|
|
197
|
+
ShelbyErrorCodes,
|
|
198
|
+
ShelbyMetadataClient,
|
|
199
|
+
ShelbyMicropaymentChannelClient,
|
|
200
|
+
ShelbyPlacementGroupClient,
|
|
149
201
|
ShelbyRPCClient,
|
|
202
|
+
StaleChannelStateError,
|
|
203
|
+
StaleMicropaymentErrorResponseSchema,
|
|
204
|
+
StartMultipartUploadResponseSchema,
|
|
150
205
|
TOKEN_DEPLOYER,
|
|
151
206
|
TOKEN_OBJECT_ADDRESS,
|
|
152
|
-
|
|
207
|
+
UploadPartResponseSchema,
|
|
153
208
|
buildRequestUrl,
|
|
154
209
|
concatHashes,
|
|
155
210
|
createBlobKey,
|
|
156
211
|
createDefaultErasureCodingProvider,
|
|
157
212
|
createShelbyIndexerClient,
|
|
213
|
+
defaultErasureCodingConfig,
|
|
214
|
+
erasureCodingConfig16Total10Data13Helper,
|
|
215
|
+
erasureCodingConfig4Total2Data3Helper,
|
|
158
216
|
expectedTotalChunksets,
|
|
159
217
|
generateCommitments,
|
|
160
218
|
generateMerkleRoot,
|
|
@@ -166,9 +224,12 @@ export {
|
|
|
166
224
|
getShelbyAccountExplorerUrl,
|
|
167
225
|
getShelbyBlobExplorerUrl,
|
|
168
226
|
getShelbyIndexerClient,
|
|
227
|
+
isAccessDeniedError,
|
|
228
|
+
isBlobAlreadyExistsError,
|
|
229
|
+
isBlobExpiredError,
|
|
230
|
+
isBlobNotFoundError,
|
|
169
231
|
isShelbyNetwork,
|
|
170
232
|
readInChunks,
|
|
171
|
-
roundSize,
|
|
172
233
|
shelbyNetworks,
|
|
173
234
|
zeroPadBytes
|
|
174
235
|
};
|
package/dist/core/layout.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { AccountAddress } from '@aptos-labs/ts-sdk';
|
|
2
2
|
import { z } from 'zod';
|
|
3
|
+
import { b as ClayConfig } from '../clay-codes-DHP-bYcP.js';
|
|
4
|
+
import '@shelby-protocol/clay-codes';
|
|
3
5
|
|
|
4
6
|
declare const BlobNameSchema: z.ZodEffects<z.ZodString, string, string>;
|
|
5
7
|
type BlobName = z.infer<typeof BlobNameSchema>;
|
|
@@ -16,26 +18,13 @@ declare class ChunkKey {
|
|
|
16
18
|
readonly blobName: string;
|
|
17
19
|
readonly chunksetIdx: number;
|
|
18
20
|
readonly chunkIdx: number;
|
|
19
|
-
|
|
21
|
+
readonly config: ClayConfig;
|
|
22
|
+
constructor(account: AccountAddress, blobName: string, chunksetIdx: number, chunkIdx: number, config: ClayConfig);
|
|
20
23
|
key(): string;
|
|
21
24
|
range(): {
|
|
22
25
|
start: number;
|
|
23
26
|
end: number;
|
|
24
27
|
} | "parity";
|
|
25
|
-
static fromJSON(json: {
|
|
26
|
-
account: string;
|
|
27
|
-
blobName: string;
|
|
28
|
-
chunksetIdx: number;
|
|
29
|
-
chunkIdx: number;
|
|
30
|
-
}): ChunkKey;
|
|
31
|
-
toJSON(): {
|
|
32
|
-
account: `0x${string}`;
|
|
33
|
-
blobName: string;
|
|
34
|
-
chunksetIdx: number;
|
|
35
|
-
chunkIdx: number;
|
|
36
|
-
};
|
|
37
28
|
}
|
|
38
|
-
declare function roundSize(size: number): number;
|
|
39
|
-
declare function allChunksForBlob(account: AccountAddress, blobName: BlobName, _size: number): ChunkKey[];
|
|
40
29
|
|
|
41
|
-
export { type BlobName, BlobNameSchema, ChunkKey
|
|
30
|
+
export { type BlobName, BlobNameSchema, ChunkKey };
|
package/dist/core/layout.mjs
CHANGED
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlobNameSchema,
|
|
3
|
-
ChunkKey
|
|
4
|
-
|
|
5
|
-
roundSize
|
|
6
|
-
} from "../chunk-GY5DCVVL.mjs";
|
|
7
|
-
import "../chunk-67F5YZ25.mjs";
|
|
8
|
-
import "../chunk-ZPW742E7.mjs";
|
|
3
|
+
ChunkKey
|
|
4
|
+
} from "../chunk-Z4FZ7W6L.mjs";
|
|
9
5
|
import "../chunk-7P6ASYW6.mjs";
|
|
10
6
|
export {
|
|
11
7
|
BlobNameSchema,
|
|
12
|
-
ChunkKey
|
|
13
|
-
allChunksForBlob,
|
|
14
|
-
roundSize
|
|
8
|
+
ChunkKey
|
|
15
9
|
};
|
package/dist/core/networks.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Network } from '@aptos-labs/ts-sdk';
|
|
2
2
|
|
|
3
|
-
declare const shelbyNetworks: readonly [Network.LOCAL, Network.SHELBYNET];
|
|
3
|
+
declare const shelbyNetworks: readonly [Network.LOCAL, Network.TESTNET, Network.SHELBYNET];
|
|
4
4
|
type ShelbyNetwork = (typeof shelbyNetworks)[number];
|
|
5
5
|
declare const isShelbyNetwork: (network: string) => network is ShelbyNetwork;
|
|
6
6
|
|