Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mysten/sui.js

Package Overview
Dependencies
Maintainers
4
Versions
895
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mysten/sui.js - npm Package Compare versions

Comparing version 0.0.0-experimental-20240328191114 to 0.0.0-experimental-20240402061633

8

CHANGELOG.md
# @mysten/sui.js
## 0.0.0-experimental-20240328191114
## 0.0.0-experimental-20240402061633
### Patch Changes
- b4ecdb5860: Fix fetch being incorrectly bound to GraphQL client
## 0.51.1
### Patch Changes
- 6984dd1e38: Update gql.tada and add type definitions for custom scalars

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

2

dist/cjs/client/http-transport.js

@@ -60,3 +60,3 @@ "use strict";

const fetch = __privateGet(this, _options).fetch ?? globalThis.fetch;
if (!this.fetch) {
if (!fetch) {
throw new Error(

@@ -63,0 +63,0 @@ "The current environment does not support fetch, you can provide a fetch implementation in the options for SuiHTTPTransport."

@@ -61,3 +61,3 @@ "use strict";

__privateSet(this, _headers, headers);
__privateSet(this, _fetch, fetchFn);
__privateSet(this, _fetch, (...args) => fetchFn(...args));
}

@@ -64,0 +64,0 @@ async query(options) {

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

export declare const PACKAGE_VERSION = "0.0.0-experimental-20240328191114";
export declare const TARGETED_RPC_VERSION = "1.22.0";
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240402061633";
export declare const TARGETED_RPC_VERSION = "1.23.0";

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

module.exports = __toCommonJS(version_exports);
const PACKAGE_VERSION = "0.0.0-experimental-20240328191114";
const TARGETED_RPC_VERSION = "1.22.0";
const PACKAGE_VERSION = "0.0.0-experimental-20240402061633";
const TARGETED_RPC_VERSION = "1.23.0";
//# sourceMappingURL=version.js.map

@@ -37,3 +37,3 @@ var __accessCheck = (obj, member, msg) => {

const fetch = __privateGet(this, _options).fetch ?? globalThis.fetch;
if (!this.fetch) {
if (!fetch) {
throw new Error(

@@ -40,0 +40,0 @@ "The current environment does not support fetch, you can provide a fetch implementation in the options for SuiHTTPTransport."

@@ -37,3 +37,3 @@ var __accessCheck = (obj, member, msg) => {

__privateSet(this, _headers, headers);
__privateSet(this, _fetch, fetchFn);
__privateSet(this, _fetch, (...args) => fetchFn(...args));
}

@@ -40,0 +40,0 @@ async query(options) {

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

export declare const PACKAGE_VERSION = "0.0.0-experimental-20240328191114";
export declare const TARGETED_RPC_VERSION = "1.22.0";
export declare const PACKAGE_VERSION = "0.0.0-experimental-20240402061633";
export declare const TARGETED_RPC_VERSION = "1.23.0";

@@ -1,3 +0,3 @@

const PACKAGE_VERSION = "0.0.0-experimental-20240328191114";
const TARGETED_RPC_VERSION = "1.22.0";
const PACKAGE_VERSION = "0.0.0-experimental-20240402061633";
const TARGETED_RPC_VERSION = "1.23.0";
export {

@@ -4,0 +4,0 @@ PACKAGE_VERSION,

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

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

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

"test:e2e:nowait": "vitest run e2e",
"prepare:e2e": "docker-compose down && docker-compose up -d && cargo build --bin sui-test-validator --bin sui --profile dev && cross-env RUST_LOG=info,sui=error,anemo_tower=warn,consensus=off cargo run --bin sui-test-validator -- --with-indexer --use-indexer-v2 --pg-port 5435 --pg-db-name sui_indexer_v2 --graphql-host 127.0.0.1 --graphql-port 9125",
"prepare:e2e": "docker-compose down && docker-compose up -d && cargo build --bin sui-test-validator --bin sui --profile dev && cross-env RUST_LOG=info,sui=error,anemo_tower=warn,consensus=off cargo run --bin sui-test-validator -- --with-indexer --pg-port 5435 --pg-db-name sui_indexer_v2 --graphql-host 127.0.0.1 --graphql-port 9125",
"size": "size-limit",

@@ -148,0 +148,0 @@ "analyze": "size-limit --why",

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

if (!this.fetch) {
if (!fetch) {
throw new Error(

@@ -61,0 +61,0 @@ 'The current environment does not support fetch, you can provide a fetch implementation in the options for SuiHTTPTransport.',

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

this.#headers = headers;
this.#fetch = fetchFn;
this.#fetch = (...args) => fetchFn(...args);
}

@@ -70,0 +70,0 @@

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

export const PACKAGE_VERSION = '0.0.0-experimental-20240328191114';
export const TARGETED_RPC_VERSION = '1.22.0';
export const PACKAGE_VERSION = '0.0.0-experimental-20240402061633';
export const TARGETED_RPC_VERSION = '1.23.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