@shelby-protocol/sdk 0.2.1 → 0.2.3

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.
Files changed (40) hide show
  1. package/dist/browser/index.d.ts +1 -1
  2. package/dist/browser/index.mjs +28 -26
  3. package/dist/{chunk-IBAUPQOF.mjs → chunk-33SWBFIX.mjs} +55 -5
  4. package/dist/{chunk-4ZOFT75Q.mjs → chunk-7OV5ZYW6.mjs} +2 -2
  5. package/dist/{chunk-7O77OM4T.mjs → chunk-H53O23I7.mjs} +1 -1
  6. package/dist/{chunk-W37FZSMA.mjs → chunk-HEA673HS.mjs} +1 -1
  7. package/dist/{chunk-33BZ7KYA.mjs → chunk-HTPYOFXE.mjs} +1 -1
  8. package/dist/{chunk-CGYJLKBU.mjs → chunk-JISS2JLW.mjs} +2 -2
  9. package/dist/{chunk-EFR6H3RT.mjs → chunk-LW2Y326E.mjs} +3 -3
  10. package/dist/{chunk-KJ24NKPH.mjs → chunk-TET3DJEO.mjs} +15 -0
  11. package/dist/{chunk-KTVNKLBT.mjs → chunk-TVLV7C74.mjs} +1 -1
  12. package/dist/{chunk-5CES6RPZ.mjs → chunk-TXPDEVJ3.mjs} +7 -7
  13. package/dist/{chunk-OQNP5QXH.mjs → chunk-VELC6GRY.mjs} +3 -3
  14. package/dist/{chunk-HPPMI7DC.mjs → chunk-XRLHLAOW.mjs} +0 -5
  15. package/dist/core/clients/ShelbyBlobClient.d.ts +30 -0
  16. package/dist/core/clients/ShelbyBlobClient.mjs +6 -6
  17. package/dist/core/clients/ShelbyClient.d.ts +1 -1
  18. package/dist/core/clients/ShelbyClient.mjs +10 -10
  19. package/dist/core/clients/ShelbyMetadataClient.mjs +2 -2
  20. package/dist/core/clients/ShelbyMicropaymentChannelClient.mjs +6 -6
  21. package/dist/core/clients/ShelbyPlacementGroupClient.mjs +4 -4
  22. package/dist/core/clients/ShelbyRPCClient.mjs +5 -5
  23. package/dist/core/clients/index.mjs +17 -17
  24. package/dist/core/constants.d.ts +2 -2
  25. package/dist/core/constants.mjs +1 -1
  26. package/dist/core/erasure/default.mjs +1 -1
  27. package/dist/core/erasure/index.mjs +4 -4
  28. package/dist/core/index.d.ts +1 -1
  29. package/dist/core/index.mjs +28 -26
  30. package/dist/core/operations/generated/sdk.d.ts +19 -1
  31. package/dist/core/operations/generated/sdk.mjs +3 -1
  32. package/dist/core/operations/index.d.ts +5 -3
  33. package/dist/core/operations/index.mjs +5 -3
  34. package/dist/core/types/index.mjs +3 -3
  35. package/dist/core/types/payments.mjs +2 -2
  36. package/dist/node/clients/ShelbyNodeClient.mjs +11 -11
  37. package/dist/node/clients/index.mjs +11 -11
  38. package/dist/node/index.d.ts +1 -1
  39. package/dist/node/index.mjs +32 -30
  40. package/package.json +1 -1
@@ -1,54 +1,57 @@
1
1
  import "../chunk-MB7C7VQF.mjs";
2
2
  import {
3
3
  ShelbyNodeClient
4
- } from "../chunk-33BZ7KYA.mjs";
4
+ } from "../chunk-HTPYOFXE.mjs";
5
+ import {
6
+ testUtil_exports
7
+ } from "../chunk-A4IG6GSE.mjs";
5
8
  import "../chunk-EM67QTMR.mjs";
6
9
  import "../chunk-WTICJPDB.mjs";
7
- import {
8
- ShelbyPlacementGroupClient
9
- } from "../chunk-W37FZSMA.mjs";
10
10
  import {
11
11
  ShelbyClient
12
- } from "../chunk-5CES6RPZ.mjs";
13
- import {
14
- ShelbyRPCClient
15
- } from "../chunk-EFR6H3RT.mjs";
12
+ } from "../chunk-TXPDEVJ3.mjs";
16
13
  import {
17
14
  MissingTransactionSubmitterError,
18
15
  ShelbyBlobClient
19
- } from "../chunk-IBAUPQOF.mjs";
16
+ } from "../chunk-33SWBFIX.mjs";
20
17
  import "../chunk-XNEIWM4O.mjs";
