Socket
Socket
Sign inDemoInstall

@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.53.0 to 0.54.0

dist/cjs/graphql/generated/2024.1/tada-env.d.js

10

CHANGELOG.md
# @mysten/sui.js
## 0.54.0
### Minor Changes
- b7f673dbd9: Update versioned graphql schema imports
### Patch Changes
- 123b42c75c: Only accept 1 keypair on getSigner method of MultiSigPubKey
## 0.53.0

@@ -4,0 +14,0 @@

2

dist/cjs/multisig/publickey.d.ts

@@ -86,3 +86,3 @@ import type { Signer } from '../cryptography/keypair.js';

getThreshold(): number;
getSigner(signers: Signer[]): MultiSigSigner;
getSigner(...signers: [signer: Signer]): MultiSigSigner;
/**

@@ -89,0 +89,0 @@ * Return the Sui address associated with this MultiSig public key

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

}
getSigner(signers) {
getSigner(...signers) {
return new import_signer.MultiSigSigner(this, signers);

@@ -125,0 +125,0 @@ }

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

export declare const PACKAGE_VERSION = "0.53.0";
export declare const PACKAGE_VERSION = "0.54.0";
export declare const TARGETED_RPC_VERSION = "1.25.0";

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

module.exports = __toCommonJS(version_exports);
const PACKAGE_VERSION = "0.53.0";
const PACKAGE_VERSION = "0.54.0";
const TARGETED_RPC_VERSION = "1.25.0";
//# sourceMappingURL=version.js.map

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

var import_client = require("../graphql/client.js");
var import__ = require("../graphql/schemas/2024-01/index.js");
var import__ = require("../graphql/schemas/2024.4/index.js");
var import_jwt_utils = require("./jwt-utils.js");

@@ -51,0 +51,0 @@ var import_signature = require("./signature.js");

@@ -86,3 +86,3 @@ import type { Signer } from '../cryptography/keypair.js';

getThreshold(): number;
getSigner(signers: Signer[]): MultiSigSigner;
getSigner(...signers: [signer: Signer]): MultiSigSigner;
/**

@@ -89,0 +89,0 @@ * Return the Sui address associated with this MultiSig public key

@@ -99,3 +99,3 @@ import { fromB64, toB64 } from "@mysten/bcs";

}
getSigner(signers) {
getSigner(...signers) {
return new MultiSigSigner(this, signers);

@@ -102,0 +102,0 @@ }

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

export declare const PACKAGE_VERSION = "0.53.0";
export declare const PACKAGE_VERSION = "0.54.0";
export declare const TARGETED_RPC_VERSION = "1.25.0";

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

const PACKAGE_VERSION = "0.53.0";
const PACKAGE_VERSION = "0.54.0";
const TARGETED_RPC_VERSION = "1.25.0";

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

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

import { SuiGraphQLClient } from "../graphql/client.js";
import { graphql } from "../graphql/schemas/2024-01/index.js";
import { graphql } from "../graphql/schemas/2024.4/index.js";
import { extractClaimValue } from "./jwt-utils.js";

@@ -27,0 +27,0 @@ import { parseZkLoginSignature } from "./signature.js";

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

"homepage": "https://sdk.mystenlabs.com",
"version": "0.53.0",
"version": "0.54.0",
"license": "Apache-2.0",

@@ -54,6 +54,2 @@ "sideEffects": false,

},
"./graphql/schemas/2024-01": {
"import": "./dist/esm/graphql/schemas/2024-01/index.js",
"require": "./dist/cjs/graphql/schemas/2024-01/index.js"
},
"./keypairs/ed25519": {

@@ -90,2 +86,10 @@ "import": "./dist/esm/keypairs/ed25519/index.js",

"require": "./dist/cjs/zklogin/index.js"
},
"./graphql/schemas/2024.1": {
"import": "./dist/esm/graphql/schemas/2024.1/index.js",
"require": "./dist/cjs/graphql/schemas/2024.1/index.js"
},
"./graphql/schemas/2024.4": {
"import": "./dist/esm/graphql/schemas/2024.4/index.js",
"require": "./dist/cjs/graphql/schemas/2024.4/index.js"
}

@@ -111,2 +115,3 @@ },

"cross-env": "^7.0.3",
"gql.tada": "^1.4.1",
"graphql-config": "^5.0.3",

@@ -131,3 +136,2 @@ "msw": "^1.2.2",

"bech32": "^2.0.0",
"gql.tada": "^1.4.1",
"graphql": "^16.8.1",

@@ -157,4 +161,6 @@ "superstruct": "^1.0.3",

"lint": "pnpm run eslint:check && pnpm run prettier:check",
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix"
"lint:fix": "pnpm run eslint:fix && pnpm run prettier:fix",
"update-schemas": "pnpm tsx scripts/update-graphql-schemas.ts",
"generate-schema": "gql.tada generate-output"
}
}

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

getSigner(signers: Signer[]) {
getSigner(...signers: [signer: Signer]) {
return new MultiSigSigner(this, signers);

@@ -183,0 +183,0 @@ }

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

export const PACKAGE_VERSION = '0.53.0';
export const PACKAGE_VERSION = '0.54.0';
export const TARGETED_RPC_VERSION = '1.25.0';

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

import { SuiGraphQLClient } from '../graphql/client.js';
import { graphql } from '../graphql/schemas/2024-01/index.js';
import { graphql } from '../graphql/schemas/2024.4/index.js';
import { extractClaimValue } from './jwt-utils.js';

@@ -14,0 +14,0 @@ import { parseZkLoginSignature } from './signature.js';

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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