@shelby-protocol/sdk 0.0.4 → 0.0.5
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 +4 -4
- package/dist/browser/index.mjs +40 -35
- package/dist/{chunk-MYN7KW2X.mjs → chunk-2DD6Q5CK.mjs} +1 -1
- package/dist/{chunk-KBUWZXFA.mjs → chunk-4JZO2D7T.mjs} +6 -1
- package/dist/{chunk-GKRHKR3J.mjs → chunk-L7H6EKII.mjs} +7 -7
- package/dist/{chunk-LTV26KU4.mjs → chunk-PCNLFNAT.mjs} +1 -1
- package/dist/{chunk-VPT45MTZ.mjs → chunk-T6TVHFJO.mjs} +1 -1
- package/dist/{chunk-4W3FFVXZ.mjs → chunk-TPGMXZRD.mjs} +8 -8
- package/dist/{chunk-DLMDDEWF.mjs → chunk-WJKSPJSS.mjs} +26 -0
- package/dist/{chunk-3QINXXV6.mjs → chunk-Y7KTNPPR.mjs} +61 -24
- package/dist/core/chunk.mjs +1 -1
- package/dist/core/clients/ShelbyBlobClient.d.ts +35 -17
- package/dist/core/clients/ShelbyBlobClient.mjs +7 -7
- package/dist/core/clients/ShelbyClient.mjs +10 -10
- package/dist/core/clients/ShelbyRPCClient.mjs +7 -7
- package/dist/core/clients/index.mjs +12 -12
- package/dist/core/commitments.mjs +3 -3
- package/dist/core/erasure/clay-codes.mjs +1 -1
- package/dist/core/erasure/default.mjs +1 -1
- package/dist/core/erasure/index.mjs +3 -3
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.mjs +40 -35
- package/dist/core/layout.mjs +1 -1
- package/dist/core/operations/generated/sdk.d.ts +307 -1
- package/dist/core/operations/generated/sdk.mjs +5 -1
- package/dist/core/operations/index.d.ts +6 -1
- package/dist/core/operations/index.mjs +5 -2
- package/dist/core/types/blobs.d.ts +9 -0
- package/dist/core/types/index.mjs +1 -1
- package/dist/core/utils.d.ts +8 -1
- package/dist/core/utils.mjs +3 -1
- package/dist/node/clients/ShelbyNodeClient.mjs +11 -11
- package/dist/node/clients/index.mjs +13 -13
- package/dist/node/index.d.ts +4 -4
- package/dist/node/index.mjs +46 -41
- package/package.json +3 -3
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { GetBlobsQueryVariables, GetBlobsQuery, GetBlobActivitiesQueryVariables, GetBlobActivitiesQuery } from './generated/sdk.js';
|
|
1
|
+
import { GetBlobsQueryVariables, GetBlobsQuery, GetBlobActivitiesQueryVariables, GetBlobActivitiesQuery, GetBlobsCountQueryVariables, GetBlobsCountQuery, GetBlobActivitiesCountQueryVariables, GetBlobActivitiesCountQuery } from './generated/sdk.js';
|
|
2
|
+
export { Order_By } from './generated/sdk.js';
|
|
2
3
|
import { GraphQLClient } from 'graphql-request';
|
|
3
4
|
import { ShelbyClientConfig } from '../clients/ShelbyClientConfig.js';
|
|
4
5
|
import 'graphql';
|
|
@@ -8,6 +9,8 @@ import '../networks.js';
|
|
|
8
9
|
declare function createShelbyIndexerClient(baseUrl: string, options?: ConstructorParameters<typeof GraphQLClient>[1]): {
|
|
9
10
|
getBlobs(variables?: GetBlobsQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobsQuery>;
|
|
10
11
|
getBlobActivities(variables?: GetBlobActivitiesQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobActivitiesQuery>;
|
|
12
|
+
getBlobsCount(variables?: GetBlobsCountQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobsCountQuery>;
|
|
13
|
+
getBlobActivitiesCount(variables?: GetBlobActivitiesCountQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobActivitiesCountQuery>;
|
|
11
14
|
};
|
|
12
15
|
/**
|
|
13
16
|
* Creates a Shelby indexer client from a Shelby client config.
|
|
@@ -25,6 +28,8 @@ declare function createShelbyIndexerClient(baseUrl: string, options?: Constructo
|
|
|
25
28
|
declare function getShelbyIndexerClient(config: ShelbyClientConfig): {
|
|
26
29
|
getBlobs(variables?: GetBlobsQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobsQuery>;
|
|
27
30
|
getBlobActivities(variables?: GetBlobActivitiesQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobActivitiesQuery>;
|
|
31
|
+
getBlobsCount(variables?: GetBlobsCountQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobsCountQuery>;
|
|
32
|
+
getBlobActivitiesCount(variables?: GetBlobActivitiesCountQueryVariables, requestHeaders?: HeadersInit | undefined, signal?: RequestInit["signal"]): Promise<GetBlobActivitiesCountQuery>;
|
|
28
33
|
};
|
|
29
34
|
type ShelbyIndexerClient = ReturnType<typeof createShelbyIndexerClient>;
|
|
30
35
|
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createShelbyIndexerClient,
|
|
3
3
|
getShelbyIndexerClient
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import
|
|
4
|
+
} from "../../chunk-T6TVHFJO.mjs";
|
|
5
|
+
import {
|
|
6
|
+
Order_By
|
|
7
|
+
} from "../../chunk-WJKSPJSS.mjs";
|
|
6
8
|
import "../../chunk-RBFWGDMY.mjs";
|
|
7
9
|
import "../../chunk-SEXQTDX6.mjs";
|
|
8
10
|
import "../../chunk-7P6ASYW6.mjs";
|
|
9
11
|
export {
|
|
12
|
+
Order_By,
|
|
10
13
|
createShelbyIndexerClient,
|
|
11
14
|
getShelbyIndexerClient
|
|
12
15
|
};
|
|
@@ -33,8 +33,17 @@ interface BlobMetadata {
|
|
|
33
33
|
owner: AccountAddress;
|
|
34
34
|
/**
|
|
35
35
|
* The name of the blob.
|
|
36
|
+
* The full blob name is the account address followed by the blob name suffix.
|
|
37
|
+
* Example: if the account address is 0x123 and the blob name suffix is "abc/def/ghi",
|
|
38
|
+
* the full blob name will be "@0x123/abc/def/ghi"
|
|
36
39
|
*/
|
|
37
40
|
name: BlobName;
|
|
41
|
+
/**
|
|
42
|
+
* The suffix of the blob name.
|
|
43
|
+
* Example: if the full blob name is "@0x123/abc/def/ghi",
|
|
44
|
+
* the blob name suffix will be "abc/def/ghi"
|
|
45
|
+
*/
|
|
46
|
+
blobNameSuffix: string;
|
|
38
47
|
/**
|
|
39
48
|
* The merkle root of the blob.
|
|
40
49
|
*/
|
package/dist/core/utils.d.ts
CHANGED
|
@@ -38,5 +38,12 @@ declare function concatHashes(parts: HexInput[]): Promise<Hex>;
|
|
|
38
38
|
* @returns The full request URL.
|
|
39
39
|
*/
|
|
40
40
|
declare function buildRequestUrl(path: string, baseUrl: string): URL;
|
|
41
|
+
/**
|
|
42
|
+
* Reformats a blob name to remove the account address prefix and return only the blob name suffix.
|
|
43
|
+
*
|
|
44
|
+
* @param blobName - The full blob name.
|
|
45
|
+
* @returns The blob name suffix.
|
|
46
|
+
*/
|
|
47
|
+
declare function getBlobNameSuffix(blobName: string): string;
|
|
41
48
|
|
|
42
|
-
export { buildRequestUrl, concatHashes, readInChunks, zeroPadBytes };
|
|
49
|
+
export { buildRequestUrl, concatHashes, getBlobNameSuffix, readInChunks, zeroPadBytes };
|
package/dist/core/utils.mjs
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildRequestUrl,
|
|
3
3
|
concatHashes,
|
|
4
|
+
getBlobNameSuffix,
|
|
4
5
|
readInChunks,
|
|
5
6
|
zeroPadBytes
|
|
6
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-4JZO2D7T.mjs";
|
|
7
8
|
import "../chunk-7P6ASYW6.mjs";
|
|
8
9
|
export {
|
|
9
10
|
buildRequestUrl,
|
|
10
11
|
concatHashes,
|
|
12
|
+
getBlobNameSuffix,
|
|
11
13
|
readInChunks,
|
|
12
14
|
zeroPadBytes
|
|
13
15
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ShelbyNodeClient
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-GKRHKR3J.mjs";
|
|
7
|
-
import "../../chunk-VPT45MTZ.mjs";
|
|
8
|
-
import "../../chunk-DLMDDEWF.mjs";
|
|
9
|
-
import "../../chunk-FIFKKWXV.mjs";
|
|
3
|
+
} from "../../chunk-2DD6Q5CK.mjs";
|
|
4
|
+
import "../../chunk-TPGMXZRD.mjs";
|
|
5
|
+
import "../../chunk-L7H6EKII.mjs";
|
|
10
6
|
import "../../chunk-I6NG5GNL.mjs";
|
|
7
|
+
import "../../chunk-Y7KTNPPR.mjs";
|
|
8
|
+
import "../../chunk-T6TVHFJO.mjs";
|
|
9
|
+
import "../../chunk-WJKSPJSS.mjs";
|
|
11
10
|
import "../../chunk-RBFWGDMY.mjs";
|
|
12
11
|
import "../../chunk-OTBLZL2S.mjs";
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-PCNLFNAT.mjs";
|
|
13
|
+
import "../../chunk-4JZO2D7T.mjs";
|
|
14
|
+
import "../../chunk-SEXQTDX6.mjs";
|
|
15
|
+
import "../../chunk-FIFKKWXV.mjs";
|
|
15
16
|
import "../../chunk-APML3CGJ.mjs";
|
|
16
|
-
import "../../chunk-ZPW742E7.mjs";
|
|
17
17
|
import "../../chunk-3ZDXWPYC.mjs";
|
|
18
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-ZPW742E7.mjs";
|
|
19
19
|
import "../../chunk-7P6ASYW6.mjs";
|
|
20
20
|
export {
|
|
21
21
|
ShelbyNodeClient
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import "../../chunk-MB7C7VQF.mjs";
|
|
2
|
-
import {
|
|
3
|
-
ShelbyNodeClient
|
|
4
|
-
} from "../../chunk-MYN7KW2X.mjs";
|
|
5
2
|
import {
|
|
6
3
|
ShelbyMetadataClient
|
|
7
4
|
} from "../../chunk-CTGCK3H2.mjs";
|
|
8
|
-
import
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-FIFKKWXV.mjs";
|
|
5
|
+
import {
|
|
6
|
+
ShelbyNodeClient
|
|
7
|
+
} from "../../chunk-2DD6Q5CK.mjs";
|
|
8
|
+
import "../../chunk-TPGMXZRD.mjs";
|
|
9
|
+
import "../../chunk-L7H6EKII.mjs";
|
|
14
10
|
import "../../chunk-I6NG5GNL.mjs";
|
|
11
|
+
import "../../chunk-Y7KTNPPR.mjs";
|
|
12
|
+
import "../../chunk-T6TVHFJO.mjs";
|
|
13
|
+
import "../../chunk-WJKSPJSS.mjs";
|
|
15
14
|
import "../../chunk-RBFWGDMY.mjs";
|
|
16
15
|
import "../../chunk-OTBLZL2S.mjs";
|
|
17
|
-
import "../../chunk-
|
|
18
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-PCNLFNAT.mjs";
|
|
17
|
+
import "../../chunk-4JZO2D7T.mjs";
|
|
18
|
+
import "../../chunk-SEXQTDX6.mjs";
|
|
19
|
+
import "../../chunk-FIFKKWXV.mjs";
|
|
19
20
|
import "../../chunk-APML3CGJ.mjs";
|
|
20
|
-
import "../../chunk-ZPW742E7.mjs";
|
|
21
21
|
import "../../chunk-3ZDXWPYC.mjs";
|
|
22
|
-
import "../../chunk-
|
|
22
|
+
import "../../chunk-ZPW742E7.mjs";
|
|
23
23
|
import "../../chunk-7P6ASYW6.mjs";
|
|
24
24
|
export {
|
|
25
25
|
ShelbyMetadataClient,
|
package/dist/node/index.d.ts
CHANGED
|
@@ -16,13 +16,13 @@ export { ShelbyIndexerClient, createShelbyIndexerClient, getShelbyIndexerClient
|
|
|
16
16
|
export { getShelbyAccountBlobsExplorerUrl, getShelbyAccountExplorerUrl, getShelbyBlobExplorerUrl } from '../core/shelby-explorer.js';
|
|
17
17
|
export { BlobActivity, BlobActivityType, BlobEncoding, BlobMetadata, ClayEncoding } from '../core/types/blobs.js';
|
|
18
18
|
export { StorageProviderInfo } from '../core/types/storage_providers.js';
|
|
19
|
-
export { buildRequestUrl, concatHashes, readInChunks, zeroPadBytes } from '../core/utils.js';
|
|
19
|
+
export { buildRequestUrl, concatHashes, getBlobNameSuffix, readInChunks, zeroPadBytes } from '../core/utils.js';
|
|
20
20
|
export { ShelbyMetadataClient } from './clients/ShelbyMetadataClient.js';
|
|
21
21
|
export { ShelbyNodeClient } from './clients/ShelbyNodeClient.js';
|
|
22
22
|
export { t as testUtil } from '../testUtil-BnxAchIN.js';
|
|
23
|
+
export { Order_By } from '../core/operations/generated/sdk.js';
|
|
23
24
|
import '@aptos-labs/ts-sdk';
|
|
24
|
-
import '../core/operations/generated/sdk.js';
|
|
25
|
-
import 'graphql';
|
|
26
|
-
import 'graphql-request';
|
|
27
25
|
import 'zod';
|
|
28
26
|
import '@shelby-protocol/clay-codes';
|
|
27
|
+
import 'graphql-request';
|
|
28
|
+
import 'graphql';
|
package/dist/node/index.mjs
CHANGED
|
@@ -1,36 +1,25 @@
|
|
|
1
1
|
import "../chunk-MB7C7VQF.mjs";
|
|
2
|
-
import {
|
|
3
|
-
ShelbyNodeClient
|
|
4
|
-
} from "../chunk-MYN7KW2X.mjs";
|
|
5
2
|
import {
|
|
6
3
|
ShelbyMetadataClient
|
|
7
4
|
} from "../chunk-CTGCK3H2.mjs";
|
|
5
|
+
import {
|
|
6
|
+
ShelbyNodeClient
|
|
7
|
+
} from "../chunk-2DD6Q5CK.mjs";
|
|
8
|
+
import {
|
|
9
|
+
testUtil_exports
|
|
10
|
+
} from "../chunk-A4IG6GSE.mjs";
|
|
8
11
|
import "../chunk-DJJD2AXO.mjs";
|
|
9
12
|
import "../chunk-MWDW4ROU.mjs";
|
|
10
|
-
import "../chunk-ZHXCVRZX.mjs";
|
|
11
13
|
import "../chunk-MQUVYMNQ.mjs";
|
|
14
|
+
import "../chunk-ZHXCVRZX.mjs";
|
|
12
15
|
import "../chunk-RNXGC54D.mjs";
|
|
13
16
|
import {
|
|
14
17
|
ShelbyClient
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import {
|
|
17
|
-
ShelbyBlobClient
|
|
18
|
-
} from "../chunk-3QINXXV6.mjs";
|
|
18
|
+
} from "../chunk-TPGMXZRD.mjs";
|
|
19
19
|
import "../chunk-Z7RFCADT.mjs";
|
|
20
20
|
import {
|
|
21
21
|
ShelbyRPCClient
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import {
|
|
24
|
-
createShelbyIndexerClient,
|
|
25
|
-
getShelbyIndexerClient
|
|
26
|
-
} from "../chunk-VPT45MTZ.mjs";
|
|
27
|
-
import "../chunk-DLMDDEWF.mjs";
|
|
28
|
-
import {
|
|
29
|
-
BlobNameSchema,
|
|
30
|
-
ChunkKey,
|
|
31
|
-
allChunksForBlob,
|
|
32
|
-
roundSize
|
|
33
|
-
} from "../chunk-FIFKKWXV.mjs";
|
|
22
|
+
} from "../chunk-L7H6EKII.mjs";
|
|
34
23
|
import {
|
|
35
24
|
isShelbyNetwork,
|
|
36
25
|
shelbyNetworks
|
|
@@ -41,10 +30,17 @@ import {
|
|
|
41
30
|
getShelbyAccountExplorerUrl,
|
|
42
31
|
getShelbyBlobExplorerUrl
|
|
43
32
|
} from "../chunk-BDSW5PHM.mjs";
|
|
44
|
-
import "../chunk-RBFWGDMY.mjs";
|
|
45
33
|
import {
|
|
46
|
-
|
|
47
|
-
} from "../chunk-
|
|
34
|
+
ShelbyBlobClient
|
|
35
|
+
} from "../chunk-Y7KTNPPR.mjs";
|
|
36
|
+
import {
|
|
37
|
+
createShelbyIndexerClient,
|
|
38
|
+
getShelbyIndexerClient
|
|
39
|
+
} from "../chunk-T6TVHFJO.mjs";
|
|
40
|
+
import {
|
|
41
|
+
Order_By
|
|
42
|
+
} from "../chunk-WJKSPJSS.mjs";
|
|
43
|
+
import "../chunk-RBFWGDMY.mjs";
|
|
48
44
|
import {
|
|
49
45
|
getAptosAccountExplorerUrl,
|
|
50
46
|
getAptosTransactionExplorerUrl
|
|
@@ -57,13 +53,33 @@ import {
|
|
|
57
53
|
ChunksetCommitmentSchema,
|
|
58
54
|
expectedTotalChunksets,
|
|
59
55
|
generateCommitments
|
|
60
|
-
} from "../chunk-
|
|
56
|
+
} from "../chunk-PCNLFNAT.mjs";
|
|
61
57
|
import {
|
|
62
58
|
buildRequestUrl,
|
|
63
59
|
concatHashes,
|
|
60
|
+
getBlobNameSuffix,
|
|
64
61
|
readInChunks,
|
|
65
62
|
zeroPadBytes
|
|
66
|
-
} from "../chunk-
|
|
63
|
+
} from "../chunk-4JZO2D7T.mjs";
|
|
64
|
+
import {
|
|
65
|
+
DEFAULT_PROJECT_DESCRIPTION,
|
|
66
|
+
DEFAULT_PROJECT_NAME,
|
|
67
|
+
NetworkToShelbyBlobIndexerBaseUrl,
|
|
68
|
+
NetworkToShelbyRPCBaseUrl,
|
|
69
|
+
SHELBYUSD_FA_METADATA_ADDRESS,
|
|
70
|
+
SHELBYUSD_TOKEN_ADDRESS,
|
|
71
|
+
SHELBYUSD_TOKEN_MODULE,
|
|
72
|
+
SHELBYUSD_TOKEN_NAME,
|
|
73
|
+
SHELBY_DEPLOYER,
|
|
74
|
+
TOKEN_DEPLOYER,
|
|
75
|
+
TOKEN_OBJECT_ADDRESS
|
|
76
|
+
} from "../chunk-SEXQTDX6.mjs";
|
|
77
|
+
import {
|
|
78
|
+
BlobNameSchema,
|
|
79
|
+
ChunkKey,
|
|
80
|
+
allChunksForBlob,
|
|
81
|
+
roundSize
|
|
82
|
+
} from "../chunk-FIFKKWXV.mjs";
|
|
67
83
|
import {
|
|
68
84
|
CHUNK_SIZE_PARAMS,
|
|
69
85
|
ChunkSizeScheme,
|
|
@@ -73,6 +89,9 @@ import {
|
|
|
73
89
|
ERASURE_CODE_AND_CHUNK_MAPPING,
|
|
74
90
|
createDefaultErasureCodingProvider
|
|
75
91
|
} from "../chunk-APML3CGJ.mjs";
|
|
92
|
+
import {
|
|
93
|
+
ReedSolomonErasureCodingProvider
|
|
94
|
+
} from "../chunk-3ZDXWPYC.mjs";
|
|
76
95
|
import {
|
|
77
96
|
DEFAULT_ERASURE_D,
|
|
78
97
|
DEFAULT_ERASURE_K,
|
|
@@ -81,22 +100,6 @@ import {
|
|
|
81
100
|
ERASURE_CODE_PARAMS,
|
|
82
101
|
ErasureCodingScheme
|
|
83
102
|
} from "../chunk-ZPW742E7.mjs";
|
|
84
|
-
import {
|
|
85
|
-
ReedSolomonErasureCodingProvider
|
|
86
|
-
} from "../chunk-3ZDXWPYC.mjs";
|
|
87
|
-
import {
|
|
88
|
-
DEFAULT_PROJECT_DESCRIPTION,
|
|
89
|
-
DEFAULT_PROJECT_NAME,
|
|
90
|
-
NetworkToShelbyBlobIndexerBaseUrl,
|
|
91
|
-
NetworkToShelbyRPCBaseUrl,
|
|
92
|
-
SHELBYUSD_FA_METADATA_ADDRESS,
|
|
93
|
-
SHELBYUSD_TOKEN_ADDRESS,
|
|
94
|
-
SHELBYUSD_TOKEN_MODULE,
|
|
95
|
-
SHELBYUSD_TOKEN_NAME,
|
|
96
|
-
SHELBY_DEPLOYER,
|
|
97
|
-
TOKEN_DEPLOYER,
|
|
98
|
-
TOKEN_OBJECT_ADDRESS
|
|
99
|
-
} from "../chunk-SEXQTDX6.mjs";
|
|
100
103
|
import "../chunk-7P6ASYW6.mjs";
|
|
101
104
|
export {
|
|
102
105
|
BlobCommitmentsSchema,
|
|
@@ -119,6 +122,7 @@ export {
|
|
|
119
122
|
ErasureCodingScheme,
|
|
120
123
|
NetworkToShelbyBlobIndexerBaseUrl,
|
|
121
124
|
NetworkToShelbyRPCBaseUrl,
|
|
125
|
+
Order_By,
|
|
122
126
|
ReedSolomonErasureCodingProvider,
|
|
123
127
|
SHELBYUSD_FA_METADATA_ADDRESS,
|
|
124
128
|
SHELBYUSD_TOKEN_ADDRESS,
|
|
@@ -142,6 +146,7 @@ export {
|
|
|
142
146
|
generateCommitments,
|
|
143
147
|
getAptosAccountExplorerUrl,
|
|
144
148
|
getAptosTransactionExplorerUrl,
|
|
149
|
+
getBlobNameSuffix,
|
|
145
150
|
getShelbyAccountBlobsExplorerUrl,
|
|
146
151
|
getShelbyAccountExplorerUrl,
|
|
147
152
|
getShelbyBlobExplorerUrl,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shelby-protocol/sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"graphql-request": "^7.2.0",
|
|
25
25
|
"graphql-tag": "^2.12.6",
|
|
26
26
|
"zod": "^3.24.3",
|
|
27
|
-
"@shelby-protocol/
|
|
28
|
-
"@shelby-protocol/
|
|
27
|
+
"@shelby-protocol/reed-solomon": "0.0.1",
|
|
28
|
+
"@shelby-protocol/clay-codes": "0.0.1"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@aptos-labs/ts-sdk": "^5.1.1",
|