21
- import {
22
- ReedSolomonErasureCodingProvider
23
- } from "../chunk-NHWWORCH.mjs";
24
18
  import {
25
19
  createDefaultErasureCodingProvider,
26
20
  defaultErasureCodingConfig,
27
21
  erasureCodingConfig16Total10Data13Helper,
28
22
  erasureCodingConfig4Total2Data3Helper
29
- } from "../chunk-HPPMI7DC.mjs";
23
+ } from "../chunk-XRLHLAOW.mjs";
30
24
  import {
31
25
  ClayErasureCodingProvider
32
26
  } from "../chunk-OGKZ575S.mjs";
27
+ import {
28
+ ReedSolomonErasureCodingProvider
29
+ } from "../chunk-NHWWORCH.mjs";
33
30
  import "../chunk-Z7RFCADT.mjs";
34
31
  import {
35
32
  ShelbyMetadataClient
36
- } from "../chunk-7O77OM4T.mjs";
33
+ } from "../chunk-H53O23I7.mjs";
37
34
  import {
38
35
  ShelbyMicropaymentChannelClient
39
- } from "../chunk-OQNP5QXH.mjs";
36
+ } from "../chunk-VELC6GRY.mjs";
40
37
  import "../chunk-QQ57OGQ2.mjs";
41
- import "../chunk-MQUVYMNQ.mjs";
42
38
  import "../chunk-ZHXCVRZX.mjs";
43
39
  import "../chunk-AD2G3QYD.mjs";
40
+ import "../chunk-MQUVYMNQ.mjs";
41
+ import {
42
+ ShelbyPlacementGroupClient
43
+ } from "../chunk-HEA673HS.mjs";
44
+ import {
45
+ ShelbyRPCClient
46
+ } from "../chunk-LW2Y326E.mjs";
44
47
  import {
45
48
  SenderBuiltMicropayment,
46
49
  StaleChannelStateError
47
- } from "../chunk-KTVNKLBT.mjs";
50
+ } from "../chunk-TVLV7C74.mjs";
48
51
  import {
49
52
  createShelbyIndexerClient,
50
53
  getShelbyIndexerClient
51
- } from "../chunk-CGYJLKBU.mjs";
54
+ } from "../chunk-JISS2JLW.mjs";
52
55
  import {
53
56
  Blob_Activities_Select_Column,
54
57
  Blobs_Select_Column,
@@ -60,19 +63,13 @@ import {
60
63
  GetPlacementGroupSlotsCountDocument,
61
64
  GetPlacementGroupSlotsDocument,
62
65
  GetProcessorStatusDocument,
66
+ GetTotalBlobsSizeDocument,
63
67
  Order_By,
64
68
  Placement_Group_Slots_Select_Column,
65
69
  Processor_Status_Select_Column,
66
70
  getSdk
67
- } from "../chunk-KJ24NKPH.mjs";
71
+ } from "../chunk-TET3DJEO.mjs";
68
72
  import "../chunk-AABBONAF.mjs";
69
- import {
70
- ShelbyErrorCodes,
71
- isAccessDeniedError,
72
- isBlobAlreadyExistsError,
73
- isBlobExpiredError,
74
- isBlobNotFoundError
75
- } from "../chunk-CQ6QPIZK.mjs";
76
73
  import {
77
74
  BlobNameSchema,
78
75
  ChunkKey
@@ -94,9 +91,6 @@ import {
94
91
  getShelbyAccountExplorerUrl,
95
92
  getShelbyBlobExplorerUrl
96
93
  } from "../chunk-BDSW5PHM.mjs";
97
- import {
98
- testUtil_exports
99
- } from "../chunk-A4IG6GSE.mjs";
100
94
  import {
101
95
  getAptosAccountExplorerUrl,
102
96
  getAptosTransactionExplorerUrl
@@ -150,7 +144,14 @@ import {
150
144
  SHELBY_DEPLOYER,
151
145
  TOKEN_DEPLOYER,
152
146
  TOKEN_OBJECT_ADDRESS
153
- } from "../chunk-4ZOFT75Q.mjs";
147
+ } from "../chunk-7OV5ZYW6.mjs";
148
+ import {
149
+ ShelbyErrorCodes,
150
+ isAccessDeniedError,
151
+ isBlobAlreadyExistsError,
152
+ isBlobExpiredError,
153
+ isBlobNotFoundError
154
+ } from "../chunk-CQ6QPIZK.mjs";
154
155
  import "../chunk-7P6ASYW6.mjs";
155
156
  export {
156
157
  BlobCommitmentsSchema,
@@ -184,6 +185,7 @@ export {
184
185
  GetPlacementGroupSlotsCountDocument,
185
186
  GetPlacementGroupSlotsDocument,
186
187
  GetProcessorStatusDocument,
188
+ GetTotalBlobsSizeDocument,
187
189
  MICROPAYMENTS_DEPLOYER,
188
190
  MissingTransactionSubmitterError,
189
191
  NetworkToGasStationBaseUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shelby-protocol/sdk",
3
- "version": "0.2.1",
3
+ "version": "0.2.3",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"