Socket
Socket
Sign inDemoInstall

@mysten/sui

Package Overview
Dependencies
Maintainers
7
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mysten/sui - npm Package Compare versions

Comparing version 0.0.0-experimental-20240730220552 to 0.0.0-experimental-20240731174247

8

CHANGELOG.md
# @mysten/sui.js
## 0.0.0-experimental-20240730220552
## 0.0.0-experimental-20240731174247
### Minor Changes
- 0851b31: Deprecate requestType option when executing transactions
## 1.4.0
### Minor Changes
- 4419234: Add setGasBudgetIfNotSet helper to Transaction class

@@ -8,0 +14,0 @@

@@ -90,2 +90,6 @@ /**

};
/** Uses an enum to allow for future expansion of the ConsensusDeterminedVersionAssignments. */
export type ConsensusDeterminedVersionAssignments = {
CancelledTransactions: [string, [string, string][]][];
};
export type SuiParsedData = {

@@ -336,9 +340,2 @@ dataType: 'moveObject';

};
export interface LoadedChildObject {
objectId: string;
sequenceNumber: string;
}
export interface LoadedChildObjectsResponse {
loadedChildObjects: LoadedChildObject[];
}
export interface MoveCallParams {

@@ -364,3 +361,10 @@ arguments: unknown[];

id: string;
} | MoveStruct | null;
} | MoveStruct | null | MoveVariant;
export interface MoveVariant {
fields: {
[key: string]: MoveValue;
};
type: string;
variant: string;
}
/** The struct that contains signatures and public keys necessary for authenticating a MultiSig. */

