@mysten/kiosk
Advanced tools
Comparing version 0.0.0-experimental-20230728041723 to 0.0.0-experimental-20230728185637
# @mysten/kiosk | ||
## 0.0.0-experimental-20230728041723 | ||
## 0.0.0-experimental-20230728185637 | ||
@@ -23,3 +23,3 @@ ### Minor Changes | ||
- Updated dependencies [001148443] | ||
- @mysten/sui.js@0.0.0-experimental-20230728041723 | ||
- @mysten/sui.js@0.0.0-experimental-20230728185637 | ||
@@ -26,0 +26,0 @@ ## 0.3.3 |
@@ -98,3 +98,3 @@ import { PaginatedObjectsResponse } from '@mysten/sui.js/client'; | ||
data: KioskData; | ||
nextCursor: string | null; | ||
nextCursor: string | null | undefined; | ||
hasNextPage: boolean; | ||
@@ -101,0 +101,0 @@ }; |
@@ -5,3 +5,3 @@ { | ||
"description": "Sui Kiosk library", | ||
"version": "0.0.0-experimental-20230728041723", | ||
"version": "0.0.0-experimental-20230728185637", | ||
"license": "Apache-2.0", | ||
@@ -28,3 +28,3 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@mysten/sui.js": "0.0.0-experimental-20230728041723" | ||
"@mysten/sui.js": "0.0.0-experimental-20230728185637" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
@@ -102,3 +102,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
const fields = x.data?.content?.dataType === 'moveObject' ? x.data.content.fields : null; | ||
return fields?.for; | ||
return (fields as { for: string })?.for; | ||
}); | ||
@@ -105,0 +105,0 @@ |
@@ -115,3 +115,3 @@ // Copyright (c) Mysten Labs, Inc. | ||
data: KioskData; | ||
nextCursor: string | null; | ||
nextCursor: string | null | undefined; | ||
hasNextPage: boolean; | ||
@@ -118,0 +118,0 @@ }; |
@@ -88,9 +88,9 @@ // Copyright (c) Mysten Labs, Inc. | ||
listings.push({ | ||
objectId: val.name.value.id, | ||
objectId: (val.name.value as { id: string }).id, | ||
listingId: val.objectId, | ||
isExclusive: val.name.value.is_exclusive, | ||
isExclusive: (val.name.value as { is_exclusive: boolean }).is_exclusive, | ||
}); | ||
break; | ||
case 'kiosk::Lock': | ||
lockedItemIds?.push(val.name.value.id); | ||
lockedItemIds?.push((val.name.value as { id: string }).id); | ||
break; | ||
@@ -132,3 +132,3 @@ } | ||
acc[item.objectId].price = data.value; | ||
acc[item.objectId].price = (data as { value: string }).value; | ||
return acc; | ||
@@ -135,0 +135,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
214539
+ Added@mysten/sui.js@0.0.0-experimental-20230728185637(transitive)
- Removed@mysten/sui.js@0.0.0-experimental-20230728041723(transitive)