@mysten/kiosk
Advanced tools
Comparing version 0.0.0-experimental-20230720215128 to 0.0.0-experimental-20230721002730
@@ -474,2 +474,3 @@ "use strict"; | ||
var import_sui3 = require("@mysten/sui.js"); | ||
var import_utils3 = require("@mysten/sui.js/utils"); | ||
async function fetchKiosk(client, kioskId, pagination, options) { | ||
@@ -500,3 +501,3 @@ const data = await getAllDynamicFields(client, kioskId, pagination); | ||
async function getOwnedKiosks(client, address, options) { | ||
if (!(0, import_sui3.isValidSuiAddress)(address)) | ||
if (!(0, import_utils3.isValidSuiAddress)(address)) | ||
return { | ||
@@ -503,0 +504,0 @@ nextCursor: null, |
# @mysten/kiosk | ||
## 0.0.0-experimental-20230720215128 | ||
## 0.0.0-experimental-20230721002730 | ||
@@ -21,3 +21,3 @@ ### Minor Changes | ||
- Updated dependencies [001148443] | ||
- @mysten/sui.js@0.0.0-experimental-20230720215128 | ||
- @mysten/sui.js@0.0.0-experimental-20230721002730 | ||
@@ -24,0 +24,0 @@ ## 0.3.3 |
@@ -474,2 +474,3 @@ "use strict"; | ||
var import_sui3 = require("@mysten/sui.js"); | ||
var import_utils3 = require("@mysten/sui.js/utils"); | ||
async function fetchKiosk(client, kioskId, pagination, options) { | ||
@@ -500,3 +501,3 @@ const data = await getAllDynamicFields(client, kioskId, pagination); | ||
async function getOwnedKiosks(client, address, options) { | ||
if (!(0, import_sui3.isValidSuiAddress)(address)) | ||
if (!(0, import_utils3.isValidSuiAddress)(address)) | ||
return { | ||
@@ -503,0 +504,0 @@ nextCursor: null, |
@@ -1,2 +0,3 @@ | ||
import { SuiAddress, TransactionArgument, TransactionBlock } from '@mysten/sui.js'; | ||
import { SuiAddress } from '@mysten/sui.js'; | ||
import { TransactionBlock, TransactionArgument } from '@mysten/sui.js/transactions'; | ||
import { ObjectArgument, PurchaseAndResolvePoliciesResponse, PurchaseOptionalParams, RulesEnvironmentParam, TransferPolicy } from '../types'; | ||
@@ -3,0 +4,0 @@ /** |
@@ -1,3 +0,2 @@ | ||
import { TransactionArgument } from '@mysten/sui.js'; | ||
import { TransactionBlock } from '@mysten/sui.js/transactions'; | ||
import { TransactionBlock, TransactionArgument } from '@mysten/sui.js/transactions'; | ||
import { ObjectArgument, RulesEnvironmentParam } from '../types'; | ||
@@ -4,0 +3,0 @@ /** |
@@ -1,2 +0,3 @@ | ||
import { SharedObjectRef, SuiObjectRef, TransactionArgument } from '@mysten/sui.js'; | ||
import { SharedObjectRef, SuiObjectRef } from '@mysten/sui.js'; | ||
import { TransactionArgument } from '@mysten/sui.js/transactions'; | ||
export * from './kiosk'; | ||
@@ -3,0 +4,0 @@ export * from './transfer-policy'; |
@@ -1,2 +0,3 @@ | ||
import { ObjectDigest, ObjectId, ObjectType, PaginatedObjectsResponse, TransactionArgument } from '@mysten/sui.js'; | ||
import { ObjectDigest, ObjectId, ObjectType, PaginatedObjectsResponse } from '@mysten/sui.js'; | ||
import { TransactionArgument } from '@mysten/sui.js/transactions'; | ||
import { ObjectArgument } from '.'; | ||
@@ -3,0 +4,0 @@ /** The Kiosk module. */ |
@@ -1,2 +0,3 @@ | ||
import { ObjectId, SharedObjectRef, SuiObjectRef, SuiObjectResponse, TransactionArgument, TransactionBlock } from '@mysten/sui.js'; | ||
import { ObjectId, SharedObjectRef, SuiObjectRef, SuiObjectResponse } from '@mysten/sui.js'; | ||
import { TransactionBlock, TransactionArgument } from '@mysten/sui.js/transactions'; | ||
import { type DynamicFieldInfo } from '@mysten/sui.js'; | ||
@@ -3,0 +4,0 @@ import { Kiosk, KioskData, KioskListing, RulesEnvironmentParam } from './types'; |
@@ -5,3 +5,3 @@ { | ||
"description": "Sui Kiosk library", | ||
"version": "0.0.0-experimental-20230720215128", | ||
"version": "0.0.0-experimental-20230721002730", | ||
"license": "Apache-2.0", | ||
@@ -28,3 +28,3 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@mysten/sui.js": "0.0.0-experimental-20230720215128" | ||
"@mysten/sui.js": "0.0.0-experimental-20230721002730" | ||
}, | ||
@@ -31,0 +31,0 @@ "devDependencies": { |
@@ -10,4 +10,4 @@ // Copyright (c) Mysten Labs, Inc. | ||
getObjectFields, | ||
isValidSuiAddress, | ||
} from '@mysten/sui.js'; | ||
import { isValidSuiAddress } from '@mysten/sui.js/utils'; | ||
import { | ||
@@ -14,0 +14,0 @@ attachListingsAndPrices, |
// Copyright (c) Mysten Labs, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { SuiAddress, TransactionArgument, TransactionBlock } from '@mysten/sui.js'; | ||
import { SuiAddress } from '@mysten/sui.js'; | ||
import { TransactionBlock, TransactionArgument } from '@mysten/sui.js/transactions'; | ||
@@ -6,0 +7,0 @@ import { getTypeWithoutPackageAddress, objArg } from '../utils'; |
// Copyright (c) Mysten Labs, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { TransactionArgument } from '@mysten/sui.js'; | ||
import { TransactionBlock } from '@mysten/sui.js/transactions'; | ||
import { TransactionBlock, TransactionArgument } from '@mysten/sui.js/transactions'; | ||
import { getRulePackageAddress, objArg } from '../utils'; | ||
@@ -7,0 +6,0 @@ import { lock } from './kiosk'; |
// Copyright (c) Mysten Labs, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { SharedObjectRef, SuiObjectRef, TransactionArgument } from '@mysten/sui.js'; | ||
import { SharedObjectRef, SuiObjectRef } from '@mysten/sui.js'; | ||
import { TransactionArgument } from '@mysten/sui.js/transactions'; | ||
@@ -6,0 +7,0 @@ export * from './kiosk'; |
// Copyright (c) Mysten Labs, Inc. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
import { | ||
ObjectDigest, | ||
ObjectId, | ||
ObjectType, | ||
PaginatedObjectsResponse, | ||
TransactionArgument, | ||
} from '@mysten/sui.js'; | ||
import { ObjectDigest, ObjectId, ObjectType, PaginatedObjectsResponse } from '@mysten/sui.js'; | ||
import { TransactionArgument } from '@mysten/sui.js/transactions'; | ||
import { ObjectArgument } from '.'; | ||
@@ -12,0 +7,0 @@ |
@@ -9,6 +9,5 @@ // Copyright (c) Mysten Labs, Inc. | ||
SuiObjectResponse, | ||
TransactionArgument, | ||
TransactionBlock, | ||
getObjectFields, | ||
} from '@mysten/sui.js'; | ||
import { TransactionBlock, TransactionArgument } from '@mysten/sui.js/transactions'; | ||
import { type DynamicFieldInfo } from '@mysten/sui.js'; | ||
@@ -15,0 +14,0 @@ import { bcs } from './bcs'; |
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
214277
+ Added@mysten/sui.js@0.0.0-experimental-20230721002730(transitive)
- Removed@mysten/sui.js@0.0.0-experimental-20230720215128(transitive)