@mysten/kiosk
Advanced tools
Comparing version 0.0.0-experimental-20240924193256 to 0.0.0-experimental-20240926213518
# @mysten/kiosk | ||
## 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.9.19 | ||
### Patch Changes | ||
- Updated dependencies [830b8d8] | ||
- @mysten/sui@0.0.0-experimental-20240924193256 | ||
- @mysten/sui@1.10.0 | ||
@@ -10,0 +18,0 @@ ## 0.9.18 |
@@ -46,3 +46,3 @@ "use strict"; | ||
} | ||
const parsed = import_bcs2.TransferPolicyType.parse((0, import_utils.fromB64)(policy.bcs.bcsBytes)); | ||
const parsed = import_bcs2.TransferPolicyType.parse((0, import_utils.fromBase64)(policy.bcs.bcsBytes)); | ||
return { | ||
@@ -49,0 +49,0 @@ id: policy?.objectId, |
@@ -46,3 +46,3 @@ "use strict"; | ||
} | ||
return import_bcs.KioskType.parse((0, import_utils.fromB64)(queryRes.data.bcs.bcsBytes)); | ||
return import_bcs.KioskType.parse((0, import_utils.fromBase64)(queryRes.data.bcs.bcsBytes)); | ||
} | ||
@@ -49,0 +49,0 @@ function extractKioskData(data, listings, lockedItemIds, kioskId) { |
@@ -1,2 +0,2 @@ | ||
import { fromB64, isValidSuiAddress } from "@mysten/sui/utils"; | ||
import { fromBase64, isValidSuiAddress } from "@mysten/sui/utils"; | ||
import "../bcs.js"; | ||
@@ -25,3 +25,3 @@ import { TransferPolicyType } from "../bcs.js"; | ||
} | ||
const parsed = TransferPolicyType.parse(fromB64(policy.bcs.bcsBytes)); | ||
const parsed = TransferPolicyType.parse(fromBase64(policy.bcs.bcsBytes)); | ||
return { | ||
@@ -28,0 +28,0 @@ id: policy?.objectId, |
import { | ||
fromB64, | ||
fromBase64, | ||
normalizeStructTag, | ||
@@ -18,3 +18,3 @@ normalizeSuiAddress, | ||
} | ||
return KioskType.parse(fromB64(queryRes.data.bcs.bcsBytes)); | ||
return KioskType.parse(fromBase64(queryRes.data.bcs.bcsBytes)); | ||
} | ||
@@ -21,0 +21,0 @@ function extractKioskData(data, listings, lockedItemIds, kioskId) { |
@@ -5,3 +5,3 @@ { | ||
"description": "Sui Kiosk library", | ||
"version": "0.0.0-experimental-20240924193256", | ||
"version": "0.0.0-experimental-20240926213518", | ||
"license": "Apache-2.0", | ||
@@ -28,3 +28,3 @@ "type": "commonjs", | ||
"dependencies": { | ||
"@mysten/sui": "0.0.0-experimental-20240924193256" | ||
"@mysten/sui": "0.0.0-experimental-20240926213518" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
@@ -5,3 +5,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
import type { SuiClient } from '@mysten/sui/client'; | ||
import { fromB64, isValidSuiAddress } from '@mysten/sui/utils'; | ||
import { fromBase64, isValidSuiAddress } from '@mysten/sui/utils'; | ||
@@ -54,3 +54,3 @@ import '../bcs.js'; | ||
const parsed = TransferPolicyType.parse(fromB64(policy.bcs.bcsBytes)); | ||
const parsed = TransferPolicyType.parse(fromBase64(policy.bcs.bcsBytes)); | ||
@@ -57,0 +57,0 @@ return { |
@@ -14,3 +14,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
import { | ||
fromB64, | ||
fromBase64, | ||
normalizeStructTag, | ||
@@ -38,3 +38,3 @@ normalizeSuiAddress, | ||
return KioskType.parse(fromB64(queryRes.data.bcs!.bcsBytes)); | ||
return KioskType.parse(fromBase64(queryRes.data.bcs!.bcsBytes)); | ||
} | ||
@@ -41,0 +41,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
624421
+ 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)