@mysten/create-dapp 0.6.2 → 0.6.4

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @mysten/create-dapp
2
2
 
3
+ ## 0.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 6fd995d: Use type imports in generated code for verbatimModuleSyntax compatibility
8
+ - Updated dependencies [6fd995d]
9
+ - @mysten/codegen@0.8.4
10
+
11
+ ## 0.6.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [2b8355b]
16
+ - @mysten/dapp-kit-react@2.0.0
17
+
3
18
  ## 0.6.2
4
19
 
5
20
  ### Patch Changes
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Mysten Labs <build@mystenlabs.com>",
4
4
  "description": "A CLI for creating new Sui dApps",
5
5
  "homepage": "https://sdk.mystenlabs.com",
6
- "version": "0.6.2",
6
+ "version": "0.6.4",
7
7
  "license": "Apache-2.0",
8
8
  "files": [
9
9
  "CHANGELOG.md",
@@ -33,9 +33,9 @@
33
33
  "dependencies": {
34
34
  "@types/node": "^25.0.8",
35
35
  "enquirer": "^2.4.1",
36
- "@mysten/dapp-kit-react": "^1.0.1",
37
- "@mysten/sui": "^2.3.0",
38
- "@mysten/codegen": "^0.8.0"
36
+ "@mysten/codegen": "^0.8.4",
37
+ "@mysten/dapp-kit-react": "^2.0.1",
38
+ "@mysten/sui": "^2.15.0"
39
39
  },
40
40
  "sideEffects": false,
41
41
  "bin": "./bin/index.js",
@@ -27,6 +27,6 @@
27
27
  "prettier": "^3.7.4",
28
28
  "tailwindcss": "^4.1.18",
29
29
  "typescript": "^5.9.3",
30
- "vite": "^7.3.1"
30
+ "vite": "^8.0.5"
31
31
  }
32
32
  }
@@ -1,4 +1,4 @@
1
- import { ConnectButton } from "@mysten/dapp-kit-react";
1
+ import { ConnectButton } from "@mysten/dapp-kit-react/ui";
2
2
  import { WalletStatus } from "./WalletStatus";
3
3
 
4
4
  function App() {
@@ -29,6 +29,6 @@
29
29
  "prettier": "^3.7.4",
30
30
  "tailwindcss": "^4.1.18",
31
31
  "typescript": "^5.9.3",
32
- "vite": "^7.3.1"
32
+ "vite": "^8.0.5"
33
33
  }
34
34
  }
@@ -1,4 +1,5 @@
1
- import { ConnectButton, useCurrentAccount } from "@mysten/dapp-kit-react";
1
+ import { useCurrentAccount } from "@mysten/dapp-kit-react";
2
+ import { ConnectButton } from "@mysten/dapp-kit-react/ui";
2
3
  import { isValidSuiObjectId } from "@mysten/sui/utils";
3
4
  import { useState } from "react";
4
5
  import { Counter } from "./Counter";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  bcs,
3
- BcsType,
4
- TypeTag,
3
+ type BcsType,
4
+ type TypeTag,
5
5
  TypeTagSerializer,
6
6
  BcsStruct,
7
7
  BcsEnum,
8
8
  BcsTuple,
9
9
  } from "@mysten/sui/bcs";
10
10
  import { normalizeSuiAddress } from "@mysten/sui/utils";
11
- import { TransactionArgument, isArgument } from "@mysten/sui/transactions";
12
- import { ClientWithCoreApi, SuiClientTypes } from "@mysten/sui/client";
11
+ import { type TransactionArgument, isArgument } from "@mysten/sui/transactions";
12
+ import { type ClientWithCoreApi, type SuiClientTypes } from "@mysten/sui/client";
13
13
 
14
14
  const MOVE_STDLIB_ADDRESS = normalizeSuiAddress("0x1");
15
15
  const SUI_FRAMEWORK_ADDRESS = normalizeSuiAddress("0x2");
@@ -227,7 +227,7 @@ export class MoveEnum<
227
227
  > extends BcsEnum<T, Name> {}
228
228
 
229
229
  export class MoveTuple<
230
- T extends readonly BcsType<any>[],
230
+ const T extends readonly BcsType<any>[],
231
231
  const Name extends string,
232
232
  > extends BcsTuple<T, Name> {}
233
233