@mysten/wallet-standard 0.2.7 → 0.2.9

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,28 @@
1
1
  # @mysten/wallet-standard
2
2
 
3
+ ## 0.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f3444bdf2]
8
+ - Updated dependencies [e26f47cbf]
9
+ - Updated dependencies [b745cde24]
10
+ - Updated dependencies [01efa8bc6]
11
+ - Updated dependencies [35e0df780]
12
+ - Updated dependencies [5cd51dd38]
13
+ - Updated dependencies [8474242af]
14
+ - Updated dependencies [01efa8bc6]
15
+ - Updated dependencies [f74181212]
16
+ - @mysten/sui.js@0.23.0
17
+
18
+ ## 0.2.8
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [a55236e48]
23
+ - Updated dependencies [8ae226dae]
24
+ - @mysten/sui.js@0.22.0
25
+
3
26
  ## 0.2.7
4
27
 
5
28
  ### Patch Changes
package/dist/chains.d.ts CHANGED
@@ -5,4 +5,4 @@ export declare const SUI_TESTNET_CHAIN = "sui:testnet";
5
5
  /** Sui Localnet */
6
6
  export declare const SUI_LOCALNET_CHAIN = "sui:localnet";
7
7
  export declare const SUI_CHAINS: readonly ["sui:devnet", "sui:testnet", "sui:localnet"];
8
- export declare type SuiChain = typeof SUI_DEVNET_CHAIN | typeof SUI_TESTNET_CHAIN | typeof SUI_LOCALNET_CHAIN;
8
+ export type SuiChain = typeof SUI_DEVNET_CHAIN | typeof SUI_TESTNET_CHAIN | typeof SUI_LOCALNET_CHAIN;
package/dist/detect.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  import { ConnectFeature, DisconnectFeature, EventsFeature, Wallet, WalletWithFeatures } from "@wallet-standard/core";
2
2
  import { SuiSignAndExecuteTransactionFeature } from "./features";
3
- export declare type StandardWalletAdapterWallet = WalletWithFeatures<ConnectFeature & EventsFeature & SuiSignAndExecuteTransactionFeature & Partial<DisconnectFeature>>;
3
+ export type StandardWalletAdapterWallet = WalletWithFeatures<ConnectFeature & EventsFeature & SuiSignAndExecuteTransactionFeature & Partial<DisconnectFeature>>;
4
4
  export declare function isStandardWalletAdapterCompatibleWallet(wallet: Wallet): wallet is StandardWalletAdapterWallet;
@@ -3,6 +3,6 @@ import type { SuiSignAndExecuteTransactionFeature } from "./suiSignAndExecuteTra
3
3
  /**
4
4
  * Wallet Standard features that are unique to Sui, and that all Sui wallets are expected to implement.
5
5
  */
6
- export declare type SuiFeatures = SuiSignAndExecuteTransactionFeature;
7
- export declare type WalletWithSuiFeatures = WalletWithFeatures<SuiFeatures>;
6
+ export type SuiFeatures = SuiSignAndExecuteTransactionFeature;
7
+ export type WalletWithSuiFeatures = WalletWithFeatures<SuiFeatures>;
8
8
  export * from "./suiSignAndExecuteTransaction";
@@ -1,12 +1,12 @@
1
1
  import type { SignableTransaction, SuiTransactionResponse } from "@mysten/sui.js";
2
2
  /** The latest API version of the signAndExecuteTransaction API. */
3
- export declare type SuiSignAndExecuteTransactionVersion = "1.0.0";
3
+ export type SuiSignAndExecuteTransactionVersion = "1.0.0";
4
4
  /**
5
5
  * A Wallet Standard feature for signing a transaction, and submitting it to the
6
6
  * network. The wallet is expected to submit the transaction to the network via RPC,
7
7
  * and return the transaction response.
8
8
  */
9
- export declare type SuiSignAndExecuteTransactionFeature = {
9
+ export type SuiSignAndExecuteTransactionFeature = {
10
10
  /** Namespace for the feature. */
11
11
  "sui:signAndExecuteTransaction": {
12
12
  /** Version of the feature API. */
@@ -14,7 +14,7 @@ export declare type SuiSignAndExecuteTransactionFeature = {
14
14
  signAndExecuteTransaction: SuiSignAndExecuteTransactionMethod;
15
15
  };
16
16
  };
17
- export declare type SuiSignAndExecuteTransactionMethod = (input: SuiSignAndExecuteTransactionInput) => Promise<SuiSignAndExecuteTransactionOutput>;
17
+ export type SuiSignAndExecuteTransactionMethod = (input: SuiSignAndExecuteTransactionInput) => Promise<SuiSignAndExecuteTransactionOutput>;
18
18
  /** Input for signing and sending transactions. */
19
19
  export interface SuiSignAndExecuteTransactionInput {
20
20
  transaction: SignableTransaction;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mysten/wallet-standard",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
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
+ "source": "./src/index.ts",
12
13
  "import": "./dist/index.mjs",
13
14
  "require": "./dist/index.js"
14
15
  }
@@ -20,11 +21,11 @@
20
21
  ],
21
22
  "dependencies": {
22
23
  "@wallet-standard/core": "1.0.1",
23
- "@mysten/sui.js": "0.21.0"
24
+ "@mysten/sui.js": "0.23.0"
24
25
  },
25
26
  "devDependencies": {
26
27
  "tsup": "^6.5.0",
27
- "typescript": "^4.8.3"
28
+ "typescript": "^4.9.4"
28
29
  },
29
30
  "scripts": {
30
31
  "clean": "rm -rf tsconfig.tsbuildinfo ./dist",