@mysten/wallet-standard
Advanced tools
Comparing version 0.13.5 to 0.13.6
# @mysten/wallet-standard | ||
## 0.13.6 | ||
### Patch Changes | ||
- Updated dependencies [489f421] | ||
- Updated dependencies [489f421] | ||
- @mysten/sui@1.11.0 | ||
## 0.13.5 | ||
@@ -4,0 +12,0 @@ |
@@ -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.13.5", | ||
"version": "0.13.6", | ||
"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": "1.10.0" | ||
"@mysten/sui": "1.11.0" | ||
}, | ||
@@ -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
243473
+ Added@mysten/bcs@1.1.0(transitive)
+ Added@mysten/sui@1.11.0(transitive)
- Removed@mysten/bcs@1.0.4(transitive)
- Removed@mysten/sui@1.10.0(transitive)
Updated@mysten/sui@1.11.0