@mysten/wallet-standard
Advanced tools
Comparing version 0.0.0-experimental-20240924193256 to 0.0.0-experimental-20240926213518
# @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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243581
21103
+ Added@mysten/bcs@0.0.0-experimental-20240926213518(transitive)
+ Added@mysten/sui@0.0.0-experimental-20240926213518(transitive)
- Removed@mysten/bcs@1.0.4(transitive)
- Removed@mysten/sui@0.0.0-experimental-20240924193256(transitive)