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

@mysten/wallet-standard

Package Overview
Dependencies
Maintainers
7
Versions
758
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mysten/wallet-standard - npm Package Compare versions

Comparing version 0.0.0-experimental-20240924193256 to 0.0.0-experimental-20240926213518

12

CHANGELOG.md
# @mysten/wallet-standard
## 0.0.0-experimental-20240924193256
## 0.0.0-experimental-20240926213518
### Patch Changes
- Updated dependencies [489f421]
- Updated dependencies [489f421]
- @mysten/sui@0.0.0-experimental-20240926213518
## 0.13.5
### Patch Changes
- Updated dependencies [830b8d8]
- @mysten/sui@0.0.0-experimental-20240924193256
- @mysten/sui@1.10.0

@@ -10,0 +18,0 @@ ## 0.13.4

4

dist/cjs/wallet.js

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

}
] = import_bcs.bcs.SenderSignedData.parse((0, import_utils.fromB64)(rawTransaction));
] = import_bcs.bcs.SenderSignedData.parse((0, import_utils.fromBase64)(rawTransaction));
const bytes = import_bcs.bcs.TransactionData.serialize(bcsTransaction).toBase64();

@@ -60,3 +60,3 @@ return {

bytes,
effects: (0, import_utils.toB64)(new Uint8Array(rawEffects))
effects: (0, import_utils.toBase64)(new Uint8Array(rawEffects))
};

@@ -63,0 +63,0 @@ }

import { bcs } from "@mysten/sui/bcs";
import { Transaction } from "@mysten/sui/transactions";
import { fromB64, toB64 } from "@mysten/sui/utils";
import { fromBase64, toBase64 } from "@mysten/sui/utils";
async function signAndExecuteTransaction(wallet, input) {

@@ -29,3 +29,3 @@ if (wallet.features["sui:signAndExecuteTransaction"]) {

}
] = bcs.SenderSignedData.parse(fromB64(rawTransaction));
] = bcs.SenderSignedData.parse(fromBase64(rawTransaction));
const bytes = bcs.TransactionData.serialize(bcsTransaction).toBase64();

@@ -36,3 +36,3 @@ return {

bytes,
effects: toB64(new Uint8Array(rawEffects))
effects: toBase64(new Uint8Array(rawEffects))
};

@@ -39,0 +39,0 @@ }

{
"name": "@mysten/wallet-standard",
"version": "0.0.0-experimental-20240924193256",
"version": "0.0.0-experimental-20240926213518",
"description": "A suite of standard utilities for implementing wallets based on the Wallet Standard.",

@@ -25,3 +25,3 @@ "license": "Apache-2.0",

"@wallet-standard/core": "1.0.3",
"@mysten/sui": "0.0.0-experimental-20240924193256"
"@mysten/sui": "0.0.0-experimental-20240926213518"
},

@@ -28,0 +28,0 @@ "devDependencies": {

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

import { Transaction } from '@mysten/sui/transactions';
import { fromB64, toB64 } from '@mysten/sui/utils';
import { fromBase64, toBase64 } from '@mysten/sui/utils';
import type { WalletWithFeatures } from '@wallet-standard/core';

@@ -65,3 +65,3 @@

},
] = bcs.SenderSignedData.parse(fromB64(rawTransaction!));
] = bcs.SenderSignedData.parse(fromBase64(rawTransaction!));

@@ -74,3 +74,3 @@ const bytes = bcs.TransactionData.serialize(bcsTransaction).toBase64();

bytes,
effects: toB64(new Uint8Array(rawEffects!)),
effects: toBase64(new Uint8Array(rawEffects!)),
};

@@ -77,0 +77,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

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