@mysten/kiosk 0.0.0-experimental-20230726180627 → 0.0.0-experimental-20230727164908
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/README.md +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mysten/kiosk
|
|
2
2
|
|
|
3
|
-
## 0.0.0-experimental-
|
|
3
|
+
## 0.0.0-experimental-20230727164908
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
- Updated dependencies [09f4ed3fc]
|
|
21
21
|
- Updated dependencies [6d41059c7]
|
|
22
22
|
- Updated dependencies [001148443]
|
|
23
|
-
- @mysten/sui.js@0.0.0-experimental-
|
|
23
|
+
- @mysten/sui.js@0.0.0-experimental-20230727164908
|
|
24
24
|
|
|
25
25
|
## 0.3.3
|
|
26
26
|
|
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ const purchaseItem = async (item, kioskId) => {
|
|
|
115
115
|
|
|
116
116
|
```typescript
|
|
117
117
|
import { createKioskAndShare } from '@mysten/kiosk';
|
|
118
|
-
import { TransactionBlock } from '@mysten/sui.js';
|
|
118
|
+
import { TransactionBlock } from '@mysten/sui.js/transactions';
|
|
119
119
|
|
|
120
120
|
const createKiosk = async () => {
|
|
121
121
|
const accountAddress = '0xSomeSuiAddress';
|
|
@@ -137,7 +137,7 @@ const createKiosk = async () => {
|
|
|
137
137
|
|
|
138
138
|
```typescript
|
|
139
139
|
import { placeAndList } from '@mysten/kiosk';
|
|
140
|
-
import { TransactionBlock } from '@mysten/sui.js';
|
|
140
|
+
import { TransactionBlock } from '@mysten/sui.js/transactions';
|
|
141
141
|
|
|
142
142
|
const placeAndListToKiosk = async () => {
|
|
143
143
|
const kiosk = 'SomeKioskId';
|
|
@@ -162,7 +162,7 @@ const placeAndListToKiosk = async () => {
|
|
|
162
162
|
|
|
163
163
|
```typescript
|
|
164
164
|
import { withdrawFromKiosk } from '@mysten/kiosk';
|
|
165
|
-
import { TransactionBlock } from '@mysten/sui.js';
|
|
165
|
+
import { TransactionBlock } from '@mysten/sui.js/transactions';
|
|
166
166
|
|
|
167
167
|
const withdraw = async () => {
|
|
168
168
|
const kiosk = 'SomeKioskId';
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@mysten/kiosk",
|
|
3
3
|
"author": "Mysten Labs <build@mystenlabs.com>",
|
|
4
4
|
"description": "Sui Kiosk library",
|
|
5
|
-
"version": "0.0.0-experimental-
|
|
5
|
+
"version": "0.0.0-experimental-20230727164908",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"module": "./dist/index.mjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@mysten/sui.js": "0.0.0-experimental-
|
|
27
|
+
"@mysten/sui.js": "0.0.0-experimental-20230727164908"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"tsup": "^7.1.0",
|