@@ -379,4 +383,4 @@ export interface MultiSig {

/**
* Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys
* necessary for authenticating a MultiSigLegacy.
* Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys necessary
* for authenticating a MultiSigLegacy.
*/

@@ -668,2 +672,20 @@ export interface MultiSigLegacy {

}
/**
* An passkey authenticator with parsed fields. See field defition below. Can be initialized from
* [struct RawPasskeyAuthenticator].
*/
export interface PasskeyAuthenticator {
/**
* `authenticatorData` is a bytearray that encodes
* [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) structure returned
* by the authenticator attestation response as is.
*/
authenticator_data: number[];
/**
* `clientDataJSON` contains a JSON-compatible UTF-8 encoded string of the client data which is passed
* to the authenticator by the client during the authentication request (see
* [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata))
*/
client_data_json: string;
}
export interface ProtocolConfig {

@@ -688,2 +710,4 @@ attributes: {

f64: string;
} | {
bool: string;
};

@@ -698,2 +722,4 @@ export type PublicKey = {

ZkLogin: string;
} | {
Passkey: string;
};

@@ -820,2 +846,6 @@ export type RPCTransactionRequestParams = {

AuthenticatorStateExpire: SuiAuthenticatorStateExpire;
} | {
BridgeStateCreate: string;
} | {
BridgeCommitteeUpdate: string;
};

@@ -1263,2 +1293,10 @@ export interface SuiExecutionResult {

round: string;
} | {
commit_timestamp_ms: string;
consensus_commit_digest: string;
consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments;
epoch: string;
kind: 'ConsensusCommitPrologueV3';
round: string;
sub_dag_index?: string | null;
};

@@ -1348,5 +1386,5 @@ export interface SuiTransactionBlockResponse {

export interface TypeOrigin {
datatype_name: string;
module_name: string;
package: string;
struct_name: string;
}

@@ -1353,0 +1391,0 @@ /** Upgraded package info for the linkage table */

5

dist/cjs/client/types/params.d.ts

@@ -54,3 +54,3 @@ /**

options?: RpcTypes.SuiTransactionBlockResponseOptions | null | undefined;
/** The request type, derived from `SuiTransactionBlockResponseOptions` if None */
/** @deprecated requestType will be ignored by JSON RPC in the future */
requestType?: RpcTypes.ExecuteTransactionRequestType | null | undefined;

@@ -86,5 +86,2 @@ }

}
export interface GetLoadedChildObjectsParams {
digest: string;
}
/** Return the argument types of a Move function, based on normalized Type. */

@@ -91,0 +88,0 @@ export interface GetMoveFunctionArgTypesParams {

@@ -1,2 +0,2 @@

export declare const PACKAGE_VERSION = "0.0.0-experimental-20240730220552";
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240731174247";
export declare const TARGETED_RPC_VERSION = "1.31.0";

@@ -25,4 +25,4 @@ "use strict";

module.exports = __toCommonJS(version_exports);
const PACKAGE_VERSION = "0.0.0-experimental-20240730220552";
const PACKAGE_VERSION = "0.0.0-experimental-20240731174247";
const TARGETED_RPC_VERSION = "1.31.0";
//# sourceMappingURL=version.js.map

@@ -90,2 +90,6 @@ /**

};
/** Uses an enum to allow for future expansion of the ConsensusDeterminedVersionAssignments. */
export type ConsensusDeterminedVersionAssignments = {
CancelledTransactions: [string, [string, string][]][];
};
export type SuiParsedData = {

@@ -336,9 +340,2 @@ dataType: 'moveObject';

};
export interface LoadedChildObject {
objectId: string;
sequenceNumber: string;
}
export interface LoadedChildObjectsResponse {
loadedChildObjects: LoadedChildObject[];
}
export interface MoveCallParams {

@@ -364,3 +361,10 @@ arguments: unknown[];

id: string;
} | MoveStruct | null;
} | MoveStruct | null | MoveVariant;
export interface MoveVariant {
fields: {
[key: string]: MoveValue;
};
type: string;
variant: string;
}
/** The struct that contains signatures and public keys necessary for authenticating a MultiSig. */

@@ -379,4 +383,4 @@ export interface MultiSig {

/**
* Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys
* necessary for authenticating a MultiSigLegacy.
* Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys necessary
* for authenticating a MultiSigLegacy.
*/

@@ -668,2 +672,20 @@ export interface MultiSigLegacy {

}
/**
* An passkey authenticator with parsed fields. See field defition below. Can be initialized from
* [struct RawPasskeyAuthenticator].
*/
export interface PasskeyAuthenticator {
/**
* `authenticatorData` is a bytearray that encodes
* [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) structure returned
* by the authenticator attestation response as is.
*/
authenticator_data: number[];
/**
* `clientDataJSON` contains a JSON-compatible UTF-8 encoded string of the client data which is passed
* to the authenticator by the client during the authentication request (see
* [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata))
*/
client_data_json: string;
}
export interface ProtocolConfig {

@@ -688,2 +710,4 @@ attributes: {

f64: string;
} | {
bool: string;
};

@@ -698,2 +722,4 @@ export type PublicKey = {

ZkLogin: string;
} | {
Passkey: string;
};

@@ -820,2 +846,6 @@ export type RPCTransactionRequestParams = {

AuthenticatorStateExpire: SuiAuthenticatorStateExpire;
} | {
BridgeStateCreate: string;
} | {
BridgeCommitteeUpdate: string;
};

@@ -1263,2 +1293,10 @@ export interface SuiExecutionResult {

round: string;
} | {
commit_timestamp_ms: string;
consensus_commit_digest: string;
consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments;
epoch: string;
kind: 'ConsensusCommitPrologueV3';
round: string;
sub_dag_index?: string | null;
};

@@ -1348,5 +1386,5 @@ export interface SuiTransactionBlockResponse {

export interface TypeOrigin {
datatype_name: string;
module_name: string;
package: string;
struct_name: string;
}

@@ -1353,0 +1391,0 @@ /** Upgraded package info for the linkage table */

@@ -54,3 +54,3 @@ /**

options?: RpcTypes.SuiTransactionBlockResponseOptions | null | undefined;
/** The request type, derived from `SuiTransactionBlockResponseOptions` if None */
/** @deprecated requestType will be ignored by JSON RPC in the future */
requestType?: RpcTypes.ExecuteTransactionRequestType | null | undefined;

@@ -86,5 +86,2 @@ }

}
export interface GetLoadedChildObjectsParams {
digest: string;
}
/** Return the argument types of a Move function, based on normalized Type. */

@@ -91,0 +88,0 @@ export interface GetMoveFunctionArgTypesParams {

@@ -1,2 +0,2 @@

export declare const PACKAGE_VERSION = "0.0.0-experimental-20240730220552";
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240731174247";
export declare const TARGETED_RPC_VERSION = "1.31.0";

@@ -1,2 +0,2 @@

const PACKAGE_VERSION = "0.0.0-experimental-20240730220552";
const PACKAGE_VERSION = "0.0.0-experimental-20240731174247";
const TARGETED_RPC_VERSION = "1.31.0";

@@ -3,0 +3,0 @@ export {

@@ -6,3 +6,3 @@ {

"homepage": "https://sdk.mystenlabs.com",
"version": "0.0.0-experimental-20240730220552",
"version": "0.0.0-experimental-20240731174247",
"license": "Apache-2.0",

@@ -9,0 +9,0 @@ "sideEffects": false,

@@ -98,2 +98,6 @@ // Copyright (c) Mysten Labs, Inc.

};
/** Uses an enum to allow for future expansion of the ConsensusDeterminedVersionAssignments. */
export type ConsensusDeterminedVersionAssignments = {
CancelledTransactions: [string, [string, string][]][];
};
export type SuiParsedData =

@@ -360,9 +364,2 @@ | {

};
export interface LoadedChildObject {
objectId: string;
sequenceNumber: string;
}
export interface LoadedChildObjectsResponse {
loadedChildObjects: LoadedChildObject[];
}
export interface MoveCallParams {

@@ -401,3 +398,11 @@ arguments: unknown[];

| MoveStruct
| null;
| null
| MoveVariant;
export interface MoveVariant {
fields: {
[key: string]: MoveValue;
};
type: string;
variant: string;
}
/** The struct that contains signatures and public keys necessary for authenticating a MultiSig. */

@@ -416,4 +421,4 @@ export interface MultiSig {

/**
* Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys
* necessary for authenticating a MultiSigLegacy.
* Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys necessary
* for authenticating a MultiSigLegacy.
*/

@@ -722,2 +727,20 @@ export interface MultiSigLegacy {

}
/**
* An passkey authenticator with parsed fields. See field defition below. Can be initialized from
* [struct RawPasskeyAuthenticator].
*/
export interface PasskeyAuthenticator {
/**
* `authenticatorData` is a bytearray that encodes
* [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) structure returned
* by the authenticator attestation response as is.
*/
authenticator_data: number[];
/**
* `clientDataJSON` contains a JSON-compatible UTF-8 encoded string of the client data which is passed
* to the authenticator by the client during the authentication request (see
* [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata))
*/
client_data_json: string;
}
export interface ProtocolConfig {

@@ -746,2 +769,5 @@ attributes: {

f64: string;
}
| {
bool: string;
};

@@ -760,2 +786,5 @@ export type PublicKey =

ZkLogin: string;
}
| {
Passkey: string;
};

@@ -905,2 +934,8 @@ export type RPCTransactionRequestParams =

AuthenticatorStateExpire: SuiAuthenticatorStateExpire;
}
| {
BridgeStateCreate: string;
}
| {
BridgeCommitteeUpdate: string;
};

@@ -1386,2 +1421,11 @@ export interface SuiExecutionResult {

round: string;
}
| {
commit_timestamp_ms: string;
consensus_commit_digest: string;
consensus_determined_version_assignments: ConsensusDeterminedVersionAssignments;
epoch: string;
kind: 'ConsensusCommitPrologueV3';
round: string;
sub_dag_index?: string | null;
};

@@ -1480,5 +1524,5 @@ export interface SuiTransactionBlockResponse {

export interface TypeOrigin {
datatype_name: string;
module_name: string;
package: string;
struct_name: string;
}

@@ -1485,0 +1529,0 @@ /** Upgraded package info for the linkage table */

@@ -59,3 +59,3 @@ // Copyright (c) Mysten Labs, Inc.

options?: RpcTypes.SuiTransactionBlockResponseOptions | null | undefined;
/** The request type, derived from `SuiTransactionBlockResponseOptions` if None */
/** @deprecated requestType will be ignored by JSON RPC in the future */
requestType?: RpcTypes.ExecuteTransactionRequestType | null | undefined;

@@ -89,5 +89,2 @@ }

export interface GetLatestCheckpointSequenceNumberParams {}
export interface GetLoadedChildObjectsParams {
digest: string;
}
/** Return the argument types of a Move function, based on normalized Type. */

@@ -94,0 +91,0 @@ export interface GetMoveFunctionArgTypesParams {

@@ -6,3 +6,3 @@ // Copyright (c) Mysten Labs, Inc.

export const PACKAGE_VERSION = '0.0.0-experimental-20240730220552';
export const PACKAGE_VERSION = '0.0.0-experimental-20240731174247';
export const TARGETED_RPC_VERSION = '1.31.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc