@scallop-io/sui-scallop-sdk 4.2.0 → 4.3.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/README.md +356 -139
- package/dist/builder.cjs +5 -4
- package/dist/builder.d.cts +2 -2
- package/dist/builder.d.ts +2 -2
- package/dist/builder.js +2 -2
- package/dist/chunk-FNZDTB3A.js +16 -0
- package/dist/chunk-UCRLKWQI.js +11 -0
- package/dist/{chunk-4IC4UXW5.js → chunk-ZAFUZGSI.js} +2 -2
- package/dist/client.cjs +5 -4
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +3 -3
- package/dist/index.cjs +21 -20
- package/dist/index.d.cts +2 -5
- package/dist/index.d.ts +2 -5
- package/dist/index.js +4 -4
- package/dist/{query-CXvcpnYj.d.ts → query-b84awDFp.d.ts} +25 -7
- package/dist/query.cjs +5 -4
- package/dist/query.d.cts +1 -1
- package/dist/query.d.ts +1 -1
- package/dist/query.js +1 -1
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +4 -2
- package/src/constants/queryKeys.ts +0 -12
- package/src/constants/testAddress.ts +2 -0
- package/src/datasources/api.ts +3 -3
- package/src/models/scallopAddress/const.ts +1 -0
- package/src/models/scallopAddress/index.ts +2 -2
- package/src/models/scallopAddress/types.ts +1 -0
- package/src/models/scallopQuery/index.ts +10 -0
- package/src/models/scallopUtils/index.ts +3 -3
- package/src/models/scallopUtils/types.ts +1 -1
- package/src/repositories/obligation/helpers.ts +59 -0
- package/src/repositories/obligation/index.ts +5 -0
- package/src/repositories/obligation/types.ts +17 -1
- package/src/repositories/obligation/utils.ts +22 -0
- package/src/repositories/price/helpers.ts +7 -2
- package/src/repositories/price/types.ts +2 -2
- package/src/repositories/wiring/metadata.ts +1 -0
- package/src/txBuilders/oracles/pyth.ts +1 -5
- package/dist/chunk-3T4T4AON.js +0 -15
- package/dist/chunk-6YLMI74S.js +0 -11
package/dist/client.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as ScallopBuilder, f as ScallopQuery, g as ScallopUtils, h as ScallopConstants, bq as TransactionExecutor, br as DefaultTxInclude, a as ScallopTxBlock, e as SuiObjectData, b as ScallopBuilderConstructorParams, bs as ScallopClientInterface, bt as OnChainDataSource, aG as ScallopAddress } from './query-
|
|
1
|
+
import { S as ScallopBuilder, f as ScallopQuery, g as ScallopUtils, h as ScallopConstants, bq as TransactionExecutor, br as DefaultTxInclude, a as ScallopTxBlock, e as SuiObjectData, b as ScallopBuilderConstructorParams, bs as ScallopClientInterface, bt as OnChainDataSource, aG as ScallopAddress } from './query-b84awDFp.js';
|
|
2
2
|
import * as _scallop_io_sui_kit from '@scallop-io/sui-kit';
|
|
3
3
|
import { SuiObjectArg, SuiTransactionBlockResponse, NetworkType } from '@scallop-io/sui-kit';
|
|
4
4
|
import { Transaction, TransactionObjectArgument, TransactionResult } from '@mysten/sui/transactions';
|
package/dist/client.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as ScallopBuilder, f as ScallopQuery, g as ScallopUtils, h as ScallopConstants, bq as TransactionExecutor, br as DefaultTxInclude, a as ScallopTxBlock, e as SuiObjectData, b as ScallopBuilderConstructorParams, bs as ScallopClientInterface, bt as OnChainDataSource, aG as ScallopAddress } from './query-
|
|
1
|
+
import { S as ScallopBuilder, f as ScallopQuery, g as ScallopUtils, h as ScallopConstants, bq as TransactionExecutor, br as DefaultTxInclude, a as ScallopTxBlock, e as SuiObjectData, b as ScallopBuilderConstructorParams, bs as ScallopClientInterface, bt as OnChainDataSource, aG as ScallopAddress } from './query-b84awDFp.js';
|
|
2
2
|
import * as _scallop_io_sui_kit from '@scallop-io/sui-kit';
|
|
3
3
|
import { SuiObjectArg, SuiTransactionBlockResponse, NetworkType } from '@scallop-io/sui-kit';
|
|
4
4
|
import { Transaction, TransactionObjectArgument, TransactionResult } from '@mysten/sui/transactions';
|
package/dist/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { a as ScallopClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
export { a as ScallopClient } from './chunk-ZAFUZGSI.js';
|
|
2
|
+
import './chunk-UCRLKWQI.js';
|
|
3
|
+
import './chunk-FNZDTB3A.js';
|
|
4
4
|
import './chunk-S34VOEZN.js';
|
|
5
5
|
import './chunk-6UQ4NWEU.js';
|