@mysten/sui.js
Advanced tools
Comparing version 0.0.0-experimental-20240106194601 to 0.0.0-experimental-20240111220418
# @mysten/sui.js | ||
## 0.0.0-experimental-20240106194601 | ||
## 0.0.0-experimental-20240111220418 | ||
### Patch Changes | ||
- 9a14e61db4: Allow signer in signAndExecuteTransactionBlock to be a Signer rather than a Keypair | ||
## 0.49.1 | ||
### Patch Changes | ||
- 9ac0a4ec01: Add extensions to all sdk import paths | ||
- Updated dependencies [9ac0a4ec01] | ||
- @mysten/bcs@0.0.0-experimental-20240106194601 | ||
- @mysten/bcs@0.10.1 | ||
@@ -11,0 +17,0 @@ ## 0.49.0 |
import type { SerializedBcs } from '@mysten/bcs'; | ||
import type { ProtocolConfig, SuiClient } from '../client/index.js'; | ||
import type { Keypair, SignatureWithBytes } from '../cryptography/index.js'; | ||
import type { SignatureWithBytes, Signer } from '../cryptography/index.js'; | ||
import { SuiObjectRef } from '../types/index.js'; | ||
@@ -36,3 +36,3 @@ import type { ObjectCallArg } from './Inputs.js'; | ||
interface SignOptions extends BuildOptions { | ||
signer: Keypair; | ||
signer: Signer; | ||
} | ||
@@ -39,0 +39,0 @@ export declare function isTransactionBlock(obj: unknown): obj is TransactionBlock; |
import type { TransactionBlock } from '../builder/index.js'; | ||
import type { Keypair } from '../cryptography/index.js'; | ||
import type { Signer } from '../cryptography/index.js'; | ||
import type { SuiTransport } from './http-transport.js'; | ||
@@ -111,3 +111,3 @@ import type { AddressMetrics, AllEpochsAddressMetrics, Checkpoint, CheckpointPage, CoinBalance, CoinMetadata, CoinSupply, CommitteeInfo, DelegatedStake, DevInspectResults, DevInspectTransactionBlockParams, DryRunTransactionBlockParams, DryRunTransactionBlockResponse, DynamicFieldPage, EpochInfo, EpochMetricsPage, EpochPage, ExecuteTransactionBlockParams, GetAllBalancesParams, GetAllCoinsParams, GetBalanceParams, GetCheckpointParams, GetCheckpointsParams, GetCoinMetadataParams, GetCoinsParams, GetCommitteeInfoParams, GetDynamicFieldObjectParams, GetDynamicFieldsParams, GetMoveFunctionArgTypesParams, GetNormalizedMoveFunctionParams, GetNormalizedMoveModuleParams, GetNormalizedMoveModulesByPackageParams, GetNormalizedMoveStructParams, GetObjectParams, GetOwnedObjectsParams, GetProtocolConfigParams, GetStakesByIdsParams, GetStakesParams, GetTotalSupplyParams, GetTransactionBlockParams, MoveCallMetrics, MultiGetObjectsParams, MultiGetTransactionBlocksParams, NetworkMetrics, ObjectRead, Order, PaginatedCoins, PaginatedEvents, PaginatedObjectsResponse, PaginatedTransactionResponse, ProtocolConfig, QueryEventsParams, QueryTransactionBlocksParams, ResolvedNameServiceNames, ResolveNameServiceAddressParams, ResolveNameServiceNamesParams, SubscribeEventParams, SubscribeTransactionParams, SuiEvent, SuiMoveFunctionArgType, SuiMoveNormalizedFunction, SuiMoveNormalizedModule, SuiMoveNormalizedModules, SuiMoveNormalizedStruct, SuiObjectResponse, SuiSystemStateSummary, SuiTransactionBlockResponse, TransactionEffects, TryGetPastObjectParams, Unsubscribe, ValidatorsApy } from './types/index.js'; | ||
transactionBlock: Uint8Array | TransactionBlock; | ||
signer: Keypair; | ||
signer: Signer; | ||
} & Omit<ExecuteTransactionBlockParams, 'transactionBlock' | 'signature'>): Promise<SuiTransactionBlockResponse>; | ||
@@ -114,0 +114,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240106194601"; | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240111220418"; | ||
export declare const TARGETED_RPC_VERSION = "1.17.0"; |
@@ -25,4 +25,4 @@ "use strict"; | ||
module.exports = __toCommonJS(version_exports); | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240106194601"; | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240111220418"; | ||
const TARGETED_RPC_VERSION = "1.17.0"; | ||
//# sourceMappingURL=version.js.map |
import type { SerializedBcs } from '@mysten/bcs'; | ||
import type { ProtocolConfig, SuiClient } from '../client/index.js'; | ||
import type { Keypair, SignatureWithBytes } from '../cryptography/index.js'; | ||
import type { SignatureWithBytes, Signer } from '../cryptography/index.js'; | ||
import { SuiObjectRef } from '../types/index.js'; | ||
@@ -36,3 +36,3 @@ import type { ObjectCallArg } from './Inputs.js'; | ||
interface SignOptions extends BuildOptions { | ||
signer: Keypair; | ||
signer: Signer; | ||
} | ||
@@ -39,0 +39,0 @@ export declare function isTransactionBlock(obj: unknown): obj is TransactionBlock; |
import type { TransactionBlock } from '../builder/index.js'; | ||
import type { Keypair } from '../cryptography/index.js'; | ||
import type { Signer } from '../cryptography/index.js'; | ||
import type { SuiTransport } from './http-transport.js'; | ||
@@ -111,3 +111,3 @@ import type { AddressMetrics, AllEpochsAddressMetrics, Checkpoint, CheckpointPage, CoinBalance, CoinMetadata, CoinSupply, CommitteeInfo, DelegatedStake, DevInspectResults, DevInspectTransactionBlockParams, DryRunTransactionBlockParams, DryRunTransactionBlockResponse, DynamicFieldPage, EpochInfo, EpochMetricsPage, EpochPage, ExecuteTransactionBlockParams, GetAllBalancesParams, GetAllCoinsParams, GetBalanceParams, GetCheckpointParams, GetCheckpointsParams, GetCoinMetadataParams, GetCoinsParams, GetCommitteeInfoParams, GetDynamicFieldObjectParams, GetDynamicFieldsParams, GetMoveFunctionArgTypesParams, GetNormalizedMoveFunctionParams, GetNormalizedMoveModuleParams, GetNormalizedMoveModulesByPackageParams, GetNormalizedMoveStructParams, GetObjectParams, GetOwnedObjectsParams, GetProtocolConfigParams, GetStakesByIdsParams, GetStakesParams, GetTotalSupplyParams, GetTransactionBlockParams, MoveCallMetrics, MultiGetObjectsParams, MultiGetTransactionBlocksParams, NetworkMetrics, ObjectRead, Order, PaginatedCoins, PaginatedEvents, PaginatedObjectsResponse, PaginatedTransactionResponse, ProtocolConfig, QueryEventsParams, QueryTransactionBlocksParams, ResolvedNameServiceNames, ResolveNameServiceAddressParams, ResolveNameServiceNamesParams, SubscribeEventParams, SubscribeTransactionParams, SuiEvent, SuiMoveFunctionArgType, SuiMoveNormalizedFunction, SuiMoveNormalizedModule, SuiMoveNormalizedModules, SuiMoveNormalizedStruct, SuiObjectResponse, SuiSystemStateSummary, SuiTransactionBlockResponse, TransactionEffects, TryGetPastObjectParams, Unsubscribe, ValidatorsApy } from './types/index.js'; | ||
transactionBlock: Uint8Array | TransactionBlock; | ||
signer: Keypair; | ||
signer: Signer; | ||
} & Omit<ExecuteTransactionBlockParams, 'transactionBlock' | 'signature'>): Promise<SuiTransactionBlockResponse>; | ||
@@ -114,0 +114,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240106194601"; | ||
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240111220418"; | ||
export declare const TARGETED_RPC_VERSION = "1.17.0"; |
@@ -1,2 +0,2 @@ | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240106194601"; | ||
const PACKAGE_VERSION = "0.0.0-experimental-20240111220418"; | ||
const TARGETED_RPC_VERSION = "1.17.0"; | ||
@@ -3,0 +3,0 @@ export { |
@@ -6,3 +6,3 @@ { | ||
"homepage": "https://sdk.mystenlabs.com", | ||
"version": "0.0.0-experimental-20240106194601", | ||
"version": "0.0.0-experimental-20240111220418", | ||
"license": "Apache-2.0", | ||
@@ -113,3 +113,3 @@ "sideEffects": false, | ||
"tweetnacl": "^1.0.3", | ||
"@mysten/bcs": "0.0.0-experimental-20240106194601" | ||
"@mysten/bcs": "0.10.1" | ||
}, | ||
@@ -116,0 +116,0 @@ "scripts": { |
@@ -10,3 +10,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
import type { ProtocolConfig, SuiClient, SuiMoveNormalizedType } from '../client/index.js'; | ||
import type { Keypair, SignatureWithBytes } from '../cryptography/index.js'; | ||
import type { SignatureWithBytes, Signer } from '../cryptography/index.js'; | ||
import type { SuiObjectResponse } from '../types/index.js'; | ||
@@ -157,3 +157,3 @@ import { | ||
interface SignOptions extends BuildOptions { | ||
signer: Keypair; | ||
signer: Signer; | ||
} | ||
@@ -160,0 +160,0 @@ |
@@ -7,3 +7,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
import { isTransactionBlock } from '../builder/index.js'; | ||
import type { Keypair } from '../cryptography/index.js'; | ||
import type { Signer } from '../cryptography/index.js'; | ||
import { | ||
@@ -433,3 +433,3 @@ isValidSuiAddress, | ||
transactionBlock: Uint8Array | TransactionBlock; | ||
signer: Keypair; | ||
signer: Signer; | ||
} & Omit< | ||
@@ -436,0 +436,0 @@ ExecuteTransactionBlockParams, |
@@ -6,3 +6,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
export const PACKAGE_VERSION = '0.0.0-experimental-20240106194601'; | ||
export const PACKAGE_VERSION = '0.0.0-experimental-20240111220418'; | ||
export const TARGETED_RPC_VERSION = '1.17.0'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2369779
+ Added@mysten/bcs@0.10.1(transitive)
- Removed@mysten/bcs@0.0.0-experimental-20240106194601(transitive)
Updated@mysten/bcs@0.10.1