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-20240715213046 to 0.0.0-experimental-20240716041834

6

CHANGELOG.md
# @mysten/sui.js
## 0.0.0-experimental-20240715213046
## 0.0.0-experimental-20240716041834
### Patch Changes
- 7fc464a: Remove unique symbols from types to improve compatability between version
- 0fb0628: Mark subscription methods as deprecated.
- 0f27a97: Update dependencies
- Updated dependencies [7fc464a]
- Updated dependencies [0f27a97]
- @mysten/bcs@0.0.0-experimental-20240715213046
- @mysten/bcs@0.0.0-experimental-20240716041834

@@ -12,0 +14,0 @@ ## 1.2.1

@@ -26,7 +26,5 @@ import type { Signer } from '../cryptography/index.js';

};
declare const SUI_CLIENT_BRAND: unique symbol;
export declare function isSuiClient(client: unknown): client is SuiClient;
export declare class SuiClient {
protected transport: SuiTransport;
get [SUI_CLIENT_BRAND](): boolean;
/**

@@ -33,0 +31,0 @@ * Establish a connection to a Sui RPC endpoint

@@ -23,3 +23,2 @@ import type { SerializedBcs } from '@mysten/bcs';

}>[];
declare const TRANSACTION_BRAND: unique symbol;
interface SignOptions extends BuildTransactionOptions {

@@ -584,3 +583,2 @@ signer: Signer;

};
get [TRANSACTION_BRAND](): boolean;
get pure(): ReturnType<typeof createPure>;

@@ -587,0 +585,0 @@ constructor();

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

export declare const PACKAGE_VERSION = "0.0.0-experimental-20240715213046";
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240716041834";
export declare const TARGETED_RPC_VERSION = "1.30.0";

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

module.exports = __toCommonJS(version_exports);
const PACKAGE_VERSION = "0.0.0-experimental-20240715213046";
const PACKAGE_VERSION = "0.0.0-experimental-20240716041834";
const TARGETED_RPC_VERSION = "1.30.0";
//# sourceMappingURL=version.js.map

@@ -26,7 +26,5 @@ import type { Signer } from '../cryptography/index.js';

};
declare const SUI_CLIENT_BRAND: unique symbol;
export declare function isSuiClient(client: unknown): client is SuiClient;
export declare class SuiClient {
protected transport: SuiTransport;
get [SUI_CLIENT_BRAND](): boolean;
/**

@@ -33,0 +31,0 @@ * Establish a connection to a Sui RPC endpoint

@@ -23,3 +23,2 @@ import type { SerializedBcs } from '@mysten/bcs';

}>[];
declare const TRANSACTION_BRAND: unique symbol;
interface SignOptions extends BuildTransactionOptions {

@@ -584,3 +583,2 @@ signer: Signer;

};
get [TRANSACTION_BRAND](): boolean;
get pure(): ReturnType<typeof createPure>;

@@ -587,0 +585,0 @@ constructor();

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

export declare const PACKAGE_VERSION = "0.0.0-experimental-20240715213046";
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240716041834";
export declare const TARGETED_RPC_VERSION = "1.30.0";

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

const PACKAGE_VERSION = "0.0.0-experimental-20240715213046";
const PACKAGE_VERSION = "0.0.0-experimental-20240716041834";
const TARGETED_RPC_VERSION = "1.30.0";

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

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

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

@@ -136,3 +136,3 @@ "sideEffects": false,

"valibot": "^0.36.0",
"@mysten/bcs": "0.0.0-experimental-20240715213046"
"@mysten/bcs": "0.0.0-experimental-20240716041834"
},

@@ -139,0 +139,0 @@ "scripts": {

@@ -121,9 +121,7 @@ // Copyright (c) Mysten Labs, Inc.

const SUI_CLIENT_BRAND = Symbol.for('@mysten/SuiClient');
const SUI_CLIENT_BRAND = Symbol.for('@mysten/SuiClient') as never;
export function isSuiClient(client: unknown): client is SuiClient {
return (
typeof client === 'object' &&
client !== null &&
(client as { [SUI_CLIENT_BRAND]: unknown })[SUI_CLIENT_BRAND] === true
typeof client === 'object' && client !== null && (client as any)[SUI_CLIENT_BRAND] === true
);

@@ -130,0 +128,0 @@ }

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

const TRANSACTION_BRAND = Symbol.for('@mysten/transaction');
const TRANSACTION_BRAND = Symbol.for('@mysten/transaction') as never;

@@ -92,0 +92,0 @@ interface SignOptions extends BuildTransactionOptions {

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

export const PACKAGE_VERSION = '0.0.0-experimental-20240715213046';
export const PACKAGE_VERSION = '0.0.0-experimental-20240716041834';
export const TARGETED_RPC_VERSION = '1.30.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

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