@mysten/wallet-standard 0.5.3 → 0.5.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/wallet-standard
2
2
 
3
+ ## 0.5.4
4
+
5
+ ### Patch Changes
6
+
7
+ - b4f0bfc76: Fix type definitions for package exports.
8
+ - Updated dependencies [4ae3cbea3]
9
+ - Updated dependencies [d2755a496]
10
+ - Updated dependencies [f612dac98]
11
+ - Updated dependencies [c219e7470]
12
+ - Updated dependencies [59ae0e7d6]
13
+ - Updated dependencies [c219e7470]
14
+ - Updated dependencies [4e463c691]
15
+ - Updated dependencies [b4f0bfc76]
16
+ - @mysten/sui.js@0.32.2
17
+
3
18
  ## 0.5.3
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -69,7 +69,11 @@ class YourWallet implements Wallet {
69
69
  },
70
70
  "sui:signAndExecuteTransactionBlock": {
71
71
  version: "1.1.0",
72
- signAndExecuteTransactionBlock: this.#signAndExecuteTransaction,
72
+ signAndExecuteTransactionBlock: this.#signAndExecuteTransactionBlock,
73
+ },
74
+ 'sui:signMessage': {
75
+ version: '1.0.0',
76
+ signMessage: this.#signMessage,
73
77
  },
74
78
  };
75
79
  },
@@ -89,6 +93,10 @@ class YourWallet implements Wallet {
89
93
  #signAndExecuteTransactionBlock: SuiSignAndExecuteTransactionBlockMethod = () => {
90
94
  // Your wallet's implementation
91
95
  };
96
+
97
+ #signMessage: SuiSignMessageMethod = () => {
98
+ // Your wallet's implementation
99
+ };
92
100
  }
93
101
  ```
94
102
 
package/dist/index.js CHANGED
@@ -56,6 +56,7 @@ var SUI_CHAINS = [
56
56
  SUI_DEVNET_CHAIN,
57
57
  SUI_LOCALNET_CHAIN,
58
58
  SUI_TESTNET_CHAIN,
59
- isStandardWalletAdapterCompatibleWallet
59
+ isStandardWalletAdapterCompatibleWallet,
60
+ ...require("@wallet-standard/core")
60
61
  });
61
62
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten/wallet-standard",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "A suite of standard utilities for implementing wallets based on the Wallet Standard.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Mysten Labs <build@mystenlabs.com>",
@@ -9,6 +9,7 @@
9
9
  "types": "./dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
+ "types": "./dist/index.d.ts",
12
13
  "source": "./src/index.ts",
13
14
  "import": "./dist/index.mjs",
14
15
  "require": "./dist/index.js"
@@ -21,11 +22,11 @@
21
22
  ],
22
23
  "dependencies": {
23
24
  "@wallet-standard/core": "1.0.3",
24
- "@mysten/sui.js": "0.32.1"
25
+ "@mysten/sui.js": "0.32.2"
25
26
  },
26
27
  "devDependencies": {
27
28
  "tsup": "^6.7.0",
28
- "typescript": "^4.9.4"
29
+ "typescript": "^5.0.4"
29
30
  },
30
31
  "scripts": {
31
32
  "clean": "rm -rf tsconfig.tsbuildinfo ./dist",